cancel
Showing results for 
Search instead for 
Did you mean: 

idoc problem.

Former Member
0 Kudos

Moved to correct forum by moderator. Please use a more informative subject in future

hi gurus,

can any one help me in IDOC i created 2 segments then what is the next step......

Edited by: Matt on Feb 17, 2009 6:26 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

1) In we31, you created segment

2) Goto we30, create IDOC

3) Assign the above segment to the IDOC

4) Goto we81 create message type

5) Goto we82 assign message type and IDOC .

Thanks

Sharath

Former Member
0 Kudos

HI,

IN WE81 WAT IS THE EXTENSION...?

Former Member
0 Kudos

HI,

SORRY SHARAT NOT WE81 ......

IN WE82 ..?

AFTER THAT WHAT IS THE NEXT STEP..PLZ.....

Former Member
0 Kudos

hi,

Specifying of extension is as per our requirement, you can see the difference in we30

goto we 30, you have the option to specify a basic idoc and an idoc with an extension.

Mentioning the extension is not mandatory.

If you want make any modifications for the existing idoc we provide the extensions

Thanks

Sharath

Former Member
0 Kudos

OK..

AFTER ASSIGNING MESSAGE AND IDOC WAT IS THE NEXT STEP....

THANX

BHANU.

Former Member
0 Kudos

hi,

No more steps for a basic idoc.

The idoc has been created and you can view it in WE82 or WE30.

Thanks

Sharath

Former Member
0 Kudos

hi,

but idoc is use for transfering data 4m 1system to other system na...

Former Member
0 Kudos

hi bhanu,

Yes you are right, iDoc is used for transferring data from one system to other.

Right now, your idoc is ready for transfer, you need to configure the ALE settings for transferring this idoc.

ALE SETTINGS

Create Logical system through BD54 or SALE tcode

Assign logical system to client, that can done through scc4

Create RFC destination through SM59.

Create port through WE21.

Create partner profiles through WE20

Create distribution channel through BD64.

The above steps are used to configure ALE settings.

Through ALE you can transfer iDoc to Target system.

Thanks

Sharath

Former Member
0 Kudos

sharat,

one thong i want 2 ask ....

segments is noting but tables wch we puting in idoc ....is it write....!

in segments can we give our data(table)..?

Former Member
0 Kudos

sharat,

one thong i want 2 ask ....

segments is noting but tables wch we puting in idoc ....is it write....!

in segments can we give our data(table)..?

Former Member
0 Kudos

hi,

Yeah, segment is not a table but a structure.

Segment will be assigned to IDOC.

WE31 is tcode for creating segments.

Create segment and enter the values as

Ex.

Field Data element

MATNR MATNR

MATYP MATYP.

After entering these fields, save.

After creating the segment , release the segment.

Without releasing the segment we cannot assign segment to IDOC.

GOTO we31> Edit> set release.

Thanks

Sharath

Former Member
0 Kudos

Hi Bhanu,

Segment corresponds to table fields, that means that they can hold data of type defined by data elements of that field.

For Eg. Segment E1MARAM contains fields like matnr (mara-matnr)

A Segment can contain more than one fields.

You can check the documentation for a basic type through transaction WE60

Regards

Vinod

Former Member
0 Kudos

sharat,

i created logical system and u said it shd assign to client.... through scc4

but wit me only one server and only one client is there in our office so how to transfer data..is there any option to get know how data is transfering ..?

Former Member
0 Kudos

Hi,

Two clients are must to transfer data. Both the clients can be present on same application server.

Check with your basis team to create one more client or provide authorization for any other client.

Regards

Vinod

Former Member
0 Kudos

hi gurus,

RFC destination through SM59.

port through WE21.

partner profiles through WE20

distribution channel through BD64.

this is done after i creation of idoc with segments and logical system......i did till there.... so i did`nt understand after that....

Former Member
0 Kudos

hi experts,

i dint get after creating logical system......what is the RFC ,port, partner profile, distribution channel.

Former Member
0 Kudos

Hi,

Please Check this link, It shows a step by step approach to distribute data through Ale Idocs

https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/ale%252bidocs.

Regards

Vinod

Former Member
0 Kudos

hi,

Am repeating the steps again from what i have posted yesterday.

This should resolve your purpose.

1) In we31, you created segment

2) Goto we30, create IDOC

3) Assign the above segment to the IDOC

4) Goto we81 create message type

5) Goto we82 assign message type and IDOC .

ALE SETTINGS

Create Logical system through BD54 or SALE tcode

Assign logical system to client, that can done through scc4

Create RFC destination through SM59.

Create port through WE21.

Create partner profiles through WE20

Create distribution channel through BD64.

The above steps are used to configure ALE settings.

Through ALE you can transfer iDoc to Target system.

Goto WE19, give the necessary settings such as sourcetype

message type..etc

1) select basic type radio button.

2) Mention your iDoc that has been created.

3) Click on the process button.

4) click on standard outbound processing

5) Give the necessary requirement of source and target details.

Thanks

Sharath

Thanks

Sharath

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

It is not possible to communicate using a single client because during the configuration step of assigning the logical system to the client, it is not possible to assign the different logical systems to the same client.

Thanks

Krithika

Former Member
0 Kudos

Bhanu...

Please search the SDN forum for clear examples on doing the same.

Step by Step procedure has been given already.

Just search with the keyword Idoc.

Former Member
0 Kudos

Hi Bhanu,

ALE / EDI is technology to communicate among the systems. it require minimum of two partners.

if you have only one partner (client in your application server) and you want that one alone for both inbound and outbound systems in communicating.

The Idea does not have any meaning. there is no need to use ALE/ EDI, instead you can directly access the data by SQL queries.

regards

Satya

Former Member
0 Kudos

Hi,

If you are interested in creating Extension type then go to WE30 give your <z-extension name> choose the extension type radio button, execute. Then you will get one pop-up, here you can choose the radio button as per your requirement. If you are interested in creating the new, select the corresponding button and make entry for linked basic type(for MATMAS-> MATMAS01,MATMAS02,....MATMAS06) and give description then execute. you will another screen, there press "shift+F4" put the cursor on the segment under which you want to add your segment then press the create button make the corresponding entry, once done come back to previous screen and then release your <z-idoc> bu following the path EDIT->Set release.

Thanks,

Asit Purbey

Former Member
0 Kudos

Hello,

check the steps

Developing an EDI scenario will include the following steps:

OUTBOUND:

Create Segments and IDoc type;

Create Message Type and link to IDoc type;

Populate IDoc using message control \ user exit or program (ABAP);

Distribute IDoc using MASTER_IDOC_DISTRIBUTE;

Create object type if required;

Generate outbound partner profiles;

INBOUND:

Write inbound function module (FM) to process inbound IDoc (ABAP);

Create process code and link to FM;

Generate inbound partner profiles; and

Link object type to FM for error handling.

u can use the tcode WEDI that u can check the path of creating the idoc later things

Thank u,

santhosh

Former Member
0 Kudos