SAP Function Modules

CIF_PO_SEND_BUF SAP Function module







CIF_PO_SEND_BUF 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 CIF_PO_SEND_BUF into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: CFBGRFCBUF
Released Date: Not Released
Processing type: Start update immediately (start immed)
update module start immediate settings


Pattern for FM CIF_PO_SEND_BUF - CIF PO SEND BUF





CALL FUNCTION 'CIF_PO_SEND_BUF' "
  EXPORTING
    is_ctrlparams =             " cifctrlpar    Control Parameters for Data Transfers
    iv_objecttype =             " cifobjtype    Object type in OLTP system
  TABLES
    it_input =                  " cifpuorout    Transfer Structure for P. Order Documents (Schedule Lines)
    it_output =                 " cifpuorout    Transfer Structure for P. Order Documents (Schedule Lines)
    it_inputx =                 " cifpuoroux    Checklist for CIFPUOROUT
    it_outputx =                " cifpuoroux    Checklist for CIFPUOROUT
*   it_atpfield =               " atpfield      Product Allocation: Characteristic Catalog
*   it_enqueue_args =           " cif_imod      Basis Table of Integration Model for APO Interface
*   extensionout =              " cifbparex     Reference Structure for ExtensionIn and ExtensionOut BAPIs
*   it_input_cus =              " cifpuorcus    Customer Enhancement Structure for CIFPUOROUT
*   it_output_cus =             " cifpuorcus    Customer Enhancement Structure for CIFPUOROUT
*   it_queue_names =            " qrfcrcv       Structure for qRFC receiver list
*   it_text =                   " cif_potext    Texts for External Procurement Orders
    .  "  CIF_PO_SEND_BUF

ABAP code example for Function Module CIF_PO_SEND_BUF





The ABAP code below is a full code listing to execute function module CIF_PO_SEND_BUF 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).

DATA:
it_it_input  TYPE STANDARD TABLE OF CIFPUOROUT,"TABLES PARAM
wa_it_input  LIKE LINE OF it_it_input ,
it_it_output  TYPE STANDARD TABLE OF CIFPUOROUT,"TABLES PARAM
wa_it_output  LIKE LINE OF it_it_output ,
it_it_inputx  TYPE STANDARD TABLE OF CIFPUOROUX,"TABLES PARAM
wa_it_inputx  LIKE LINE OF it_it_inputx ,
it_it_outputx  TYPE STANDARD TABLE OF CIFPUOROUX,"TABLES PARAM
wa_it_outputx  LIKE LINE OF it_it_outputx ,
it_it_atpfield  TYPE STANDARD TABLE OF ATPFIELD,"TABLES PARAM
wa_it_atpfield  LIKE LINE OF it_it_atpfield ,
it_it_enqueue_args  TYPE STANDARD TABLE OF CIF_IMOD,"TABLES PARAM
wa_it_enqueue_args  LIKE LINE OF it_it_enqueue_args ,
it_extensionout  TYPE STANDARD TABLE OF CIFBPAREX,"TABLES PARAM
wa_extensionout  LIKE LINE OF it_extensionout ,
it_it_input_cus  TYPE STANDARD TABLE OF CIFPUORCUS,"TABLES PARAM
wa_it_input_cus  LIKE LINE OF it_it_input_cus ,
it_it_output_cus  TYPE STANDARD TABLE OF CIFPUORCUS,"TABLES PARAM
wa_it_output_cus  LIKE LINE OF it_it_output_cus ,
it_it_queue_names  TYPE STANDARD TABLE OF QRFCRCV,"TABLES PARAM
wa_it_queue_names  LIKE LINE OF it_it_queue_names ,
it_it_text  TYPE STANDARD TABLE OF CIF_POTEXT,"TABLES PARAM
wa_it_text  LIKE LINE OF it_it_text .

DATA(ld_is_ctrlparams) = 'Check type of data required'.
DATA(ld_iv_objecttype) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_input to it_it_input.

"populate fields of struture and append to itab
append wa_it_output to it_it_output.

"populate fields of struture and append to itab
append wa_it_inputx to it_it_inputx.

"populate fields of struture and append to itab
append wa_it_outputx to it_it_outputx.

"populate fields of struture and append to itab
append wa_it_atpfield to it_it_atpfield.

"populate fields of struture and append to itab
append wa_it_enqueue_args to it_it_enqueue_args.

"populate fields of struture and append to itab
append wa_extensionout to it_extensionout.

"populate fields of struture and append to itab
append wa_it_input_cus to it_it_input_cus.

"populate fields of struture and append to itab
append wa_it_output_cus to it_it_output_cus.

"populate fields of struture and append to itab
append wa_it_queue_names to it_it_queue_names.

"populate fields of struture and append to itab
append wa_it_text to it_it_text. . CALL FUNCTION 'CIF_PO_SEND_BUF' EXPORTING is_ctrlparams = ld_is_ctrlparams iv_objecttype = ld_iv_objecttype TABLES it_input = it_it_input it_output = it_it_output it_inputx = it_it_inputx it_outputx = it_it_outputx * it_atpfield = it_it_atpfield * it_enqueue_args = it_it_enqueue_args * extensionout = it_extensionout * it_input_cus = it_it_input_cus * it_output_cus = it_it_output_cus * it_queue_names = it_it_queue_names * it_text = it_it_text . " CIF_PO_SEND_BUF
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_is_ctrlparams  TYPE CIFCTRLPAR ,
it_it_input  TYPE STANDARD TABLE OF CIFPUOROUT ,
wa_it_input  LIKE LINE OF it_it_input,
ld_iv_objecttype  TYPE CIFOBJTYPE ,
it_it_output  TYPE STANDARD TABLE OF CIFPUOROUT ,
wa_it_output  LIKE LINE OF it_it_output,
it_it_inputx  TYPE STANDARD TABLE OF CIFPUOROUX ,
wa_it_inputx  LIKE LINE OF it_it_inputx,
it_it_outputx  TYPE STANDARD TABLE OF CIFPUOROUX ,
wa_it_outputx  LIKE LINE OF it_it_outputx,
it_it_atpfield  TYPE STANDARD TABLE OF ATPFIELD ,
wa_it_atpfield  LIKE LINE OF it_it_atpfield,
it_it_enqueue_args  TYPE STANDARD TABLE OF CIF_IMOD ,
wa_it_enqueue_args  LIKE LINE OF it_it_enqueue_args,
it_extensionout  TYPE STANDARD TABLE OF CIFBPAREX ,
wa_extensionout  LIKE LINE OF it_extensionout,
it_it_input_cus  TYPE STANDARD TABLE OF CIFPUORCUS ,
wa_it_input_cus  LIKE LINE OF it_it_input_cus,
it_it_output_cus  TYPE STANDARD TABLE OF CIFPUORCUS ,
wa_it_output_cus  LIKE LINE OF it_it_output_cus,
it_it_queue_names  TYPE STANDARD TABLE OF QRFCRCV ,
wa_it_queue_names  LIKE LINE OF it_it_queue_names,
it_it_text  TYPE STANDARD TABLE OF CIF_POTEXT ,
wa_it_text  LIKE LINE OF it_it_text.

ld_is_ctrlparams = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_input to it_it_input.
ld_iv_objecttype = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_it_output to it_it_output.

"populate fields of struture and append to itab
append wa_it_inputx to it_it_inputx.

"populate fields of struture and append to itab
append wa_it_outputx to it_it_outputx.

"populate fields of struture and append to itab
append wa_it_atpfield to it_it_atpfield.

"populate fields of struture and append to itab
append wa_it_enqueue_args to it_it_enqueue_args.

"populate fields of struture and append to itab
append wa_extensionout to it_extensionout.

"populate fields of struture and append to itab
append wa_it_input_cus to it_it_input_cus.

"populate fields of struture and append to itab
append wa_it_output_cus to it_it_output_cus.

"populate fields of struture and append to itab
append wa_it_queue_names to it_it_queue_names.

"populate fields of struture and append to itab
append wa_it_text to it_it_text.

Contribute (Add Comments)

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 CIF_PO_SEND_BUF or its description.