on 2005 Sep 02 3:53 PM
Hi,
I would like to know the basic settings & Parameters to execute the function module 'CRMXIF_ORDER_SAVE'.
Thanks
Seshu
Hi Seshu,
It's not reallty necessary to use the function directly. The SAP standard uses this function to process a bdoc structure. You can fill all your information in Idoctype CRMXIF_ORDER_SAVE_M and process it with the standard tools. This way it's a lot easier to set up, maintain and you can be sure that the idoctype will be supported in future releases and SP-upgrades.
Additionally, there's a lot of information available on how to use and fill the idoctypes. Check out transaction WEDI.
Grtz,
Michael.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Seshu,
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.
hope this helps,
Michael.
Hi Steve,
nope I haven't, but I can imagine that the status segment is giving you trouble. Status management is considered a seperate object, so it's saved after the object that it's linked to. User stati aren't even interfaced from CRM to CRM & visa versa.
But I know it's possible to fill up the inbound bdoc with a status. You could try debugging the process and check out the mapping between inbound message & bdoc.
Michael.
User | Count |
---|---|
32 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.