Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ERROR in this BAPI_CUSTOMER_GETLIST

Hello,

Please help me ,I am getting error while executing this report.

I want to Execute a BAPI .

BAPI_CUSTOMER_GETLIST.

INPUT : I,EQ,0000002156.

where it went wrong

REPORT ZRBAPI_CUSTOMER_GETLIST.

DATA : IDRANGE LIKE BAPICUSTOMER_IDRANGE OCCURS 0.

DATA : ADDRESSDATA LIKE BAPICUSTOMER_ADDRESSDATA OCCURS 0.

DATA : SPECIALDATA LIKE BAPICUSTOMER_SPECIALDATA OCCURS 0.

DATA : BEGIN OF DUP_IDRANGE OCCURS 0 ,

SIGN like BAPICUSTOMER_IDRANGE-SIGN ,

OPTION like BAPICUSTOMER_IDRANGE-OPTION ,

LOW like BAPICUSTOMER_IDRANGE-LOW,

END OF DUP_IDRANGE.

SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

PARAMETERS: SIGN like BAPICUSTOMER_IDRANGE-SIGN ,

OPTION like BAPICUSTOMER_IDRANGE-OPTION ,

LOW like BAPICUSTOMER_IDRANGE-LOW .

SELECTION-SCREEN: END OF BLOCK b1.

DUP_IDRANGE-SIGN = SIGN.

DUP_IDRANGE-OPTION = OPTION.

DUP_IDRANGE-LOW = LOW.

Write : DUP_IDRANGE.

CALL FUNCTION 'BAPI_CUSTOMER_GETLIST'

  • Exporting

  • MAXROWS = 0

  • CPDONLY =

  • IMPORTING

  • RETURN =

TABLES

IDRANGE = DUP_IDRANGE

ADDRESSDATA = ADDRESSDATA

SPECIALDATA = SPECIALDATA

.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question