SAP /ACCGO/CALL_OFF_PROPOS_DATA_PO Function Module for Propose Contracts for Call-off in PO









/ACCGO/CALL_OFF_PROPOS_DATA_PO is a standard /accgo/call off propos data po SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Propose Contracts for Call-off in PO processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for /accgo/call off propos data po FM, simply by entering the name /ACCGO/CALL_OFF_PROPOS_DATA_PO into the relevant SAP transaction such as SE37 or SE38.

Function Group: /ACCGO/CAS_CALLOFF_UI
Program Name: /ACCGO/SAPLCAS_CALLOFF_UI
Main Program: /ACCGO/SAPLCAS_CALLOFF_UI
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function /ACCGO/CALL_OFF_PROPOS_DATA_PO pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION '/ACCGO/CALL_OFF_PROPOS_DATA_PO'"Propose Contracts for Call-off in PO
EXPORTING
* IM_S_MEPOHEADER = "Purchase Order Header Data
* IM_S_MEPOITEM = "Purchase Order Item
* IM_T_MEPOSCHEDULES = "Table with PO Delivery Schedule Lines
* IM_V_ETENR = "Delivery Schedule Line Number
* IM_V_PROCESS_CODE = "Process Code
IM_S_REFDOC_KEY = "Reference Document Key
* IM_V_QTY_TO_CALL_OFF = "Qty to call-off
* IM_T_FILTERED_PTC = "Table Type for Pricing TC Communication Structure
* IV_ALTERNATE_VENDOR = "

IMPORTING
EX_V_NEW_CONT_ASGND = "Single-Character Indicator
.



IMPORTING Parameters details for /ACCGO/CALL_OFF_PROPOS_DATA_PO

IM_S_MEPOHEADER - Purchase Order Header Data

Data type: MEPOHEADER
Optional: Yes
Call by Reference: Yes

IM_S_MEPOITEM - Purchase Order Item

Data type: MEPOITEM
Optional: Yes
Call by Reference: Yes

IM_T_MEPOSCHEDULES - Table with PO Delivery Schedule Lines

Data type: TAB_MEPOSCHEDULE
Optional: Yes
Call by Reference: Yes

IM_V_ETENR - Delivery Schedule Line Number

Data type: ETENR
Optional: Yes
Call by Reference: Yes

IM_V_PROCESS_CODE - Process Code

Data type: /ACCGO/E_PROCESS_CODE
Optional: Yes
Call by Reference: Yes

IM_S_REFDOC_KEY - Reference Document Key

Data type: /ACCGO/CAS_S_REFDOC_KEY
Optional: No
Call by Reference: Yes

IM_V_QTY_TO_CALL_OFF - Qty to call-off

Data type: WLF_ASSGD_QUANTITY
Optional: Yes
Call by Reference: Yes

IM_T_FILTERED_PTC - Table Type for Pricing TC Communication Structure

Data type: /ACCGO/CAS_TT_PTC_COM
Optional: Yes
Call by Reference: Yes

IV_ALTERNATE_VENDOR -

Data type: ABAP_BOOL
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for /ACCGO/CALL_OFF_PROPOS_DATA_PO

EX_V_NEW_CONT_ASGND - Single-Character Indicator

Data type: CHAR1
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for /ACCGO/CALL_OFF_PROPOS_DATA_PO Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_im_s_mepoheader  TYPE MEPOHEADER, "   
lv_ex_v_new_cont_asgnd  TYPE CHAR1, "   
lv_im_s_mepoitem  TYPE MEPOITEM, "   
lv_im_t_meposchedules  TYPE TAB_MEPOSCHEDULE, "   
lv_im_v_etenr  TYPE ETENR, "   
lv_im_v_process_code  TYPE /ACCGO/E_PROCESS_CODE, "   
lv_im_s_refdoc_key  TYPE /ACCGO/CAS_S_REFDOC_KEY, "   
lv_im_v_qty_to_call_off  TYPE WLF_ASSGD_QUANTITY, "   
lv_im_t_filtered_ptc  TYPE /ACCGO/CAS_TT_PTC_COM, "   
lv_iv_alternate_vendor  TYPE ABAP_BOOL. "   

  CALL FUNCTION '/ACCGO/CALL_OFF_PROPOS_DATA_PO'  "Propose Contracts for Call-off in PO
    EXPORTING
         IM_S_MEPOHEADER = lv_im_s_mepoheader
         IM_S_MEPOITEM = lv_im_s_mepoitem
         IM_T_MEPOSCHEDULES = lv_im_t_meposchedules
         IM_V_ETENR = lv_im_v_etenr
         IM_V_PROCESS_CODE = lv_im_v_process_code
         IM_S_REFDOC_KEY = lv_im_s_refdoc_key
         IM_V_QTY_TO_CALL_OFF = lv_im_v_qty_to_call_off
         IM_T_FILTERED_PTC = lv_im_t_filtered_ptc
         IV_ALTERNATE_VENDOR = lv_iv_alternate_vendor
    IMPORTING
         EX_V_NEW_CONT_ASGND = lv_ex_v_new_cont_asgnd
. " /ACCGO/CALL_OFF_PROPOS_DATA_PO




ABAP code using 7.40 inline data declarations to call FM /ACCGO/CALL_OFF_PROPOS_DATA_PO

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!