on 10-27-2014 5:46 PM
Hi friends,
I need to change the batch in the item details in the Co01. When the BOM consist of only one batch then I need to show that batch in the item details.
I tried the badi WORKORDER_UPDATE ,But I am not able to change the batch as it is showing that the internal table is read only .
How can I change the value
Thanks and Regards,
Subeesh Kannottil
Hi Sijin
I have tried my maximum to get some point where I can change it, I got many places where we are getting the values ,but even though we try to change it is not reflecting in the transaction
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I didn't find any implicit enhancement before save.
I found that inside CO_ZV_ORDER_POST the commit happens .
I am thinking to do an implicit enhancement inside this function module after commit ,and use production order change and found bapi BAPI_PRODORD_CHANGE .But there is no way that I can change the batch inside that .
Is there anything wrong in writing a BDC code inside this function module or is there any other bapi
where I can change the header batch
Thanks and Regards,
Subeesh Kannottil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Pls check this
method IF_EX_WORKORDER_UPDATE~BEFORE_UPDATE.
FIELD-SYMBOLS : <fs> type afpob,
<fs1> type aafpo .
LOOP AT it_item ASSIGNING <fs>.
<fs>-CHARG = '1234'.
ENDLOOP.
ENDMETHOD .
But here when I am trying to change the value I am getting a dump
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please paste the screen shot of your code ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.