cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC Scenario: Filling ED40 in XI to SAP automatically or not

Former Member
0 Kudos

Hello,

I was trying to let XI fill the ED40 data of my IDOC and set the flag in

receiver channel, that he should not take these information from payload.

It seems he took wrong data. So from where he take these information?

I disabled the ED40 segment in mapping. So in sxmb_moni I couldn't see

the information he put into the fields. If I don't disable them, he says that

required fields are not mapped.

thanks

chris

Edited by: Christian Riekenberg on Jul 10, 2008 1:16 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

> I disabled the ED40 segment in mapping. So in sxmb_moni I couldn't see

> the information he put into the fields. If I don't disable them, he says that

> required fields are not mapped.

Hi,

if you look into ED40 segment you will see there are some fields with occurrence 1:1, and that means you have to have some values in those fields (if not disabled this segment). Either you map the hard coded the vaules using constant function or map with some other source fields to these mandatory fields. But make sure there shuld be some data in case if you map with source fields.

So this is the reason you are getting a message "required fields are not mapped".

IF you are using EDIDC40 then you have to tick the check box take the values from payload, otherwise If you disable EDIDC40 then the values will be automaticall taken care by XI.

Regards,

Sarvesh

Former Member
0 Kudos

Ok, it seems that the IDOCs get send to the target system, where they stock with error status 51.

"No status record was passed to ALE by the application"

Could this be because of wrong data in ed40?

Former Member
0 Kudos

If you are using EDI_DC40 then wrong data could be the reason that IDOC goes into error in R/3.

other reason can be at R/3 configuration to post the IDOC. Better to cross check.

Former Member
0 Kudos

The process code is only a dummy implementation. So I think I have to

set IDOC_Status in the implementation like described here:

Is this correct?

Got anyone a descrption what do I have to do completly in an IDOC

inbound process code?

thx

chris

Former Member
0 Kudos

Hi,

What is the Process code you are using in the Partner Profile of Inbound Parameters

Check this for Inbound Process codes--WE64

Regards

Seshagiri

Former Member
0 Kudos

I checked WE64 and see that I forget to assign a logical message in we42.

After doing this, the process code in we64 is assign to the message. Both

(message and process code) are self created (z prefix).

After this I've got the status 51. Took a long time til I understood that I have

to change the status manually in function module. Now it works fine.

Points given. thanks

Edited by: Christian Riekenberg on Jul 10, 2008 7:38 PM

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Check this Blog, then you will come to know the truth from where those records are filling

Regards

Seshagiri

Former Member
0 Kudos

I knew this blog. But thanks. If I disabled the ED40 segment and disable the flag

"Apply control record values" he should fill these fields automatically. But I couldn't

see this fields in sxmb_moni to control the entries. Is is correct that the fields doesn't

appear here?

greetz

chris

Former Member
0 Kudos

Yes, that is correct, since the segment is not a part of the message payload in this case.

Former Member
0 Kudos

Hi,

If you disable that Segment in mapping means you will never get this values in paylod( MONI)

Regards

Seshagiri

former_member194786
Active Contributor
0 Kudos

Hi Christian,

Did you select the option Apply Control Record Values from Payload in the receiver channel?

Regards,

Sanjeev.

Former Member
0 Kudos

It takes the information from the Business Systems in your SLD and the Party identifiers of the IB Directory.