Skip to Content
0
Former Member
May 13, 2008 at 04:34 PM

File to Idoc

76 Views

Hello Folks:

I am working on File to IDOC scenario.From file I need to

update vendor Info record.

For this I need to do it via two steps or two inbound idocs.

Step1:Idoc INFREC01 to update vendor info record(from file)

Step 2:Idoc COND_A01 to update conditions(same file)

Source file is one(from vendor) and I need to feed it to two inbound idocs in SAP and post the vendor info application data.

Question1:

Source file has exactly 5 fields and in IDOC I have more fields.I mapped five from source to five to idoc.Rest mandatory fields in IDOC I had to initialise it to constant values or else the inbound idoc would fail.

For Example:The below values are not coming from Source file

but I need to have the following .

How to do this ?

Question2:How to map the Control record of idoc.No information in source file?

My mapping is not having these fields in Source but I need to hard code in target filed which is idoc.

E1KOMG-KVEWE = 'A'

E1KOMG-KOTABNR = '017'

E1KOMG-KAPPL = 'M'.

Your response is appreciated.

Thanks,