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

ALE/IDOCs query

Former Member
0 Likes
1,626

Hi friends,

I have one more query on ALEs ...My scenario is like

if we create a <b>PO</b> in one server it has to be convert as <b>SO</b> in another server.Now im getting the idoc status s <b>51</b> & the error message is <b>shipping condition 10 is not defined(inboundside).</b>

shipping condition in <b>outboundsid</b>e is <b>10</b>.

shipping condition in <b>inboundside</b> is <b>ZA</b>.

how to convert this shipping conditions 4m 10 to ZA...

If its not plz give me the inputs

All inputs is highly appreciated and I promise to return and reward the answers which helps me indeed here

Thanks in Advance,

Ramu.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,597

If you are using IDOC_INPUT_ORDERS to create the SO by IDOC, look to available user-exits (call customer-function).

You will need to create a project in CMOD

Assign the enhancement in SMOD

and implement the user-exit (function)

Hi friends,

I have one more query on ALEs ...My scenario is like

if we create a <b>PO</b> in one server it has to be convert as <b>SO</b> in another server.Now im getting the idoc status s <b>51</b> & the error message is <b>shipping condition 10 is not defined(inboundside).</b>

shipping condition in <b>outboundsid</b>e is <b>10</b>.

shipping condition in <b>inboundside</b> is <b>ZA</b>.

how to convert this shipping conditions 4m 10 to ZA...

If its not plz give me the inputs

All inputs is highly appreciated and I promise to return and reward the answers which helps me indeed here

Thanks in Advance,

Ramu.

14 REPLIES 14
Read only

Former Member
0 Likes
1,597

Hi Ramu,

- You could use the user-exits in the function module creates the SO based on the IDOC. Overhere you could program the conversion rule, when all the segments get handled.

- You could use as well : conversion rules:

1. create the rule for the idoc segment (BD62)

2. implement the rule for the field(s) in question (BD79)

3. assign the rule to your IDOC message (BD55)

Hope it helps,

JG

Read only

0 Likes
1,597

Dear Johan,

Thanks for useful input . please tell me the steps to do user exit on function module . Definetly u can solve my issue.

Thanks in Advance.

Ramu.

You could use the user-exits in the function module creates the SO based on the IDOC. Overhere you could program the conversion rule, when all the segments get handled.

- You could use as well : conversion rules:

1. create the rule for the idoc segment (BD62)

2. implement the rule for the field(s) in question (BD79)

3. assign the rule to your IDOC message (BD55)

Read only

0 Likes
1,597

Hi ramu,

The following are the stes to create a user exit for the Function Module.

Go to we64 transaction and find the Process code for your Idoc message type.

Double click on the process code.

It will take you to the Function Module.

SEarch for the string 'Customer' in the FM.

YOu can find some customer exits .

Double click on the exit.

It will take you to a include when you can code your logic.

Activate the code .

Go to cmod transaction and create a project for your enhancement.

Activate the project.

Regards,

ravi

Read only

0 Likes
1,597

Hi

Thanks for ur input.

Regards,

Ramu.

Read only

0 Likes
1,597

Hey..Ramu. Good Atlast we it got solved.

Can u close it.

Read only

Former Member
0 Likes
1,598

If you are using IDOC_INPUT_ORDERS to create the SO by IDOC, look to available user-exits (call customer-function).

You will need to create a project in CMOD

Assign the enhancement in SMOD

and implement the user-exit (function)

Read only

0 Likes
1,597

Hello Ramu ,

First u can check the Fumction module that is attached to ur Inbound side at the Process code level .

If the FM is IDOC_INPUT_ORDERS and the enhancement would be VEDA0001 .

Let me know if u need more details .

Read only

0 Likes
1,597

Dear vijaykumar,

Thanks for ur useful input. Im using this IDOC_INPUT_ORDERS FM (<b>inbound side</b>)and exit VEDA0001 is also correct. but i need detailed steps for this issue to come out of this issue.

Im getting error is "<b>shipping conditions 10 is not maintained</b>"(<b>inbound side</b>). based on my issue plz send me the detail steps for this issue ...

Im waiting for ur reply.

Thanks in advance,

Ramu.

Read only

0 Likes
1,597

HI,

Convert the value into sender fields using converion rules(BD79) as u want in sender system.

we have an option convert/copy in BD79 instead of doing through exits.

Thanks

Eswar

Read only

0 Likes
1,597

Hi Vijay,

Thanks for ur input, plz let me know that where i have

to create conversion rule? ( Sending system or recieving sys)

if i create conversion rule in reciving system wat i have to give in sending system (<b>in bd55</b>)..bcoz im creating conversion rule in recieving system.

waiting for ur useful input.

Regards&Thanks,

Ramu.

Read only

0 Likes
1,597

Hi Ramu,

U can create it in any of the systems. But better u do it in sending system.

1) Just create the converion rule name in BD55

2) then give the name in BD79 and there u can find rules.

Thanks

Eswar

Read only

0 Likes
1,597

Dear eswar,

Thanks a lot , i solved my issue with u People help...i think everything is possible in <b>SAP</b> with <b>SDN</b>. im feeling proud be a member of this forum.

Thanks&Regards,

Ramu.

Read only

Former Member
0 Likes
1,597

Hi,

Since you are saving sales order as inbound.

At inbound side using function module IDOC_INPUT_ORDERS*

you need to write little code in order to convert shipping condition from 10 to ZA.

For this

First you need to identify at which segment this shipping and handling value is getting at your inbound idoc .

Secondly, for that segment mostly you find customer exit in above function module in order to fill/modify the segement field values then populate with ZA value to that particular field.

I think by adding this litte piece of code will solve your problem.

Thanks,

Naga

Read only

0 Likes
1,597

HI

Thanks for ur input, but iv used conversion rule in the

inbound side.but ur answer is useful input 4 me.

Thanks& Regards,

Ramu.