2007 Jun 12 7:46 AM
Hi,
I want to overwrite the partner address from a flat file while creating sales order.
I am using FM CRMXIF_ORDER SAVE .
what are values we have to pass to the deep structure partner_inputfields ?
Regards,
Siva
2007 Jun 12 7:49 AM
Hi Siva,
function CRMXIF_ORDER_SAVE is used for inbound information coming through the XIF, which means that an idoc or XML structure in translated in the structure that is given to the function [inbound parameter DATA with structure CRMXIF_BUSTRANS_T]. You can either try to fill up this structure as the standard integration would or you can try to create an XML from your java-application & send the information to the XIF which will then take care of the rest.
Option 1: look in transaction smw01 and find a business transaction message. You'll find a comparable structure in this bdoc that you can use as an example to fill the structure in the function.
--> this is a quick solution, but you cannot be sure that SAP will continu to use the function or that structure in future releases or SP-upgrades.
--> it will also be difficult todo errorhandling and will require more maintenance
Option 2: creating the xml (or idoc) from java will have to be done in a specific format. To pass it along to the XIF-adapter, you'll need some interaction tool like the business connector, SAP XI or a SOAP-server.
--> eventually, this will be the most stable solution I think, but it will require more work to set up.
Thanks.
Hi,
I want to overwrite the partner address from a flat file while creating sales order.
I am using FM CRMXIF_ORDER SAVE .
what are values we have to pass to the deep structure partner_inputfields ?
Regards,
Siva
2007 Jun 12 7:49 AM
Hi Siva,
function CRMXIF_ORDER_SAVE is used for inbound information coming through the XIF, which means that an idoc or XML structure in translated in the structure that is given to the function [inbound parameter DATA with structure CRMXIF_BUSTRANS_T]. You can either try to fill up this structure as the standard integration would or you can try to create an XML from your java-application & send the information to the XIF which will then take care of the rest.
Option 1: look in transaction smw01 and find a business transaction message. You'll find a comparable structure in this bdoc that you can use as an example to fill the structure in the function.
--> this is a quick solution, but you cannot be sure that SAP will continu to use the function or that structure in future releases or SP-upgrades.
--> it will also be difficult todo errorhandling and will require more maintenance
Option 2: creating the xml (or idoc) from java will have to be done in a specific format. To pass it along to the XIF-adapter, you'll need some interaction tool like the business connector, SAP XI or a SOAP-server.
--> eventually, this will be the most stable solution I think, but it will require more work to set up.
Thanks.
2007 Jun 12 10:19 AM
Hi Viji,
Thanx for the info.
Could you pls let me know the <b><u>name of the structure</u></b> thru which Partner Address can be modified and can be viewable in CRMD_ORDER Transaction after creating Sales Order with the help of a flat file.
Thanx in advance,
Siva..