2006 Mar 22 9:34 PM
Hello Everyone,
(I originally posted this message in the Java-forum, but I think its more of an ABAP-related problem).
I'm been tasked with creating ExtensionData in a BAPI. We're using SAP ISA R3 edition and I'm having a heck of a time trying to figure out what needs to be done. Can someone help explain this to me?
Can you tell me if theres some ABAP work that I need to do to set the data? Here is the code I have so far:
BACKENDOBJECT-CONFIG.XML
<businessObject type="EXTENSION_DOCUMENT_CREATE" name="EXTENSION_DOCUMENT_CREATE" className="com.sapmarkets.isa.backend.r3base.ExtensionParameters" attributes="standalone">
<params>
<param name="structure" value="BAPE_VBAK"/>
<param name="structureItem" value="BAPE_VBAP"/>
<param name="fields" value=""/>
<param name="fieldsItem" value="ZCPHONE1,16"/>
</params>
</businessObject>
In my action class, Im setting the data like this
item.addExtensionData("ZCPHONE1","555-1212");
Finally, in the ABAP table BAPE_VBAP, I create a new field like this:
ZCPHONE1 CHAR 16
Now, do I have to do some additional ABAP coding in my Z_SD_SALESDOCUMENT_CREATE (extended from the standard R3 BAPI "SD_SALESDOCUMENT_CREATE")? Basically, I want to retireve the extension data values after an order has been create. Right now, once I hit the sales order simulate, the extension data no longer exists.
Thank you for your help!
Hello Everyone,
(I originally posted this message in the Java-forum, but I think its more of an ABAP-related problem).
I'm been tasked with creating ExtensionData in a BAPI. We're using SAP ISA R3 edition and I'm having a heck of a time trying to figure out what needs to be done. Can someone help explain this to me?
Can you tell me if theres some ABAP work that I need to do to set the data? Here is the code I have so far:
BACKENDOBJECT-CONFIG.XML
<businessObject type="EXTENSION_DOCUMENT_CREATE" name="EXTENSION_DOCUMENT_CREATE" className="com.sapmarkets.isa.backend.r3base.ExtensionParameters" attributes="standalone">
<params>
<param name="structure" value="BAPE_VBAK"/>
<param name="structureItem" value="BAPE_VBAP"/>
<param name="fields" value=""/>
<param name="fieldsItem" value="ZCPHONE1,16"/>
</params>
</businessObject>
In my action class, Im setting the data like this
item.addExtensionData("ZCPHONE1","555-1212");
Finally, in the ABAP table BAPE_VBAP, I create a new field like this:
ZCPHONE1 CHAR 16
Now, do I have to do some additional ABAP coding in my Z_SD_SALESDOCUMENT_CREATE (extended from the standard R3 BAPI "SD_SALESDOCUMENT_CREATE")? Basically, I want to retireve the extension data values after an order has been create. Right now, once I hit the sales order simulate, the extension data no longer exists.
Thank you for your help!
2007 Apr 16 4:32 PM
Hi Jolly,
Were you able to do this?
If yes, can you help me with steps which you followed.
Thanks
Vinit