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

Similar Messages

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

  • How to Default sales office and group in Organisation tab of crmd_order

    Hi Experts,
    In crmd_order transaction when user enters sold-to-party, then organisational determination takes place which brings sales area,distribution channel and division automatically under organisation tab.
    My requirement is to fetch the correspoding value of sales office and sales group for that Org unit and display them in the organisation tab.
    My logic goes like this:
    1) I have to fetch the sales office and sales group from the master data of ship to party ( i.e. bp with ship to party role).
    2) Then Give the sales area key( org unit, distribution, division) to fetch/filter and display the sales office and sales group.
    Which function modules to use to make the above 2 steps work. What code to write to make the above two steps work.
    I did not find any FM that takes bp with ship to party role and gives back the org unit data alongwith sales office and sales group.
    Then, how to link BP with role ship to party with Organisation Unit and then take the org key to read the org data.
    Which tables and FMs should I consider for this. I am thinking of using the merge method of CRM_ORGMAN_BADI.
    Thanks in advance,
    Sangeeta.

    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.

  • Help required: how to makes sales office field mandatory, in inquiry and qu

    I want to make the field sales office as mandatory , in Inquiry and quotation, please guide me how i can do it.

    hi
    if so then u do one thing.. enter the Tcode and then in variant name .. keep the field empty and search for Transaction variant by giving only the tcode.VA11
    if u find any transaction variants for Va11 then u can use that or else serach with VA01 and c how many Transaction Variants u r getting.. to my guess u must only be getting BUS2030..
    if that is the case u have to create new transaction variant for va11 and then proceed the process
    =====================
    GOT THE SOLUTION
    =====================
    SHD0 > enter tcode VA11 > F5 > Give the Enquiry type (IN) > give the details sales org, dist chnl, div, > Press Enter > will get the fields with options..
    Same in the case of VA21 .. giving sales org , dist chnl, div is not compulsary.. just give the document type and can proceed..
    Reward if USeful
    Thanx.. Naren..

  • 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

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

  • Hi how to check sales office maintained in structure S860E

    Hi,
    Requirement:-To know from where particular sales office is coming in S860E.
    Thanks,
    Dharmesh

    Hi,
    Saless office definition and assignment is a customization activity:
    SPRO ->Enterprise Structure->Definition->Sales & Distribution->Maintain Sales Office.
    Below this, you find....Definition-> Assignment
    I hope this is what you were looking for.
    Regards
    Murali

  • 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

  • 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 download ECC customers without Sales Office and Sales Group values

    Dear all,
    In SD Customer master record we enter Sales Office and Sales Group fields under Sales Area tab-->Sales Tab.
    While downloading customers form ECC to CRM, How can I exclude this Sales Office and Sales Group Data from the download.
    I want to download customers without this sales office and Sales group data...Kindly suggest me how can I do this.
    Your suggestions will be highly appreciated.
    Best regards
    Raghu ram

    Hi Chandrakanth,
    I have removed 'Object Permitted in determination' checkbox for all Sales Offices, but still the problem persist.
    I am getting following problem in SMW01 while downloading customers.
    "Sales office O 50000004 sales group O 50000057 not maintained for sales area O 50000001 C5 Z0
    Message no. CRM_BUPA_FRG0140204."
    This problem is coming for all customers, so I though of excluding Sales Office and Sales groups from downloading.
    Can we use Filters functionality for this, if so what sort of settings need to be maintained for Customer_Main object in R3AC1 transaction.
    Please suggest, your suggestions will be highly appreciated.
    Best regards
    Raghu ram

  • How to restrict the Report based on sales office

    Hi Experts,
    I am using BW 3.5. I have a requirement that my sales report should give output to  particular user with his respective sales office only.
    For Example :
      User,   Sales Office
       A , Delhi
       B, Mumbai
    User A should not be able to see the data of Mumbai Sales office. As both the users using the same Report,
    Please suggest How to achieve this.
    Helpful answers will be awarded.
    Thanks&Regards,
    Venkat

    Hi,
    To do this, you need to make the infoObject Sales Office authorization relevant.
    Create an authorization Object using the t-code RSSM for this InfoObject. Restrict it with Activity.
    Create a role for each of the Sales Office and restrict your authorization variable with that office.
    Now you have 2 roles for eg. One for Mumbai, other for Delhi. Assign them to respective users.
    Create a authorization variable for Sales Office and restrict your report with that.
    Use the below documentation for creation of Authorization Object.
    http://help.sap.com/saphelp_nw04/helpdata/en/a0/48f438f3422f2ce10000000a114084/frameset.htm
    Regards,
    Gaurav
    Edited by: Gaurav Kothari on Sep 18, 2009 11:04 AM

Maybe you are looking for