Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Call Transaction using BDC data

Hello All,

I have a z program in which I'm using BDC to populate values and call MR22 Transaction 2nd screen. My issue is after clicking on SAVE button on MR22 transaction, its comes back to my zprogram, which is not what i want. I need to show the first screen of MR22 transaction only. Is there a way to achieve this ?

I've already tried using these two solution, which I saw in another forum:

1) Either there is an intermediate COMMIT WORK which stops the CALL TRANSACTION (solution is then to use OPTIONS FROM <structure> and set <structure>-RACOMMIT = 'X' (request to not stop the CALL TRANSACTION if a COMMIT WORK is reached)

2) or the program detects that the transaction is called using CALL TRANSACTION and reacts differently. If the program tests SY-BINPT, then you may run the program use OPTIONS FROM <structure> and set <structure>-NOBINPT = 'X'). If the program tests other things (SY-CPROG, SY-CALLD, etc.), then the only possiblity is probably a modification of the standard!

But, it still doesn't satisfy my scenario.

Regards.

Former Member
Former Member replied

Hi,

After your Call Transaction you write

IF SY-SUBRC EQ 0.

CALL TRANSACTION 'TCODE'.

ENDIF.

Thanks,

Mani

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question