ISPAM_DOC_FLOW_PREDECESSORS 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 ISPAM_DOC_FLOW_PREDECESSORS into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
JHBF
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'ISPAM_DOC_FLOW_PREDECESSORS' "IS-M/AM: Document Flow Read Predecessor
EXPORTING
in_vbeln_n = " jhtbf-vbeln_n
* in_posnr_n = " jhtbf-posnr_n
* in_einnr_n = " jhtbf-einnr_n
in_objtyp_n = " jhtbf-objtyp_n
* in_one_plane = "
TABLES
search_jhtbf = " jhtbf
l_buf_jhtbf = " jhtbf
EXCEPTIONS
NO_DATA_FOUND = 1 "
. " ISPAM_DOC_FLOW_PREDECESSORS
The ABAP code below is a full code listing to execute function module ISPAM_DOC_FLOW_PREDECESSORS 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).
| it_search_jhtbf | TYPE STANDARD TABLE OF JHTBF,"TABLES PARAM |
| wa_search_jhtbf | LIKE LINE OF it_search_jhtbf , |
| it_l_buf_jhtbf | TYPE STANDARD TABLE OF JHTBF,"TABLES PARAM |
| wa_l_buf_jhtbf | LIKE LINE OF it_l_buf_jhtbf . |
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_in_vbeln_n | TYPE JHTBF-VBELN_N , |
| it_search_jhtbf | TYPE STANDARD TABLE OF JHTBF , |
| wa_search_jhtbf | LIKE LINE OF it_search_jhtbf, |
| ld_in_posnr_n | TYPE JHTBF-POSNR_N , |
| it_l_buf_jhtbf | TYPE STANDARD TABLE OF JHTBF , |
| wa_l_buf_jhtbf | LIKE LINE OF it_l_buf_jhtbf, |
| ld_in_einnr_n | TYPE JHTBF-EINNR_N , |
| ld_in_objtyp_n | TYPE JHTBF-OBJTYP_N , |
| ld_in_one_plane | TYPE STRING . |
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 ISPAM_DOC_FLOW_PREDECESSORS or its description.
ISPAM_DOC_FLOW_PREDECESSORS - IS-M/AM: Document Flow Read Predecessor ISPAM_DOC_FLOW_POST - IS-M/AM: Update Document Flow ISPAM_DOC_FLOW_OBJECT_STATE - IS-M/AM: Display Object (According to TJH97-OBJKT) ISPAM_DOC_FLOW_OBJECT_SHOW - IS-M/AM: Display Object (According to TJH97-OBJKT) ISPAM_DOC_FLOW_OBJECT_DELETE - IS-M/AM: Document Flow: Delete an Object ISPAM_DOC_FLOW_NODES_SUCCESS - IS-M/AM: Read Document Flow Successor Nodes