cancel
Showing results for 
Search instead for 
Did you mean: 

unable to capture the contract number generated by a call transaction to ME31k mode 'N' update 'S'

former_member203117
Active Participant
0 Kudos

Dear team,

I'm unable to capture the contract number generated by a call transaction to ME31k mode 'N' update 'S' in SY-MSGV2. But when i run the BDC in mode 'A' update 'S' then the contract number is being captured correctly in SY-MSGV2.

The data in SY-MSGV2.

mode 'N' update 'S'  the value in SY-MSGV2 = 211 (I THINK THIS IS JUNK)

mode 'A' update 'S' the value in SY-MSGV2 is CORRECT.

Please advice how this issue can be solved.

Thanks,

Tushar.

Accepted Solutions (1)

Accepted Solutions (1)

former_member203117
Active Participant
0 Kudos

Dear Team,

Solved the issue on my own. In "perform bdc_dynpro  using 'SAPMM06E' '0211' " I should have looped 5 times with OK_CODE= '/00' in BDCDATA since there were 5 line items. Now when I use mode 'A', I manually press enter so the contract was getting created. In mode 'N' it was not happening and the  SY-MSGV2 = '0211' which is the screen number.

Answers (0)