on 06-17-2010 2:03 AM
HI all,
i need to create Warehouse Task in EWM system, i find a FM: /SCWM/TO_CREATE, there are so many fileds need to be filled, and i tried to test these FM so many times, but i still can not create WT. please give me a sample to show me which fields need to be filled to create a WT successfully by this FM.
or any other FM/BAPI.
Thanks a lot.
Sample:
* Create warehouse task
clear st_create. refresh it_create.
move: v_procty to st_create-procty,
p_cs_admin-rsrc to st_create-prsrc,
p_cs_ptwy-matid to st_create-matid,
1 to st_create-anfme,
p_cs_ptwy-altme to st_create-altme,
p_cs_ptwy-vlpla to st_create-vlpla,
v_owner to st_create-owner,
'BP' to st_create-owner_role,
v_entitled to st_create-entitled,
'BP' to st_create-entitled_role,
abap_true to st_create-single_to,
v_cat to st_create-cat.
append st_create to it_create.
CALL FUNCTION '/SCWM/TO_CREATE'
EXPORTING
IV_LGNUM = p_cs_admin-lgnum
IT_CREATE = it_create
IMPORTING
EV_TANUM = v_tanum
ET_LTAP_VB = it_ltap_vb
ET_BAPIRET = it_bapiret.
Cheers,
Koen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SOS~~~
Need help~~~
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
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.