BP grouping field validation in BP Transaction

Hi,
  I have a requirement of validating  BP grouping based on the BP Type entered by the user during partner creation. I am trying to do this by creating a custom FM and attaching it in BUS7 transaction for event DCHCK.  However I am unable to fetch the data ( the new partner role and group ) entered by the user in the custom FM. I tried using the FM BUP_BUPA_MEMORY_GET_ALL and BUPA_GENERAL_CALLBACK. These are not returning any values.
Any help would be greatly appreciated guys...
Regards,
Madhavi

Hello
go to tcode se18
type the badi I wrote before.
INVOICE_UPDATE
go to implementation->create ZINVOICE_UPDATE
Give a description ....
Click on interface.....and double click on CHANGE_BEFORE_UPDATE.
This will activate the method. Put a break point.....save and activate.
Execute the tcode miro and check if it stops at the time needed.
Bye,
dont forget to reward!!!
Gabriel

Similar Messages

  • Making material group field in ME22n transaction as Input Enabled

    Hi,
    I have a requirement in my project, where I need to make the material group field as Input Enabled.
    The reason for this being, that after a PO is created, the user might change the material group of the material(using MM02). The new material group must reflect in the already created PO's.
    I have searched and gone through the previous threads, which say that it is impossible for new material group to be reflected in the already created PO.
    But we can make it as input enabled field, instead of changing the material group, so that user can MANUALLY change it.
    I searched and found out that material group cannot be made as Input Enabled field using SPRO settings.
    Also there is no BADI or user exit where we can code for it an make it as input enabled.
    But there is some internal enhancment point, in the SAP source code, where we can go and do the coding for it. I am sure about it because I have seen such a scenario earlier also.
    Can someone help me in finding out the particulare enhancement point where we can code for our field to become Input Enabled?
    Thanks in advance.
    Ramesh Singh

    Not possible - if it is SAP standard field.
    Regards,
    Subramanian V.

  • InfoPath - Populating People/Group field works on Create, but not on Edit

    Hi- I have a scenario where there are a few data connections hooked up to a primary form. One of those data connections is connected to an assignment list. It consists of 3 columns (Warehouse(Text), Primary
    User(People/Group), Secondary User(People/Group). This list is meant to be a dynamic source that my main form uses to determine assignments. I have a button that pulls in the data from that list onto my form. I am assigning the DisplayName to my DisplayName,
    the Account ID to my AccountID and the AccountType to My AccountType. This works just fine when I go to create an item--> all values populate correctly, I can save my form with all of the newly brought in values.
    For some reason, every time I open the form after that and try to use the same button, the query runs as normal, but my people/group fields do not populate - assuming they are not already populated. I
    have validated that the rules are running and they are running with the values I want (I have written the values from the people/group fields to text fields and they appear to be correct).
    I did look at the SP logs and it gave me this: Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32
    value).The StateManager is disposing and calling ReleaseLockedStates() (Count=0).
    Any thoughts? I have not gotten any errors when interacting with the form. I had to pull this from the ULS logs.
     Thanks, Jesse
    Jesse A. Brandenburg

    The rules go as following:
    1) Switch Views to a more specific view (less fields showing)
    2) Query Data Connection for assignments
    3-12) Set primary contacts
    This looks at my assignment list and based on the location sets the display name, account id and account type on
    my form, based on what exists on the other list
    *I have the same thing happening for 10 fields based on location.  I am using a filter for each one to identify the correct location populates that person field.  
    13) I am setting a field to true that identifies that the rule was just run with a sign and date of username.
    I have verified that the values are trying to be populated by looking at bothe the default values of the display name, account id, and account type of my people picker fields, however they are not showing anything within the picker itself.  Additionally
    I have a view that shows my assignments data connection that is populated correctly.  
    Thanks for your response - 
    Jesse
    Jesse A. Brandenburg

  • Sales Group field should come in to S_ALR_87012178 AR report

    Hi,
    1.Is it possible to bring the *Sales Group field from billing document to S_ALR_87012178 AR report. Actually we have pulled Sales group field from billing document to FBL5N report.But client dont want that.He wants Sales group field in S_ALR_87012178 report.please help me whether it is possible or not.
    2. Is there any report in SD module which will show the sales group wise report.
    Please help me...
    Thanks
    Suvarna

    Hi,
    You can go to F.99 in order to see all the reports for Customers.
    Hope you will find the best suitable report.
    When you are using "Drill down reports" do not forget to select
    "Object list (more than one lead column)" this would give you a option to sort them the line items as you want.
    Just for your information: SAP1 is the transaction code for all the reports in SAP.
    Regards,
    Ravi

  • G/L Account Group field in FI

    HI all,
    I need a report based on the G/L account group from ECC. in BI. I have searched all the datasources in FI like AR ,AP and GL ,but couldn't find the datasource which has G/L account group field.
    Actually my requirement is I need to pick some specific G/L accounts based on G/L account groups.I found the G/L accounts and chart of accounts but not the G/L account group.
    Thx

    Hi Srikanth,
    Thanks for reply,
    You  are right we need to load hierarchy for G/L then we can see all the G/L's for all G/L groups.
    I have one more question when I check in RSA3 for the G/L account numbers, I could not find them.
    I am using the datasource fi_gl_4 and in rsa3 I can see 1000 records data and when I put filter on G/L account and search for the G/L number I needed I cant see it, but it is there in the functional transaction(f.01)?
    How to check for the required G/L's in rsa3 ?
    Thx

  • FB03 display restrictions by using corporate group field of Vendor master

    We had new requirement for the FB03 Transaction display.
    1>     In vendor master data we are assigning the Secure and non-secure for the corporate account group field. Based on the Secure and non-secure, we have to restrict the FB03 transaction display.
    2>     If itu2019s secure vendor, then no one should have authorization to display the documents belongs to these vendors of any transactions (Fb03 or FBL1N).
    So based on this criteria we need to restrict the display for FB03 transaction.
    thanks and regards
    Prathap

    Hello Pratap
    Please seek help from your SAP BASIS
    How it works is
    1. You have a T code
    2. You see which roles use it
    3.  Then accordingly you can tag that role to the User
    4. Moreover when basis works they check in SUIM t code as to which roles the T code is tagged to and then they go ahead and assign the same to the user
    5. There is another t code PFCG where they create z roles as well since standard roles are not used by them. And in this t code the authorisation objects are handled as well and profiles and roles are created. This is then tagged to a user.
    6. then this authorisation is visible in SU01 in the user
    Thanks and Regards

  • PURCHASING GROUP FIELD IN THE CREATE PURCHASE ORDER SCREEN

    Hi Guys,
                    I am facing a special kind of problem while creating a Purchase Order.
    Once I type the T-Code ME21N and press the Enter Key, the Screen for creating the Purchase Order opens. But, the thing is that, the Purchasing Group Field is not displayed under the Org. Data Tab at the Header Level of the Purchase Order Screen ME21N. Only, Purchasing Organization and Company Code are displayed.
    But, when you try with ME22N and ME23N, this problem is not there.
    I think, this problem has started from yesterday afternoon.
    I checked some of the Settings. But, I could not make out the actual problem.
    This problem I am facing in IDES Server.
    But, it is fine with the Clients' Servers.
    Please guide me in resolving this issue.
    Waiting for the fast and positive response.
    Thanks in advance.
    Thanks & Regards,
    Srinivasa M.S
    +91-9910077829

    Hi,
    Follow the steps
    1. Go to "Personal Setting" Tab in PO
    2. Select "Default Values" menu
    3. In the PO Header section Select the Default Purchasing Group e.g. 000 initial
    Remember if the Purchasing group field is blank here then the Purchasing Group field will not appear in me21n transaction instead it will appear after you put relevant details like Material number and Plant. The purchasing group field is defaulted from Purchase Info record in such case. But you can always change it
    Regards,
    Niranjan

  • Field validations in HTMLB.

    Hi All,
    We have  a few issues regarding field validations in HTMLB:
    1)We have an editable cell in a tableView of the form.Field validation is done , but we are unable to set the FOCUS on this field aftert displaying the error message.we tried using PHTMLB element focusRect but it dosent works.
    2)Thers a radio button group with three radio buttons.How to make selection of a radio button mandatory , similarly how to make selection from a DDLB mandatory in the form?
    I guess using java script will be benificial as it prevents server round trips....
    Thanks in advance,
    Anubhav.

    Hi ,
    Field validations for DDLBs is done , but i didnt find accurate solution for Radio Button Group...
    1)How to check that at least one radio button is selected from the radio button group?
    2)How to set focus on DDLB after alert message?
    I tried using
    dacument.form.elementID.focus( );
    But it gives a java script error
    Function not suppoeted for the element.
    3)How to stop form from submiting after the laert message?
    I tried using
    return false();
    after the message , it works but the IE shows the message
    Done but with errors on page
    after the OnClientClick is triggered.
    and if i use
    return false;
    , the form is submited....
    Thanks,
    Anubhav.

  • ME22N: Default value of address group field when searching for an address

    Hi,
    ME22N -->  in the «Item» section --> «Delivery address» tab --> «Address» field --> «Adress group» field
    Which transaction in SPRO allows me to set the default value for «Adress group» ?
    Thanks a lot for your help.
    Julien

    The MM Super user realized during a traning with a new employee that this user did not had the default address group ME01 while trying to enter a delivery address in the Purchase Order. So when this user searches for a delivery address, he has to to through ALL the delivery addresses, and not only the adresses included in address group ME01. (This can lead to delivery problems if the user doe snot enter the right address)
    We have SAP R/3 Enterprise 4.7, with SP: SAPKB62065 (Basis), SAPKA62065 (Cross-application), SAPKH47031 (Logistics and accounting), SAPKE47087 (HR).
    Thanks a lot for your help.
    Julien

  • Authorization restriction for material group field in MM02 for user role

    Dear All,
                 My client wants to restrict 'material group' field usage in MM02 for certain users.
                 How to achieve this task?
                 Kindly advice
    Thanks &Regards
    Thangavel Ganesh

    Hi all ,
    You can use authorization object advised by AKPT MM. For related transactions , you can benefit from MM Related Authorization Objects - How to Find out & Assign , thanks to Sudeep A
    Regards.
    M.Ozgur Unal

  • Hiding sales office and sales group fields in VA01

    Hi all,
            I want to hide sales office and sales group fields in VA01 initial screen. How can i do it?
    When i enter VA01 Tcode it should ask for Order Type, Sales Organization, Distribution Channel and
    Division only.
    Thanks in Advance,
    Kiran.

    Create  a transaction variant for the sales order T.code VA01
    using the T.Code:SHD0.
    For further steps chk the following thread:
    https://forums.sdn.sap.com/click.jspa?searchID=13577625&messageID=5413014
    Regards
    AK

  • F.30 Grouping field and RFDRRANZ enhancement

    Hi All,
    I need to use field KUKLA as the grouping criteria for Evaluations with transaction F.30, can you suggest were in program RFDRRANZ do you have to make an enhacement to consider the grouping according to the KUKLA field?
    Thanks for your help.

    Dear,
    Please check whether there is field value existed in BSEG-XREF1/XREF2 in table BSEG for doc.posted from FB01 via T-cd:SE16.
    if there is value existed, then it should be displayed in the Open line items displayed screen in F-30 if
    there is XREF1/XREF2/XREf3 field existed in the layout. if there is not  XREF1/XREF2 existed in the layout, you could select them from table control( in the right -top side of Open line items displayed screen, there is a button), make them available.
    If there is not value existed BSEG-XREF1/XREF2 in doc.posted in FB01, then no value will be displayed in F-30 as well.
    WIth Best Regards,
    Gladys xing

  • Trying to create a Field Validation Expression and need help

    I have a picklist field and another field that are in question. I want to set some sort of rule that forces the second field to be populated only If specific values are selected from the picklist field.
    I was going the route of a field validation Rule, but everything i've tried so far does not produce the results i am trying to achieve.
    The first type of expression i tried was:
    ([<plProduction_Print_Account_Category_ITAG>] <> LookupValue("OCC_CUST_LOV_ACCOUNT_1", "No Production Print") AND ([<stSIC_Code_ITAG>] IS NULL))
    This is generating the field validation error message when i select any of the correct values from the picklist. the problem is still the second field, which will generate the error if a value is entered into the second field, regardless of the picklist value selected. Switching the "IS NULL" to "IS NOT NULL" only reverses the problem on the second field, causing the error to generate when the second field is updated to a NULL or blank value.
    I also tried :
    = 'No Production Print' AND [<stSIC_Code_ITAG>] IS NOT NULL
    and got similar results.
    ([<plProduction_Print_Account_Category_ITAG>] = LookupValue("OCC_CUST_LOV_ACCOUNT_1", "No Production Print"))
    Similar results as well.
    Does this need to be an IIF statement? Do I need to make this a workflow expression instead? i could really use some help as I have tried everything i can think of and admit, i'm not the expression guru!!!. Any assistance would be appreciated.
    TeknoMan

    Yes we have the same request and we used the following expression. Example we have a field "Método de pago" ( [<plMtodo_de_pago_ITAG<]), it's values are "CHEQUE and DEPOSITO" if we select DEPOSITO three more fields were requiered Route, Sucursal de banco and Clabe so we have to put this validation in the four fields including Metodo de pago.
    [<plMtodo_de_pago_ITAG>] <> "DEPOSITO" OR ([<Route>] IS NOT NULL AND [<nSucursal_de_banco_ITAG>] IS NOT NULL AND [<stCLABE_ITAG>] IS NOT NULL)
    well in the field CLABE we put the following [<plMtodo_de_pago_ITAG>] <> "DEPOSITO" OR ([<Route>] IS NOT NULL AND [<nSucursal_de_banco_ITAG>] IS NOT NULL AND [<stCLABE_ITAG>] IS NOT NULL AND Len([<stCLABE_ITAG>])=18) this was because the len of the value must be 18 characters.
    I hope this works for you
    Regards Catalina Valadez
    Edited by: CatalinaV on 12/03/2009 10:54 AM
    Edited by: CatalinaV on 12/03/2009 10:55 AM

  • MRP group field can not be displayed in MRP1 view

    Hi all
    MRP group field can not be displayed in MRP1 view
    please guide me
    thx

    Hi avinash
    consulte your MM guy material master screen group and selection is done by MM guys in general. There they can do setting for this.
    Also why you need MRP group. If it is maintained. It should be done properly otherwise it will create lot of problems.
    Regards
    J . Saravan

  • Start Routine to Populate Account Group Field from Master data of 0Customer

    Hello Friends. Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer. I do not want to use read from master data functionality since that field 0customer is not there in dso but similar field 0debitor is there. so i want to put this code
    during the load from source DSO to Target DSO.
    Error Explicit length specifications are necessary with types C, P, X, N und
    DATA: L_S_DP_LINE TYPE DATA_PACKAGE_sTRUCTURE.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
        DATA: l_S_comp type comp.
        DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer INITIAL SIZE 0.
    IF  L_th_COMP[] IS INITIAL.
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING FIELDS OF TABLE L_th_COMP.
    ENDIF.
    LOOP AT SOURCE_PACKAGE INTO L_S_DP_LINE.
    READ TABLE L_TH_COMP INTO L_S_COMP WITH TABLE KEY CUSTOMER = L_s_DP_LINE-CUSTOMER
    IF SY-SUBRC = 0.
    L_S_DP_LINE-/BIC/ACCNT_GRP = L_S_COMP-/BIC/ACCNT_GRP.
    MODIFY SOURCE_PACKAGE FROM L_S_DP_LINE.
    ENDIF.
    ENDLOOP.
    soniya kapoor
    Message was edited by:
            soniya kapoor

    Hello Wond Thanks for Good Answer and good option, But Client does not like this option and does not like Nav Attribute so he does not want to turn on any Nav Attribute, In general also We hav requirement to read a third table while uploading 1 dso table to 2 dso table,
    so  Please help me edit this ABAP code to make it work. I am putting this code in start routine in between two DSO. where I am using the
    Start Routine to Populate Account Group Field from Master data of 0Customer.
    No syntax Error But during the load it is updating the source table and not the target table. how to define now target table.
    ***SOURCE DSO Table
    types: begin of typ_tgl1.
        include type /BIC/AZDAFIAR000.
        types: end of typ_tgl1.
        types: begin of comp,
         CUSTOMER       type  /BI0/OICUSTOMER,
         ACCNT_GRP          type /BI0/OIACCNT_GRP,
       end of comp.
    DATA: L_th_COMP TYPE HASHED TABLE OF COMP WITH UNIQUE KEY customer
    INITIAL SIZE 0.
      data: wa_itab type COMP.
        data: wa_zdtg type typ_tgl1.
    IF  L_th_COMP[] IS INITIAL.
    ***Master Data Table
    SELECT CUSTOMER ACCNT_GRP FROM /BI0/PCUSTOMER APPENDING CORRESPONDING
    FIELDS OF TABLE L_th_COMP.
    sort L_th_COMP by CUSTOMER.
    ENDIF.
    LOOP AT L_th_COMP into wa_itab.
    select * from /BIC/AZDAFIAR000 into wa_zdtg
                        where DEBITOR  eq wa_itab-CUSTOMER.  *** SOURCE DSO Table
    IF SY-SUBRC = 0.
    wa_zdtg-ACCNT_GRP = wa_itab-ACCNT_GRP.
    MODIFY /BIC/AZDAFIAR000 from wa_zdtg. *** modify SOURCE DSO Table
    ENDIF.
      endselect.
        endloop.
    soniya kapoor

Maybe you are looking for

  • How to move items from one list to other

    hi all, in jsp page i have twolist boxes. i want to move item from one list to other list on click of add or move button. can u plz suggest me an answer for the above. thank u Regards sangeet

  • Why can't I access my roommates' Windows computers through samba?

    I'm using KDEmod.  I can see our workgroup, MSHOME, by going through system -> remote places -> samba shares.  Sometimes, I can open the workgroup and see my roommates computers but if I try to access them, Konqueror will time out.  As of this very s

  • Macbookpro dvi to component

    i want to connect my macbook pro to my tv via dvi to component.(i'm currently using the dvi to svideo cable from apple) does anyone know of a dongle or cable that will actually work? thanks.

  • Microsoft Shared Fax Driver Missing

    I have been using Windows Fax and Scan to send faxes from my Pro 3500 desktop. Suddenly, the print driver for this utility no longer works. When I double click on the "fax" selection in the print device list, I get a message that says I must select a

  • Mountain Lion Server upgrade; "error reading settings"

    Just upgraded to Mountain Lion server and now ALL services have an "error reading settings". For example; I select "websites" and I get the message "an error occured on the server while processing a command. teh error occured while processing a comma