How can we transfer the header fiedl value to the  item

we have add the "storage location" field to the sales order head and item, now we need to batch change the item's storage location when we change the head's storage fields ,
we have use the function module in 'crmc_map' transcation, but with some problems,  when we change the head's field, we can't triger the item's 'SET' event, so we can't change's the item's fields(through the screen is changed, but when we use 'CRM_ORDERADM_I_READ_OW'  to get the value, it stand still);
we also tried to when we change the head's field,  we use head's set event to change to item's value, but we can't get item's guid, so Now I have no idea to deal with it.
Any body can help me?
Thanks a lot!

Hi,
     Using the set method in this scenario is not reliable. The set methods are triggered only for displayed items, whereas you need to change the value for, I presume, all the items. In the code where you change the header field value, write the code to change values for items as well. The approach will differ depending on whether you are using the BOL method or directly call the maintain APIs.
Regards,
Arun Prakash

Similar Messages

Maybe you are looking for

  • Why after optimising media (AVCHD) does the info tab say the codec is the native codec and not ProRes 422?

    I optimise media from AVCHD and the Transcoded Media files are created in the events folder in the finder. However, after importing has finished, I click on a clip in FCP X and then click on the info tab to see that the clip has the original codec. T

  • Code generation(urgent!!!)

    I'm writing an application to accept user input of variables and automatically generate some code with this user defined variables added to the code.Does anyone have any ideas about how i can do this?

  • Installing HD in T60 w/o caddy

    Hi, I have a T60 and I need to install a new hard drive.  I do not have the HD caddy anymore and I was wondering if I can still properly seat the HD without it.  Also, I have a SATA hard drive replacement - will this work with my T60? Thanks, Peter

  • GRC AC RAR: Comprehension question Mitigating Controls

    Hello all, I have a small comprehension question regarding Mitigating Controls. Situation: We have identified some authorization roles that contained lots of risks and we decided that they should not be used anymore. I therefore had our admins remove

  • Switch Off Right Click Options in Webdynpro table

    Hi all, Can we switch off the right-click options that show up when a user is displaying a webdynpro abap table? I dont want users to be able to hide columns.  There does not, however, seem to be a setting which controls this - it seems to be always