I need populate sales office.

Dear Experts,
  i need to populat the sales office in zzsale_off fiels in fi document.when i m saving the data in vf01 i want to populate the sales office in fi document. i found the userexit and i found the one sturcture xaccit where sale office exist. how can i populate this field in fi document.
Please help me in coding.
Thanks
Regards
Khan

Hi Maqsood,
Get the payer number of invoice and give this number to KNVV table and you get the sales office in KNVV-VKBUR.
Thanks,
Vinay

Similar Messages

  • How to find the Sales Office & Sales Group

    Hi Gurus,
    In my ABAP report,I have to retrive the Sales Org,Sales Office & Sales group of a Business Partner..
    I have used Fn Module 'CRM_BUPA_FRG0030_GET_LIST' ,but it is not retriving any details when I am supplying GUID of a BP as a Input..I have used a Table CRMM_BUT_LNK0021 from there I got Sales Org,Channel & Division.
    Still I am in need of Sales Office and Sales group..
    Can you please suggest me a BAPI / Function Module / Table Name to retrive the requested values..?
    Thanks in advance..
    Regards,
    Gopi

    Hi,
    Try following tables
    CRMM_BUT_LNK0010    -Business Partner u2013 Sales Rule List                          
    CRMM_BUT_LNK0011    -Business Partner u2013 Sales Rule                               
    CRMM_BUT_LNK0020    -Business Partner u2013 Shipping Rule List                       
    CRMM_BUT_LNK0021   -Business Partner u2013 Shipping Rule                            
    CRMM_BUT_LNK0030    -Business Partner u2013 Billing Rule List                        
    CRMM_BUT_LNK0031    -Business Partner u2013 Billing Rule                             
    CRMM_BUT_LNK0140   -Business Partner Organization Rule List                     
    CRMM_BUT_LNK0141   -Business Partner Organization Rule                          
    CRMM_BUT_SET0010    -Business Partner u2013 Sales Rule Period                        
    CRMM_BUT_SET0020   -Business Partner u2013 Shipping Rule Period                     
    CRMM_BUT_SET0030   -Business Partner u2013 Billing Rule Period                      
    CRMM_BUT_SET0140   -Business Partner Organization Rule Period                   
    Regards,
    Rajendra Sonawane

  • Sales Office and Sales Group Automatic Determination based on the Sold to P

    Hello every one
    We need determine sales office and sales group based on sold to party master data in Activity Management in SAP CRM 2007.
    I want to know if there is a way to do it when we save the document.
    Any ideas???

    hi, the sales org, office, group determination can be configure in Organization Determination.
    You can choose Org Determine rule for your CRM document.
    And if you feel the rule can't match your requirement,  you can create a new rule, and create customize function module for the rule, you can add your determine logic in the function module to realize your requirement.

  • Need to move sales org(it could be sales office or sales org regions)

    IS there any option of moving an sales office from sales or to another. Do let me know if you need further information if the query is not clear.

    Hi Brown,
    All dependents how HR data is replicated in your CRM system. SAP standard recommend to create the Org structure in manually in that case you directly go in PPOMA_CRM and do appropriate adjustment. if the org related data is coming in CRM from ERP system than would suggest to change the Org data in ERP and migrate the changes to CRM via PFAL transaction.
    There is a SAP standard report HRALXSYNC hopefully it is implemented in your project. after change please run it to in CRM.
    Thanks,
    Prem

  • Sales office and sales group in STO scenario

    We need to populate the sales group and sales office in intercompany billing originating from a STO (PO>STOdelivery>IV invoice). However, the sales office and sales group is blank despite both the customer masters of both plant customer (shipto) and Intercompany Payer (ininvoice) containing this. Wanted to understand any configaration settings for these or Userexit is the only option
    regards
    Nagappa

    If you can, try & maintain the Sales Office & Sales Group in sold to party.
    But as per my knowledge in billing you can only find Sales district.
    Regards
    JP

  • Sales office default value for user

    Hi Gurus,
    Is it possible to have the sales office value ex. GBHP as a default on a user account so that whenever user creates any type of order this value GBHP is fetch in document everytime by default.
    Thanks
    Bawa

    Ok.
    Than Goto Su01 by giving their user id in which you want to set default value.
    See path Su01>change mode>parameters tab>than add VKB and give default value what you want to populate automatically.and come out with save.
    PS:you may need to do same for each users.
    Pls let me know if you found any issues.
    Amit.

  • Rotuine for Region for Group of Sales office

    Hello ,
    I have a requirement to show the Region and Sales office in the ODS Order: Condition Data 0SD_O05 .
    From the Communication Structure of 2LIS_11_VAKON we are getting the Sales Office codes values.
    My requirment is to add a Region into the ODS 0SD_O05 and then populate its value for example
    WR ( West ) when the sales offices are 216 to 260.
    So I have added infoobject ZREGION into the ODS
    and now want to write a routine on it in Update Rules of  2LIS_11_VAKON of ODS 0SD_O05.
    Note that for 0SALES_OFF there is only Text Table and do not have  any attributes.
    Could anyone provide me a sample code for it.
    Thanks in advance.
    Regards ,
    Amol K.

    Hardcodeing stuff like this is short term and prone to problems when offices move or change locations  - have your architects thought about using a BW manual hierarchy on Sales Office - groupign them into "Regions"?
    Then you dont need to have any code

  • 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 include Sales Office and Sales Group into FI report?

    Hi,
    I have a requirement to add Customer characteristics u201CSales Groupu201D and u201CSales Officeu201D into a FI report which is based on the InfoCube 0COOM_C02. The values that needs to be presented is actual data (Customer Master Data; NOT transactional value.
    In the DataSource u201C0COORDER_ATTRu201D, fields Sales Organization and Sales Group are present and it is brought to BW from R3. But I am not able to find the way to get the field Sales Office into SAP BW.
    I checked the extraction program for the DataSource u201C0COORDER_ATTRu201D, the fields Sales Org and Sales Group are coming from a table u201CCE41000u201D but in this particular table there is no Sales Office present.
    So can anyone guide me out in getting the Sales Office to the DataSource u201C0COORDER_ATTRu201D, or is there any way of getting it in BW directly by reading some Master Data table.
    Thanks in advance
    Prasapbi

    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 get / configure data in Tcode "MCTG" for "SIS: Sales Office Analysis Selection "?

    Hello SAP Guru's,
    How to get / configure data in Tcode "MCTG" for "SIS: Sales Office Analysis Selection "? We have implemented SAP ECC 6.0 EHP4 version in the organization. If anybody have any idea, need help .
    Thanks in Advance.
    Prashant Kunjir

    Have a look at the following note:-
    Note 1573200 - How to restructure the statistic data of the sales information system (SIS)
    But before trying to carry out the process as detailed in the above note, first check with other SIS reports like MCTA etc., and no reports are showing correctly, then you can proceed.  Otherwise, you need to raise an OSS message with SAP.
    G. Lakshmipathi

  • How to pass sales office to BAPI_PO_CREATE1

    Hi,
    im using the 'BAPI_PO_CREATE1', im having a problem that it is showing error as 'pass the sales Office'.
    In ekko, sales office field is available. but in the structure BAPIMEPOHEADER, sales office field is not available.
    please help me how to pass the sales office to the Bapi.
    Thanks in advance,
    Regards,
    Elavarasu.

    Hi
    I think that it's an append in table EKKO as a ZZ-field (for instance, ZZVKBUR). If I am right, two possibilities:
    1. Populate with structure EXTENSIONIN. See SAP Note 582221 - FAQ: BAPIs for purchase orders, quesion 15.
    2. Try to populate it with badi 'ME_PROCESS_PO_CUST'.
    I hope this helps you
    Regards
    Eduardo

  • 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

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

  • Why aren't patch changes part of the AU spec?

    I'm working with a Novation Remote25Sl and the new Automap 3 software with Logic. So far, it's kind of working. But kind of not... And it's brought up a question that's nagged me for a while now. Why is something as simple as "+/- patch" not a fundam

  • HT1339 I hit shuffle but the songs are not responding to that. HELP?

    I hit shuffle but the songs are not responding? It was fine but in the last week this started to happen.

  • Apple and updating iPod Touch...

    We have 2 ipod touches in our household. On a number of cases, we've had to completely rebuild them due to these types of errors. I hope Apple support sees this error. We have a 16GB and a 32 GB ipod touch... when it tried to back them up for the upd

  • Live site display issues {subject edited by moderator}

    Okay, so on dreamweaver, the website looks fine (albeit, often it doesn't resemble what the actual final site looks like), but my letters from my paragraphs are all scrunched to the left side.  It appears to be CSS because it has affected all the pag

  • Clean and best way to style web forms

    Hi everyone, I'm having trouble styling my web forms and I cant seem to find a anyone else with the same problem? I'm just wondering what are everyone's ways how they style there forms to there designs instead of the business catalyst default style.