Update custom field in VA01/VA02 after message V1152

Hi experts,
The consultant wants the following issue:
Whenever a sales order is saved, if the error V1152 raises, I new field in additional Tab B must be filled. I knwo where this error raises but not how to check this error in user exit SAVE_DOCUMENT o SAVE_DOCUMENT_PREPARE in order to update that field
Any suggestion pleade ??
tanks in advance!!
María

Hello Maria,
This message can be suppressed by the functional settings in OVA8.
Goto T.code OVA8 --> select the entry applicable for you ---> click on display icon.
A new screen would appear like below.
You can either uncheck the Dynamic credit checkbox or change the reaction to <blank> or anything in F4 help.
You can also create a routine and assign it under document controlling --> No credit check.
Do a F4 help in that routine field and refer to the standard routine "001" available in system to get some idea on how to use routines.
Regards,
Thanga

Similar Messages

  • Add custome field in VA01/VA02/VA03 without access key

    Hi,
    I need to add some custom fields in VA01/VA02/VA03 screen at item level. But i am unable to find out any screen exit/BADI  for the same.
    Can anyone tell me plz how i can achieve this without using access key.
    Thanks in advance.

    hello,
    you could try using GuiXt. With this adds on you could add: fields, button, input parameters, change standard screens layout etc.
    read this tutorial http://www.synactive.com/tutor_e/lesson00.html for the start.
    br,
    dez_

  • Creating customer fields in VA01/Va02 transaction in additonal tab 2

    hi,
        I have to create Customer fields in the item level to va01 / va02 transaction in additional tab 2 subscreen.
    Include MV45AFZZ is used for validation. help needed for adding customer fields. thanks in advance.

    The program SAPMV45A screen 8309 is the Additional Data B tab provided by SAP to add your custom fields . In order to capture the data from your custom fields you can use the user exit MV45AFZZ, USEREXIT_SAVE_DOCUMENT_PREPARE OR
    USEREXIT_SAVE_DOCUMENT depening on your functionality.
    You need to append the fields in VBAP. Then use the screen painter to add the fields in the screen.
    Thanks
    Vinod

  • Updating Custom Field on Shopping Cart after PO is Ordered in SRM

    After a PO is approved or rejected in SRM's UWL, the customer requires that a custom field on the related Shopping Cart gets updated with 'approved' or 'rejected'.
    I know that the save badi, BBP_DOC_SAVE_BADI, gets hit after approval/rejection of POs. We currently are using the function module BBP_PD_SC_UPDATE in the doc save badi to update this custom field.
    Is there anywhere else we could update the SHC? We don't think this solution is the best. Does SRM have any standard SHC update process after a follow on document is updated that we could put an enhancement in?
    Thanks!!

    The BADI BBP_CREATE_BE_PO_NEW gets executed after approval as well. It is part of the PO creation process and allows you to modify the PO document before it is finalized.
    Hope this helps.

  • Extending sales order change BAPI and updating custom fields

    Hi
    i added 3 new fields into VA01/02/03 screen.i added at the header level in the additional data tab B area and appended them in VBAK table.
    i want to change these values using sales order change BAPI.i added the fields in the structure VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX.
    may i know what else i need to do?should i move them anywhere with in the code or does the bapi take those values automatically using EXTENSIONIN structure?
    also can some one send me code to actually check if bapi is changing my values?
    if poss tell me how should i populate values into BAPI.

    After adding field in structures VBAKKOZ,VBAKKOZX,BAPE_VBAK,BAPE_VBAKX, create pair of name-value pair extensiot structure and value.
    Fill values as follows :
    Data :   ls_parex  TYPE  bapiparex,
                lt_parex  TYPE STANDARD TABLE OF  bapiparex.
    ls_parex-structure = 'BAPE_VBAK'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(XX) = somevalue.  <---- Value for custom field no 1
    ls_parex-valuepart1+XX(XX) = somevalue.  <---- Value for custom field no 2
    APPEND ls_parex TO lt_parex  .
    clear ls_parex.
    ls_parex-structure = 'BAPE_VBAKX'.
    ls_parex-valuepart1+0(10) = Sales order no
    ls_parex-valuepart1+10(1) = 'X'. <--- checkbox mark for custom field no 1
    ls_parex-valuepart1+11(1) = 'X'. <--- checkbox mark for custom field no 2
    APPEND ls_parex TO lt_parex.
    Same pair for VBAKKOZ & VBAKKOZX
    Updating custom fields
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = Sales order number
          order_header_inx = 'U'   <--- U for update
        TABLES
          extensionin      = lt_parex[].
    Edited by: nkarwa on Oct 25, 2010 12:39 PM

  • Update Custom fields in MSEG in MIGO through MB_MIGO_BADI

    Hi All,
    I have to update my custom fields in MSEG table after getting them from user in MIGO transaction. I am using BADI--> MB_MIGO_BADI for this. There is method called POST_DOCUMENT in BADI but it is having MSEG as importing parameter. Also, How can i send my custom fields to BADI. If some how I send them how to update MSEG through this BADI.
    Please help me out in this. This is urgent.
    Thanks,
    Ravi

    Hi Ravi,
        I have the same issue . So can you please help me on the same.
        Through the BADI : MB_MIGO_BADI~POST_DOCUMENT method I have to update a customer field named zznotno.
           Added By Kamal on 21/07/2010 Ticket No 8000003778 ***
      DATA : lt_goitem TYPE TABLE OF goitem,
             wa_goitem LIKE LINE OF lt_goitem. .
      FIELD-SYMBOLS: <mseg> TYPE mseg,
                     <fs>   TYPE ANY.
      IMPORT lt_goitem TO lt_goitem FROM MEMORY ID 'GT_GOITEM'.
      LOOP AT it_mseg ASSIGNING  <mseg>.
        IF <mseg>-bwart = '415' OR
           <mseg>-bwart = '301'.
          IF <mseg>-sobkz = 'Q'.
            READ TABLE lt_goitem INTO wa_goitem WITH KEY zeile = <mseg>-zeile.
            IF sy-subrc IS INITIAL.
              wa_mseg-zznotno = <mseg>-zznotno.       <<<<<<<<<
              ASSIGN ('(SAPLMIGO)mseg') TO <fs>.
              MOVE wa_mseg-zznotno TO <fs>-zznotno .
             MODIFY it_mseg FROM wa_mseg TRANSPORTING zznotno.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    End Addition By Kamal on 21/07/2010 Ticket No 8000003778 ***
    Thanks and regards
    kamal kumar

  • Updating custom fields in BSEG table

    Hi Experts,
    I searched through SDN but did not find satisfactory answer to my problem.
    The scenario is that FIDCC2 Idoc is coming to SAP system. This Idoc has extended to include few custom fields. These fields need to be updated in table BSEG. Table BSEG also contains these custom fields. However, the Idoc processing routine is not updating custom fields in table BSEG with the data coming in Idoc. How can I do that?
    Thanks in advance,
    Netrey

    This message is processed by function module IDOC_INPUT_FIDCC2. If you drill down into the code a little bit, you should be able to find BTE/open FI or user exit calls (CALL CUSTOMER-FUNCTION) before the document is being posted.
    I found two that are using the ACCIT structure for passing the line items, which should contain your customer fields as well, if they were added to BSEG properly (via transaction OXK3).
    Please have a look.
    Thomas

  • How Update Custom fields for EABL DB table by using BAPI_MTRREADDOC_UPLOAD

    Hi friends,
    How can I Update Custom fields for EABL DB table by using BAPI_MTRREADDOC_UPLOAD
    for the parameter EXTENSIONIN of type BAPIPAREX
    I am passing the Structure as BAPI_TE_EABL
    in that structure MRIDNUMBER as EABL-ABLBELNR field value
    ZMESSAGE some text of 30 char and
    ZSKIPC of 2 char
    but I am not able to update that data for the MRIDNUMBER (ABLBELNR ) in DB table EABL
    I am getting RETURN Structure message type E
    as
    "Upload interim entries: Maintain one table only"
    Can any one provide me solution
    Thanks in Advance
    Ganesh

    Hi,
    Refer the following SAP notes.
    1. Note 485557 - BAPI_REQUISITION_CREATE: 'EXTENSIONIN' customer enhancements
    2. Note 584902 - BAPI_REQUISITION_CHANGE: ExtensionIn not connected
    3. Note 792132 - EBAN, EBKN: user-defined fields are not filled
    Regards,
    Harish

  • Need to update custom fields in MSEG table using "BAPI_GOODSMVT_CREATE"

    Hi All,
    There is a requirement to update custom fields in table MSEG which are part of append structure. There is a option to update the custom fields using the one of the tables parameters "EXTENSIONIN". Anyone please advice how can I update the custom field thru EXTENSIONIN.
    Thanks in advance.
    cheers,
    Vijay

    see the help
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/4099948b8911d396b70004ac96334b/frameset.htm
    Regards
    Kiran Sure

  • Adding custom  fields in va01

    Hi  Experts,
    I have an requirement to add custom fields in VA01 at the header level(screen area where sold-to-party,
    ship-party,Etc shown). These custom are already available in the screen va01->goto ->header->additonal functions->
    additionl data B. I need to bring these fields in initial screen of VA01 based on order type.
    Is ther any user-exit to do this or Should I do the repair for it
    I appreicate your suggestions
    Thanks ,
    Santhosh

    hi,
    First find the program name of VA01
    then the package of the program of VA01
    the goto-. se84->click on enhancement button ->customer Exit->enhancements->give package name and execute
    now find all the Exit in this transaction
    hope this helps
    Regards
    Ritesh

  • BAPI_EQUI_CREATE  to update custom fields.

    Is it possible to update custom fields in  Equipment master (EQUI table) using FM 'BAPI_EQUI_CREATE '? If yes, pls let me know which structure needs to updated.
    Thanks,
    Deepa

    I would think that just the name would be a key indicator.....CREATE but you want to Update....Why wouldn't you use BAPI_EQUI_CHANGE to update existing equipment records.  I would expect to have to extend the BAPI to handle the new fields.

  • 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.

  • Updating custom fields in DFKKOP when returning a refund

    Hi all,
    I am looking for an event to update custom fields on DFKKOP on the item level when returning a refund in PSCD. So far I have tried using events 290, 295. I know that somewhere the clearing document(AUGBL) is cleared. Haven't as yet found out where.
    Kind regards,
    Ameeta
    Moderator note:  Duplicate postings in several forums is a violation of the rules of engagement.  Please use this thread for responses Updating custom fields in DFKKOP during refunds retunrs
    Edited by: William Eastman on Mar 9, 2010 2:51 PM

    Hi all,
    I am looking for an event to update custom fields on DFKKOP on the item level when returning a refund in PSCD. So far I have tried using events 290, 295. I know that somewhere the clearing document(AUGBL) is cleared. Haven't as yet found out where.
    Kind regards,
    Ameeta
    Moderator note:  Duplicate postings in several forums is a violation of the rules of engagement.  Please use this thread for responses Updating custom fields in DFKKOP during refunds retunrs
    Edited by: William Eastman on Mar 9, 2010 2:51 PM

  • Problem with validating a field in VA01/VA02

    Hi,
    I was required to add validation for Material Group 3 (VBAP-MVGR3) in 'Additional Data A' tab (VA01/VA02). The corresponding screen number in 4459. In the PAI section, there is a module called 'vbap_bearbeiten'. In this module, there is an enhancement point called 'VBAP_BEARBEITEN_10 '. I created an implementation of this enhancement point to call a validation subroutine which i put in user exit MV45AFZZ. My problem is whenever a wrong entry is entered for that field, the whole screen in the 'Additional Data A' tab turned grey and disabled for user entry. Re-entry for the correct Material Group 3 is not allowed.
    Initially, i used a different approach. I made a core change to screen 4459 by adding a statement like below in the PAI section :-
    FIELD vbap-mvgr3 MODULE zsd_check_mvgr3 ON REQUEST.
    In fact, the validation worked without any issue. User was prompted for an error message and then was allowed to re-enter a correct entry for that field if a wrong entry was entered initially. However, since this approach involved a core change, it was not allowed by my superior and he demands for using the enhancement framework approach.
    Kindly please let me know if you have any idea of resolving this issue. Thanks much in advance.

    Hi guys, thanks much for your feedback.
    I tried to call my validation subroutine from USEREXIT_CHECK_VBAP (MV45AFZB). However, it did not work as well. Although the validation subroutine was successfully called in USEREXIT_CHECK_VBAP and error message dialog box was shown if entry was not correct, but when i clicked on the dialog box / pressed the 'enter' key, the 'Material Group 3' field was not opened for re-editing (it was still shown in grey and disallowed for user entry). In fact, through debugging, i found that USEREXIT_CHECK_VBAP was called again (after i pressed the 'enter' key) and it caused the program to enter an infinite loop.
    On the other hand, i also tried to use USEREXIT_MOVE_FIELD_TO_VBKD (MV45ZFZZ). Unfortunately, i also met with the same issue as described above.  Kindly please let me know if there is a way to solve this issue. Thanks.

  • Adding custom fields to VA01 additional data tab without access key

    I have to add custom fields at item level in transaction VA01/VA02.
    Is  access key required to add fields to additional data screen i.e 8459 ?
    Is there any way to do this without using access key ?

    Hi ,
    Try for any User Exit or BADI available for the tcodes.
    Here are exits for VA01 and VA02.
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    Regards,
    Lakshman.

Maybe you are looking for

  • Every time I enable the OnBoard USB, in bios, the memory check takes ages.

    yup. Every time I change the OnBoard USB to enabled in BIOS, the startup memory check takes for ages (approximately 5 minutes or so...)(the check jamms for a few numbers before it's finished, it jamms on numbers 104857 and after a little while it goe

  • External HDDs not showing up on Mac mini

    Hi there, I have an old Mac mini with several external HDs: one Drobo drive and three other drives of various sizes. All are connected to the computer via USB: two directly, and two plugged into the other drives. Recently, a couple of the drives stop

  • Third Party PO

    Hi, In Third Party PO ,What is the  flow of process after PO release ? Thanks

  • Windows 8.1 Metro and Hyper-V

    I am running Windows 8.1 Pro on my laptop. For testing purposes I have Hyper-V installed. It seems though when I have Hyper-V installed and associate a Virtual Switch to my wireless card to give internet access to guests in Hyper-V the Metro apps sto

  • Additional E-mail in contact template?

    Is there a way to give a contact more than one email address without having to make an additional contact. I have several contacts who have work and personal email and the address book doesn't seem to have an additional email field. Does any one know