‎2008 Jul 26 10:33 AM
Hi all,
I am using function Module i.e.,'BAPI_ACC_DOCUMENT_POST' to upload the data for F-02.After posting it sucessfully i am getting a message,my problem is i need to do modifications in this message.
Can anybody tell me how to modify this message or where this message is stored.
Thanks in advance.
‎2008 Jul 26 10:36 AM
hi you will get the bapireturn table from the bapi and you can pass to some internal table with the same structure and you can midify it with the custom message...by using the modify statement..
‎2008 Jul 26 10:36 AM
hi you will get the bapireturn table from the bapi and you can pass to some internal table with the same structure and you can midify it with the custom message...by using the modify statement..
‎2008 Jul 26 10:49 AM
Hi Venkat,
In this message for document number i have to take out leading Zero.
Can u tell me how to do it.
Thanks.
‎2008 Jul 26 10:52 AM
dada,
use this FM,
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = rs_selfield-value
IMPORTING
output = v_fbelnr.Pls reward appropriate if your problem is solved.
Amit.
‎2008 Jul 26 11:00 AM
loop at it_return .
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = it_return-docnum
IMPORTING
output = it_return-docnum.
modify it_return transporting docnum.
endloop.
‎2008 Jul 26 10:40 AM
Hi,
This is standard BAPI, so without access key you cant change this. Better you create zcopy and modify as you wish.
Regards,
Harish
‎2008 Jul 26 10:47 AM
Dada,
first carefully find from where that message is coming than copy this bapi into some zbapi and use this and change that message which you already find above.
Amit.