‎2007 Nov 13 12:54 PM
‎2007 Nov 14 7:57 AM
what ever errors ur getting while populating ztable u have to capture all the messages into bapi return
‎2007 Nov 13 3:05 PM
Validate all your intput fields. If you find errores and incorrect data as your input data, fill out the return table with the proper message and all the necessary variables. Here variable means all the used one input data for that message.
Like:
If your input contains the TEST1 as the material so you need to validate this material from MARA.
SELECT MATNR
INTO L_MATNR
FROM MARA
WHERE MATNR = 'TEST1'. " <<your input values
IF SY-SUBRC <> 0.
* FILL THE RETURN TABLE WITH MESSAGE
* MATERIAL TEST1 NOT FOUND
ENDIF.You have to check for each object with its master records.
Regards,
Naimesh Patel
‎2007 Nov 14 7:39 AM
Hi Naimesh,
Thanks 4ur response, Please help if you have any sample coding.
Regards,
SB
‎2007 Nov 14 7:57 AM
what ever errors ur getting while populating ztable u have to capture all the messages into bapi return