Monday, November 30, 2009
Tables in SD transactions
VBAK: Sales Document - Header Data
VBKD: Sales Document - Business Data
VBUP: Item Status
VBAP: Sales Document - Item Data
VBPA: Partners
VBFA: Document Flow
VBEP: Sales Document Schedule Line
VBAKUK: Sales Document Header and Status Data
VBUK: Header Status and Administrative Data
VBBE: Sales Requirements: Individual Records
SALES - header
VBUK: Header status and administrative data
VBAK: Sales document: Header data
VBKD: Sales document: Business Data
VAKPA: Partner index
VEDA: Contract
VBPA: Partner
VBUV: Incompletion log
VBFA: SD document flows
VMVA: Matchcodes
STXH: Texts: Header
STXL: Texts: Line
NAST: Output
JSTO: PP status
Sales activities
VBKA: Sales activity
VBUV: Incompletion log
VBPA: SD document: Partner
SADR: Address
VBFA: SD document flows
NAST: Output
STXH: Texts: Header
STXL: Texts: Lines
Logical database:
AK V: Sales documents
SD Delivery Document
LIPS: Delivery Document item data
LIKP: Delivery Document Header data
Billing Document
VBRK: Billing:Header data
VBRP: Billing:Item data
SD Shipping Unit
VEKP: Shipping unit item (Content)
VEPO: Shipping Unit Header
Delivery Due Index -
VBUP: Item status
VBAP: Sales document: Item data
VBKD: Sales document: Business Data
VEBA: Contract
VBLB: Forecast delivery schedules
VBEP: Sales document: Schedule line
VBBE: Individual requirements
VBBS: Summarized requirements
VBUV: Incompletion log
VBFA: SD document flows
VBPA: Partner
JSTO: PP status
NAST: Output
STXH: Texts: Header
STXL: Texts: Lines
KONV: Conditions
Shipping
VTTK: Shipment header
VTTP:Shipment item
VTTS:Stage in transport
VTSP:Stage in transport per shipment item
VTPA: Shipment partners
VEKP: Handling Unit - Header Table
VEPO: Packing: Handling Unit Item (Contents)
Material Master
MARA: General Material Data
MVKE: Sales Data for Material
MARC: Plant Data for Material
MARD:Storage Location Data for Material
MAKT:Short texts
MARM: Conversion factors
MLAN: Sales data (for each country)
MAEX: Export licenses
MBEW:Valuation data
MLGN: Warehouse management inventory data
MLGT: Warehouse management inventory type data
MVER: Consumption data
MAPR: Pointers for forecast data
MCH1:Cross-plant batches
MCHA: Batches
MCHB: Batch stocks
KNMTK: Header table
KNMT: Data table
Bill of Material (BOM)
MAST: Material assignment to BOM
EQST: Equipment assignment to BOM
KDST: Sales order assignment to BOM
DOST: Document assignment to BOM
STST: Standard object assignment to BOM
TPST: Functional location assignment to BOM
STKO: BOM header data
STZU: Time-independent STL data
STAS: BOM item selection
STPO: BOM item data
STPU: BOM sub-item data
Logical databank for material master
CKM: Material master
MSM: Material master
Customer Master
KNA1: General Data
KNB1: Customer Master (Company Code)
KNB4: Customer Payment History
KNB5: Customer master (dunning data)
KNBK: Customer Master (Bank Details)
KNBW: Customer master record (withholding tax types)
KNKA: Customer Master Credit Mgmt.
KNKK: Customer Master Credit Control Area Data (credit limits)
KNVA: Customer Master Loading Points
KNVD: Customer master record sales request form
KNVH: Customer Hierarchies
KNVI: Customer Master Tax Indicator
KNVK: Customer Master Contact Partner
KNVL: Customer Master Licenses
KNVP: Customer Master Partner Functions
KNVS: Customer Master Shipping Data
KNVT: Customer Master Record Texts for Sales
KNVV: Customer Master Sales Data
KLPA: Customer/Vendor Link
Pricing
KONH: Conditions header
KONP: Conditions items
KONV: Procedure ( billing doc or sales order)
KOND: contracts
VEDA: Contract data
KOMK: Pricing Communications-Header - Structure
KOMP: Pricing Communication Item - Structure
Output
NAST: Message Status
Use of Class Characteristics in QM
One of the most Critical Requirements I have came across is, Transferring Specification Values from Engineering Specification to Inspection Specification without User Interaction. I am Explaining this Requirement in brief below,
Engineering Department is Responsible for Designing Specification for Finished Product and Quality Management will Carry out Testing Accordingly, But in most of the Industries This is Paper based Engineering department will write down there Specification values for each parameter on a Specification format after approval this Specification format is transferred to Quality department now QM job is to copy those specification onto there Inspection Specification format.
Here if Quality engineer makes mistake while copying then it leads to erroneous results. To avoid this user mistakes as soon as Engineering Department maintains Specification System should take care of transferring this Specification to Inspection Specification without user interaction.
We achieve this by using Class characteristics and its linkage with Inspection Characteristics in Material Specification. Detail step by step Procedure is as follows,
Step 1: Create Each Engineering Specification Parameter as Class Characteristic in SAP.
Class Characteristics:
Here Class Characteristic means Specification Parameter which is required to be tested / Inspected During Quality Check.
Step 2: Create Batch Class.
Sunday, November 29, 2009
Plant specific number range at Invoicing
Step-1:
Create different number range Interval:-
T-code - SNRO; Use Object RV_BELEG. Click on number Ranges - Click in Change view (Pencil Marked) of Interval.
Add new interval.
Tips: Since, Its a plant specific number range you might want to use Common Starting Alphabet for each of your plant to make your life easier.
Step-2:
T-code: SE38, Use Userexit - RV60AFZZ
Use code below.
data : lt_xvbrp like xvbrp occurs 0,
ls_xvbrp like line of xvbrp.
data : lv_werks type werks_d.
data : lv_count type i,
lv_numki type numki.
data : lt_xvbrk like xvbrk occurs 0,
ls_xvbrk like line of xvbrk.
data : lv_flag_exp type i value 0,
lv_flag_dom type i value 0.
types : begin of ty_vbak,
vbeln type vbeln_va,
end of ty_vbak.
data : lt_vbak type table of ty_vbak,
ls_vbak type ty_vbak.
If xvbrp is not initial.
lt_xvbrp[] = xvbrp[].
sort lt_xvbrp by werks.
delete ADJACENT DUPLICATES FROM lt_xvbrp COMPARING werks.
describe table lt_xvbrp lines lv_count.
if lv_count gt 1.
message e398(00) with 'Different Plants for Single Billing Not Possible'.
clear lv_count.
elseif lv_count eq 1 .
if lt_xvbrp is not initial.
if sy-tcode ne 'VF11'.
read table xvbrk into ls_xvbrk index 1.
ELSE.
read table xvbrk into ls_xvbrk WITH KEY VBTYP = 'N'.
ENDIF.
if sy-subrc eq 0.
if ls_xvbrk-fkart ne 'ZEXP'.
read table lt_xvbrp into ls_xvbrp index 1.
if sy-subrc eq 0.
select single numki from zsd_binr into lv_numki
where werks = ls_xvbrp-werks
and fkart = ls_xvbrk-fkart.
endif.
endif.
endif.
endif.
if lv_numki is not initial.
US_RANGE_INTERN = lv_numki.
else.
message e398(00) with 'Number range not Maintained for' ls_xvbrp-werks.
endif.
Friday, November 27, 2009
Product Hierarchy
Note: In my case I am taking 9 levels and each levels with 2 digits. Remember !!! I cannot go beyond 18 Digits total no matter how many levels I have so Mathematically, you can have maximum of 18 levels.
Education Cess not calculated
Why?? well this is one the SAP's old code but you dont really have to bother as long as you has the solution :)
Tax on Goods Movements-India-Basic Settings-Determination of Excise Duty-Condition-Based Excise Determination-Classify Condition Types.
Procedure Condition Type Condition Name
JINFAC Z (custome Condition Type) AT1ARPERC A/R AT1 Percentage
Export from India to Nepal & bhutan
Tcode - SE37.
Apply code:
if SH_REGION = 'NP' or SH_REGION = 'BT'.
E_CUST_TYP = 'L'.
E_T_LOCEXP = 'NEPAL'.
E_EXP_TYPE = ' '.
Endif.
Note: Remember in case code ablove I am assuming BT is Bhutan and NP is Nepal. If in your case its not the case then you have to declare the Country codes for Nepal and Bhutan.
Wednesday, November 25, 2009
Warranties configuration
In my previous post I have explained you about how warranty is linked with serial number and equipment and how to configure serial number for automatic creation of equipment and make it a mandatory field at delivery etc.
In this post you will learn to verify warranty validity, add warranty view in equipment master, add data management field to Equipment master etc.
Activating Warranty in Customer Services to Check Warranty Validty.
Plant Maintenance and Customer Service- Master Data in Plant Maintenance and Customer Service - Basic Settings – Warranties - Check Warranty Categories.
- Plant Maintenance and Customer Service- Master Data in Plant Maintenance and Customer Service - Basic Settings – Warranties - Define Warranty Types.
Monday, November 23, 2009
Serial number for Equipment Warranty / Material Warranty / Warranty given on sold product.
This section will deal with how to assign warranty to material sold. Normally, discreet manufacturing industry gives warranty validity from the date of delivery. So I am giving you configuration detail of assigning warranty at the time of delivery.
Theory: a warranty is given on a equipment and equipment is assigned to every serial number. In a nut shell every material sold having a serial number can have a warranty and any material that does not have serial number cannot not have warranty.
Equipment is unique to each serial number + material. Ths configuration deals only with serial number profile and automatic creation of equipment assigned to a serial number. This configuration will also help you to assign validity date to warranty.
T-code- OIS2.
Note: This activity can be done even thru IE06 or IQ09.
Double click on check box below ‘Eqpt’
Input Warranty begin and end date. Save.
Now the biggest question is when you get the material back how you check the warranty.
There are few configuration that you can do in CS – Customer services to make sure the warranty check happens. I will post the configuration very soon.
Serial number profile
Firstly, create serial number profile for sale order, Profile will allow you to assign serial number at sales order level.
Saturday, November 21, 2009
Calcutta
Friday, November 20, 2009
Bangalore
City review
Thursday, November 19, 2009
Setting up blogger with custom domain
- First thing first. Wait and till you get confirmation from your domain registrar or Google Apps.
- Login with your custom named email account. It gives you couple of links to log into help file. Its extremely useful. Do not forget to log into registrar the welcome mail also provides login details to registrar. eg-godaddy.com. You may have to create CNAME and ANAME usually it gets configured by itself but no harm in verifying it once.
- To configure custom domain, login to your blogger account goto 'setting' tab page – ‘Publishing’ Click on ‘custom domain’- ‘Advance setting’ Enter your domain name, Very likely you may get error’ Another blog is already hosted at this address.’
- This error means that there is conflict and there is site already directing to this web address. All you have to do is to disable Google site. URL: http://www.sites.google.com/
- If you wish to disable the blogger navigation bar, Use Code:
Drive away to Treehouse
What you get to eat?? well most of the things if you are non vegetarian - Fish (very good), Chicken ( as much as you want) and all possible vegetarian food.
There are local shop for souvenir.
Walk up the water stream which flows within the resort and this leads to several water fall one after the other. Must Do: Trek along the water stream. dont forget to shop from Ghandhi gram (local government sponsored shop).