Skip to Content

LSMW & IDOC - Multiple Constants in the Same Target Field

Hi,

I'm trying to create sales orders by using the IDOC ORDERS05 starting from a LSMW.

The only problem we have right now is that all Org Data in the IDOC is stored in a structure [E1EDK14 IDoc: Document Header Organizational Data] that contains two fields and need to be duplicated with different values.

I've been able to load from file with a Source Structure Hierarchy but since the 3 entries I want to make are always the same for all Sales Orders, I was wondering if I could do it within LSMW without the need to have data in a external file.

So Basically, I need for every header these 3 entries :

Structure E1EDK14

QUALF - IDOC Qualifier | ORGID - IDOC Organization

008 | 0010

006 | 99

007 | 99

Is there any way of doing this without development ?

Thanks in advance !

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Apr 26, 2010 at 06:17 PM

    @Marc Laberge

    Yes, you can directly assign constant values to the fields E1EDK14-QUALF and E1EDK14-ORGID. You don't need any development to do that!

    At step Maintain Field Mapping and Conversion Rule give constant value to the field.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 26, 2010 at 06:43 PM

    I cannot look into the system now to confirm the details, but essentially you'll have to add two more calls of "transfer_record" for the EDK14 structure in the LSMW mapping rules, filling the respective values before each call. This way you can generate multiple target records out of one source record.

    Thomas

    Add comment
    10|10000 characters needed characters exceeded