Skip to Content
avatar image
Former Member

idoc's

Hi,

Can anyone tell me how to access sdata for a particular segment in idoc?

Regards,

Hema

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Aug 20, 2007 at 12:19 PM

    Hi,

    Say you have an IDoc segment E1EDKA1 you would do this.

    DATA: W_E1EDKA1 TYPE E1EDKA1.

    MOVE EDID4-SDATA to W_E1EDKA1.

    Then you can access the fileds of this structure.

    regards,

    Aparna

    Add comment
    10|10000 characters needed characters exceeded

    • Hi..

      You can Perform a Query like this:

      data : BEGIN OF IT_EDIDD OCCURS 0,

      DOCNUM TYPE EDIDD-DOCNUM,

      SDATA TYPE EDIDD-SDATA,

      END OF IT_EDIDD.

      SELECT DOCNUM SDATA

      FROM EDIDD WHERE

      SEGNAM = 'E1MARAM'

      INTO TABLE IT_EDIDD.

      <b>Reward if Helpful</b>

      <b></b>

  • avatar image
    Former Member
    Aug 20, 2007 at 12:37 PM

    hi hema..

    look into the follwong link

    extraction-of-data-from-field-sdata-application-da

    regards,

    Aparna

    Add comment
    10|10000 characters needed characters exceeded