PYDE_LSTB_SET_FORMDATA is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name PYDE_LSTB_SET_FORMDATA into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRST_ELSTER
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'PYDE_LSTB_SET_FORMDATA' "
EXPORTING
key_p01t = " hrdest_s_key
anzahl = " i
* test = 'X' " c
* status = " p01t_status
IMPORTING
lstb = " lstb
TABLES
t_lst = " p01t_lst
t_lst1 = " p01t_lst1
t_lst2 = " p01t_lst2
t_kist = " p01t_kist
t_stkl = " p01t_stkl
t_kifb = " p01t_kifb
t_frbj = " p01t_frbj
t_hinz = " p01t_hinz
t_vbez = " p01t_vbez
t_svbez = " p01t_svbez
EXCEPTIONS
INVALID_FIELDNAME = 1 "
. " PYDE_LSTB_SET_FORMDATA
The ABAP code below is a full code listing to execute function module PYDE_LSTB_SET_FORMDATA including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_lstb | TYPE LSTB , |
| it_t_lst | TYPE STANDARD TABLE OF P01T_LST,"TABLES PARAM |
| wa_t_lst | LIKE LINE OF it_t_lst , |
| it_t_lst1 | TYPE STANDARD TABLE OF P01T_LST1,"TABLES PARAM |
| wa_t_lst1 | LIKE LINE OF it_t_lst1 , |
| it_t_lst2 | TYPE STANDARD TABLE OF P01T_LST2,"TABLES PARAM |
| wa_t_lst2 | LIKE LINE OF it_t_lst2 , |
| it_t_kist | TYPE STANDARD TABLE OF P01T_KIST,"TABLES PARAM |
| wa_t_kist | LIKE LINE OF it_t_kist , |
| it_t_stkl | TYPE STANDARD TABLE OF P01T_STKL,"TABLES PARAM |
| wa_t_stkl | LIKE LINE OF it_t_stkl , |
| it_t_kifb | TYPE STANDARD TABLE OF P01T_KIFB,"TABLES PARAM |
| wa_t_kifb | LIKE LINE OF it_t_kifb , |
| it_t_frbj | TYPE STANDARD TABLE OF P01T_FRBJ,"TABLES PARAM |
| wa_t_frbj | LIKE LINE OF it_t_frbj , |
| it_t_hinz | TYPE STANDARD TABLE OF P01T_HINZ,"TABLES PARAM |
| wa_t_hinz | LIKE LINE OF it_t_hinz , |
| it_t_vbez | TYPE STANDARD TABLE OF P01T_VBEZ,"TABLES PARAM |
| wa_t_vbez | LIKE LINE OF it_t_vbez , |
| it_t_svbez | TYPE STANDARD TABLE OF P01T_SVBEZ,"TABLES PARAM |
| wa_t_svbez | LIKE LINE OF it_t_svbez . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_lstb | TYPE LSTB , |
| ld_key_p01t | TYPE HRDEST_S_KEY , |
| it_t_lst | TYPE STANDARD TABLE OF P01T_LST , |
| wa_t_lst | LIKE LINE OF it_t_lst, |
| ld_anzahl | TYPE I , |
| it_t_lst1 | TYPE STANDARD TABLE OF P01T_LST1 , |
| wa_t_lst1 | LIKE LINE OF it_t_lst1, |
| ld_test | TYPE C , |
| it_t_lst2 | TYPE STANDARD TABLE OF P01T_LST2 , |
| wa_t_lst2 | LIKE LINE OF it_t_lst2, |
| ld_status | TYPE P01T_STATUS , |
| it_t_kist | TYPE STANDARD TABLE OF P01T_KIST , |
| wa_t_kist | LIKE LINE OF it_t_kist, |
| it_t_stkl | TYPE STANDARD TABLE OF P01T_STKL , |
| wa_t_stkl | LIKE LINE OF it_t_stkl, |
| it_t_kifb | TYPE STANDARD TABLE OF P01T_KIFB , |
| wa_t_kifb | LIKE LINE OF it_t_kifb, |
| it_t_frbj | TYPE STANDARD TABLE OF P01T_FRBJ , |
| wa_t_frbj | LIKE LINE OF it_t_frbj, |
| it_t_hinz | TYPE STANDARD TABLE OF P01T_HINZ , |
| wa_t_hinz | LIKE LINE OF it_t_hinz, |
| it_t_vbez | TYPE STANDARD TABLE OF P01T_VBEZ , |
| wa_t_vbez | LIKE LINE OF it_t_vbez, |
| it_t_svbez | TYPE STANDARD TABLE OF P01T_SVBEZ , |
| wa_t_svbez | LIKE LINE OF it_t_svbez. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name PYDE_LSTB_SET_FORMDATA or its description.