cancel
Showing results for 
Search instead for 
Did you mean: 

idoc to file scenario

Former Member
0 Kudos

hi gurus,

i know the configurations that are required in between R/3 and XI.. could u please tell me after the configurations how should i need to push the data from R/3 to XI and where should i need to push the data ., my sender idoc is matmas03 and in the receiving side i use file structure..

regards,

reddy

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member556603
Active Contributor
0 Kudos

Hi Reddy,

1) Log in to sender system, go to transaction WE19 (test tool to generate IDoc), generate Idoc of the

required message type.

2) Log in to Xi system and execute transaction SXMB_MONI and check for the XML messages. Use your

source and destination system to filter messages, it should have chequered flag.

3) Log in to Adaptor Monitor and check for the file adaptor. The status of the adaptor should be green and

working.

IDoc Statuses:

See table TEDS1 for all status codes via SE16 in SAP. Outbound ALE Status Codes

Successful Transmission:

• 03 - Successful outbound transmission

• 12 – Dispatch OK

IDoc being processed:

• 01 - IDoc created

• 30 - IDoc ready for dispatch (ALE service) (Program RSEOUT00 needs to be executed)

ALE Error Messages:

• 02 - Error passing data to port

• 04 - Error within control information on EDI subsystem

• 05 - Error during translation

• 25 - Processing despite syntax errors (outbound)

• 29 - Error in ALE service

• 32 - Resubmit edited intermediate document (DO NOT USE)

Syntax Error Messages:

• 26 - Error during syntax check of IDoc (outbound)Inbound ALE Status Codes

IDoc Processed Successfully:

• 50 - IDoc added

• 53 - Successful posting

IDoc ready for processing:

• 64 - IDoc ready to be passed to application. The IDoc will be passed to the application by program RBDAPP01.

Errors in IDoc Processing:

• 51 - Error - application document not posted

• 56 - IDoc with errors added (You should never see this error code)

• 60 - Error during syntax check of IDoc (inbound)

• 61 - Processing despite syntax error (inbound)

• 63 - Error passing IDoc to application

• 65 - Error in ALE service - indicates partner profiles are incorrect

• 69 - IDoc was edited

Hope this information is useful to you...

Reward points if it is useful..

Thanks,

Satya Kumar..

Former Member
0 Kudos

hi

check the below weblog for pushing idoc from sap to xi

/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi

note:reward points if solution found helpfull.....

regards

chandrakanth.k

Former Member
0 Kudos

Hi,

IDOC testing using WE19

/people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi

After this u need to see the IDOC in WE02 tcode and check the status it hsould be green.

Go to SXMB_MONI of XI check the input payload and output paylaod.

chirag

Former Member
0 Kudos

Chirag,

i didn't even push any data from R/3 how to push the data from R/3 to XI that's what my question.. i had an previous exp with java and i dont know about abap..

the settings were done before a month and i am unable to create any thing as i dont have any rights to create..

the settings in between R/3 and XI was ok and now for testing purpose i need to send the data how to send

regards

reddy

Former Member
0 Kudos

Hi,

Once u have configured everything in R3 the final step is to push a data to XI.

I have send u the link which shows the the way in which u can push a data to XI. go to WE02 tcode and select the IDOC data which is posted previously and use the same data for pushing to XI.

one u go through the weblog ur data is already pushed to XI. U do not need to do anything.

can u tell what exactly u r looking for.

chirag

Former Member
0 Kudos

Chirag.,

it is for pushing the already existing idoc, if i need to send a new one the tcode was bd10 is it right., if it is what are the input parameters that should be given..

regards,

reddy

Former Member
0 Kudos

Hi,

Tcode is correct.

chirag

former_member556603
Active Contributor
0 Kudos

Hello Reddy,

BD10 will be used for the transportation of the Idoc.

From there u have to given..

Material, Class, Message Type, Logical system name..

Thanks,

Satya Kumar..

Former Member
0 Kudos

Hi,

How to create a new matmas03 idoc what are the inputs should be given..

regards,

reddy.

former_member556603
Active Contributor
0 Kudos

Hello Reddy,

MATMAS03 is IDoc type

From there u have to given..

Material, Class, Message Type, Logical system name..

Thanks,

Satya Kumar..

former_member238007
Contributor
0 Kudos

Hi Reddy.,

First of all u check the settings in between R/3 to Xi

follow this and check whether the settings are perfectly configure and be alert in defiing and assigning the logical system w.r.t R/3 system..

Steps

SAP XI

1)RFC Destination (SM59)

a)Choose create.

b)Specify the name of the RFC destination

c)Select connection typ as 3 and save

d)In the technical settings tab enter the details SAP SID/URL and system number#.

e)Enter the Gateway host as same details above SID/URL.

f)Gateway service is 3300+system number#.

g)In the Logon /Security tab,enter the client user &Password details of Destination system.

h)Test the connection and remote logon.

2)Create Port (IDX1)

a)Select create new button

b)Enter the port name as SAP+SID (The starting char should be SAP)

c)Enter the destination client.

d)Enter the RFC Destination created in SAP R/3 towards other system.

e)Save

3)Load Meta Data for IDOC (IDX2)

a)Create new

b)IDOC Message Typ

c)Enter port created in IDX1.

SAP R/3

1)RFC Destination (SM59)

a)Choose create.

b)Specify the name of the RFC destination

c)Select connection typ as 3 and save

d)In the technical settings tab enter the details SAP SID/URL and system number#.

e)Enter the Gateway host as same details above SID/URL.

f)Gateway service is 3300+system number#.

g)In the Logon /Security tab,enter the client user &Password details of Destination system.

h)Test the connection and remote logon.

2)Create Port (We21)

a)First Select Transactional RFC and then click create button

b)Enter the destination port name as SAP+SID (The starting char should be SAP)

c)Enter the destination client.

d)Enter the RFC Destination created in SAP R/3 towards other system.

e)Save

3)Create Partner Profile (WE20)

a)Create New

b)Create the Partner no.name as same the logical system name of the destination system.

c)Select Partner type LS

d)Enter details for Type:US/USER,Agent,and Lang.

e)Click on the +button to select the message type.

f)Select Partner no.and LS which ever create above.

g)Select Message type

h)Select Process code related to the Message type.

I)save.

In SLD – System Landscape Directory

if the above settings are done then concentrate on pushing the idocs..

if it is an existing idoc push it through WE19 and to know the idoc number go to WE02..

for existing idoc specify the idoc number and reproces it..

if it is a new number u should know the material id and logical system name and message type if u know this parameters u can send a matmas idoc this will be given or known if what material u are going to push from R/3 system to idoc..

in this case go to TCODE BD10 and give the necessary details to process that idocs, the necessary details are Message type and range of idoc i.e what type of material u are going to push.. and specigy the logical system name w.r.t u defined.

regards

Kishore

Former Member
0 Kudos

hi,

R3 system.

1. Create SM 59 RFC destination to XI,.

2. We21 - Create port to XI.

3. We 20 -- Maintain Partner Profile for the outbound Idoc.

4.Create Distribution Model view USING BD 64

XI SLD

1. Create technical system for R3 system

2. Create Business System for the Client of the R3 system.

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi

These are the required steps for IDoc to File scenario...

Trouble shooting file to IDOC and IDOC to file

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/error%2bhandling%2bin%2bfile-idoc%2bscenario

rEGARDS

Former Member
0 Kudos

Hari,

i have done the configuration and i didn't know how to send the data from R/3, i.e i have created RFC in between and tested with test connection it is ok then i need to send the data, but when in normal file to file scenario we will put the file in the source directory where it picks the data and in R/3 how to give this data...

regards

reddy.

Former Member
0 Kudos

Hi,

If you are using RFC as sender then refer below

RFC/BAPI Communication

http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm

Configuring the Sender RFC Adapter - step by step

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

Configuring the Sender RFC Adapter

http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm

Send RFC to SAP XI – Asynchronous

/people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous

For IDOC testing

IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario

Thanks

Swarup