2011 Aug 29 11:09 AM
Hi Experts ,
I want to use the function module 'BAPI_OBJCL_CHANGE' to make some change in a batch characteristic created by 'MSC1n' . But I can't use it, because I can't understand from where I can get the parameters ' OBJECTKEY ' , 'OBJECTTABLE' , 'CLASSNUM', 'CLASSTYPE' .and Tables 'ALLOCVALUESNUMNEW','ALLOCVALUESCHARNEW' , 'ALLOCVALUESCURRNEW' ,'RETURN ' . So please tell me how can I know these values and how I can use this function module ? .
DEB
Edited by: DEB. ABAP on Aug 29, 2011 12:09 PM
Edited by: DEB. ABAP on Aug 29, 2011 12:10 PM
Hi Experts ,
I want to use the function module 'BAPI_OBJCL_CHANGE' to make some change in a batch characteristic created by 'MSC1n' . But I can't use it, because I can't understand from where I can get the parameters ' OBJECTKEY ' , 'OBJECTTABLE' , 'CLASSNUM', 'CLASSTYPE' .and Tables 'ALLOCVALUESNUMNEW','ALLOCVALUESCHARNEW' , 'ALLOCVALUESCURRNEW' ,'RETURN ' . So please tell me how can I know these values and how I can use this function module ? .
DEB
Edited by: DEB. ABAP on Aug 29, 2011 12:09 PM
Edited by: DEB. ABAP on Aug 29, 2011 12:10 PM
2011 Aug 29 11:35 AM
Hi ,
Check table INOB you need to pass Matnr as objek
SELECTING OBJECT KEY FOR THE MATERIAL BATCH.
SELECT SINGLE * FROM inob WHERE objek = it_tab1-objek
AND obtab = 'MCH1'.
EXTRACTING OLD CHARACTERISTICS VALUES FOR MATERIAL BATCH
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL_KEY'
EXPORTING
clobjectkey = inob-cuobj
classnum = 'DIEPARAMETERS'
regards
Deepak.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |