2008 Jan 17 9:18 AM
Hi Experts,
i have added some fields in header level (8309) and in Item level(8459), but i have same fields in both the levels,
so i want to replicate the headre level data to the item level,
i have done this perfectly,
but my problem is,
if i go to item screen and if press save then it is saving item details into VBAP, but when i save the document form header level then it is not saving the item details into VBAP table. it is saving only header level details,
i tried in all the exits,
move_vbap,
move_vbak,
save,
but nothing is working in my case,
i am using 4.6b version,,
can any one help me out,
thanks in advance,
regards,
muralidhar.
2008 Jan 17 9:44 PM
How have you implemented this? give more information on the exits.
it appears that you may not be passing data back to SAP standard program. check the FM which is supposed to give back data back to SAP, and that in this FM, you have code to do
" Move 'Your data' to 'Standard SAP' field.
2008 Jan 17 11:41 PM
well i done the same thing, but im storing only header data. why dont you specify in your screen, the DDIC field directly, i mean at header level use fields in VBAK and at item level use DDIC field of vbap. in that way i guess you dont need to code it.or use header VBAK fields in header and item level and transfer the value to vbap in routine USEREXIT_MOVE_FIELD_TO_VBAP if you want to eradicate duplicate values..
it should work.
2008 Jan 18 5:04 AM
hi mandy,
thanks for your reply,
but it didnt solve my problem,
i have used databse table fields only(VBAP),
so the values are storing properly whenever i save from item level screen, if you save the document without going to the item level screen, then it is not storing those values,
so please let me know how to solve this,
thanks in advance,
regrads,
muralidhar.