Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDC session : Error records

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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.

kesavadas_thekkillath
Active Contributor
0 Kudos

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.