EMP Sales ORG in MobileClient

Hi,
When we are creating OPP/ACT and when that replicates to CRM online we are getting an erorrs asking for 'sales group'.
I checked the EMP sales org. We assigned the EMP to Sales Area and not to the sales group under sales area. Right now in he table SMOMITABT table the org details to which the default flag is set doesn't have the sale group.
My guess is if i assign the EMPs to sales group under sales area i might not get this error but after i move the EMPs to sales groups will  I have to do the whole BUPA_MAIN for these changes to go to mobile client? As this is in our PROD system i do not want to do the whole load for BUPA_MAIN.
Thanks in advance,
karuna.

Hi,
I opened an OSS regarding this and they got back asking me to implement the BAdI CRM_30A_USER_EXITS method USER_EXIT_UPLOAD_SALESDOC reading SMOMITAREA and find the sales area with the Sales Group and fill the org structure.
I wrote the BADI but still the mBDOc doesn't reflect changes i made. This is what i am writing in the BADI:
FIELD-SYMBOLS:
<fs_sdgen_object> TYPE /1crmg0/sdgen_object01,
<fs_orgman>         TYPE bad_orgman_mess.
DATA: lv_sfavbak TYPE smo_sfavbk,
          lv_vkorg TYPE smo3auart,
          zlv_sales_group TYPE SMO3VKGRP,
          zlv_sales_off TYPE SMO3VKBUR.
Getting hold of the order
LOOP AT salesdocgen_write-sdgen_object[] ASSIGNING <fs_sdgen_object>.
  lv_sfavbak = <fs_sdgen_object>-sfavbak.
  lv_vkorg = <fs_sdgen_object>-vkorg.
ENDLOOP.
LOOP AT bus_trans_msg-orgman[] ASSIGNING <fs_orgman>.
SELECT SINGLE VKBUR FROM SMOMITAREA INTO zlv_sales_off where VKBUR IS NOT NULL.
SELECT SINGLE VKGRP FROM SMOMITAREA INTO zlv_sales_group where VKGRP IS NOT NULL.
<fs_orgman>-SALES_GROUP  = 'O 50000661'.
<fs_orgman>-SALES_OFFICE = 'O 50000672'.
APPEND <fs_orgman> TO bus_trans_msg-orgman.
ENDLOOP.
endmethod.
I tried using the variables for sales_group and sales_office. Also i tried putting values. Nothing works.
Am i missing anything in this code?
Thanks,
Karuna

Similar Messages

  • Two sales org in One company code

    Hi all,
    I know u can assign two or more sales org to one company code.
    But if i have one common customer i.e one Customer No for both the Sales org's  how do I differentiate which open items belong to which sales org when running my open item report in FI. The Sales org data is not transfered to the FI Posting. Is a user Exit and diff numer ranges in SD the only possibility? is there no sap Standard for this.
    Thanks
    dave

    HI,
    Are Business areas/Division of this customer same?
    Reference number and allocation numbers are transferred to accounting documents.In customizing for copy control in billing,you can define which numbers will be copied as reference or allocation numbers.
    Like - Sales order number,delivery number and Billing documents etc...
    From sales order number you can know sales organization.
    The reference number is in the header of the accounting document and is used for clearing.
    The allocation number is in the customer line item and is used for sorting line numbers.
    Vrajesh

  • FBL5N Cleared items not having the Sales org

    Hi Guys,
    In FBL5n open items having the Sales org (XREF1), when we are clearing the Documents, Sales org (XREF1) not coming to the cleared items.
    Is any user exit or BADI to populate the value to Cleared items also?
    Thanks
    Gourisankar.

    Hi
    Cleared and open items should be the same, i.e open item are cleared item before clearing it.
    So I suppose u mean the items of clearing document?
    If it's so u should check your FI customizing because it should be a clearing rule, so perhaps it shlould be better to ask it to your FI consultant
    Max

  • Mass change - Move existing sales orders from Sales org A to Sales org B

    Good morning dear network,
    am seeking for your guidance on one specific matter.
    We are in the process of making changes to our billing / organisational structure (new sales orgs)
    One of the challenges is that we need to move existing open sales orders from one sales org to another (new) sales org.
    If all master records exist in the new sales org, is there a (technical) way of moving the existing sales orders from the current sales org into the new sales org, without having to replace each order individually ?
    would welcome any suggestions.
    Many thanks

    I would recommend to close the existing open sale orders by assigning Reason for Rejection and create new sale orders in the newly created sales organisation.
    This is due to the fact that you need to ensure each and field in the existing sale orders to match with the newly created sales organisation and it is bit time consuming.
    Still if you prefer to what you had indicated, LSMW is the better option
    thanks
    G. Lakshmipathi

  • How to extend Sales org for a material being Changed

    Hi Experts,
    i need to extend sales org , distribution Channel for a material .
    my table look like this and having 6 fields shown below
      1             2         3               4            5                     6
    Sales org | Des | Distn Chnl | desc |  Copy from So | Copy from Dstn Chnl
    If the user enters the existing value in Copy From SO and Copy Fron Distn Chnl  .  Then i need to copy all the values corresponding to the Existing SO and Distrn Chnl to the Newly entered Sales Org . 
    the table im displaying in ALV , if user perss F4 in copy From SO and Copy From Distn  , i need to show the existing values for the material being changed , this is working fine and i am able to get the existing values.
    After user selects one of the existing value for SO and Distrn channel  , i need to copy all the values to newly created So and distrn Chnl  .
    i dont know how to proceed . Please help me to solve this problem.
    Thanks,
    Shrikanth

    You can use AET to extend the sales area data of BP.  However, it wont add the fields automatically in GUI, But the generated fields are available in the relevant DB tables.
    BP GUI transaction is no more supported . Im not sure why you want to work on GUI.
    Regards,
    Shaik

  • Error : Sales Org.Unit does not have these attributes -- Urgent

    Hi, Team,
    I am unable to create a service order with serivce material ( Only installation visit charges ) for w/o warranty product .
    I am getting error : " Sales Org.Unit does not have these attributes "
    I had checked the related Org data of respective sales org , already the sales area combination is also maintained from R/3 with required attributes "
    Pls revert with possible solution .
    Regards,
    VCS

    PePe :
    Thanks for reversion !!
    Basically it is a product Service Material (Servicing Charges), where in I had checked in the transaction ,   Though the required sales area  is well maintained in the R/3 System and is being replicated to the CRM . 
    When I checked the product Service material , the required comination is missing and could find other sales area combinations .
    Pls guide , how to go to get this resolved .
    Regards,
    VCS

  • Free Goods determination -acess sequence sales org/ plant/material

    Hi
    I am trying to determine the free goods by choosing the key combination as Sales org/plant/material.
    The system is not determineing the free qty ,instead when i maintain the condition record with customer/Material key combination ,then the system is determineing the free qty.
    I also tried to put acess Sequence Sales org/plant/material above the Acess sequence customer/Material,but still the system not detrmineing the free qty in the order.
    can any one pl gide me how to solve this issue.
    regards
    shashi

    Hi
    Go to the access sequence where Sales org/Plant/Material are maintained as condition table.
    Now select the condition table and then click the node "Fields" on the left hand side of the screen.
    It may give a warning message that "Fields are not yet generated". Just ignore this and Enter once again.
    Do this until it takes you to a screen where you can see fields like KOMK-VKORG, KOMK-WERKS and KOMP-MATNR
    Now create the condition records and check in transaction by creating sales order. It shoudl work.
    Hope this helps.
    You can reward if it helps you

  • Free Goods Determination Based on Access Seq -Sales Org/DistCh/Cust/Materia

    Dear All ,
    Based on the requirement , I have configured 2 access seq for free goods determination.
    1. Customer/Material
    2. Sales org/DistCh/Customer / Material .
    The free goods determination is working fine when i use the first access Seq - . Customer/Material  and when i use the 2nd access seq - Sales org/DistCh/Customer / Material  free goods determination is not happening for both inclusive and exclusive .
    Can any one help me on this issue , as i am not able to identify  the issue .
    Thanks in advance for all the help.
    Regards
    Veera

    Hi
    Ceck this thread
    Forum post in ERP SD Sales: New Access Sequence for Free Goods Determination
    New Access Sequence for Free Goods Determination
    But for you free goods determination should be happening at
    Sales org/DistCh/Customer / Material  without any problem
    Make sure Sales org/DistCh/ maintained in VBN1 and what is falling in sales order are same
    Regards
    Raja

  • ABAB programm to copy material sales text from one sales org to another?

    Hi all,
    i'm searching for a ABAP programm to copy a material sales text from one sales org to another.
    Has anybody seen something like that before or has anybody an idea how to do this?
    Greetings & TIA
    strobbel

    @Narin
    I've tried to execute both code now over a new programm in the se38 and i get a error message from the first code (http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm).
    It's called:
    "BAPI_MARC1" cannot be converted to a character-type field.
    Could you help me to solve this?
    Sorry but i'm an absolutely newbie in things like ABAP and so on ...

  • Changing proposed delivery date in sales order for one specific sales org

    Hi All,
    I want to change proposed delivery date in sales order automatically for one specific sales org only without changing lead time in VOV8.
    For that can I use MV45AFZZ. But it is asking access key to make changes. Is there any other user exit for the same. And how does exactly change it.
    Thanks in advanced.
    Points will be awarded.
    Regards,

    EXIT_SAPFV45E_001 has nothing to do with this - it is meant to update the purchase order from a sales order. It might not even be triggered if the sales order has no link to a purchase order.
    USEREXIT_SAVE_DOCUMENT is not really good for this either, because the delivery date has to be changed before that. If memory serves, it also influences the schedule lines and probably the ATP check and such. I would strongly advise against it. One of the other routines in MV45AFZZ should do just fine, USEREXIT_MOVE_FIELD_TO_VBAK for example.

  • How to assign a Sales Org and Product group

    all the config have been maintained (creating the hierarchies/categories, assign the set types to categories etc.) under IMG->Cross-Application Components->SAP Product.
    Also assigned the set type for sales data/product group for category MAT_DIEN.
    But the fields from these section are greyed out when I try creating a product (not able to assign the sales org, or product group)
    Edited by: Agarwal Ameet on Aug 9, 2010 9:56 AM

    Dear Sun,
    One way is:
    Maintain the required setting in T. Code: VKOA.
    Another way is:
    Create an Internal Order (T. Code: KO01) with required Field-entries in
    Tab: Assignment --> Profit Center; and
    Tab: Period-end Closing --> Cost Center ( or G/L account).
    and attach it to your Sales Order.
    To know more about Internal Order Processing, refer:
    [Internal Order|http://help.sap.com/saphelp_erp2005vp/helpdata/en/a9/ab7f68414111d182b10000e829fbfe/frameset.htm]
    Or, consult FI-Personnel at your end.
    Best Regards,
    Amit
    Note: Also, sharing one document for knowledge-sake:
    [Acct assignmt logic sales order proc.|http://www.saptechies.com/acct-assignmt-logic-sales-order-proc-rem/]

  • Sales org 2 view in material master

    hi gurus,
    Iam not able to see all fields in sales org 2 view in material master and i would like to know how to configure to restrict end users not to change it . thank you in advance.
    regards,
    Gopio

    Hi naga gopathi
    go to Spro->logistics general ->materials management->  there you select the options of material feilds and select the material type and click on till you reach the sales orgn 2  view , .
    In MMR settigs you can see table  wise so i think it should me MARA table. for sales orgn 2 view
    There you check the feilds wat you want is in display or supress mode 
    Regards
    Srinath

  • No local currency found for plant and sales org.

    Hi Guru's,
    I am face to a problem that i don't understand.
    I load the standard master data 0PLANT and i have the basic issues : No local currency found for plant and sales org.
    I already saw this error so i check the basics to solve it.
    I respect the comp_code, sales_org and than plant sequence.
    i checkek the routines, no problem.
    for some plants it works. i extract 8 plants 2 works the rest not. the reason is that there is no sales org affected in my PSA table for those plants.
    But (and this is the problem) when i check the SAP source table T001W i can see that plants are corectly affecte to sales organization
    So do you have any idea of my problem ?
    do you know the transaction on ECC to maintain division and sales org affectation
    Thannks
    Cyril

    Hi,
    Pls have a look at this similar post:
    [No Local Currency found in Plant |How can I view the code for a routine in an update rule;
    Hope it helps...
    Regards,
    Ashish

  • Creation of Sales org views for customers related to vendor

    Hello All,
                 Can any body tell me is there any functional module which can be used to created the sales org views for customers related to vendors.
    Regards
    Srinivas

    Hi Ravi,
    the number of sales area possible would be 6 sales area,
    yes you can of course use the common master data functionality
    After creating the organizational structure and relevant master records you want to use as the masters, that is, in the distribution channels and divisions you are going to use as a reference, you can group distribution channels and divisions separately for master data (which combines customer master and material master records), group condition records, or both master data and condition records.
    Letu2019s say you have a product range that is not different for the four different distribution channels you have (the channels could be telesales, retail, industry, and wholesale.) Neither is there a difference in the customersu2019 details when they purchase through one or the other. Thus, you will not want to create a multiple of four views of customer master and material master records. Merely create the customer master records and material master records in one of the distribution channels, such as retail. Then assign the other distribution channels you created in the organizational structure setup to this one.
    Donu2019t forget this means you can only create or change master data in the distribution channel that is being referenced. In the scenario above, this means you can only change data for the retail distribution channel. Even if you should access a customer or material master in change mode, press F4 (possible entries), and select telesales, industry, or wholesale, you will receive a message u201CSales area is not defined . . . u201D
    The same is true for the sharing of conditions. If conditions are shared, you need only create a condition in the distribution channel or division you are using as the reference. Obviously, this only pertains to conditions that have the distribution channel and/or division in their key, such as a price based on sales area
    Revert if helpful
    Mohit Singh

  • Maintain "Determination of Pricing Procedure" with different sales orgs. ID

    Hi experts,
    We have different sales orgs. ID for some of our sales orgs. in our Development/Quality/Production systems. When we maintained the "Determination of Pricing Procedure" in Development system for our new company and transported it to Quality system an error occurred. The sales org. ID we maintained in D wasn't available in Q. So we still have the same problem in Q as we had before. I have noticed that we have different ID for another company in our CRM system but it seems that someone has maintained "Determination of Pricing Procedure" manually for each system without any transport even if I don't think that's possible, but it look so. See pictures below:
    Development system:
    Quality system:
    O 50000125 in D is the same as O 50000075 in Q. This is working fine, but I don't know how you change it manually in Q as it seems to have been done in above picture!?
    O 50000178 in D is our new company. After transport to Q the same ID with the same values are transported correct. But the ID for the company in Q is O 50000150. So of course we still have the same problem in Q that we had before the transport.
    Does anyone know how to solve this? I guess you can't just change things manually in Q or is the correct way to do?
    Thank you in advance.
    Best regards,
    Hannes de Richelieu

    Hello Hannes,
    this really is a common issue. Org-Model can be maintained in every client and as the IDs are generated they can differ even if only the sequence in which you created the units is not the same in D/Q/P.
    What you might be interested in is report RHMOVE30. It is used to "transport" the Org-Model between Clients. Have a look here: http://scn.sap.com/thread/3537400
    This way you maintain the model once and distribute it across systems. My advise would be to take the one you have in P and refresh D and Q from it. You are still able to make adjustments in D and Q for testing. After a certain timeframe I would then refresh D and Q again to get them in sync.
    cheers Carsten

Maybe you are looking for

  • Firefox crashes when opening and the crash report I get is Firefox 3.6.3 Crash Report [@ strlen | nspr4.dll@0x15f9f ].

    == Issue == Firefox is crashing or closing unexpectedly == Description == Firefox 3.6.3 crashes when opening and the Crash Report [[@ strlen nspr4.dll@0x15f9f ]. It was working perfectly fine and the last three days, I am having difficulty in opening

  • Using TWO iTunes at the same time on different monitors on Mac Pro:

    Here is what I want to do: I want to use a Mac Pro with two displays to play videos from iTunes in full screen mode on the second display while simultaneously playing music not associated with the videos on the main display. Is this possible or do I

  • Help with multiclip editing in FCP

    Can someone please help me with multiclip editing. I have followed all the steps in the tutorials I have watched but I am unalble to switch between the two angles in the time line. Also the red line in the time line is telling me to render everything

  • How to search within a specific folder

    I know this sounds elementary. However, it doesn't seem to work for me. Let me explain: I have opened a finder window and clicked on a specific folder. In that folder are over a hundred files. In the same finder window, I enter the exact file name of

  • Change of Ship-to-party address in IC WebClient

    Dear Guru's, Acc. my business requirement i need to configure IC-webclient, Scenario1:- End User should be able to change the Ship-to-party address (on customers request) thru IC-Webclient. (in this scenario sold-to-party & ship-to-party are 2 differ