Can I update Customer specific fields with BAP_PO_CHANGE

Using 4.7 and APO 4.0. We're having to create multiple schedule lines (EKET) for PO Items for TP/VS functionallity. I've found a neat trick for doing this by using BADI ME_PURCHDOC_POSTED to trigger an FM in a new task.
This FM waits until PO is unlocked and then uses BADI_PO_CHANGE to "split" the schedule lines. However I'm having trouble finding an easy way to populate new customer (Z) fields on the Schedule Line at the same time.
Any Ideas??? 
Thanks
Charles

excuse me - I'm using BAPI_PO CHANGE not BADI.
Thanks again

Similar Messages

  • Issue in Updating Customer specific fields in WBS using BAPI_BUS2054_CREATE_MULTI

    Hi Experts,
    I am able to create the WBS element using BAPI_BUS2054_CREATE_MULTI.But the issue is i am not able to update customer specific fields even after passing the fields as per specification in Function module documentation. I have also created an implementation of BADI  as per below specification in FM documentation:
    Procedure for Filling Standard Enhancements
    Before you call the BAPI for each object that is to be created or changed,
    for which you want to enter customer-specific table enhancement fields, add a
    data record to the container ExtensionIn:
    STRUCTURE:    Name of the corresponding help structure
    VALUEPART1:   Key of the object + start of the data part
    VALUEPART2-4: If required, the continuation of the data part
    VALUPART1 to VALUPART4 are therefore filled consecutively, first with the
    keys that identify the table rows and then with the values of the
    customer-specific fields. By structuring the container in this way, it is
    possible to transfer its content with one MOVE command to the structure of the
    BAPI table extension.
    Note that when objects are changed, all fields of the enhancements are
    overwritten (as opposed to the standard fields, where only those fields for
    which the respective update indicator is set are changed). Therefore, even if
    you only want to change one field, all the fields that you transfer in
    ExtensionIn must be filled.
    Checks and Further Processing
    Using the methods ...CREATE_EXIT1 or. ...CHANGE_EXIT1 of the BAdI
    BAPIEXT_BUS2001, BAPIEXT_BUS2002, and BAPIEXT_BUS2054, you can check the entered
    values (and/or carry out other checks).
    In the BAdI's second method, you can program that the data transferred to the
    BAPI is processed further (if you only want to transfer the fields of the CI
    includes, no more action is required here).
    But still i am unable to update fields though i am able to create WBS with rest of the fields except  custom fields.
    I am using attached code to achieve this.Do we need to code anything inside method create_exit1 or create_exit2 implementation for BADI or
    Please help on priority

    Hi Rahul,
    First observation from your code is that i could not find the assignment for the field
    GWA_WBS_EXTIN-STRUCTURE. I hope you are not filling this field, that could be one reason for failure. Try to do it and let us know if you still have the problem.
    Br..
    Dwaraka

  • How to use customer-specific fields with FI-CA event 940?

    The following text can be found under FI-CA event 940:
    You can also set customer-specific fields if you have defined the predefined include for customer enhancements CI_FKK_ACCIT_CUS in the structure FKK_ACCIT_CUS. The fields included here must have the same field name as the fields included in the structure ACCIT. These can also originate from an enhancement of the coding block in General Ledger Accounting. The fields Reservation Class and Reservation Key of the reconciliation key and the totals record are available as import parameters.
    My requirement is to populate the field HZUON in this event, which will be called when running t-code FPG1 (Transfer of FI-CA total records to general ledger)
    The problem is the fact that the output of the event (i.e. output of function module FKK_SAMPLE_0940 at first) only have the following fields:
    E_ZUONR     LIKE     ACCIT-ZUONR     Zuordnung (BSEG-ZUONR)
    E_XREF2     LIKE     ACCIT-XREF2     Referenz  (BSEG-XREF2)
    E_SGTXT     LIKE     ACCIT-SGTXT     Positionstext
    E_BUPLA     LIKE     ACCIT-BUPLA     Businnes Place (Korea only)
    I tried adding a new field to structure CI_FKK_ACCIT_CUS and adding this field to the output of the event 940, but how do I ensure that the content of the field will be used to populate the HZUON field of the FI document during "transfer of FI-CA total records to general ledger"?
    Cheers,
    Teo

    Hi Teo,
    I happened to see this post from you when I searched for a similar scenario related to event 940. I also need to add two fields in CI_FKK_ACCIT_CUS and make these fields as outputof the event. Did you come across any solution for the same? If so, can you please share.
    Regards,
    Harikumar. S
    Edited by: Harikumar Sasidharan on Dec 30, 2009 12:14 PM

  • BP extend : how to use FM to update customer specific fields ?

    Hello
    I'm working on a CRM 2007 project and for customer needs, the BP data have been extent with specific fields using EEWB. So specific FMs have been automatically generated to manage the specific data. We want to use these FM to maintain the values of the specific fields. In the EEWB transaction, in the Task BUPA_API for the specific object, 2 FMs have been generated : ZZ1XO_BUPA_MAINTAIN and  ZZ1XO_BUPA_MNTN_ALL : we suppose we have to use these FMs to update the values fo this object. This object (customer specific data) is time dependent with gaps and multiple instance. We tried to use these 2 FMs to update values but it does not work : anybody has already used this kind of FMs ?
    Thanks to all.

    Jerome,
    Normally I use the FM modules generated by the EEWB that contain API to update the data.  However keep in mind if this is a Z-Table and you don't like what is provided, then add your own BAPI modules to the BDT function group to update the data.
    Take care,
    Stephen

  • Button on Form to Update a specific field with hard coded data

    Hi Guys,
    This will probably be a nice a simple issue for you guys, but I have ben struggling on how to do this for hours!
    On my form created by a report I have a field called status that is pulling the data from the order_status column contained in the customer_orders table.
    What I am looking to do is to create a button on the form that once clicked will change the order_status to "Complete" and update the customer_orders table.
    I have attempted to do this by creating the button and also a proccess on the page, and have assigned the button to the process
    I have set the process as PL/SQL and have entered the following code:
    BEGIN
    UPDATE customer_orders
    SET order_status='Complete'
    WHERE customer_order_id =:P7_customer_order_id;
    END;
    However when I click on the button, the page just refreshes and the field has not been amended!
    Please Help
    Thanks
    kev

    I don't know of any example apps containing that off-hand. I've done this sort of thing several times before, but also can't post them as-is on apex.oracle.com due to sensitivity.
    I can tell you the steps I would follow:
    1) Create a button - in a region position or among region items - doesn't matter. If doing it as a button in a region position it will submit as the button name; if doing it as a button among region items it will submit as the button label.
    2) Create a PL/SQL after-submit process (On Submit - After Computations and Validations). Put the PL/SQL code in for the process (your update code looked fine to me, syntax-wise at least). Continue on in the process wizard and when it gets to where it wants to know if there is a condition, see the dropdown When Button Pressed - you'll want to select the button from step 1.
    3) Then, depending on what you want it to do next you would provide a branch - it could be a branch back to the same page refreshing the data with the new status or move on to another page.
    Are these the steps you followed?
    Hope this helps,
    John

  • Customer specific field.........

    hi,
    1- How can i  create customer specific fields for PROJ DEF. & WBS.
    2- how it will come on the PS WBS or Proj. Def. Screen

    Hi,
    You can create Customer Specifc field through Enhancement of Configuration. You need to go to transaction CMOD & define the enhancement. ABAPer will be required for this purpose.
    Hope this will help you.
    Regards,
    Rakesh Pradhan

  • Customer specific field table T77OMATTR

    Hi guys.
    SRM 4.0, server 5.0.
    I have added an attribute to use in the PPOMA. My attribute is for the tax jurisdiction code, besides this extra attribute I have added a customer specific field to the SC. But which function modules should I use to fill the customer field with my attribute, any ideas? I would believe that everytime you enter a new attribute in the table, you would also have to do some coding before it can work, right?
    Thanks
    Dennis M

    Hi
    <b>Here are some related links -></b>
    Re: Creation of Custom Attributes in org structure
    R/3 to SRM
    Creating a new custom attributes in org structure
    First take a look at this forum post regarding your questions - the thread has relevant info for you:
    FM for attribute's value assignation in PPOMA ?
    <u>Regarding your specific queries</u>:
    Can you automate replication?
    Yes - it can be automated. Post processing BADIs exist in the IDOC to allow you to perform your actions.
    <u>What are the tables?</u>
    Well not that you are ever to directly read or update these tables, but they are HR info type tables. Examples would be HRP1222, HRP1000, etc. If you really want to the table that has the attribute value see table HRT1222. Again look only - never develop a program to read/update these tables.
    As mentioned in the forum thread above use the function modules BBP_READ_ATTRIBUTES/BBP_UPDATE_ATTRIBUTES.
    <b>Do let me know, incase you need more details.</b>
    Regards
    - Atul

  • Customer Specific Fields in MASSD

    Hello All,
            Can we use the MASSD transaction to update the customer specific fields?
    I see our Z fields in the component and attributes. But when I try to change and save the values it's not getting reflected in the table. But it's working fine  for the standard fields.
    Please clarify.
    Thanks,
    Siva.

    Dear Siva,
    if you would like to use in MASSD a MATLOC extension in CI_MATLOC please insert the same field names in the Include CI_MATLOCX of structure /SAPAPO/EXT_MATLOCX to solve the issue.              
    The fields should have the component type BAPIUPDATE there.    
    It is not possible to use LOC extension and to select customer specific fields from  structure CI_LOC in MASSD.                
    I hope I could help you with this information.
    Regards,
    TIbor

  • How to populate customer specific field data in table /SAPAPO/ORDFLDS

    Dear Gurus,
    I have explained in detail about the problem we face. I guess persons who has implemented enhancement:  /SAPAPO/RRP_IO_COL in their system can help me out.
    Background:
    Purchase requisitions in APO is created by an idoc that comes from a legacy system using BAPI CALL FUNCTION 'BAPI_POSRVAPS_SAVEMULTI3'.
    Business Requirement:
    I have a business requirement where I need to populate an additional data 'Original delivery date' from the idoc during PR creation in Product view.
    Development:
    To achieve the above requirement, we are following the below procedure in our development system.
    1. We are using enhancement:  /SAPAPO/RRP_IO_COL, method: RRP_USEX_COLS_FILL_01 and RRP_USEX_COLS_GET_TEXT_01 to display an additional field 'Original delivery date' in /sapapo/rrp3 - elements view. This field is restricted to Purchase requisition (Order category: AG) only. We are planning to populate the additional data 'Original delivery date' in this customer specific field and store it in table: /SAPAPO/ORDFLDS at the time of PR creation.
    2. Table: /SAPAPO/ORDFLDS is appended with the 'customer specific field'.
    3. We couldnt find a document on how the data can be populated in table /SAPAPO/ORDFLDS.
    4. How to polulate the live cache data in the table  '/APAPO/ORDFLDS' ? ( i.e using connection parameter )?
    Appreciate if you can throw me some light on this.
    Thanks
    Vignesh M

    Hi Vignesh,
    ANy luck on this ? I am trying the almost same thing...and stuck at same point.
    Please let us know if you have any more information.

  • Report Painter: How to add new(customer specific) field to CCSS table

    Dear Experts,
    We have requirement to display the orders based on Profit center or Profit center groups in report painter. So in report library(6O1), we want to add fieild PRCTR or any customer specific field(ZPRCTR) to CCSS table. Could you please let us know how to add field ?
    or is possible to add customer specific field(ZPRCTR) in CCSS and link that field to Profit Cetner(PRCTR) and profit center group.
    Please help us..
    Thanks in advance

    You can check the below OSS notes:-
    <https://service.sap.com/sap/support/notes/929889>
    <https://service.sap.com/sap/support/notes/522581>
    <https://service.sap.com/sap/support/notes/43493>
    Regards,
    Gaurav

  • Customer specific fields or tab in SOLAR_PROJECT_ADMIN

    Hi Experts,
    is it possible to add customer specific fields to transaction SOLAR_PROJECT_ADMIN?
    If yes, is it also possible touses that fields for reporting functionalities?
    Best regards,
    Martin

    Hi Martin,
    By standard you can't add custom fields or tabs. But you can extend SAP Solution Manager to manage new object types as described in this blog post by Andreas:
    -Extend SAP Solution Manager to Manage New Object Types
    Kind regards, Fabricius

  • How to create customer specific fields within PC 10.0?

    Hello,
    for previous Process Controls versions 2.5 and 3.0 it was available two how-to guides to create customer specific fields. Nevertheless so far I couldn't find those versions for PC10.0.
    Does anyone have them? Or know if the 3.0 version is also valid for 10.0?
    Regards
    Andre Yuji

    Dear Johannes,
    We have a few administration transactions that you can use on back-end. For example:GRFN_STR_CHANGE -GRFN_STR_CHANGE-Change Process Control
    as well as RE_RHGRENZ4 to  Set a new end date to the objects.
    At last case, you can run the program RHRHDL00 thru SE38 Tcode.Be carefull because this program delete the object from database.
    Regards,
    Karina Atonaidan

  • Customer Specific Fields in Standard Report???????????????

    Hi Gurus,
                 I have added Customer Specific Fields in a Notification Type.
                 I need a Report with these Cutomer Specific Fields ( added by Screen  Exit) in the Standard Transaction like IW65,IW69.
                Please give me the solution, suggestions to Extarct these fields in Standard Reports.
    With best ragards,
    Narendra

    Narendra,
    I'm not sure IWOC0004 will help...
    If you are using ECC6, then investigate enhancement spots in the respective programs. Your ABAP team should be able to help.
    PeteA

  • Can LSMW use customer specific mapping program?

    Can LSMW use customer specific mapping program?
    I have created a LSMW project to migrate various objects (Material, pricing conditions, conditions) for our new division. I want to add another object – Purchasing Info records. We already have a customer specific mapping program that prepares the data for SXDB to complete the migration. After creating the new object in LSMW, I looked in step 1 (Maintain object attributes) but couldn’t see anywhere convenient to put the program name.
    I know that LSMW provides a mapping facility of it’s own, but can I avoid reinventing the wheel and instead own specific program?
    Slath

    Hi,
    I am afraid, that is not possible. It is possible to create your own BDC recording but not the way you want to do. LSMW needs to know your source and target structures and then you do the mapping from source to target within LSMW. It stores this mapping information in several tables and unless LSMW has those entries, it will not be able to generate the mapping(conversion) program. Also, LSMW creates a 'read' file and later a 'converted' file. Your mapping program may not be doing that, which means LSMW cannot execute it in later steps to actually create the Purchase Info Records.
    You will have to create your own BI or DI program or a business object and a BAPI, or an IDOC type and message type and then publish it to standard SAP, then may be it will be possible. But that will be lot of work, instead use the standard one availble to you.
    If you want to use your existing code then, when you get to the mapping part of it, just cut and paste the logic specific to each field in the appropriate place, or don't do any individual field mapping, but just paste all the mapping logic in the ENDOF_RECORD_ section.
    Regards,
    Srinivas

  • HT4890 Can I share a specific event with friends on iCloud via Photostream?

    Can I share a specific event with friends on iCloud via Photostream?

    No, not until iOS 6 comes out.

Maybe you are looking for

  • Custom sorting in data grid

    Sorting entire records Problem: Assume you have an array of 20 items (master array), and first 5 items are pulled into another array (paged array), Which is the dataprovider for the datagrid. And the datagrid has 10 columns. When the user sorts on th

  • How can I get Adobe Reader  for a PC with no Internet access?

    Hi I have a neighbour who doesn't have Internet access. I have downloaded the installer but the installer requires Internet access. Can I install it on my computer and copy the program file or folder to my neighbours computer? Thanks Geoff

  • Copying links in safari in iOS 8 no longer works

    At first I thought it was me but no. If I try to copy a link in Safari using the Copy item or by specifically selecting the link and copying it I get nothing. I use this feature a lot so it's pretty annoying. I am running iOS 8 on an iPad 2. I am rea

  • Question about import statements

    Why is it that I must have the import statement on the same frame and same layer as the AS code that utilizes the Class that I am importing? At least that is how it appears.

  • My project will not open!

    Hey! I´m working now with a university project on Imovie. I shall been ready to friday. I have been working with this project in many hours, but now I can´t open it. I HAVE TO FIND OUT OF THIS!! When I opening my project, or Imovie, it comes to a sli