Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Updating standard table AFVU

Former Member
0 Kudos

Hi,

I want to update user fields in AFVU table (USR08 and USR09).

I should not use MODIFY and INSERT commands to update directly as it is not preferred.

Please give me FM's/BAPIs which are used to update AFVU table if anybody knows.

Is it possible to go ahead with the BDC Recording to update each and ever yoperation user dates in CO01/CO02 Transaction?

Any pointers in this regard are very much helpful.

Regards,

SSR.

1 ACCEPTED SOLUTION

former_member181995
Active Contributor
0 Kudos

Bro,

please do not throw duplicate threads this creats problem for us.this is my humble request.

i already update your other one.pls close either.

any ways:

use BAPI 'BAPI_PRODORD_CREATE' to create production order.

also you can use BAPI_ALM_ORDER_MAINTAIN.

Try if standard FM CO_ZF_PRODUCTIONORDER_CREATE accomplish your data requirements.

If yes and you need and RFC-enabled FM you can copy it to a Z FM and change its execution method to remote access.

Amit.

Edited by: Amit Gujargoud on Jul 7, 2008 6:58 AM

6 REPLIES 6

former_member181995
Active Contributor
0 Kudos

Bro,

please do not throw duplicate threads this creats problem for us.this is my humble request.

i already update your other one.pls close either.

any ways:

use BAPI 'BAPI_PRODORD_CREATE' to create production order.

also you can use BAPI_ALM_ORDER_MAINTAIN.

Try if standard FM CO_ZF_PRODUCTIONORDER_CREATE accomplish your data requirements.

If yes and you need and RFC-enabled FM you can copy it to a Z FM and change its execution method to remote access.

Amit.

Edited by: Amit Gujargoud on Jul 7, 2008 6:58 AM

Former Member
0 Kudos

Hi Kranti,

Did you ever get your question answered? I also need to know if there is any standard FM/BAPI that I can call to update table AFVU. If you already had some tips, would you mind share it with me? Thanks.

Reiling

0 Kudos

Hi Reiling,

I done some research on this but We cannot find any suitable BAPI to update AFVU.Since it was related to Operations,We can directly modify the data by locking the table for a particular order and order from the internal Table directly.

This will be one best way that can i point to you.

0 Kudos

Hello Reiling,

As Amit noted you can user BAPI_ALM_ORDER_MAINTAIN to update the user fields in AFVU. You will find the user fields in the IT_OPERATION parameter of this BAPI.

Regards,

Bob

Former Member
0 Kudos

hi,

by using the update command also we can modify the values in the tables. but it is not recommend to change the value in table. in some time we think that particular field will be used in one table. but it may used in more than one table means we have to write the update query for all tables also.

better we can go for bdc or bapi.

regards

sathis

Former Member
0 Kudos

Hi,

Use the FM "BAPI_ALM_ORDER_MAINTAIN"

and use the tables parameter "IT_OPERATION" and "IT_OPERATION_UP" .

Note :- You have to use the tables parameter "IT_METHODS" and have to append the said table

with "CHANGE" or "INSERT" as per the requirement.

Regards,

Smart Varghese

Edited by: smartvarghese on May 25, 2009 11:48 AM