Mandatory "Allocation" field in MRHR (SAP 4.0B)

Hi Guys !
I'm writting an application to post MM invoices using BDC for MRHR transaction. SAP Version 4.0B.
My problem is that for some PO items, field "Allocation" is required and for others NOT and I need to inform user (in my application) if "Allocation is mandatory or nor - before he presses "Post" button.
Problem looks like this.
I start MRHR and key in header data. "Allocation" field in header(vendor line) is optional.
When I select PO and PO item, and enter item data - MRHR takes me to to the screen (SAPMM08R/ 0200) :
"Enter invoice: Document overview in USD".
When I press simulate, I got the message "Required entry not made" and I'm taken to screen (SAPMM08R/ 0120)
"Enter Invoice: Individual Purchase Order Item" and field Allocation (BSEG-ZUONR) is highlighted.
In summary - I'm looking for a setting/configuration transaction - where "Allocation" field is defined as "mandatory"
I suspect it is related to "Account assignment category" (in this case - item acc. assingn. cat = "P") and I've checked OME9 already. Still - I don't know where this was configured.
I tried SDH0 for MRHR (but there are no variants defined).
I tried OB28, OBA5 and OBA7 - with no success.
Do you know where this configuration is maintained?
Thanks for help in advance.
Best regards
//Tomasz

Field status definition extremely inconvenient. You have to go through a couple of tables to get what you are looking for.
Thanks for hint

Similar Messages

  • Branch Allocation Field

    Is there any way how I can suppress the branch allocation field in F110? It is a mandatory field when a thailand company code is involve but we don't want this branch allocation field. I hope there is a way that we can save our payment run for thailand without a value for the branch allocation field. Thanks!

    Hello Kay Lim,
    I assume table T042 for the Thailand Company code you mentioned has the XBPTR field filled with 'X'.
    To change it, you should go in SPRO transaction, IMG (<F5> key) and the path:
    Financial Accounting -> Accounts Receivable and Accounts Payable -> Business Transactions -> Outgoing Payments -> Automatic Outgoing Payments -> Set Up All Company Codes for Payment Transactions.
    Hope it helps you.
    Regards,
    Daniel.

  • Mandatory input field in View

    Hi All,
    Mandatory input field in group
    In my web dynpro application i have marked the input field "required" and in output it shows with red asterisks...
    In my view i have 2 group elements with different fields. I am using method *check_mandatory_attr_on_view* to get mandatory fields in view, its not returning all mandatory fields in view. its just returning mandatory fields in first group.
    Has any one faced this kind of issue before? Is there anything additional to be done?
    Thanks
    Rajesh Yadla

    Depending on which NetWeaver SPS your are,
    there are some errors in this method,
    so better use the other method (CHECK_MANDATORY_ATTRIBUTES).
    This seems to work well.
    Check also SAP Notes:
    [Note 1026272 - WDA: Mandatory check on view of multiple context nodes|https://service.sap.com/sap/support/notes/1091460]
    [Note 1091460 - WDA: CHECK_MANDATORY_ATTR_ON_VIEW checks only LeadSelection|https://service.sap.com/sap/support/notes/1026272]

  • How to get an user field in a sap form

    SBO2004
    I'm trying to get an user field in a sap form(651).
    My code is:
    Dim FrmT As SAPbouiCOM.Form
    Dim Itm As SAPbouiCOM.Item
    FrmT = GestorSAP.SBO_Application.Forms.GetForm("651", 1)
    If (Not FrmT Is Nothing) Then       
       Itm = FrmT.Items.Item("U_Project")
    End If
    Frmt is not nothing, but itm is ever nothing and gives me an exception(item not valid). If i go to sap and look at this form, with debugging info activated, i see:
    Form=651 Itm=U_Project Variable=1 OCLG,U_Project
    What am i ding wrong?

    Hi Miguel Angel.
    Try with form "-651".
    UDF form is the negative sap form.
    HTH
    Juli
    P.S:I'm not sure your code works, I never work with GetForm method, but yes with UDF form

  • How  to add custom fields to the  sap standard  program ukm_bp_display

    How  to add new custom  fields to the  sap standard  program ukm_bp_display .
    could u  please any one help me on this?

    Hello Kumar,
    You have to modify below structure, as this structure is providing the field catalog for output display (ALV).
    Here you can see there are a lot of include structures, so if you want to add fields in the output display you can add those fileds as an append structure to any of the below mentioned structures (Like ukm_s_account, ukm_s_bp_cms_sgm etc as per your requiremnt and positon at which you need to dispaly your fields.)
    DATA: BEGIN OF gt_grid_alv OCCURS 0.
           partner LIKE but000-partner,
           credit_sgmnt LIKE ukmbp_cms_sgm-credit_sgmnt.
            INCLUDE STRUCTURE ukm_s_account.
            INCLUDE STRUCTURE ukm_s_bp_cms_sgm.
    DATA:   credit_sgmnt_txt LIKE ukmcred_sgm0t-credit_sgmnt_txt.
          Gruppe Vector
            INCLUDE STRUCTURE ukm_s_bp_vector.
          Gruppe OBL = Obligo
          include structure UKM_S_BP_CMS_MALUSDSP_OUT.
            INCLUDE STRUCTURE ukm_s_display_segment.
            INCLUDE STRUCTURE ukm_s_bp_cms.
            INCLUDE STRUCTURE bus000_dat.
    *DATA:   icon(4).
          Gruppe RAST (Raster)
    DATA:
             rast01 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast02 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast03 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast04 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast05 LIKE ukm_s_display_segment-AMOUNT_GRID,
             rast06 LIKE ukm_s_display_segment-AMOUNT_GRID.
    DATA:    rast2_6 LIKE ukm_s_display_segment-AMOUNT_GRID.
    "Summe raster 2 bis 6
    DATA:  END OF gt_grid_alv.
    Another way is you can  go  to SE38, and you can create implicit enhancements.One enhancement point is available here in this required area. so create an implementation and add your fileds with data types.This way is also simple.
    Hope this will solve yiour problems.
    Regards,
    Antony Thomas

  • Adding field in standard SAP transaction output results.

    Hi,
    I have to add a new field in standard SAP transaction output results.
    Can any one tell me what are the ways (brief explanation) that I can do this?
    If using exists - then what kind of exists I have to use? And how to find out the possibility with user exists?
    Thanks for your time.
    Thanks.
    Chris.

    Hi,
        There are so many ways to find out the user exits.
    Hi,
    To see SAP Exits -> Use Tcode SMOD
    To See create a project for Customer Exits -> Use Tcode CMOD
    There are projects to which Exits are assigned. Selects the relevant projects.
    What is User Exit:
    http://www.sap-img.com/abap/what-is-user-exits.htm
    How to find then:
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    All Exits List:
    http://www.easymarketplace.de/userexit.php
    Do a search on SAP Exits, Customer Exits, enhancements, etc
    Step 1 :- Execute transaction
    step 2 :- Click on Status Menu
    step 3 :- Double click on the program (screen) __?????___
    Step 4 :- Search source code for the 'Customer-Function' string using the find button. Remember to select 'In main program'.
    Step 5 :- A list of search results should be displayed indicating where all function exits can be found.
    You can now double click on each of them to go to its position in the source code. This also
    allows for the insertion of breakpoints so that you can test if the exits are called in the
    appropriate place.
    Step 6 :-Once you have found the Function Exit within the source code (Find Function Exit) you need to
    access the actual function module it executes. This is done using the following steps:
    Step 6.1 :-
    Step 1
    Locate desired 'Call Customer-function' statement within source code.
    Step 2
    If code is not within main program (module pool) e.g. SAP* then you will need to find this
    out by selecting 'Main Program' from the 'GOTO' menu. The Main program for transaction
    Step 3
    The actual function module name can now be calculated based on the information retrieved,
    it is defined by the following format:
    EXIT_<Program name>_<Exit number>
    eg :- 'EXIT_SAPLMR1M_004'.
    Step 7.1:-
    Once you have found the Exit function module
    Step 1
    Execute transaction CMOD
    Step 2
    Select 'SAP Enhancements' from the 'Utilities' menu.
    Step 3
    Select 'All selections' from the 'Edit' menu.
    Step 4
    Now populate the Component name field with the exit function module and press
    the execute button.
    Step 5
    A list of all Exits(Enhancements) containing that function module should now be displayed.
    Step 5
    You can now double click on the desired exit to display a detailed description of its uses and a list of all
    components contained in it.
    Implementing Function Exit
    This is required in-order to activate Function exit:
    Step 1
    The first step is to enter source code into function module in the usual way i.e. via SE37.
    There will already be an include declaration within the code with the following
    format: Include zx*.
    Double click on this to create it, source code can then be entered within here.
    Although it is good practice to create another include with this to store your
    code, this allows separation of difference enhancements allowing them to be easlity
    removed without de-activating the enhancement.
    Step 2
    Execute transaction CMOD and create new Enhancement. Enter name and press the create
    Button.
    Step 3
    The following screen should be displayed, enter short text then click on the 'Enhancement
    Step 4
    Now enter the Exit name (enhancement) which contains the desired Function Exit.
    Step 5
    Return to initial screen of CMOD and press the activate icon. The exit is now ready for use.
    Please Mark The Helfull Answers & close the thread.
    regards
    dj
    reward for all useful answers.

  • How to enter values in the fields of standard SAP Infotype e.g. IT0024

    Hi,
    How to enter values in the fields of standard SAP Infotype?
    e.g. I want to enter values in infotype IT0024(Qualifications) in the field AUSPR(Profincy):-
    1-Level 1
    2-Level 2
    3-Level 3
    4-Level 4
    5-Level 5
    Thanks,
    Ameet

    Hi Divya,
    I checked with the screen and report which is mentioned by you. But I want to modify/make changes that should appear in the screen when you view details for a particualar employee in Qualifications(IT0024).
    Please refer the screen 2000 of module pool MP002400 in SE80. In that screen I want to make change as listbox with key.
    Can it be achieved in the same way as mentioned by you before by making standard SAP report as Z and then modify using layout editor?
    Please help me out. I think I am almost there.
    Thanks,
    Ameet

  • How to add new customise field in standard SAP ME28 Report?

    Hi Anybody,
             How to add new customise field inside Standard SAP Screen report ME28?.
    Anybody, Please tell me how to do?.
    Thanks,
    Regards,
    S.Muthu.

    Hi Subramaniyam,
    You can find enhancement in me28 by following steps and then apply your logic in include of this enhancement.
    cmod>Give a project name>in enhancement column give the package name ME >f4>in package write ME-->ENTER>It will show you all enhancements available in me28> find which ever suits your requirement>save > click on components> from there you can make changes in include program.to add that particular field.

  • Adding a Z Field onto an SAP Std  Screen

    Hello Experts,
    I need to add my own Z field onto an SAP Std screen. The Z field already exist in the Append stucture of the table VBAK.
    How to do this? Will it come under a screen exit or field exit?
    May i know if i need to go for screen programming such as loop at screen..endloop. etc.
    Please explain in Tech terms(code) wih an example.
    Appreciate your response with points.
    Thanks
    Dan

    Hi
    1) Here you need only to design the dynpro using the structeu VBAK and the system'll automatically store them in VBAK table.
    Could you please tell me the dynpr prog involved?
    Use trx SE80:
    - choose program option and insert 'SAPMV45A';
    - Press display and open SCREEN node;
    - Search screen 8309, do a doubleclick and press MODIFY: now you're in screen painter.
    - To insert the input/output fields use the structure VBAK: in this way the headerline of VBAK'll automatically be filled. You need only to insert the code in screen flow (PBO and/or PAI) if you need to insert some controls;
    2) U should consider all saving are made in update task, so it should be better you create a z-function to update your z-table and call that fm in update tusk into USEREXIT_SAVE_DOCUMENT
    What is the code to do the above. Pls explian.
    If you see the user-exit USEREXIT_SAVE_DOCUMENT you can see a example:
    FORM USEREXIT_SAVE_DOCUMENT.
    * Example:
    * CALL FUNCTION 'ZZ_EXAMPLE'
    *      IN UPDATE TASK
    *      EXPORTING
    *           ZZTAB = ZZTAB.
    ENDFORM.                    "USEREXIT_SAVE_DOCUMENT
    So you have to create a your function module with importing parameters structurated like your Z-table, in this way you can transfer the record you need to update/insert. In the fm you insert all code you need to do the updating/inserting:
    FUNCTION 'ZZ_EXAMPLE'.
      MODIFY ZZTAB FROM ZZTAB.
    ENDFUNCTION.
    Max

  • Mandatory Segments / Fields for Incoming Vendor Invoice for PO

    Hello,
               I have a Requirement to develop an Inbound Interface for Incoming Vendor Invoice with Reference to a PO. If I have to build an IDoc using WE19 tool, what are the Minimum Mandatory Segments / Fields that I need to populate in order to Post the Invoice successfully for the PO? Please let me know along with the Qualifiers.
    Thank You,
    Venkata Phani Prasad K

    Managed to Find the Necessary Segments along with the Qualifiers required to Post the Incoming Invoice. Closing the Thread.

  • Change the description of a field in a SAP QUERY

    Can i change the description of a field in a SAP QUERY report in the output of the report.or only the standard descriptions can be displayed.
    Edited by: mysap query on May 12, 2009 7:23 AM

    HI,
    in query maintenance (sq01) you can change the text of the field at the selection screen (change the selection text in the screen where you choose the selection fields) and the header text in the output list (basiclist maintennace , go to "basic list header", double-click each header field to maintain the text). This change is only for the particular query. No ABAP-er required to do so.
    BR Christian

  • How to pass variable value to field of standard sap transaction.

    Hi Experts,
       i want to pass the value of variable to field of standard sap transaction. but that field is not having the parameter ID. so please tell me how i pass the value to field.
    thanks in advance.

    You might like to provide a few more details of which field and transaction you are trying to interact with... typical solutions involve user exits / BAdIs / Enhancements, or transaction variants, or building a BDC to part fill the screens of the Tcode you are calling.
    Jonathan

  • Changing the text of Text field in standard SAP transaction.

    Hi expert,
    I have a requirement in which i have to change the text of Text field in standard SAP transaction.
    Is it possible? If so, how?
    Any pointers will be highly appreciated.

    Hi,
    I think you want to change the field label of the text field.
    For ex in tcode MM01, you can change the field label of Material text field.
    The description of the field label comes from the data element it is associated with. To change the text of the field label, you have to change the field label of the data element.
    But it will effect all the fields associated with this data element.
    To change the field label of the data element go to tcode CMOD. Then click on GOTO->TEXT ELEMENTS->KEYWORDS->CHANGE.
    Then enter the data element which is to be changed. In the next screen, change the field label and save it.
    Regards,
    Vinod

  • To change name of output field hearder in SAP Standered report.

    Dear All,
    Is there any options to change the  name of output field hearder in SAP Standered report.
    Regards,
    Pankaj Vashista

    answered

  • Adding Custom fields to standard  SAP-EBP application

    Hi,
    A functionality requires some custom fields to be added to the standard SAP-SRM EBP ( Manage business partners) application.
    If I copy the whole BBP_VENDOR_CREATE program into a Z-program, and the BBPMAININT internet service to a Z-application, then would it be feasible??
    Which is the best way to add custom fields in a SAP standard EBP application--in the 'Manage business partners' section.
    Regards,
    Goutam

    Hi
    I don't think it's easily possible to add custom fields to the existing transaction - BBPMAININT.
    For adding customer fields you can refer the SAP OSS not - 672960, but I don't think it will be of much help here.
    <b>Since SAP has not upgraded this transaction - BBPMAININT for a quite long time, you need to do all the logic and validation from your end.</b>
    <u>Better to go for you own Z (custom program) and make your logic accordingly.</u>
    Regards
    - Atul

Maybe you are looking for

  • Problm download excel from ALV

    Hi Experts,          I am facing a problem when downloading data from alv into a excel file. all the datas written in english are coming correctly but the japaneese or other chars are replaced by '#'. I am using FM 'GUI_DOWNLOAD'. How can I solve the

  • SQL migration scripts for MS SQL and Oracle when leaving Pointbase

    We have created a project that has some data in pointbase that is Portal related and need to migrate that information to MS SQL. Has anyone written or know of migration scripts that would move the data? Thanks in advance. Sincerely, Eric Ballou

  • SAP Forums (Jive) and TREX 7.1 search for content in attachements

    Hi I'm trying to find out if and how its possible to set TREX 7.1 up to index content and attachments in Jive forums. I've found a statement saying that portal search dosent work for Forums (EP-COL-APP-FOR). Does anybody know if this can be done and

  • Error in loan processing

    Experts, Getting the error while processing a loan type Error during cumulation  No entry found in the table                  T512W  Key       40 1LOP 20090430 I could not find the table,Please let us know

  • ITunes shows my iPod Shuffle as windows formated after reformating to mac

    iTunes on my Dual G4 MDD system still shows my iPod shuffle as windows formated after reformating it with disk utility. iTunes on my 12 inch PowerBook & ancient iBook both show this same iPod Shuffle as mac formated. All machines are running Tiger 10