Warning in BAPI_PO_CHANGE using a custom field

Hi all,
   I have a custom field called 'zpoblock' added to the header level in the purchase order.   I have added the new field to the 'Include CI_EKKODB'.    I need to use the BAPI_PO_CHANGE in order to unblock the purchase orders.
When I ran my custom program to unblock the po, i got a warning as shown below though the program updated the PO successfully.
W  ME  887   Error transferring ExtensionIn data for enhancement CI_EKPODB
S  06   023  Standard PO 450012345 changed.
I have assigned the structure to ExtensionIn.
There are some custom fields at the PO line items which are not relevant for my changes.
Is this warning acceptable in the program ?  What can i do to resolve it ?  Would anyone have a sample program that can show me how to mass unblock purchase orders using  BAPI_PO_CHANGE for a custom field ?
thanks
Joyce

Hi,
BAPI's and BAdI's are two quite different things. You'll find quite a lot of information on both of these on SDN - BAdI's for example:
https://wiki.sdn.sap.com/wiki/display/ABAP/EnhancementsandModifications-BADI,EnhancementFramework,UserExits,+BTE
https://wiki.sdn.sap.com/wiki/display/ABAP/ConceptsandWorkingwithBADI
Hope that helps, regards, David

Similar Messages

  • Error using Bapi_PO_Change for update custom fields

    Dear Expert,
    I have requirement for update custom field in table ekko. I used BAPI_PO_CHANGE with PO_number as a key. Then i put the value of custom field in segment TABLES - EXTENSIONIN.
    But I get error : "ERROR TRANSFERING EXTENSIONIN DATA FOR ENHANCEMENT CI_EKKODB".
    When I checked, I found the difference between data type the value for BAPI_PO_CHANGE (Usinf structure BAPIPAREX) and data type for custom field in table EKKO.
    Data Type in BAPI_PO_CHANGE is CHAR (you can see in structure BAPIPAREX). And data type for the custom field is DECIMAL.
    I found the note '1124803', but the correction note was not applicable for us because our released system is 500.
    Is there any suggestion or solution for resolve our problem?
    Really appreciate your help.
    Thanks.

    Hi Laxmikanth Bethi ,
    I tried with BAPI_PO_CHANGE in level header, and SAP was support the BAPI. And also i tried to appending the same fields in MEPOHEADR & MEPOHEADERX structures, but the problem is the type of my custom fields are DECIMAL, then the type MEPOHEADR & MEPOHEADERX structures are CHARACTER. So i got the error :  "ERROR TRANSFERING EXTENSIONIN DATA FOR ENHANCEMENT CI_EKKODB".
    Because the types are difference.
    Have you any suggestion to solve this problem?
    Really appreciate for your input.

  • Security using custom field in PCUI

    We would like to create a custom field on the header of the business partner to store information that would then be used in the security roles.
    For example, we want to create a branch field on the header of the business partner and then use this field to restrict access to specific accounts within the sytem using a CRM Security role.
    Does anyone know if you can use a custom field in the CRM system to restrict security within the PCUI application?
    If anyone has any information, I would greatly appreciate it as we are on a crunch to get this implemented!
    Thanks!

    Hi Darcie,
    If you add custom field and maintain value in it, i'm not sure if you can restrict access by CRM Security role.
    If your users are going to be entirely based only on portal/pcui (i.e. they would not use SAP-GUI log-in) then you can consider the option of tweaking your Accounts advanced search and not letting users see certain accounts (based on the value in EEWB / custom field)
    Hope this helps.
    Regards,
    Raviraj

  • Using custom fields of Infoset as Selection Criteria in Query Reporting

    Hi Experts,
    I have created one Infoset based on LDB PNPCE and added some custom fields to it. Coding has been done for the custom fields.
    But these additional custom fields are not available as selection criteria while creating the query.
    Can you please tell me how to use the custom fields as selection criteria?
    Reply soon
    Thanks in Advance.
    Raveesh

    Hello Guys,
    I just noticed that it is possible to select custom fields as selection criteria in case of SAP Query,
    but NOT is case of Infoset(Adhoc) query.
    Can anyone tell me the whether it is possible to select the custom fields as Selection Criteria in case of Infoset Query?
    Thanks in Advance,
    Raveesh

  • Custom field creation using ajax in SP 2010

    Hi,
    If anybody create custom field using ajax toolkit, kindly share me the link or steps.
    Thanks,
    Senthil

    yes. I have created custom field using Ajax toolkit which one available by default in VS 2010 under Ajax controls menu. do we need any other details on this, let me know.
    I just drag and drop the Ajax update panel in aspx page that used in custom field solution. then i just run the code and see the result on the new form in  the custom list. so i dont think, we need to do more work on this.
    Thanks,
    Senthil

  • Where it is possible to change the value separator in Custom Field?

    Hello,
    This is a question around the "Custom Fields" and "Lookup Table"
    I linked a "Custom Field" to a "Lookup Table".
    I select the option "Allow multiple values to be selected from lookup table"
    When I used this "Custom Field" in a view, the selected values are separated by a comma ",".
    Where it is possible to change this value?
    I saw another project server where the character is a semi-column ";" and I would like to test with ";".
    Thank you in advance
    Pascal Jean

    Hi,
    This will be triggered by your regional settings.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |
    Hello,
    Thank you for the answer.
    Do you mean the "local regional settings"?
    Because, depending on the PWA site I'm connected to I don't have the same values. I'm obviously using the same workstation.
    Regards

  • Custom Field no longer works as an attribute since upgrade from 5.2 to 5.3

    We have just upgrade from CUP 5.2 to CUP 5.3 SP8.1 and it seems that the custom field that could be used in 5.2 as an attribute in the logic used to control initiators no longer works as an attribute in 5.3. The initiators that are now configured with the custom field still work but when we try to change or create a new one it errors saying that the custom field is not an attribute and stops me from including it to use as a flag. I looked in the attribute tabs list and the custom field is not listed but it still show in the drop down list in the change initiator screen select attributes selection.
    Has anyone else seen this and if so do you know how to allow us to use a custom field as an attribute in the initiator select attributes screen.

    Hello Clark,
    try to change the "applicable to" option in custom field configuration to initiator.
    Best regards,
    Bianca

  • Creating a Report using Lead Custom Fileds

    Hi All:
    I have created some of the custom fields in Lead Module and when tried to create a report in the field section i was not able to view the fields which was created by me and there was no section by name Lead Custom Fields also. please let me know what is to be done in order to create a lead report using the custom fields.
    Thanks for the Reply in Advance.
    warm Regards

    Which reporting object did you start with and did you want for the Analytics refresh for the fields to appear?
    cheers
    alex

  • Example of a custom field mapping?

    Ok, I admit it I am struggling here. I have simplified my example from
    what I actually have.
    I have a table that models a flat hierarchy
    ID | START_DATE | END_DATE | CLASSNAME | FIELD1 | FIELD2 | ...
    one of the objects in my hiearchy (CashFlow) has a field that is in fact
    another object called DatePeriod that contains two fields startDate and
    endDate.
    I understand that what I am trying to do is embed the DatePeriod object
    inside of the larger object when it get's persisted.
    I have the following metadata set-up
    <class name="CashFlow" persistence-capable-superclass="InstrumentFlow">
    <extension vendor-name="kodo" key="table" value="INSTRUMENT_FLOW"/>
    <extension vendor-name="kodo" key="pk-column" value="ID"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <field name="accrualPeriod" embedded="true"/>
    </class>
    and for my DatePeriod object
    <class name="DatePeriod">
    <extension vendor-name="kodo" key="table" value="INSTRUMENT_FLOW"/>
    <extension vendor-name="kodo" key="pk-column" value="ID"/>
    <extension vendor-name="kodo" key="lock-column" value="none"/>
    <extension vendor-name="kodo" key="class-column" value="none"/>
    <field name="startDate">
    <extension vendor-name="kodo" key="data-column" value="START_DATE"/>
    </field>
    <field name="endDate">
    <extension vendor-name="kodo" key="data-column" value="END_DATE"/>
    </field>
    </class>
    Every time I try to fetch a CashFlow object I get an error as KODO is
    trying to select the column 'ACCRUALPERIODX.'
    What am I doing wrong? Do I need to use a custom field mapping? If so
    where is the documentation to help me write a custom field mapping?
    A second question would be what happens if the DatePeriod object is used
    in a couple of places, I don't want to tie it's persistence to the
    INSTRUMENT_FLOW table.
    All help gratefully received
    Cheers
    Matt

    As you suspect, Kodo 2.x does not support embedded class mappings. Kodo
    3.0 will support embedded mappings.
    In the meantime, you can create a custom mapping, but unfortunately our
    documentation for custom mappings is lacking right now. Given how simple
    your DatePeriod object is, you're probably better off with something
    simpler (and as a bonus, less bound to Kodo):
    Just make your DatePeriod class and the field that holds the DatePeriod
    instance non-persistent. In the class that has the (now non-persistent)
    DatePeriod field, add two new persistent fields for the startDate and
    endDate. Then just use internal logic to construct the DatePeriod from
    the startDate and endDate. You can do this using the
    javax.jdo.InstanceCallbacks methods, or just do the logic in your setter
    and getter methods for the DatePeriod.

  • Hiding Customized fields through Config - T88M

    Hi,
    My system parameter is : ECC 6.0.
    As per requirement in my project, I have customized IT7 and added a new field - Annual Time . I am populating that field by default using some logic which wrote in the PBO of the newly created module pool and everything is working fine !!
    Query :
    Business wants this field to be displayed only for Ausy employees and not for Indonesian employees AND they want this to be done through config only. How can I do that ?
    What I have tried :
    I can very well go to the PBO and hide this screen reading the WERKS from PA1 for that employee but this is not what is reqd.
    They require to hide this using Infotype screen modification.
    When I go to SM30 and maintain the Infotype screen modification view : V_T88M and give the newly created module pool name : ZMPA0007 ...it doesnt list down the new;y created fields in this screen !! :-s
    So my query is - Is T88M can Only be used to hude standard fields and Not custom fields ?? If it can be used for custom fields also, please let me know how can I see my field there in the list ??
    Note : After creating the new field in PM01, I have assigned it to the standard MP00007 screen 2000. So now for all employees this std screen is getting displayed and also my little field at the end.
    I tried to modify the feature for this std screen and then I tried to create a new variable based on WERKS and assign some other screen 3000 for all employees and 2000 only for Indonesian employees, but it is not working ... at all the times the screen 2000 with my newly added field is getting displayed.
    What am I doing wrong or what do I need to do extra ?? or is it not possible to hide custom fields through Config I have to do it using coding only ??
    Experts, please put some light !!
    Many Thanks,
    Cheers.

    Hi Sourav,
    In table T588M create two entries for MP000700 with different variable key say according to the molga of the country one aus(xx) and other bagladesh(yy).
    Now make the field visible/invisible depending on the country req.
    Now go inside the entry, click on feature and give feature name as P0007. Now change the feature according and return the variable key what you assigned to the module pool.
    Take the help of functional people to change the feature.
    Br/Manas

  • Custom field MM17

    Hello, I need some help here to use a custom field in MM17 (mass changes).
    We've created field ZZPRLIVR in table MARC. This field is available in MM17 as a selection field but it's not available to be changed.
    In SM30 we can change table MASSFLDLST and we see the field but the change is not made in MARC-ZZPRLIVR.
    What else need to be done in ordre to do a mass change?
    Thank you!
    Luc

    Please follow instructions listed in OSS note 576160 for this.  You have to implement a BAdI.
    Also review OSS note 44410.

  • Problem with the custom field - enabling

    hi,
    i am using one customer field in the shopping card header , and using BBP_DOC_CHECK_BADI to issue an error message if this field is left empty.
    but the problem comes after the error message is issues , this field becomes disabled , and the user has to go back , and again come to the order screen to enter the value and order the cart.
    i have tried all possible options , to keep the customer field enabled , but not able to do so.
    have you got any inputs for me..
    Edited by: khan voyalpad usman on Aug 21, 2008 12:29 PM

    Hi,
    Have you checked the BBP_CUF_BADI_2 implementation in your system ??
    May be some logic there is disabling the customer field right after the error message is generated..
    Thanks,
    Pradeep

  • Remove custom field instead of default text field

    I need  migrate to SharePint 2013 from 2007.
    In SharePoint 2007 List include a custom field.
    Dont use the custom field again,
    I want remove custom field instead of default text field (remain metadata).
    How to do it ?
    Thanks

    Hi ,
    According to your description, my understanding is that you want to migrate SharePoint from 2007 to 2013 with managed metadata column. Is it right?
    If you need to migrate managed metadata columns, you also need to migrate the Managed Metadata Service application. however, when you use this method, only global terms are available but the local terms  are not available.
    So, if you used the local terms for the managed metadata column, I suggest you use a third party tool or manually re-create the column in the destination list.
    There are some articles about migrating managed columns, please take a look at:
    http://sharepointconnoisseur.blogspot.jp/2012/06/migrate-sharepoint-2010-content-with.html
    http://www.metalogix.com/help/Content%20Matrix%20Console/SharePoint%20Edition/002_HowTo/003_MigrationActions/011_CopyTaxonomy.htm
    http://www.quest.com/tv/All-Videos/1749994742001/Migrating-to-SharePoint-Managed-Metadata-Columns-with-Migration-Suite-for-SharePoint/Video/
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • ESS Leave Request - Customer fields default function not working

    Hi,
    a. SAP version being discussed
    SAP ECC6.0
    EP7.0
    ESS/MSS
    b. Here is the scenario
    1. We are using ESS Leave Request application for employees to request leave. We are using the standard web dynpro java leave request application delivered by SAP.
    2. Lately there has been a need to provide a customer field on the request form which will have a calculated value showing up when the employee opens the request
    3.We used one customer field called customer01 as per configuration steps.
    4. This field appears on the request form when it is opened.
    5. Our need is to display a value in that field when the form is opened.
    6. SAP/s documentation states that we can use BADI PT_ABS_ARQ to default a value to this field on the form. This value is calculated during runtime dynamically.
    7. We have used the method IF_EX_PT_ABS_REQ~SIMULATE_VIA_BLOP for this purpose
    8. After activating and coding this implementation, the system does not default anything on the request form when it is opened up.
    9. Once the employee hits the review button, this field gets its defaulted value but this is not what we want. We want the system to display this when the form is OPENED, that means at the prepare stage. For this field to appear after hitting the review button is meaningless as the employee needs to make a decision based on the value in this field before hitting the review button.
    It almost seems like this BADI is called when the review button is hit and not when the form is opened up. We may be wrong and missing something obvious which one of you can immediately point out, Hence this post.
    10. I did go thru the forum at great length and seen that there has been discusion surrounding the need to populate R3 from a value entered into this field. My problem is different wherein, I wish to populate this upfront as display information when the form is opened and then send it back to R3, once the employee submits the request.
    Would be grateful if anybody on this forum could point me in the right direction.
    Thank you,
    Rajesh

    Please, can I take this question a little further.
    Is it possible to add more fields to the leave request form on the ESS portal. For example, our customer wants additional fields like reason for leave, contact residential and telephone number during leave, Require leave entitlements (Yes/No).
    Would appreciate if a reply can be given on if it is possible or not and what to be done if it is possible.
    Cheers

  • Extract Custom Fields to BW

    Hello SDN,
    we have exteded the Opportunity through Transaction EEWB with Custom Fields. There are stored in the DB Table CRMD_CUSTOMER_H. Now we have the requirement to use this custom fields in our Business Warehouse. Can somebody tell me how we extend the Extractors? I think the BW Extractor is 0CRM_OPPT_H.
    Regards
    Gregor

    Gregor,
    You will need to use the BADI, CRM_BWA_MFLOW to populate the datasource.  You will then need to enhance the actual data source structure with your new fields.
    You will need to configure the data source to "use" the fields on the structure via RSA6.
    The following code shows some of the coding examples for using the BADI.  However SAP provides a sample implementation that you can use to get started(*which I did *)
    * define Structures.
      DATA:
    *      Define internal table for the extract structure.
    *      The type of the Structure is visible in transaction RSA6.
    *      Also the enhancement of the extract structure will be done
    *      with transaction rsa6.
    data:
        LT_DATA TYPE TABLE OF CRMT_BW_COMPLAINTS_I,
        WA_DATA LIKE LINE OF LT_DATA .
    FIELD-SYMBOLS:
        <ls_data> LIKE LINE OF lt_data.
    CASE I_DATASOURCE.
        WHEN '0CRM_COMPLAINTS_I'.
          LT_DATA[] = CT_DATA[].
          REFRESH CT_DATA.
          LOOP at LT_DATA ASSIGNING <ls_data>.
    * change the data you need here
    * endchange
           move-corresponding ls_customer_h_wrk to <ls_data>.
          ENDLOOP.
          CT_DATA = LT_DATA[].
        when others.
      endcase.
    Now on BW you have to perform some additional work, which I did not perform here.  If someone else has the BW configuration steps, they can post this and we should have a fairly complete solution.
    Good luck,
    Stephen

Maybe you are looking for

  • Credit card charged and no credits

    Hi , my credit card keeps getting charged every month and no credits are showing up in my Skype account. This is the second month in a row this has happened ! Can someone please tell me where where I can personally SPEAK to someone and sort this issu

  • ORA-01110,ORA-01114,ORA-27063 error

    I am running oracle 10.2.0.1.0 on Solaris 10 OS on Sparc machine. My oracle server often goes shutdown when i am performing the update operation on different tables. I could not understand the reason for its shutdown. According to log file, error occ

  • How to delete a random set of indizes from an array as fast as possible?

    Hello, My question sounds a bit like this thread but it isn't...    :-( http://forums.ni.com/ni/board/message?board.id=170​&message.id=129888&query.id=10689#M129888 When sampling position/force/resistance data I use a time triggered sampling approach

  • 10.7.3 does not boot with 10.7 USB

    Hi all, it seems I am in trouble. Clear Crystal killed my 10.7.3 Macbook Air and i need to reinstall Lion. Unfortunately my flash drive with 10.7 installer from App store is not working anymore. There was no change on the flash drive and worked. Does

  • 0ra 12560:tns adaptor protocol error

    Hi Frenz I m New to oracle 10g when i insatlled 10g at that tym i created a database from DBCA n it is working fine... but now if i am creating a database from DBCA it is giving me ora 12560: TNS adaptor protocol error but Listener on machine is up n