2007 Jul 13 4:05 PM
Hi im trying to reset fields VMSTA and VMSTD from MVKE
Im using MATERIAL_MAINTAIN_DARK
input data:
AMARA_UEB-MATNR = 300142.
<a href="http://img.photobucket.com/albums/v69/konstantan/mvke.jpg">MVKE</a>
<a href="http://img.photobucket.com/albums/v69/konstantan/reset.jpg[">AMFIELDRES</a>
Im getting the error msg "Valid from" date only defined in conjunction with status
What could be wrong ? what value should I put in AMFIELDRES-TRANC and D_IND?.
Thanks and Regards.
2007 Jul 13 6:25 PM
Hi,
You can use the BAPI BAPI_MATERIAL_SAVEDATA ..in there pass
HEADDATA-MATERIAL = 'material number.'.
HEADDATA-SALES_VIEW = 'X'.
SALESDATA-SAL_STATUS = ' ' .
SALESDATA-VALID_FROM = ' '.
SALESDATAX-SAL_STATUS = 'X'.
SALESDATAX-VALID_FROM = 'X'.
Then call the BAPI with the above values..
Then call BAPI_TRANSACTION_COMMIT to commit the data
Thanks
Naren
Hi im trying to reset fields VMSTA and VMSTD from MVKE
Im using MATERIAL_MAINTAIN_DARK
input data:
AMARA_UEB-MATNR = 300142.
<a href="http://img.photobucket.com/albums/v69/konstantan/mvke.jpg">MVKE</a>
<a href="http://img.photobucket.com/albums/v69/konstantan/reset.jpg[">AMFIELDRES</a>
Im getting the error msg "Valid from" date only defined in conjunction with status
What could be wrong ? what value should I put in AMFIELDRES-TRANC and D_IND?.
Thanks and Regards.
2007 Jul 13 6:25 PM
Hi,
You can use the BAPI BAPI_MATERIAL_SAVEDATA ..in there pass
HEADDATA-MATERIAL = 'material number.'.
HEADDATA-SALES_VIEW = 'X'.
SALESDATA-SAL_STATUS = ' ' .
SALESDATA-VALID_FROM = ' '.
SALESDATAX-SAL_STATUS = 'X'.
SALESDATAX-VALID_FROM = 'X'.
Then call the BAPI with the above values..
Then call BAPI_TRANSACTION_COMMIT to commit the data
Thanks
Naren
2007 Jul 16 11:19 AM
thanks
i manage to resolve my problem with BAPI BAPI_MATERIAL_MAINTAINDATA_RT.
2012 Nov 12 3:39 PM
Could you please tell me how you solve the issue. It will be very helpful to me and to others
Regards,
Lisa
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |