Skip to Content
avatar image
Former Member

Z-Structures.

HI Everybody,

I am trying to send data to an other system called as rate server system. Rate server can except data only in string format. So i am actually trying to create a structure in SE11 with all the input fields for the rate server and planning on calling this sturucture in Function Module as tables. However I am not very sure of how should I specify it as string.

Any help on thsi will be highly appericiated.

Shejal.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    May 25, 2006 at 02:08 PM

    HOw are you sending the data to the external system?

    Add comment
    10|10000 characters needed characters exceeded

    • IN that case, just before you call the RFC Function module,

      transfer all the contents on the z structure in to aflat type variable and pass that variable to the fm.

      data: begin of itab occurs 0,

      data(1000),

      end of itab.

      loop at ztab.

      itab-data = ztab.

      append itab.

      clear itab.

      endloop.

      call function '<RFC FUNC>

      exporting.

      .

      .

      tables

      tab1 = itab

      .

      Regards,

      Ravi

  • avatar image
    Former Member
    May 25, 2006 at 02:09 PM

    hi shejal,

    in the domain take the datatype as <b>string</b>.

    hope this helps,

    priya.

    Add comment
    10|10000 characters needed characters exceeded

  • May 25, 2006 at 02:12 PM

    You can also use CHAR* data elements if you need specific field lengths

    Add comment
    10|10000 characters needed characters exceeded