Fonction SAP BAPI_SALESADDIREQ_STORE_REPLI - Additionals Data for Material Carried in a Plant

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDITIONAL BAPI2106STWB-ADDITIONAL C 18 X Additionals
CUSTOMER BAPI2106STWB-CUSTOMER C 10 Customer
LANGUAGE BAPI2106STWB-LANGU C 1 SY-LANGU X Language
MATERIAL BAPI2106STWB-MATERIAL C 18 Material
PROMOTION BAPI2106STWB-PROMOTION C 10 X Promotion Number
QUANTITY BAPI2106STWB-QUANTITY P 7 Quantity
SALESUNIT BAPI2106STWB-SALES_UNIT C 3 X Unit of Measure
SALESUNITISO BAPI2106STWB-ISOCODE_UNIT C 3 X Unit of Measure (IS0)
USEDATE BAPI2106STWB-USE_DATE D 8 Usage Date (for Conditions)

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Processing Status Message

Paramètre Reférence Long. Facultatif Description
ADDITIONALSDATA BAPI2106STOREDATA 1062 Additionals Data

Functionality
Use this method to requestadditionals data formaterial from the "SAP Retail Store Workbench". If you discover that ashelf label is missing, this method formats the data so that the labelcan be printed.

Example
You can call the module in the following way:
call function 'BAPI_SALESADDIREQ_STORE_REPLI'
exporting
customer = 'S113'
material = 'CVB-SM3'
* PROMOTION =
* ADDITIONAL =
quantity = 1
sales unit = 'PC'
usedate = '19990820'
language = 'EN'
importing
return = message
tables
additionalsdata = ADDIDATA.
"ADDIDATA" contains data necessary for printing additionals for "S113"and material "CVB-SM3". The sales price conditions are defined forAugust 20, 1999.
Your call is successful if you receive message 273 from message class"WTADDI".

Notes
If you are using generic materials, the system prepares data for thegeneric material and all variants. If you only want to requestdata for one variant, you must transfer the material number for thevariant to the "MATERIAL" parameter.
The returned data matches the data for the IDoc type used foradditional WTADDI01 in your structure.

Further information
Labels are printed by a non-SAP system. You can view the systemscertified for the IS-ADP interface in SAPnet at www.sap.com/csp.

Description
The structure contains the messages about the parameter analysis andthe processing status.

Value range
If the system returns message 273, it means thatthe import parameter were valid and data has been collated.

Description
By entering an Additional,the system only prepares data for the additional you specified.

Example
If a shelf-edge label and poster are assigned to a material and youonly want to print the data for the shelf-edge label, you can limit theamount of data that is to be generated to the additional in question bysimply entering the shelf-edge label.

Description
Customer number (for a store)

Hints
A prerequisite is that plant data has been created for the customernumber.

Description
The description texts are defined in this language.
This is not, however, the case for the additional texts foradditionals. These texts are delivered in all the languages in thesystem.

Description
Material for which data isto be prepared for additionals.

Description
A promotion for whichspecial additionals have to be created for one of the participatingmaterials. Special conditions are also applicable.

Description
Required quantity of additionals.

Description
Unit of measure for which additionals data is to be prepared.

Hints
An additional is always assigned to a unit of measure for the materialin question. When data is collated, only the additionals assigned tothis unit of measure are taken into consideration.

Description
Date is required for the listing condition check, and for definingsales price conditions.

Description
This table is used for transferring data for printing shelf-edgelabels, or posters. The data must be processed by a sub-system that isnot part of R/3.
The table structure corresponds to WTADDI01, the IDoccategory for Additionals.