This website is not affiliated with, sponsored by, or approved by SAP AG.

Convey idoc status back to business connector.

Interfaces (ALE, IDOC, RFC, EDI etc.)

Moderators: thx4allthefish, Snowy

Convey idoc status back to business connector.

Postby guest » Mon Oct 21, 2002 12:18 pm

I have developed a package that converts xml to idoc & routes to SAP.
I now need to add another step to the same set of services to trap
the status(51 or 53) of idoc back to BC, so that I can accordingly
send an error Or success message back to trading partner.
I have read the documentation on idoc trace, status update via aleaud
idoc or systat01 idoc. I am not sure which one is most suitable in
my scenario if at all. Moreover, I need to retrieve the staus of idoc
in my current flow of services so that I can send back a message
to my trading partner almost real time. I do not care to log a system
report on these idocs. So any suggestion on how I should go about addressing this situation, would help.

Thanks in advance.

guest
 

Postby auerr » Tue Oct 22, 2002 1:45 am

Hi,

not recommended:
1. SYSTAT01: incoming status for an outgoing IDoc (Stati: 6, 10, 12)

2. ALEAUD: designed for R/3 to R/3 connection, very complex and related to the business object ("my purchase order 4711 was processed to a sales order No. 8020 in the vendor's R/3)


br
Richard
auerr
 
Posts: 9
Joined: Mon Oct 21, 2002 1:41 am
Location: Salzburg, Austria

How to Convert an XML into IDOC

Postby lramesh » Tue Oct 22, 2002 5:59 am

Hi ,

Could you please guide me for converting an XML into IDOC.

thanks
ramesh
SCJP1.2,SCWCD
SAP/J2EE Consultant
"Plan for the Work and Work for the Plan"
lramesh
 
Posts: 41
Joined: Tue Oct 22, 2002 12:36 am

Postby Skye » Tue Oct 22, 2002 6:26 am

Hi guest,

as auerr already said SYSTAT01 and ALEAUD are (at least for me) not useable. I failed to configure ALEAUD. One guy has a solution for this:

http://www.wmusers.com/wmusers/messages/117/723.shtml?

regards...
Skye
 
Posts: 36
Joined: Sun Oct 20, 2002 2:25 pm
Location: Germany

Re: How to Convert an XML into IDOC

Postby Skye » Tue Oct 22, 2002 6:41 am

lramesh wrote:Hi ,

Could you please guide me for converting an XML into IDOC.

thanks
ramesh


Hi ramesh,
you mean an xml-Document arriving in SAP BC and then IDOC-Conversion?

The principle is like this:
- one xml-Template record (reflecting the incoming structure)
- one IDOC-Template record (get it from http://ifr.sap.com) and load it into SAP BC

Then convert the xml-String into a useful record
- stringToDocument
- documentToRecord

Now do the mapping from your In-Format to your IDOC.
Once the IDOC is beautifully filled with the data (check http://service.sap.com/ale -> EDI-Applications for how to format an inbound IDOC), send it to your SAP (transformHierachyToFlat, OutBoundProcess).

Remember to customize in WE20 and WE21!

Have fun!
Skye
 
Posts: 36
Joined: Sun Oct 20, 2002 2:25 pm
Location: Germany

Postby Guest » Wed Oct 23, 2002 10:12 am

Thank you skye, for all your help & pointing me to the right weblink for Michael's solution.
Guest
 

Question for skye

Postby ssii » Wed Oct 23, 2002 4:53 pm

Hi,

I want to know if you use Webmethod or not in association with SAP BC.

If yes, where do you develope the mapping : on Webmethos or SAP BC.

If no, how you send the message from the system partener and what services you use to make the mapping.

Thanks a lot,
SSII
ssii
 

Re: Question for skye

Postby Skye » Wed Oct 23, 2002 6:26 pm

ssii wrote:Hi,

I want to know if you use Webmethod or not in association with SAP BC.

If yes, where do you develope the mapping : on Webmethos or SAP BC.

If no, how you send the message from the system partener and what services you use to make the mapping.

Thanks a lot,
SSII

Hi ssii,

We use SAP BC46. We deliver to BC via FTP and Email (different flows). Services? Branch, Loop and Map-Steps for mapping of course! And transformers ;-)
Did that help?
Skye
 
Posts: 36
Joined: Sun Oct 20, 2002 2:25 pm
Location: Germany


Return to Interfaces

Who is online

Users browsing this forum: No registered users and 2 guests




This website is not affiliated with, sponsored by, or approved by SAP AG.