Skip to Content
0

Change Production Order s Group Counter

Dec 04, 2017 at 09:42 AM

100

avatar image

Hi

Is that Posible to Change Production Order s Group Count With FM:CO_SE_PRODORD_CHANGE ?

LD_IS_HEADER-ROUTING_COUNTER = 02.
LD_IS_HEADER-ROUTING_X = 'X'.

DATA : AUFNR_ type AFKO-AUFNR.
AUFNR_ = '000062000180'.

CALL FUNCTION 'CO_SE_PRODORD_CHANGE'
EXPORTING
IV_ORDER_NUMBER = AUFNR_
IS_HEADER = LD_IS_HEADER
IV_COMMIT = 'X' "COMMIT WORK
IMPORTING
ES_RETURN = LD_ES_RETURN.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Raymond Giuseppi
Dec 04, 2017 at 11:58 AM
0

What do you conclude of your tests, value in ES_RETURN?

1694267 - BAPI_ALM_ORDER_MAINTAIN not for work orders

" Check if the changes that you want to make can be made using BAPI BAPI_PRODORD_CHANGE (for production orders) or BAPI BAPI_PROCORD_CHANGE (for process orders). Both BAPIs can change the order header.
" Use the  remote-enabled function module CO_SE_PRODORD_CHANGE that is released by the customer to change the ORDERHEADER, SEQUENCES, OPERATIONS, AND PRODUCTION RESOURCE/TOOL OF PRODUCTION ORDERS. See the detailed documentation for the function module.
Show 2 Share
10 |10000 characters needed characters left characters exceeded

hi

nothing , But when Change Quantity and Group Count , Es_Return is Empty But Quantity Is Changed but But the Group Count has not changed, I try This Bapis

tnx

0

BAPI_PRODORD_CHANGE Not change Master data for production order ...

0
Masoud Eb Dec 05, 2017 at 07:30 AM
0

There is no help ?

I Want change production Orders Master Data ( just Group Counter ) ,

I try BAPI_PRODORD_CHANGE and CO_SE_PRODORD_CHANGE But Not work and Group Counter Not Changed ...

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Dec 05, 2017 at 10:49 AM
0

Hi Masoud,

How many production order you want to update?

If just few production orders you can try

  1. Correct your production version or routing
  2. T-code: CO02. Goto Functions > Read PP Master Data
  3. Choose the desire Production version or desire routing's Explosion date

Thanks

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi thanks for your Reply

I Know this steps, I want Write a Program For this (The adventure is long)

0
Former Member

Hi Masoud,

Check this link. Someone managed to reread of master data in pp orders with BAPI_PRODORD_CHANGE.

table :

ORDERDATA

- EXPLOSION_DATE

- EXPLODE_NEW

ORDERDATAX

- EXPLOSION_DATE

According to him the BAPI will update BOM and routing at the same time. Hope it is useful to you.

Thanks.

0