on 10-24-2013 6:15 PM
Hi Gurus,
I need to update the stocks available in the locations
For this I am using the bapi : BAPI_STSRVAPS_SAVEMULTI2
The data I have are:
Stock Exchange 11
Product: TEST_PROD
Location : TEST_LOC
ATP Category : DC
Quantity: 100
In the bapi these putting the following values:
LOGICAL_SYSTEM = NAMELOGSISTEM
COMMIT_CONTROL = E
PLANNING_MODE_USAGE = 0
PLANNING_VERSION = 000
In the tables,
STOCK
I'm filling the following fields:
STOCK_TYPE = 11
ATPCAT = CC
PRODUCT = TEST_PROD
LOCATION = TEST_LOC
QUANTITY = 100
CLASSVALUESCHAR
PRODUCT = TEST_PROD
CLASSVALUESNUM
PRODUCT = TEST_PROD
CLASSVALUESCURR
PRODUCT = TEST_PROD
The other fields are empty.
When I run the function sends these msgs:
A 197 W APO_BAPI Corresponding CLASSVALUESCHAR entry for parameter parameter does not exist in STOCK
A 197 W APO_BAPI Corresponding CLASSVALUESNUM entry for parameter parameter does not exist in STOCK
A 197 W APO_BAPI Corresponding CLASSVALUESCURR entry for parameter parameter does not exist in STOCK
I / SAPAPO / CIF 003 Application log (ext. no. 01LT0QA07JEFCOZ} PYWQI0) for obj. APO_BAPI and sub-obj. ST_APS have been logged
How o where i can see The Application Log.
Where i can know what are the meanig of every field in the tables:
CLASSVALUESCHAR
CLASSVALUESNUM
CLASSVALUESCURR
Thanks for your suggestions
Noemí Huerta
Hi Noemí ,
Inside BAPI BAPI_STSRVAPS_SAVEMULTI2, when you click the “Tables” tab, there is a column “Long Text” for the three parameters mentioned by you, apart from the parameter “stock”.
You will find explanation about the same in the long text.
Unless you are using CDP, you will not need to update these 3 tables of CLASSVALUESCHAR, CLASSVALUESNUM and CLASSVALUESCURR.
You may try updating only "Stock" table fields and check.
Hope this clarifies your query.
Regards
Datta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.