2013 Jun 21 6:17 AM
I have add a field zzwbs in pricing table.....and in exit I write
ORM USEREXIT_PRICING_PREPARE_TKOMP.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(2) Form USEREXIT_PRICING_PREPARE_TKOMP, Start A
*$*$-Start: (2)---------------------------------------------------------------------------------$*$*
ENHANCEMENT 1 ZPRICEING_SD_ENHANCEMENT. "active version
*tkomp-zzwbs = komp-zzwbs.
move komp-zzwbs to tkomp-zzwbs.
ENDENHANCEMENT.
*$*$-End: (2)---------------------------------------------------------------------------------$*$*
* TKOMP-zzfield = xxxx-zzfield2.
ENDFORM.
I am confused about move from table komp ?why its komp?
2013 Jun 21 6:39 AM
Hi Sharmistha,
Go to se11 and put KOMP in table and read its description.
These are runtime structures whihc Standard SAP code uses. Values in them are fetched at runtime and you cannot see its content in se16.
Generally such structures are present in SD module in pairs where one corresponds to header data while other to item data.
Here - KOMK and KOMP.
BR.
2013 Jun 21 6:47 AM
I know about komp structure but when I used it in my code then there is no values shows in added field ZZWBS(through debugging)...I want to know in move statement what I have to add in move()to ().
move komp-zzwbs to tkomp-zzwbs.
2013 Jun 21 8:34 AM
After added custom fields in KOMP table, you need to create condition table for that
then only it will carry values while debugging basically it will done by FC
i hope you have followed this method How To Create Field in KOMP, KOMG
Now you need to discuss with FC, ask him to create condition table for that in SPRO
http://www.gotothings.com/sd/how-to-add-new-fields-to-field-catalog.htm
See above threads for your reference
Regards,
Bastin.G
2013 Jun 21 8:45 AM
HI,
I alrady have condition table..and I alrady create value for the added field through vf12....but when I open va01 no amount is shows ..
2013 Jun 21 9:40 AM
same thing i have followed here , its working fine here
i don't know why its not working there can you elaborate more about your requirement?
sharmistha mukherjee wrote:
but when I open va01 no amount is shows ..
this point am confused
Regards,
Bastin.G
2013 Jun 21 10:23 AM
when I open vf01 and put the order type and press enter then in item overview tab I put material ,quantity on that I saw net value is 000 .
please check my code under enhancement ...
ORM USEREXIT_PRICING_PREPARE_TKOMP.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(2) Form USEREXIT_PRICING_PREPARE_TKOMP, Start A
*$*$-Start: (2)---------------------------------------------------------------------------------$*$*
ENHANCEMENT 1 ZPRICEING_SD_ENHANCEMENT. "active version
*tkomp-zzwbs = komp-zzwbs.
move komp-zzwbs to tkomp-zzwbs.
ENDENHANCEMENT.
*$*$-End: (2)---------------------------------------------------------------------------------$*$*
* TKOMP-zzfield = xxxx-zzfield2.
2013 Jun 21 11:31 AM
so based on material and quantity , amount should be pick automatically
Sorry i have not worked on such cases
some experts will help you
Regards,
Bastin.G
2013 Jun 21 11:57 AM
yes....but I want know what I have to write under userexit USEREXIT_PRICING_PREPARE_TKOMP
I write : move komp -zzwbs to tkomp-zzwbs.
its wright/wrong?
2013 Jun 21 12:44 PM
when I run va01 and when I analysis the condition then I found that waring
60 102 Access not made (initialized field)
?