‎2006 Sep 21 5:05 PM
Hi,
I have a requirement to Insert or Update Multiple Records into a ZTABLE inside the BAPI. Is there any special approach inside the BAPI to insert or update ZTABLEs with multiple records. It looks like the simple INSERT Statement is not working. Can you please suggest me a Suitable solution for this req?
Thanks and Regards,
Kannan
‎2006 Sep 21 5:10 PM
Hai Kannan,
Kindly check the sy-subrc status after each update. Why you do need to go to BAPI here. Whether you are access for non-SAP. Then kindly specify the error in the return parameter of the BAPI(BAPIRETURN).
‎2006 Sep 21 5:06 PM
Hi,
INSERT ZTABLE FROM TABLE ITAB.
The itab structure should be of the structure ZTABLE..
Same for MODIFY and update.
MODIFY ZTABLE FROM TABLE ITAB..
Thanks,
Naren
‎2006 Sep 21 5:09 PM
Use any of the below statement.
INSERT dbtab FROM TABLE itab.
UPDATE dbtab FROM TABLE itab.
MODIFY dbtab FROM TABLE itab.
Regards,
Prakash.
‎2006 Sep 21 5:10 PM
Hai Kannan,
Kindly check the sy-subrc status after each update. Why you do need to go to BAPI here. Whether you are access for non-SAP. Then kindly specify the error in the return parameter of the BAPI(BAPIRETURN).
‎2006 Sep 21 5:22 PM
Hi,
insert ztable from table itab.
ztable and itab structure should be same
modify ztable form table itab.
ztable and itab structure should be same
Regards
amole
‎2006 Sep 21 5:23 PM