Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Idoc-customizing idoc using one client

Former Member
0 Likes
1,150

hi,

How to do customizing idoc using onlyone cleint 800..if it is possible Can u guide step wise..

Edited by: swapna2020 on Aug 28, 2010 3:19 PM

10 REPLIES 10
Read only

Former Member
0 Likes
1,121

HI,

follow these steps to create custom idco

1.Create segments with required fields...Using WE31..

2. Create IDOC type by attaching the required segments through WE30.

3. create Message type Using wE81.

4. Link up Message type,Idoc type,Segmeant type using WE82.

5.create the Inbound function module and registered it as inbound using BD51.

6. link up message type,idoc type,function module using WE57.

7.create partner pofile using WE20

8. create port using WE21

9.create outbound program...

for futher help please go through below link.

http://wiki.sdn.sap.com/wiki/display/ABAP/StepstocreatecustomIDOC

hope this will help you/

Regards,

Kiran

Read only

former_member217544
Active Contributor
0 Likes
1,121

Hi Swapna,

Can you explian what do you mean by only one client?

Thanks & Regards,

Swarna Munukoti

Read only

0 Likes
1,120

Hi Swarna,

Transfer the data using only one client .

Outbpund and Inboud have to do client 800 side using 2 application servers.

Regards,

Swapna

Read only

0 Likes
1,120

Hi Kiran,

I tried same code but i am getting idoc status 01,30. I used commit work also but not gettiing status 03.

Where is the problem..How to solve..

Thanks & Regards,

Swapna

Read only

0 Likes
1,120

Hi,

Check this link once..

http://wiki.sdn.sap.com/wiki/display/ABAP/IDoc+Statuses

I think you are facing problems because of ports or the partner profile being used.

Karthik

Read only

0 Likes
1,120

HI ,

I got it using 2 clients but how to do using one client 800 both outbound and inbound.

if anybody knows kindly reply to my problem?

Regards,

Swapna.

Read only

0 Likes
1,120

Hi..

I worked for a similar requirement wherein I used the following FM to get Name of Current Logged-on System : FM-OWN_LOGICAL_SYSTEM_GET.

This value needs to be passed to the control structure, edidc's rcvprn and sndprn.

rcvprt and sndprt as 'LS'.

rcvpor and sndpor both as concatenation of 'SAP' and sy-sysid.

It worked fine for me. But as per your previous post, I understood that your inbound FM was not triggered. Hope you have done with process code WE42 and assignment of Process Code with the FM BD67.

Try pasing the above parameters to the control structure, it may work fine within the same client.

Regards,

Karthik

Read only

0 Likes
1,120

Thanks Karthik,

I have a doubt How can find out application server?

For example one client 800 in that sending side logical system we can assign to 800 client bt receving side logical sytem how can assign to 800?

plz send me all the steps..

Regards,

Swapna

Read only

0 Likes
1,120

Hi..

Since my requirement was just to send and receive Idoc in the same client, so I used Logical system LS for both sender and receiver, and retrieved the system name and used it again for both sender and receiver. It worked for me.

Otherwise had the receiver system been any other client in the same server, it would had been passed separately or it could had been a vendor or customer system as well. But this is not the case when using in the same client. So LS is fine for both.

And the steps you have followed are fine except for additional steps that I followed as stated in the above post.

Please let me know if you have any other concerns.

Regards,

Karthik

Edited by: Karthik S on Sep 3, 2010 3:34 PM

Read only

0 Likes
1,120

Hi..

My scenario is transfer the data using one client. So i am not getting how to assign both sender and reciever logical systems to one client? If you know plz guide me..

Regards,

Swapna