+ -

Pages

Sunday, July 27, 2014

Define a structures for the BAPI

In this step a structures for the parameters and tables of the function module used for the BAPI are defined.
Use Data type -> Structure
Define the following structures:
ZBAPI_ORDER_STATUS_IMPORT which contains the following fields:
  • ORDERID Order number (Keyfield)
  • SPRAS Language
  • ExcludeInactive - Checkbox - Exclude inactive status
ZBAPISTAT:
OBJNR like JEST-OBJNR
  • STAT like JEST-STAT
  • INACT like JEST-INACT
  • TXT04 like TJ02T-TXT04
  • TXT30 likeTJ02T-TXT30

Important note:
You will have to define a structure for every parameter in the BAPI. You cannot use the same structures used in existing applications because BAPI structures are frozen when BAPIs are released and then there are restrictions on changing them.

ZBAPI_ORDER_STATUS_IMPORT

5 ABAP Tips: Define a structures for the BAPI In this step a structures for the parameters and tables of the function module used for the BAPI are defined. Use Data type -> Structu...

No comments:

Post a Comment

< >