Skip to Content
author's profile photo Former Member
Former Member

SREL_GET_NEXT_RELATIONS parameters

Hi. I found a tutorial to IDOC modules. But I ca't discover which type are parameters.

REFRESH: t_roles.
* VBRK = Invoice
* LIKP = Delivery
* BUS2032 = Sales Order
* BUS2035 = Scheduling Agreement
* objkey - Application document number appended with line if applicable
t_object-objkey = itab_data-objky.
t_object-objtype = 'VBRK'.
CALL FUNCTION 'SREL_GET_NEXT_RELATIONS'
                 EXPORTING
                      object         = t_object <= TYPE???
                 TABLES
                      roles          = t_roles  <= TYPE???
                 EXCEPTIONS
                      internal_error = 1
                      no_logsys      = 2
                      OTHERS         = 3.
LOOP AT t_roles WHERE objtype = 'IDOC'.
  t_idoc_docnum = t_roles-objkey.
ENDLOOP.

*** Read the IDoc detail from the database
  CALL FUNCTION 'IDOC_READ_COMPLETELY'
       EXPORTING
            document_number         = p_docnum
       IMPORTING
            idoc_control            = s_edidc   <= TYPE??
       TABLES
            int_edidd               = itab_edidd <= TYPE?
       EXCEPTIONS
            document_not_exist      = 1
            document_number_invalid = 2
            OTHERS                  = 3.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 03, 2007 at 02:14 PM

    Hi,

    Use SE37--> and enter the function module name --> use where used list. you can find what kind of types has been used for these function modules

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.