Documents

BAPI

Description
Description:
Categories
Published
of 17
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  About the example This BAPI reads system status for a production order from table JEST and system status text from table TJ02T Name ZGetOrderStatus Function group ZBAPISTATUS Function module: Z_BAPI_GET_ORDER_STATUS Import parameters:ORDER_STATUS_IMPORT type ZBAPI_ORDER_STATUS_IMPORT:  AUFNR  Order number (Keyfield)    SPRAS  Language  ExcludeInactive  - Checkbox - Exclude inactive status TablesT_BAPISTAT type ZBAPISTAT:  OBJNR   like JEST-OBJNR  STAT  like JEST-STAT  INACT  like JEST-INACT  TXT04  like TJ02T-TXT04  TXT30  likeTJ02T-TXT30 Export parametersRETURN  like BAPIRETURN STEP 1 - 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 statusZBAPISTAT: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_IMPORTZBAPISTAT  STEP 2 - Write Function Module Important notes :  Each BAPI must have its own function group.

Lesson plan

Aug 13, 2019
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x