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: 

Change equipment and functional task list

Former Member
0 Kudos

Hi All,

I have a requirment to mass change the equipment and functinal task list data.The upload file has the group, group counter and operation which i have to use has key fields and only one field value needs to be changed. the field value that needs to be changed is 'Work involved in the activity' (PLPOD-ARBEI) field. we have change the no of hours.

could anyone please let me know if there is a BAPI or function module to fulfill this particular requirment. I searched the forum but could not find any BAPI.

Thanks in advance.

1 ACCEPTED SOLUTION

former_member227140
Active Participant
0 Kudos

hI,

what you want to change equipment or task list cause there two are different objects ...with transaction code

IE02 and CA02 .so first tell me what you need to do.

second thing i have done this before....there is no BAPI available to change equipment (ie02) or routing(task list : ca02)

so what you need to do is ..you have to create a BDC recording for the same objects and fields you need to change

then may be you can include the BDC code into a FM. and then you can pass required parameters as import in FM and execute it so that it will modify the thing you need.

plz remember change equipment and change task list are 2 different things so the recording and FM you will create shd be different.

let me knw if you need any help with code.but for that you need to define your requirement clearly.

hope i have helped you or atleast gave you a way to proceed further.

7 REPLIES 7

former_member227140
Active Participant
0 Kudos

hI,

what you want to change equipment or task list cause there two are different objects ...with transaction code

IE02 and CA02 .so first tell me what you need to do.

second thing i have done this before....there is no BAPI available to change equipment (ie02) or routing(task list : ca02)

so what you need to do is ..you have to create a BDC recording for the same objects and fields you need to change

then may be you can include the BDC code into a FM. and then you can pass required parameters as import in FM and execute it so that it will modify the thing you need.

plz remember change equipment and change task list are 2 different things so the recording and FM you will create shd be different.

let me knw if you need any help with code.but for that you need to define your requirement clearly.

hope i have helped you or atleast gave you a way to proceed further.

0 Kudos

Hi,

Thanks for your reply. MY requirement is to change equipment task list and functional tasl list, in which i have to just update or change the value of one field 'Work involved in the activity'. The problem with going for a BDC is that, i have in my flat file combination of group and group counter and for one such combination there could be multiple operations. so the problem would be to identify the corret operation and update the value, since we might have to scroll down to reach the operation for some cases. Could you please let me know if such scenario's can be tackled and if yes how.

Thanks again for your reply.

0 Kudos

Hi,

while at the time of BDC recording never use the tab down and click option to scroll down..

try to us e the menu option and got line item or search option at the tool bar.

for the search opyion tolol there is Ok code will be generated it is always better to do that.

Regards,

Prabhudas

0 Kudos

Hi Prabhu,

There is no option for search in IA02 and also if you could elaborate on what menu path to use to reach a specific operation it would be helpful since i could not find any. right now i have thought of getting the index of the operation from table level and selecting the operation on screen but the problem with this too is that if the operation is not on the screen then it does not get selected and thus i cannot change it. I need to know the code for scrool or page down and if at all i can use it for this situation,l thank you.

0 Kudos

hello,

see i can tell you onething....when you will go to routing screen (ca01,ca02,ca03)...

you will get a find button there on screen (see binacular sign)...when you click on that and enter any operation number ..then it brings that operation to first rwo and then you can modify the fields you wanted...

but if you want to modify operation ..user has to give the operation number along with routing group and group number....

while doing bdc recording you have to follow same same sequence of step...go to ca02 enter routing grp and grp counter from that screen go to header and from there go to operation screen ..click binacular button to find operation...then when that operation will come on first screen ..edi the field you want for that operation...

you can include all this recording in a Function module...take these grp number and grp counter as import parameters to FM and define a table for operation details .....and the execute ..it will change the operation..but remember the thing taht user shd know the vales op operation to be modify and grp number and grp counter..if he is trying to modify the operation which is not existing then ..you can give error message stating the same...so he will change the operation

0 Kudos

Hi,

The file provided to me by the user has group group counter and the operation number.l Checked the transaction CA02 and it requires further details like material to be mentioed. going back to the user requesting these details will be difficult.

Although i have found another way to do this and presently the functional is testing the development.

Thanks a lot for all your help.

0 Kudos

Hi,

I am working on the same requirement. Can you please share what steps you performed.

Thanks & regards,

Yogesh A Sharma