2012 Sep 06 11:31 AM
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
2012 Sep 06 11:57 AM
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
2012 Sep 06 12:05 PM
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