on 11-26-2004 2:17 PM
Hi,
I am getting an error in a custom development while calling the BAPI: 'BAPI_STSRVAPS_SAVEMULTI'
Error:
-
Pegging area for material 12345678 location 1234 not available
call function 'BAPI_STSRVAPS_SAVEMULTI'
exporting
logical_system = v_own_logsys
commit_control = c_commit_control
planning_mode_usage = c_planning_mode
tables
stock = l_i_stock
return = fp_i_return.
The error is 'APO Pegging area for material 12345678 location 1234 not available'.
I know the raeson of the error ie;
Satz von DB lesen
SELECT * INTO ls_pegkey UP TO 1 ROWS
FROM /sapapo/pegkey
WHERE matid = lv_matid
AND locid = lv_locid
AND simid = lv_simid
AND accid = ev_accid
AND plsec = iv_plsec.
ev_pegid = ls_pegkey-pegid.
ev_atpancguid = ls_pegkey-pegid.
ev_deltaancguid = ls_pegkey-pegid.
ENDSELECT.
IF sy-subrc = 4.
Pegid existiert nicht
IF iv_no_create = gc_true.
.. und muss nicht erzeugt werden!
CLEAR ev_pegid.
EXIT. "... und tschuess
ENDIF.
What I need to know is the what master data and transactions I need to populate to get across this error.
regards
Aveek Ghose
00441904604045
Hi Anand,
Yes I went to Virginia Tech and George Mason University. I will contact you soon.
regards
Aveek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Aveek - this is not about your query on this website. I was just wondering if you went to school at Virginia Tech and later to GMU. If you did, can you please get in touch with me at "megram@gmail.com".
Thank you, and sorry for being off topic.
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.