How to restrict  sale offices under company code

Hi guru's
I want to see all the sales offices under the company code, like comapny code br11 and sales office is br01, if i select comapny( user entry) it will display all the invetory information then in the filter if i slect saleas office it should display all the sales offices(br01,br02...)  which r under( br11).
del
( assign points if helpful)

Hi,
I think you are in Bex queries.
In Query Designer you can restrict Company code with Sale soffices.
Just try it.
Place the onject in Filters and right click and select restict.
Hope this helsp...
Let us know status.....if you still any issues.
Reg
Pra

Similar Messages

  • How to restrict Sales office and Sales Group.

    Hi All,
    I want to restrict the users from changing the sales office and sales group in the sales order.
    Is there any standard way to achieve this or do we need to do with User exit??
    Please help.
    Thanks,
    Pavan.

    hi
    there is no standard settings for estrict the users from changing the sales office and sales group in the sales order
    so you have to write the logic in userexit
    DATA: lt_user_list   TYPE STANDARD TABLE OF tvarvc,
           lw_user_list   TYPE tvarvc,
           lr_user        TYPE RANGE OF syuname,
           lw_user        LIKE LINE OF lr_user.
    IF screen-name EQ ' VBAK-VKBUR' and   VBAK-VKGRP.
    * IF sy-tcode EQ 'VA02'.
    **Get list of users who are allowed to change SO - only they can change payment terms
         SELECT *
           FROM tvarvc
           INTO TABLE lt_user_list
          WHERE name = 'ZSD_VA02_ALLOWED'
            AND type = 'S'.
         IF sy-subrc = 0.
           LOOP AT lt_user_list INTO lw_user_list.
             lw_user-sign = lw_user_list-sign.
             lw_user-option = lw_user_list-opti.
             lw_user-low    = lw_user_list-low.
             lw_user-high   = lw_user_list-high.
             APPEND lw_user TO lr_user.
             CLEAR lw_user.
           ENDLOOP.
    **    If user is not in the users listed for change allowed
           IF sy-uname NOT IN lr_user.
             screen-input = 0.
           ELSE.
             screen-input = 1.
           ENDIF.
         ENDIF.
       ENDIF.
    ENDIF.
    go to STVARV t code here you check the NAME and give the user ids who need to change

  • Link Sales Office to Company Code in FI (Aging Report)

    Hi,
    We are currently doing a centralization project where all sales and finance activities will take place from 1 location.
    This will result in using one single company code and 1 single sales organization with different sales areas instaed of 20+ company codes and sales organizations.
    Each sales area will be linked to all available sales offices (as was already the case with the current organizational structure).
    As we will work with only one company code, we can not make reports anymore based on company code level to differentiate on legal entities.
    We thought of working with Business Areas, but they can only be maintained on Sales Area level and are therefore not useful to do our analysis.
    Sales office will have a one to one relationship with customer (as is now), but you don't have a similar field available on FI side.
    Could you please help me by indicating if we should use a different field (in SD or FI)? Or should we use a user exit at time of saving an invoice so the sales office is brought to FI? Any other ideas?
    Thanks for your feedback!
    Geert

    Shravan.
    This is not a SAP standard practice.
    So, you need to create a program to create another sales order (and choose a correct sales area).
    Leonardo Rocha

  • How to Restrict Intercompany Access By Company Code

    We have multiple territories, of which each is assigned their own company code  We'd like intercompany access to be restricted by company code so users only have intercompany access to only territories they have authorization for.   Currently, we have role X setup and authorized users have access to this role.
    Intercompany TCODES would include FBU2, FBU3, and FBU4. 
    The obvious solution would be to create additional roles via PFCG whereby each role has access to X company codes and assign these users to the appropriate role.  Any other ideas?  Also, with the ECC upgrade, doesn't this impact performance on the cube when trying to restrict roles by company code?
    Thanks in advance!
    Edited by: david kim on Feb 10, 2009 2:13 AM

    Hi david kim,
    Based on my experience, the best way is by maintaining the roles in Txn PFCG as what u did just now. FYI, there's no impact on performance on the cube when trying to restrict roles by company code. (we have faced it before when upgrading 4.6C to ECC6...with flying colors ...).
    Hope this will solve your problem.
    TQ
    Regards,
    Nazrul

  • How to change Sales office in Bussiness partner details

    Hi ,
          I am unable to make changes in Bussiness partner details ie in Tcode BP .Since the Sales area data has been desabled .
    So can any one guide me how to change sales office in BP
    regards,
    divya

    Dear Anirudh ,
    When i checked the org Structure ,there same user has been assigned to two sales offices.
    So when it is taking the sales area data ,it is capturing the data from jammu sales office rather than Chandigarh.
    I can't change the User that has been assigned for more than 2 sales offices b'cos of the restriction of User-id
    So please help me.
    regards,
    divya

  • How to make Sales Office field mandatory in VA01 initial screen?

    Hi,
    How to make Sales Office field mandatory in VA01 initial screen? I mean in the first screen where we enter the document type and the sales area?
    Regards,
    Ajit

    Dear Deepak,
    Thanks for the clarification.
    But, as far, I have understood the query - it is very simple and that is..
    Whenever one creates a Sales Order (T.Code: VA01), Parameter: Sales Office needs to be mandatory (for all Sales Order, irrespective of Customer Account).
    Until-unless, user won't enter the parameter: Sales Office, System will not lead to next page (now, here we need to enter Customer/ material etc...).
    I have answered the query, in this regards, only.
    Best Regards,
    Amit.
    Note: Pls. correct me, if I am wrong. Thanks for everyones guidance.

  • How to configure Funds Transfers, Cross Company Code Vendor Payments, Bill

    Hi All,
    Can any one help me, How to configure Funds Transfers, Cross Company Code Vendor Payments, Bill of Exchnage Payments with Automatic Payment Program?
    Regards
    Chandra

    Hi Chandra,
    This is what you need to do to configure <b>Cross Company Code Vendor Payments</b>.
    Execute transaction code <b>OBYA</b>, when prompted, type in 1st coy code, say A and then 2nd coy code, say B. This would take you to the "<b>Maintain FI Configuration: Automatic Posting - Clearing Accounts</b>" screen.
    In the first frame, where you have
    Posted in : A
    Cleared Against : B
    Under Receivable
    Debit Posting Key : <b>01</b>
    Account Debit : Account Number (The account can be a G/L account, a customer account or a vendor account)
    Under Payable
    Credit Posting Key : <b>31</b>
    Account Credit : Account Number (The account can be a G/L account, a customer account or a vendor account).
    In the second Frame
    Posted in : B
    Cleared Against : A
    Under Receivable
    Debit Posting Key : <b>01</b>
    Account Debit : Account Number (The account can be a G/L account, a customer account or a vendor account)
    Under Payable
    Credit Posting Key : <b>31</b>
    Account Credit : Account Number (The account can be a G/L account, a customer account or a vendor account).
    So, if you are using the <b>Customer/Vendor</b> approach, company A must be set up as both a Customer(Use Txn Code <b>XD01</b>) and a Vendor(USe Txn Code <b>XK01</b>) in Company B and vice versa.
    Once you have completed this set-up, you can then use transaction <b>F.13</b> and/or <b>F13E</b> to carry out your automatic clearing. Alternatively, whenever Payment Run is executed via transaction code <b>F110</b>, this would automatically clear out the payables and receivables in each company code.
    However, if you intend to use the G/L approach, then the account numbers would be Inter-coy G/L account for each coy code as defined in the chart of accounts.
    I hope the above helps.
    Do not forget to award the points please.
    Regards,
    Jacob

  • Need to add a new field to XD01 under company code data tab

    Hi,
    I need to add a new field under Company code data of XD01 under Account Management tab.
    I came to know two BADI's CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS can be used for this. But for these BADIs we need to create a sub screen.But for my requirement I need not use a subscreen just to add a field.
    Please let me know how to do this?

    Hello Pavan,
    Do you have any solution for this issue? I only can creat a new tab but hi prefer as you, creat a field Company code data of XD01 under Account Management tab.
    I read that is not possible, this is true?
    Best Regards,
    Eduardo Paiva

  • How to exclude sales office for combination sales order type/division?

    Hi experts,
    I would appreciate if you could advise: How to exclude sales office for combination sales order type/division in ECC 6.0 ?

    Hi
    Standard SAP functionality would not be able to cater to this. Ideally create a Z table with sales order type and sales office combination. Put in entries for combinations that are allowed. In Sales order program MV45AFZZ use the exit USEREXIT_MOVE_FIELD_TO_VBAK. In this exit write down the logic passing the sales office determined and the order type and check if the entry is there or not. If the entry is there then it should go on to the next step. If it does not then pass an error message. You need to use the help of your ABAP er for this.
    Thanks
    Indranil

  • Printing of cheque under company code instead of business area

    hai sap gurus
    pls help us in this issue
    At the time of running automatic payment program separate cheques were printing to a single vendor as per business area, now the client is asking that single cheques is to be issue to the vendor under company code instead of business area wise, but the same vendor is supplying the material to those business area.  Can we make the settings as per the requirement?
    many thanks in advance
    bye for now
    kishore

    Dear Kishore,
    I understand that your company wants to pay a vendor one cheque irrelevant of multiple business area transactions. If my understanding is correct, this can be handled by removing the tick in pay per business area
    Step
    transaction code - FBZP
    Tab                    - Paying company code.
    Control Data      - Remove the tick from Seperate payment   per business area.
    Hope this helps you.
    Regards,
    Nathan.

  • How to restrict selected Role under a Role???

    Hi Friends,
    I have 3 roles, which are Role-1, Role-2, Role-3.
    Role-2 & Role-3 are Under/Part of Role-1.
    Now, I have assigned Role-1 to a user. By doing this, When he logs in he is able to see the Role-2 and Role-3 also eventhough we havent assigned Role-2&3.
    Now My question is, How to restrict a role under a role. For example, I dont want to show Role-3.
    When i checked the user roles assigned, i see only Role-1 but not 2 other roles.
    Could anyone advice on how to make unwanted role in role. Assuming, no one is going to assign directly with Role-2 & Role-3. They got assigned only Role-1.
    Thanks for u r time!!
    Thanks,
    Raghavendra.P

    Hi Praveen,
    Thanks for important/useful information. I really dont understand is., Inspite of giving the properties to the each of role/workset, How do we call the approprite under the role. for example :
    If we have Role-2 with propery dept=sd,
    and Role-3 with propert dept=xi, etc.
    Now i have Role-1, within which i have Role-2 and Role-3.
    Now, if i want to see only roles with dept=xi then where should i mention and what should i mention.
    I understood till creating the properties, assigning the properties to roles/worksets, giving values to properties.
    Only i doesnt understood is how to activate which we want in the scenario.
    Thanks for your time..!!!
    Thanks,
    Raghavendra Pothula

  • How can I pull the BUKRS (company code) value, for a X_USER (sy-uname) inpu

    HI Experts,
    Pls. clarify that, How can I pull the BUKRS (company code) value, for a X_USER (sy-uname) as input?
    ThanQ.

    Check with USRM1 Table
    give user name (Uname ) and you get company code (BUKRS)
    also check with other tables : USRM* in SE11
    Thanks
    Seshu

  • Error in PPMOD feature while assigning functional area under company code.

    Hi Experts,
    I am getting error in PPMOD feature while assigning functional area under company code.
    The error is  " The total fields lengths of the decision operations are too great ".
    Please advice.
    Regards,
    IFF

    Hi IFF,
    The return values which you have maintained for the decision parameter are not acceptable that's why it's throwing that error.
    Your PPMOD feature is based on company code and functional area.
    Try to maintain it as follows:
    000010                                  D     BUKRS
    000020     1000           D     FKBER
    000030     1000 0001                 &PPMOD=1,
    000040     1000 ****                 &PPMOD=2,
    000050     2000                 &PPMOD=1,
    000060     2100                 &PPMOD=2,
    000070     2900                 &PPMOD=2,
    000080     2910                 &PPMOD=1,
    000090     ****                 &PPMOD=2,
    Please try to create this features value again using tree format, so that you can know the actual length of the return string and update the thread once done.
    Edited by: pdk_hcm on Sep 6, 2011 2:30 PM

  • How to add sales office and sales group code in Badi Order_Save?

    Hi,
    i have a requirement .
    the concept is like this ,we have S>D>G lay out.
    initially the sales office and sales group were fetching  values from "G".
    But my requirement is the sales office and sales group should fetch values from "D"..when the transacion is "ZGRW"..
    This is in CRM platform...So how shud i assign values of D to sales office and sales area??
    how to code this...
    help me out
    Edited by: VARUN VADNALA on Jun 25, 2009 1:35 PM

    Hi Sangeeta,
    As per your statement, my understanding is that the Organization Attributes are not maintained in the Customization. If all the values are properly maintained then based on the Organization Data determination, the system would have picked up the data. You can first check the Organization Structure and see all the attributes are properly maintained or not and then check whether the Object Permitted in determination checkbox is checked. Then create a Transaction and see that all the Organization data are getting filled properly.
    Have a look at the following link for a complete guide to the Organization data determination customization.
    http://help.sap.com/saphelp_crm70/helpdata/en/6d/5c1738453fde16e10000009b38f8cf/frameset.htm
    If the Organization data customization is not meeting your requirements then you can have a second look at the development approach. Then we can have a look at the available Objects to get the desired functionality.
    Hope this helps.
    Thanks,
    Samantak.

  • How to authorization sales office and sales group in VA21 and VA01 t-code

    I need to authorization sales office and sales group in va21,va22,va23 and va01, va02, va03 to control users access the sales order.
    I found some articles how to resolve this problem.I have created new authorization object Z_VBAK_ VKO, and add these fields to the object: VKORG: Sales Organization, VTWEG:Distribution Channel, SPART: Division, VKBUR:Sales Office, VKGRP: Sales Group, AUART:Sales Document Type, ACTVT:Activity
    I have add the object Z_VBAK_VKO to va01, va02, va03 in SU24 translation.
    I test the authorization , but fail, va01 and va02 do not check the authorization.
    Why? what can i do? please help me .
    thanks

    Dear Wu
    I think you are using the concept of Master Roles and Derived Roles.If ur using then create a master role and derived role for the authorisation group you want. And in the derived role assign the specifics to the respective logins ID. If you want to attach the authorisation to the T-Codes Va01 or VA21 etc then you have to use Exit.
    Correct me if i am wrong.
    Regards
    Jyotsana

Maybe you are looking for