on 10-25-2006 2:01 PM
Experts
Currently i am working on BC for creating
sales order using idoc , i have input file with me,
which is an xml format and the mapping is ready in
BC , only problem which i am facing is that i am not
able to understand following thing
1) How can i test these mapping as initial input
for mapping is node ,which won't except any input
2) How we can call these idoc structure(for example
ORDERS) in my BC.
Hi,
Press the arrow button in the developer screen. Generally in real case there might be some front end (like ASP or jsp) which will invoke your service in BC and your scenario is executed.
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Suraj
let me explain you the scnario properly ,have a java
client which will send xml data to BC , in my BC .mapping
is done so that input from xml will be mapped to required
structure ,structure is similar to that of idoc structure,
problem is when i send input from my java program , i really don't know what exactly is happening in BC side.
My question is how i can debug BC,since in BC receiving
point is node ,hence i can't give input directly to these
BC ,so i don't know how these service work.
Hi Suraj,
Thanks for replying back now let me explain you what
happen after incorporating what you said
<b>Before change</b>
<b>Flow service:</b>
service is starting with pub.web:getDocumentType
<b>after change</b>
<b>Flow service:</b>
service start with pub.string:base64Decode
which have input filed as string ,here i am giving
my xml input ,it get converted and get stored in output
which is node here ,this node is input for pub.web:getDocumentType ,here start the problem
it dumb by saying that "parameter document is of incorrect type"
Hi Suraj,
Great,Thank a lot, only i have two more doubt
1) I am not sure of XI ,since i worked on BC only,
do XI provide automatice generation of java code ?
2) curently i am looking into the serive that will create
inbound idoc in R/3 (ORDERS),since i worked with BAPI
and BC ,i am not much aware of IDOC, can we call
IDOC in our service directly as BAPI ,if so how?
Hi,
>>I am not sure of XI ,since i worked on BC only,
do XI provide automatice generation of java code ?
Not like BC, you have to write it manually.
>>curently i am looking into the serive that will create
inbound idoc in R/3 (ORDERS),since i worked with BAPI
and BC ,i am not much aware of IDOC, can we call
IDOC in our service directly as BAPI ,if so how?
See IDOC and BAPI'S are two different techniques for contacting the R/3. What you can do is call IDOC inside BAPI. BAPI is like your function (say java) and inside that you are creating an IDOC (say a file) and you are sending it to that R/3. For IDOCs you have to set Routing rules and all.. I think this might be helpful:
http://www.ups.com/sap/configuration/Configuration.pdf
Good, after long time a BC query. Now i think you will close this thread and BTW have you seen this:
Regards
Suraj
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.