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: 

Capturing information message and response using BDC

Former Member
0 Kudos

Hi,

I am facing a problem while posting a payment lot, using transaction FP05. An information message pops up on clicking the POST button, and the posting happens only after I hit on the 'OK' button of the information message dialog. But while BDC recording, the information message pop up is not recorded.

If anyone knows how to capture this pop up in BDC, please respond.

Will reward if helpful.

Thanks

1 ACCEPTED SOLUTION

hymavathi_oruganti
Active Contributor
0 Kudos

i think nothing special needs to be done.

while recording with shdb, just go thru the popup and it will be recorded

5 REPLIES 5

hymavathi_oruganti
Active Contributor
0 Kudos

i think nothing special needs to be done.

while recording with shdb, just go thru the popup and it will be recorded

Former Member
0 Kudos

Hi,

No need to capture this Information Pop up, in the BDC, SAP ignores the Information Popups, so ignore the popup and write the BDC code, SAP will not trigger/popup the Information message in the No screen(N) mode

Regards

Sudheer

Former Member
0 Kudos

Hey Sheron,

This situation is pretty common in BDCs.

It all depends on the type of message that you are getting.

If it is an type 'I' message, it will not come in the BDC(background processing), so no need for any additional coding.

Thanks and Regards,

Ravi Bhatnagar

Former Member
0 Kudos

hi! Sheron

Just Try this

DATA: msgtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.

CALL TRANSACTION 'QM01' USING bdc_tab MODE 'A' UPDATE 'L'

<b>MESSAGES INTO msgtab</b>.

Instead of the statement - perform bdc_transaction using 'TCode'.

use this code.

1. this will through the data from the message table to your itab.

2. from this itab based on the Condition i,e msgid(message ID) etc you can get the neede data .

3. store it in a variable and pass this in the next BDC of the same program.

Regards,

Nagulan

Reward me if its Useful.

Former Member
0 Kudos

thanks for the reply