2010 Oct 30 5:27 AM
I used a Bapi function module. In that i handled the error message and display as output in alv format but they changed the requirement like
it has to create a session with those error recrods. is it possible?
Please help
Thank you
2010 Oct 30 6:30 AM
Hi Pydi Reddy,
Session to be created with error records? I couldn't understand, why they want to create a session with error records? do they mean that you have to create a BDC for the same T.Code and once BAPI fails to update those records then BDC should be used for those error records?
Ask them what exactly they mean to schedule a session with error records.
Thanks & Regards,
Faheem.
2010 Oct 30 8:54 AM
Record a bdc for the transaction.
After bapi if the return table contains error records .
Then open the session using fms using the recorded flow
BDC_OPEN_GROUP
BDC_INSERT
BDC_CLOSE_GROUP.