2007 Jan 26 1:58 AM
I am currently using BAPI_BATCH_CREATE to create batch for materials in my program. However, I find no way to input the batch characteristics. Is there any existing function module responsible for that? Thanks!
I am currently using BAPI_BATCH_CREATE to create batch for materials in my program. However, I find no way to input the batch characteristics. Is there any existing function module responsible for that? Thanks!
2007 Jan 26 2:47 AM
Hi,
You can use FMs 'CLVF_INSERT_AUSP' or 'CLVF_INSERT_AUSP' to insert or update characteristics for materials.
In the structure INS_AUSP or UPD_AUSP -
OBJEK corresponds to the material number,
ATINN is the characteristic name,
KLART is the class type which is '001' for materials, and
ATWRT is the characteristic value.
Populate values into the above fields for the batch of materials and call this FM.
Reward points if found useful...!
Cheers
Abhishek
2007 Jan 27 1:14 AM
I want to update batch characteristics rather than material characteristics.
Thanks!
2007 Feb 15 9:27 AM
Gundam,
You can use the fm VB_CHANGE_BATCH followed by BAPI_TRNSACTION_COMMIT for update the batch characteritsics,I have successfully implememted the same,
You all need to populate the structure CLBATCH with characteristics name,value,atinn.
Sandy
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |