2021 Jun 26 9:45 PM
Hi ,
I have a requirement to create entries only in VEDA table which were missed during sales order creation , I am having some issues to use sales Order BAPI just to create VEDA Entries.
Could any one come across this requirement , Please let me know best approach.
If anyone worked on SD_VEDA_CREATE , Please let me know.
Thanks,
Jhon
2021 Jun 28 7:29 PM
Hi Rohit,
I am using SD_VEDA_CREATE * SAVE function modules to fill VEDA table.
Regards
Jhon
2021 Jun 28 7:56 AM
Hi John,
Check the enhancemente V45W0001.
You should not modify standard table using modify statment....Instead You need to modify runtime internal table (XVEDA, YVEDA). this will automatically will take care of updating VEDA and end of saving order...
try below piece of code..
check gv_cdate not initial.
loop at XVEDA.
gs_veda-venddat = . "date value
xveda-UPDKZ = 'U'.. " Use I- while creating new record & use 'U' while updating existing record
modify xveda.
I hope this helps you
Regards,
Rohit
2021 Jun 28 2:18 PM
Hi Rohit,
We are updating VEDA missed entries thru Report Program , Looking for any FM / Class to update VEDA legacy data.
Tried with SD_VEDA_CREATE/MAINATIN ..etc , didn't work.
Regards
Jhon
2021 Jun 28 4:31 PM
Hi John,
I have found two FM's:
1.SD_SALESDOCUMENT_CHANGE
Check this FM's documentation,you'll find contract under tables section.
2.EXIT_SAPLV45W_001
These above are the two options. I hope that helps.
Regards,
Rohit
2021 Jun 28 7:29 PM
Hi Rohit,
I am using SD_VEDA_CREATE * SAVE function modules to fill VEDA table.
Regards
Jhon