cancel
Showing results for 
Search instead for 
Did you mean: 

idoc to file scenerio

Former Member
0 Kudos

Hi,

My scenerio is to send message type HRMD_A basic type HRMA_A07 to a flat file.

I need to map the following fields only

E1P0001 or E1P0002 or E1P0105 PERNR

E1P0001 BUKRS

E1P0001 KOSTL

E1P0001 PERSK

E1P0001 ORGEH

E1P0002 VORNA

E1P0002 NACHN

E1P0105 USRID_LONG

I do this thru graphical mapping. In HRMD_A the highest segment is E1PLOGI under which we have the Infotype segments. In one IDOC i can have many E1PLOGI segments( about 100)

when my scenerio is executed teh data from the first E1PLOGI is ONLY send to file. i want to send all the data.

Can anyone help me?

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

i had mapped to EiPLOGI but it was giving error when posting the idoc

Former Member
0 Kudos

Hi

What kind of error is that ?? mapping error

can u paste the error

thx

srini

Former Member
0 Kudos

hi Pooja,

The target message is :

Mt_traget

Record 0....Unbounded

PERNR 1..1

BUKRS 1..1

KOSTL 1..1

PERSK 1..1

ORGEH 1..1

VORNA 1..1

NACHN 1..1

USRID_LONG 1..1

I map the fields from the different IDOC segments to the target fields.

so my target Xml is like :

</Record>

<pernr>

.

.

.

.

< usrid_long>

<Record>

the problem is only one data is mapped to target ..

Former Member
0 Kudos

What is the target "Record" node mapped to ?

Shabarish_Nair
Active Contributor
0 Kudos

Niladri,

Pooja has asked the question which is the answer to your issue.

Record 0....Unbounded -


You will have to map the node in way that the node is also created as much as the occurrence of your fields.

Former Member
0 Kudos

Hi

Map (E1PLOGI0) to node (RECORD) 0..unbound

u wud get n segements of E1PLOGI0 as u desire

reply if any more needed

rgds

srini

Former Member
0 Kudos

What does your mapping show ? Does it create node for all of the E1PLOGI segments ?

Take your input(idoc) from sxmb_moni and use that data to test your mapping.

Thx

Pooja