04-23-2009 2:30 PM
Hello SDN,
I have created a Custom BAPI FM. This BAPI FM structure has been imported to XI and is being called from XI.
Data is being passed from XI and the BAPI FM updates details on the R/3 Side. This BAPI is called from XI as a Remote enabled FM call.
The problem is when I am trying to pass records with multiline , or a table with multiple lines of data, the BAPI updates only the first entry of the table.
The Import Tab in the Function Module is a custom structure and only one value can be passed at a time.
The Tables Tab in the FM has the structure of the table which needs to be updated using the BAPI.
Please suggest how shall I program my BAPI so that , it receives data as Table Entries and , these entries get updated in the Table.
Thanks a lot,
Manu
04-23-2009 6:32 PM
How to fetch data and fill the structures of the Bapi totally depends on the requirement.
What fields you take from your front end and what fields are to be updated from the database tables.
which standard bapi you use inside your custom bapi etc,
Regards,
Lalit Mohan Gupta.
04-24-2009 10:16 AM
HI Lalit,
I have a created a custom BAPI and XI is sending some data which I need to update in Z tables.
Nothing to do with the standard any of the Standard BAPI.
Please suggest.
Thanks,
Manu
04-23-2009 7:30 PM
The problem is when I am trying to pass records with multiline , or a table with multiple lines of data, the BAPI updates only the first entry of the table.
think, do u need a LOOP......ENDLOOP?
thanq
04-24-2009 10:18 AM
I can see only one record at a time.
I could use Loop .. Endloop, but I am getting only one record at a time.
04-24-2009 10:24 AM
Hi,
Witin loop ...endloop, call ur ZBAPI.
Check COMMIT WORK and WAIT upto n seconds being used in the BAPI, here n can be 3 or 5...
WAIT upto 3 seconds.
Regards,
Naveen
04-24-2009 11:16 AM
My Bapi is called from XI. The BAPI Structure has been imported to XI and fields mapped in source and target destinations.
Thanks,
Manu
04-30-2009 3:12 PM
Hi,
I have started working on custom BAPI development,
required some custome BAPI development and process inputs, i mean your developments in R/3 side , because I am having same kind of some similar requirement, I have not worked so far on custome BAPI's.
Thanks,
Rahman
05-01-2009 12:36 PM
I am no longer maintaining it as a BAPI. I am now using it as a simple remote enable F module.
Made a few changes to the import parameters in FM.
Let me know if you need more information.
Thanks,
Manu Kapur