Application Development and Automation 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: 
Read only

BDC update issue

Former Member
0 Likes
793

Hi All,

I have a report in which 4 report are submitting, in which one of them is BDC and other are simple report.

problem is , suppose report got cancelled after 2nd (submit report) and 1st (submit report) is bdc which is working and which is updating the database.

I want when report get cancelled then BDC call transaction should not update database.

Is there any way to sort this issue ? and i cant change herirachy of reports.

thanks

Sandeep

4 REPLIES 4
Read only

Former Member
0 Likes
733
problem is , suppose report got cancelled after 2nd (submit report) and 1st (submit report) is bdc which is working and which is updating the database.

I want when report get cancelled then BDC call transaction should not update database.
Is there any way to sort this issue ? and i cant change herirachy of reports.

Create SESSION (SM35) and and Submit it unless all reports are successful. then you can call Program RBDCSUB to submit session otherwise Delete it.

Read only

0 Likes
733

I m not able to find RBDCSUB report.

Read only

0 Likes
733

>

> I m not able to find RBDCSUB report.

Hi, Sandeep

Check RSBDCSUB Report

Best Regards,

Faisal

Read only

Former Member
0 Likes
733

Hello Sandeep,

Put a condition after your second record OR the position from where you want to stop execution.

PUT your condition with IF statement and there you give a message of type A. since the program will stop execution at that poit hope the session also goes off and the BDC would not update.

ex.

IF <Condition>.

MESSAGE a000(000) with 'Program terminated'.

ENDIF.

Try this hope it helps you.

Cheers,

Suvendu