Populating the custom filed - added in BOM item.

Hello Friends,
I have a requirement like, for the custom field added in BOM item data, it should come filled while executing the CS02/CS03/CS12/CS73....transactions.
I have added a field which is one of the field from MARA table. what I have to do is to pass the MARA record into the custom field added based on IDNRK.
This should happen as soon as enter button is pressed after entering material, plant, bom usage value.
Please let me know if any exit is there wherein I can put the code OR if any other way!
Thanks.

i have solved this issue by doing some R&D.

Similar Messages

  • Populating the custom segments for the Basic type attached to HRMD_A (IDOC)

    Hi,
    I've enhanced a few infotypes and want the new fields to be available in an IDOC created through the program RHALEINI.
    Here are the steps I followed.
    Step 1 :(we31)
    We created new segment Z1IT023 , containing all the fields from infotype 0023 along with the custom fields added.
    Step 2 :(we30)
    We created an extension of IDOC type HRMD_A07 by name HRMD_EX to include this segement.
    Step 3 :
    We added an entry in table EDIMSG against message type HRMD_A , with base type : HRMD_A07 , extension : HRMD_EX , version : 700
    Step4 :(we20)
    Now , we made changes to partner profile by adding entry for message type HRMD_A with base IDOC type as HRMD_A07 and extension as HRMD_EX
    Step5:
    We changed the entry in table T777D and specified the IDOC segment as Z1IT023.
    Step6.
    We then tried to execute the report RHALEINI to generate the IDOC. The IDOC got created, but it didn't have the data for the segment Z1IT023.
    In fact, there is a different solution to this... by adding the custom segment(containing nly the new infotype fields) as a child of the original segment E1P0023 and then writting code in the user-exit to populate the segment, but our intension is to have a single segment with all the infotype 0023 data. Besides, I believe in HR, making an entry in T777D should free us from writing any code for populating the IDOC segments.
    Can anybody please suggest me, where am I going wrong. How can the new segments be populated automatically.
    Thanks in advance.
    Sujit.
    Responses will be suitably rewarded.

    Hi,
    Did u get any exit to populate the custom segment?
    Thanks,
    San

  • How to update the Customer field value of PO Item under the Delivery Address Tab?

    Hi Friends,
         i tried to update the Customer field Using Bapi_PO_change.I passed the PO Order no,POADDRDELIVERY data with Item no,Adrees no,Customer no.But i am getting no data changed message from return table.I attached the screen shots.So please suggest me the helpful information for resoving this issue.
    Thanks,
    Dinesh

    Thank you friends,
                My Problem was resolved.In my case i have passed the customer value in BAPI_PO_CHANGE POITEM Table with updated customer value.
    Thanks,
    Dinesh

  • Identifying changes in the custom screen added to Delivery

    Hello,
    I have added a custom screen in delivery transaction(VL02n) at header level. I used BADI LE_SHP_TAB_CUST_HEAD to do that. Now if user comes and enters some data on the custom screen, then goes to menu option Subsequent processing-->Create Transfer Order, user is not prompted with a pop up screen to save changes.
    It happens with SAP Standard screens for any data changes. How do we achieve the same functionality to prompt a popup message for any changes in the custom screen and save the data?
    Thanks
    Anil

    Hi Appana,
    Yes, we can identify any screen changes from sy-datar. It is set when I make any changes in the custom screen also. But I dont want to give a pop up every time I leave the custom screen. I want to give raise a pop up for saving the delivery document just like any other SAP screen (For eg. SAP Screens do not give a pop up when we move from one screen to another screen, but it gives a pop up if we try to do a subsequent functions like picking without saving the changes in delivery).
    Thanks
    Anil

  • How do you get the custom fields added to a address book to show up on Pages 09 when merging fields?

    I created some custom fields in the address book and want to get them merged into a Pages 09 document.  When using the merge fields feature in Pages, only the standard fields are displayed.  I am looking for a way to have the custom fields from the address book inserted into the document.

    I believe you will find them if you go to table - unhide all columns.  When you drag and drop card(s) into pages, it automatically shows default fields.  The others are there but hidden.  I hope this works for you!

  • Populating the custom infotype

    Hi Experts,
       Payworld is an application which is used by employees travelling to Onsite on work permit and by employee who is hired overseas.  Please provide me pointers on how the data from this payworld can be populated  into respective infotypes by the batch as a part of different events in Payworld.
    FM HR_INFOTYPE_OPEARTION can v use this to populate the data into the respective infotypes.

    Yes, Please use the same FM 'HR_INFOTYPE_OPERATION' to modify/insert record of the employee in the INFOTYPE.
    Use FM 'EMPLOYEE_ENQUEUE' to lock the employee, HR_READ_INFOTYPE to read info type data for the employee. If data exist for in the info type for the employee then modify the record else insert the record.
    Hope it helps.
    Thanks,
    Jayant

  • What's the reason behind adding ':'|| and ||':' to items in INSTR function?

    Hi,
    I noticed in examples that when the INSTR function is used items and the search strings are preceeded/followed by ':'|| and ||':' and I was just wondering why this is so. Does this not just add a : to the start and finish of the item and string? Is there an advantage over just coding it like so:
    instr(upper(OBJECT_ID), upper(:P18_OBJECT_ID)) > 0)
    rather than
    instr(':'||:P18_STATUS||':',':'||STATUS||':') > 0
    Cheers,
    simon.

    Simon,
    I don't know about the instr vs. like question. For the other question, I've seen this used mostly for checking for the presence of a token within a colon-delimited string of values. Consider:
    ******** Right Answer ********
    SQL> select 1 from dual where instr(':'||'CREATE:UPDATE:DELETE:'||':', ':'||'CREATE'||':') > 0;
    1
    1
    ******** Wrong Answer ********
    SQL> select 1 from dual where instr('CREATE:UPDATE:DELETE:', ':'||'CREATE'||':') > 0;
    no rows selected
    ******** Right Answer ********
    SQL> select 1 from dual where instr(':'||'CREATE:UPDATE:APPLY_CHANGES:DELETE:'||':', ':'||'APPLY'||':') > 0;
    no rows selected
    ******** Wrong Answer ********
    SQL> select 1 from dual where instr(':'||'CREATE:UPDATE:APPLY_CHANGES:DELETE:'||':', 'APPLY') > 0;
    1
    1
    Scott

  • Script for adding a login item for all accounts in the system

    Hi,
    Thanks for reading this query. I am new to the mac environment. I have developed a java application and created an installer of this application for MAC system.I want to run this application on starting the system. So I have written an apple script for adding this application in login items and this script will run immediately after completing installation process. And the entire process is fine. But the problem is, the application is added to login items of only the user who installed the application. But I want to get available the application in the login list of all accounts created in the system. How can I achieve this? Once more thanks in advance. I am attaching my script below:
    +*tell application "System Events"*+
    +* make login item at end with properties {path:"/Applications/MyApplication.app", hidden:true}*+
    +*end tell*+

    Hi,
    Try to use tables RSOSFIELDMAP, RSDSSEGFD and RSTRAN
    Hope it helps
    bhaskar

  • Populating the key figure in the Cube

    hi frineds,
         I need to populated the custom key fiugre added by me in the cube using the update rule. But if i see the tables of the cube it is seperate for every dimension and key figure. how can i select the particular record from the key figure table with out the reference of the dimensions table.
    Thanks
    Prem

    so you want to
    1. read particular record from cube
    2. populate the amount there.
    but populating the amount directly to infocube is not advisable and not feasible as well.
    my suggestion will be virtual infoprov based on transformation
    you will have to write your logic there and you can populate the amount based on billing number (you said you have amount against billing number).
    at query runtime based on transformation/logic your amount will be populated.
    only drawback reduced query performance

  • ECM - How to check eligiblity of  the employees for a comp review item

    Hi
    We have one requirement in Compensation management,  While creating the Budget structures I need to determine the Eligible employee population (For amount calculation) depending on the Compensation Review Item selected on the selection of the Custom program. Compensation Review Item is in V_T71ADM09-CITEM. So with this condition how can I find all the Eligible Employees having the Comp Item selected.
    Thanks in advance,
    Shrinivas

    Hi,
    eligbility is maintained in IT0381 - Compensation Eligibility
    Wilfred.

  • Adding Sales BOM to Sales Order through SDK

    Hello Experts,
    We're encountering an issue with adding Sales BOM items to the Sales Order through the SDK. When we add the parent, the object automatically adds the children as lines after all other lines. This causes issues with our batch delivery creation. When the Sales Order is created inside SBO Client, it always adds the child items right under the parent. We have a work around where we change the LineNum through SQL, but that seems like a sketchy method - what's the proper way of adding Sales BOM items to a Sales Order?
    Here is the code we're using to add the Sales Order lines
    olOrders.Lines.ItemCode = sItemCode
    olOrders.Lines.ItemDescription = aRecSet.Fields.Item("name").Value
    olOrders.Lines.UnitPrice = aRecSet.Fields.Item("cartprice").Value
    olOrders.Lines.Quantity = aRecSet.Fields.Item("qty").Value
    Thanks for the help!

    Hi Rob,
    I certainly wouldn't recommend you use a direct SQL command to update the LineNum on the sales order rows. This will invalidate your support agreement with SAP.
    One way you can deal with this would be to add your Sales BOM header item to a draft document (of type sales order) and add this first. You can then retrieve it in the DI API and add the other Items before adding the document as a proper sales order (and removing the draft). You can do this using the Draft and Documents objects either by coding each property or by exporting the Draft to XML and using XLST to convert it to a Sales Order and reimporting it. It does require a fair bit of coding but it will achieve what you need.
    Kind Regards,
    Owen

  • Customer filed on  Process Invoices centrally screen

    Hi,
    Mine is de coupled SRM implemenation at client place.
    Client request is to add one filed on Process Invoices Centrally  screen on header data for Bar code .
    They want to end the bar code to the R/3 system .
    Currently using message type BBPIV and Basic idoc type BBPIV01.
    How should i add the customer filed on the screen. IF i use CI_BBP_HDR_INV & CI_BBP_ITEM_INV then where  should i pass the values to Idoc.
    Is it require to extend the Idoc for the new customer value? If yes , where should I pass the customer filed value into the extended filed.
    Regards
    Sri

    done

  • BOM - Item Number (Urgent)

    Hi All,
    In BOM (CS03), the first column refers to BOM Item number & i find it having 4 digits at the moment. I would like to know is it possible to increase this to say 6 or 8 digits, if it is possible, please let me know how i can do the same & also what is the limit for the same.
    Hope my problem is clear, await inputs.
    Vivek

    Dear Vivek,
    I'm not sure abotu this,but the increment which's default as 0010,0020 can be
    changed as per the user Id.That's what Mr.Vijayprasad Shanmugham has
    mentioned which can be done in OS29.
    If possible try to post this thread in ABAP forums,I hope they can give a better
    solution for this.
    Regards
    Mangal

  • Custom fields added on PO header and PO item in ME21n

    hi everybody
    I have added 2 fields on PO header and PO item level in ME21N screen, everything is working fine
    but the issue is that if the Customer Data tab page is not opened at the Header Level, the additional fields in Customer Data tab page at Item Level are not displayed as well
    Does anybody knws why this happens?

    May be i wrongly explained, all the data are getting populated on the screen and in the database tables.
    Its just that if the Customer tab on PO header is not opened, the fields in the Customer tab in PO item level are not getting displayed
    As such, the data are being saved in the tables.
    Its only if the customer tab on header is not opened, the fields in Customer tab in PO item are not displayed.
    Otherwise if PO header customer tab is opened, everything is ok

  • SRM 7.0 New custom fields added to view do not appear in the component conf

    Hi
    I added two custom fields to the view V_QTE_DOFC_I_DESC of the WD componenet /SAPSRM/WDC_DODC_QTE_I_DS. This view gets called when bidder is trying to create a bid and clicks on add Substitute Item in the Item tab. This view is simply a popup window where we can enter ther substitute item.
    I added two custom fields to the context of the above view and placed on the layout of the view as input fields. Then I tried to modify the component configuration /SAPSRM/WDCC_DODC_QTE_I_DS_SUB. When I look in t he web dynrpo built-in for the view V_QTE_DOFC_I_DESC, I don't see the custom fields that I just added. As a result, these custom fields are not displayed when I try to substitute an item. Could anyone tell me how to brining in these two custom fields into the component configuration.
    Any help is greatly appreciated.

    Hi Prasuna,
    Sorry ..You are right..I was looking at some other WDC related to contract data..It you map the CUFs to /SAPSRM/S_CLL_CTR_ITEM which has the include structure INCL_EEW_PD_ITEM_CSF_CTR then it should work fine.
    If you do this, are you able to view the new fields on the screen?
    you mentioned that you are not able to save the data to the table.
    Include your fields in INCL_EEW_PD_ITEM_CSF as well because if you add CUF to any of those doc types, you also have to add those CUF to the global structure for CUF documents.
    Also Check if you fields are there in structures BBPS_CTR_CUF_ITEM,BBPS_CTR_UI_ITEM and BBPS_CTR_ITEM.
    Check whether you have implemented the BADI's like BBP_DOC_CHECK_BADI ,BBP_DOC_CHANGE_BADI and BBP_DOC_SAVE_BADI . check out the structures (whether they having the CUFS) used in those if you have implemented any of them .
    Regards
    Lavanya
    Edited by: LAVANYA CHAVA on Aug 25, 2010 10:10 AM

Maybe you are looking for