on 09-11-2015 10:54 AM
Hi,
I have a requirement through Webdynpro want to Clear the Payment using F-03 Transaction. So i used BDC record the screen and pull the data but through webdynpro am calling BDC, i wrote the code separate report. when i run its throw error and also not possible to using BDC Mode ( A, E ) only possible N Mode. Please give an idea how do to and where do to ?
Hi Tamil,
It is possible to call BDC from Web dynpro ABAP except ( A & E ) mode and if there are any problems in the BDC the same can be sent as message , kindly find the following example code.
DATA lt_msg_tab TYPE TABLE OF bdcmsgcoll.
CALL FUNCTION 'ZPR_CHANGE_ADD_NEW_DATA_1'
EXPORTING
Ctu = 'X'
Mode = 'N'
Update = 'L'
Nodata = '/'
im_lifnr = lv_lifnr
IMPORTING
Subrc = lv_subrc
TABLES
Messtab = lt_msg_table.
- Gowtham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tamil,
You said that you wrote the code in a separate report, meaning you are calling that report in the webdynpro application using submit program..?
And you also said that the webdynpro application is able to run the report BDC code in only N mode. Am I correct..?
You want to run the webdynpro application and BDC code in A and E modes right..?
Regards,
Raghu Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tamil,
It is not possible to run the GUI transactions in webdynpro application, for more details please check the below link and see the comment from Tom Van Doorslaer .
https://scn.sap.com/thread/1415075
Hint:
If you want to run in A and E modes, the only thing you can go for is to create a test program and run the report.
Regards,
Raghu Prasad
Hi Tamil,
A and E modes are just to analyse ourselves where the ERROR occurred. User doesn't need this.
We can only provide them the error messages from BDCMSGCOLL. By seeing that error messages user fills the necessary missing mandatory information and re-runs the application.
Note: Only thing we can do is to provide them (User) a detailed error message description.
Regards,
Raghu Prasad
Hi Tamil,
Can you try the below links to handle the error messages from SUBMIT report.
By Vasanth M:
By Dieter Gröhn:
Catch message from submit abap report | SCN
Regards,
Raghu Prasad
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.