‎2009 Jun 18 11:38 AM
Hi.
I have to create a custom BAPI which has one import field as string type. because BAPI doesnt support string data type, I have changed it to char2048 which is giving warning. Ignoring it, when I try releasing it in transaction SWO1, its throwing an error telling "More than 255 characters is not allowed for a field in BAPI." I am getting XML data in that field (coming from Datastage). One thing that we can do is we can split the data in the format of 255 chars long in datastage but I cant change the value in datastage tool but I can play with the data on my system working on ABAP. Can anyone please help me out with the solution for it. So, instead of splitting the data in datastage/middleware, can we do somthing in BAPI that it accepts 2000 chars in one field.
(High Priority task).
Regards'
Sitesh.
‎2009 Jun 18 3:00 PM
Please read the Rules of Engagement for these forums. The fact that something is high priority for you, does not make it high priority for us, the volunteer contributors to the forums. This form of words "high priority", or similiar is not permitted.
matt
‎2009 Jun 20 3:03 PM
Hi,
You can pass the data in tables parameter as SAP uses to pass the cutomer field in EXTENSIONIN tables parameter for most of the BAPIs. The structure used is BAPIPAREX.
Regards,
Ankur Parab
‎2009 Jun 20 4:54 PM
Is that really needed to create a BAPI ? Can't you just create an RFC-enabled function module or web service instead, so that to receive a string ? (if BAPI is needed, you may still be called by your function module or web service)