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: 

Message not getting triggered after posting the line items through BDC

Former Member
0 Kudos
105

Hi,

In transaction 9KE0 after I enter the line items and click on save button, I can see the success message '000002 data records were posted in document 1580000111'.I have done the BDC recording for this transaction and after processing it through call transaction,it is not showing any message and the control is coming back to the selection screen of the program.No idea whether the documents were successfully posted or not.

How to get the message after posting the line items?Do we need to do any recording for this?

Regards,

Swapna

2 REPLIES 2

Former Member
0 Kudos
66

Hello Swapna,

trying reading the returned messages ,

     Call Transaction p_trans using ZBDC_Table

                               Mode p_mode

                             Update p_update

                      Messages into p_messages.

here : P_MESSAGES ( table)

Thanks

~Raj

Former Member
0 Kudos
66

Hi Swapna,

Use below code

CALL TRANSACTION your transaction name  USING   t_bdcdata

                                                                  MODE l_mode_1

                                                               UPDATE 'S'

                                                         MESSAGES INTO lt_messtab

In this lt_messtab, you will get the desired message and then transfer this message to your report output, If you want to see it you can change the MODE

to A the at debugging you can see it how it is going.

Hope it will help you.

Thanks

Rahul