Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Overwrite partner address from a flat file

Former Member
0 Likes
547

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
518

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

2 REPLIES 2
Read only

Former Member
0 Likes
519

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.

Read only

0 Likes
518

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..