Skip to Content
avatar image
Former Member

Reduce IDoc Segment Fields

Hi,

how can I reduce IDoc segment fields?

Any help is greatly appreciated.

Thanks.

/ Elvez

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jun 24, 2006 at 10:50 AM

    Hi,

    If you want to reduce the field length then you will have to create Z segments and assign them to Z idoc

    T.code WE30.

    In the Z segments you can define the fields you need and the length that you need

    Sameena

    Message was edited by: sameena attarwala

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 24, 2006 at 10:51 AM

    u Cannot reduce the idoc field directly.

    what u can do is create Z idoc ;

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 24, 2006 at 12:36 PM

    Hi Elvez,

    There are two filtering in IDoc.

    <b>Segment Filtering:</b>

    Segment filtering can be achieved using transaction BD56. Here you can suppress a whole segment irrespective of data inside it . You have to give Message Type / Sender Partner / Receiver Partner.

    <b>Data Filtering:</b>

    Data filtering can be done in distribution model (BD64)where you can restrict whole IDOCS or partials IDOCS to be send based on data in fields inside IDOC depending on whether the segment in which you filter is at the highest level or at a lower level. For example in MATMAS if you put a filter of E1MARCM for a particular plant , only data for this plant will go and other plants will be ignored.

    Also you can define the reduce message types and activate message types in transaction BD53.

    SAP recommends that you use message types:

    "MATMAS" (material master tables) and

    "DEBMAS" (customer master) as a template.

    Please check this link for detail information.

    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm

    http://help.sap.com/saphelp_erp2005/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm

    Hope this will help.

    Regards,

    Ferry Lianto

    Please reward points if helpful.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ferry,

      could you provide a concrete example of how to reduce (not filter)a segment field?

      Thanks.

      /Elvez