CUSTOMER_UPSELLING SAP Method Customer Upselling Dialog









Below is documentation, parameters and attributes of ABAP Method CUSTOMER_UPSELLING within SAP class IF_BADI_ISM_AM_PK_UPSELL. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name IF_BADI_ISM_AM_PK_UPSELL into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method CUSTOMER_UPSELLING can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CUSTOMER_UPSELLING

.

NameTypeData TypeDescriptionDefault Value
IS_ORDERImportingTYPE
RJHAORDER_STR
IS-M/AM: Sales Document
IS_RJHAPImportingTYPE
RJHAP
IS-M/AM: Order-Publishing-Media Item Structure
ES_PACKAGEExportingTYPE
RJHA_PACKAGE_HEADER_STR
Package Header for Upselling
ES_RETURNExportingTYPE
BAPIRET2
Return Parameter(s)
EV_NO_SAP_UPSELLExportingTYPE
BOOLEAN
Boolean Variable (X=True, -=False, Space=Unknown)



Exceptions of Method CUSTOMER_UPSELLING

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_BADI_ISM_AM_PK_UPSELL.
DATA: lv_ES_PACKAGE TYPE RJHA_PACKAGE_HEADER_STR,
lv_ES_RETURN TYPE BAPIRET2,
lv_EV_NO_SAP_UPSELL TYPE BOOLEAN,
lv_IS_ORDER TYPE RJHAORDER_STR,
lv_IS_RJHAP TYPE RJHAP,
lv_other TYPE c.

CALL METHOD lo_class=>CUSTOMER_UPSELLING(
EXPORTING
IS_ORDER = lv_IS_ORDER
IS_RJHAP = lv_IS_RJHAP
IMPORTING
ES_PACKAGE = lv_ES_PACKAGE
ES_RETURN = lv_ES_RETURN
EV_NO_SAP_UPSELL = lv_EV_NO_SAP_UPSELL ).

Links to Related Class(s)

IF_BADI_...
Full list of available SAP object classes

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!