FM for add sales area to a BP from external lists

Hi experts
We are uploading BPs from an external list (on WEBGUI), and we want to add the sales area to this one.
We tried to use FM CRM_BUPA_FRG0010_ADD but it doesn't work.
Do you know any FM for solve this issue??
thanks in advance
Best regards
Marco
Edited by: Menegazzo Marco on Jul 5, 2010 10:53 AM

Hi Marco,
use this FM instead.
CRM_BUPA_FRG0140_ADD
And don't forget to commit work!
Bye

Similar Messages

  • Trying to add sales area data to sold to party in CRM using

    Hi all,
    i am trying to add sales area data to a sold to party business partner and i used the BAPI BAPI_BUPA_FRG0010_ADD. it executes i dont get runtime error but i get the error "invalid sales and distribution area" in return table.
    also i see that the sales area data of the sold to party is not updated after i execute my program
    can anyone tell me what i am missing
    Edited by: jessica sam on Nov 13, 2008 8:17 PM

    hey Rob i dont know if the configuration is done.but if i try to create a sold to party business partner in the screen in CRM i sales area data tab----->sales area, i find the drop down list with the values for sales organization, ditribution channel and division.
    i am able to create a sold to party in CRM and it is replicating in ECC. but if i try to display the sales area data of a sold to party that i created using the function module BAPI_BUPA_FRG0010_GETDETAIL
    it throws me an error saying invalid sales area data.
    Also i find that data is there in CRMM_BUT_LNK0021, CRMM_BUT_LNK0031 tables but not even one entry in CRMM_BUT_LNK0011
    Also i find that data is there in CRMM_BUT_SET0020, CRMM_BUT_SET0030 tables but not even one entry in CRMM_BUT_SET0010
    is some thing missing in functional configuration. the CRM guy did an intial upload from R3 and brought the sales organization to CRM.

  • Setting up pricing for new sales area

    Hi SD Gurus,
    Well I am new to SD configuration and question that I am going to ask might be just a seconds task but any help to get me kick started would be highly appreciated.
    Well the client I am working for has 4 distribution channels configured and now my task is to add a new distribution channel to the existing enterprise structure and I have successfully managed to do that and now I can create and extend customer master for this new distribution channel.
    The  next task on hand is that to configure pricing for sales areas including this distribution channel. Pricing proceedure to be used in this sales areas is already defined just can't get a clue as to where to do the settings so that i can create sales documents against such sales areas as well
    right now it just gives me an error something like "No pricing procedure for this sales area"
    Thanks

    Hi UsmanZ,
    You create PP in spro > Sales and Distribution > Basic Functions > Pricing > Pricing Control > Define and Assign Pricing Procedures > Maintain Pricing Procedures
    You can't attach PP to specific plant. Pricing Procedure is determined thru trx OVKK. The defining parameters for pricing procedure determination are:
    1. SalesOrg
    2. Distribution Channel
    3. Division
    4. Document Procedure (defined in Sales doc\Billing doc maintenance) 
    5. Pricing procedure assigned to customer (defined in customer master)
    Hope this helps.
    Thanks,
    Swamy H P

  • FM/BAPI to add sales area data to a BP , FM to assign relationship to BP

    Friends of CRM world,
    I need your help in finding out BAPI or FM to
    add sales area data to an existing Business Partner (BP).
    Also I need to assign a relationship to this BP.
    Please help me with info on BAPIs or Function Modules for this if you can.
    Best Regards,
    Vivek

    Hi Vivek,
        You should use separate function modules for each tab in the sales area data. Please find the following code:
    For shipping data tab of sales area data
          CALL FUNCTION 'BAPI_BUPA_FRG0020_ADD'
            EXPORTING
              businesspartner = g_partner_no
              sales_area      = wa_sales_data
              data            = wa_ship_data
            TABLES
              return          = it_return.
    For billing data tab of Sales area data
          CALL FUNCTION 'BAPI_BUPA_FRG0030_ADD'
            EXPORTING
              businesspartner = g_partner_no
              sales_area      = wa_sales_data
              data            = wa_price_data
            TABLES
              return          = it_return.
    Use function module BAPI_BUPA_FRG0140_ADD - For organization data tab of Sales area data
          CALL FUNCTION 'BAPI_BUPA_FRG0140_ADD'
            EXPORTING
              businesspartner = g_partner_no
              sales_area      = wa_sales_data
              data            = wa_org_data
            TABLES
              return          = it_return.
    Thanks
    Swagatika

  • SHIP TO PARTY NOT DEFINED FOR CERTAIN SALES AREA

    Hi ...
    I am creating a specific type of sales order in va01 by reffering a billing document . But soon after entering billing document no it is showing " SHIP TO PARTY NOT DEFINED FOR CERTAIN SALES AREA..." The sales area --- which it's showing in error it is quite different ....it's not that one what we used for it in that ref billing document .
    Note : We are maintaining ship to party  , sold to party ..... in CRM only
    Their also I checked it is assigned properly .Relatioship with sold to party is also OK .
    But in R/3 I have checked that ship party is created in VD01 Where as sold to party is created in XD01 .
    PLS ADVC

    Dear Sundar,
    Please check in these areas
    1.Check the sales area which you are trying to create sales order and copying invoice sales area is same or not.
    2.Why you haven't created ship to party in XD01 transaction.
    You go to XD01 transaction exetend the customer master then try.
    3.Check the customer master(Ship to party) is available under which sales area.
    I hope it will help you,
    Regards,
    Murali.

  • Single Invoice for two sales areas

    Hello SAP Gurus,
    I have a scenario that Iu2019ll appreciate if a solution could be proffered
    Contractually, a customer requires materials from a company (company code), and these materials will be sold from 2 or more sales areas within the company code. However, a single invoice, which will list the items and their individual prices, is what is required to be given the customer. What solution can I use to resolve this?
    Thanks

    Hi luqmon
    Say you have material - MAT1 ; Customer - 1000 ; 1st sales area is - 1000/10/10  ; 2nd sales area - 2000/20/20
    So make sure that the material MAT1 is available in both sales areas
    Even customer (KUNNR) is also available in both sales areas . If you have created in 1st sales area then extended it to 2nd sales area.
    Maintain same pricing procedure for both sales areas in OVKK
    Maintain a access sequence with the key combination  Sales orgn / material . and assign the access sequnece to the Pricing (PR00) condition type
    Now Maintain the condition record for the material MAT1 in VK11 , with the key combination of sales orgn / material
    Now when you create the sales order and do delivery , PGI  and when you do billing then you can see the price of the material maintained in that VK11 based on sales orgn
    But yours can be solved either with a LIS report also
    Regards
    Srinath

  • How to  check how many Material Download from R3 to CRM for 1 sales area

    Hi Guys
    Thanks in advance.
    We are having CRM 5.0 Implementation. In our organization landscape we are having R3 system as well.
    All the master data for CRM comes from R3. We are performing the initial download of materials on the basis of Material Type , Sales area.
    For Example In R3ac1 T-Code
    We have set up filters for "Material" object in such a way that middle ware should allow flow of materials of
    material type = xyz
    Sales org = 1100
    Devision = I0
    D.Channel = XX
    My filters condition's are working fine.
    Now after running the initial download I am want to cross check in CRM ,
    How many materials got downloded for material type "XYZ" & for particular sales area "1100"?
    Please let me know if there is any table for the same ?
    or
    If there is any standard report program ?
    Thanks & Regards
    Abhay Newaskar

    Hi Rupesh
    The information & Z report is really helpful. But unfortunately its not solved my issue .
    In table CNCCRMPRSAP004  there is no entries in my CRM system.
    but when I open an Product In COMMPR01 table & go to Sales & Distribution channel tab. Then I can see that this product is available in two salea area.
    For example
    Product ID : REPAIR-NOWARRANTY
    In Tab SAP BASIC data following info available
    Category ID : MAT_ZERV
    Item Category group :ZERV
    In Tab Sales & Distribution
    we can see that this product is extended to two sales area.
    1206
    1290
    Now I want to run a report on the basis of following selection
    Sales area  = 1206
    Item category Group = ZERV
    Then the report should show me the above product used for example.
    Thanks & Regards
    Abhay

  • Bapi for creating Sales Area data on Relationship

    Hi,
    I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
    Example - I would like to create relationship type CRMH03.
    Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
    Does anybody know such a bapi?
    Regards
    Radek

    hi
    try using these
    BAPI_BUPA_CREATE_FROM_DATA
    BAPI_BUPA_RELATIONSHIP_CREATE
    best regards
    ashish

  • Different number range for different  sales area but same order type

    i have 2 different sales area but i have assigned same sales order type for 2 different sales area,
    but i need the number range different for different sales area for that same sales doc type,
    is that there is any user exists for number range? if so how can i find the user exists

    Hi,
    You can surely have a different number range per Sales Area. For this you will have to make use of a User Exit (which would surpass the standard SAP functionality). Try USEREXIT_NUMBER_RANGE.
    Maintain the desired range in VN01 with the respective Range Keys.
    Make a custom table comprising of Sales Area and Number Range keys (same keys which you maintained in VN01).
    Now everytime, the system will check which sales area is used and accordingly, it will fetch the Number Range Key~Sales Area combination from the custom table, and will pick up the number range from VN01.
    Coding should done by a good technical guy to make this work nicely.
    Hope this helps you.
    Regards,
    Vivek

  • How to get  sales area text data ( line1) from XD02

    hi sap gurus,
    how to get table name for sales area text xd02 (like marking, remarks , tag ) or we have to use function module to fetch it in the report.
    thanks ,
    Amit Ranjan .

    Table names for all texts are STXH,STXL but from table u cannot fetch them as in the table these texts are stored in RAW format. To fetch this text in human readable format use the FM READ_TEXT. To use this Fm u have to pass text name, text id and object name..u can get all data by double clicking the editor for each text..it will goto the sapscript editor(line editor) then from menu path Goto->Header..u will get all the info....
    Regards,
    JOy.

  • Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. when open external list

    Hi
    i created a external list based on a external content type in shaepoint designer
    but i got this error in event viewer when i open this list
    Could not open connection using 'data source=xxxx;initial catalog=xxx;integrated security=SSPI;pooling=True;persist security info=false' in App Domain '/LM/W3SVC/1756231635/ROOT-1-130330475307091531'. The full exception text is: Login failed for user 'NT
    AUTHORITY\ANONYMOUS LOGON'.
    I created bcs service with Users Identity  and my web application using claims based authentication
    and sql server in  seperate server under a domain.
    all servers are in same domain
    adil

    Most likely you are running into double-hope issue. 
    Read following article and implement the workaround that works for you.
    http://www.spdoctor.net/Pages/message.aspx?name=login-failed-for-user-bdc
    I am assuming your are using NTLM in your farm. If you are using Kerberos then check the following article.
    http://blogs.technet.com/b/harmeetw/archive/2011/08/28/getting-login-failed-for-user-nt-authority-anonymous-logon-when-browsing-external-list-on-a-claims-kerberos-web-application.aspx
    Amit

  • Having synced my ipod, there are certain artists missing from the list on the ipod, but the tracks are there under the songs list.  Any reason why and how do i correct this.  Thanks.

    Having synced my ipod, there are certain artists missing from the list on the ipod, but the tracks are there under the songs list.  Any reason why and how do i correct this.  Thanks.

    We'll assume for now, that all the songs and albums in your iTunes Library are correctly labelled (dangerous assumption, by the way!), and that a Compilation album is one with songs by different artists. Unfortunately, the music industry (bless their little cotton socks!) often mark an album by one artist, that has a collection of their songs from old albums, as a compilation! iTunes doesn't think it is!
    The missing artists will be those who only appear on Compilation albums. For example, if you have one song by Fleetwood Mac in your Library, and it's on a multi-artist Compilation album, then Fleetwood Mac will not be listed in the Artists menu. But, if you then import a Fleetwood Mac album (or even a Fleetwood Mac single) into your Library, then not only will Fleetwood Mac appear under Artists, but the song by them in the Compilation album will also be listed.
    One way to sort this out is to remove the Compilations option from the Main Menu and the Music Menu on your iPod. To do this, go to Settings/Main Menu/Compilations and press the Select (centre) button to turn off the tick. Then repeat this in the Settings/Music Menu/Compilations.
    You should now find the missing artists listed in the Artists menu.
    By the way, I now routinely check all albums I import from CD into my iTunes Library. Before I start the import procedure, I make sure that Compilation CD is turned on (highlight the album in the import window and right-click/Compilation CD) if it really is a multi-artist CD - and off if it's a single artist CD. Once imported, I manually change the album info to; (highlight album and select ) File/Get Info/Info/Album Artist has "Various Artists" in the box. Make sure it's the Album Artist box, not the Artist box.

  • Want report to display Sales Life Cycle for Particular Sales Area

    Hi all,
    What are the select-options,parameters and tables for the report sales life cycle for a particular sales area and if possible send me the code for the same.
    Thanks in advance
    Santosh R

    Hi Sandy,
    You would probably be better to post this in Crystal Reports Design forum category.
    You could add a unjion into the data source so that it always returns a dummy row for each category.
    Regards
    Alan

  • Inquiry with reference to an Inquiry for Diff Sales Area

    HI All,
    I want to create an Inquiry (for Sales Area 2: 0100 AA BB) with the reference of an Inquiry(Sales Area 1: 0100 CC BB).
    Inquiry type is same for both inquiries. I'm done with following settings
    Copy Control : Inquiry to Inquiry
    Material: Extended in Sales Area 2.
    Customer: Extended in Sales Area 2.
    Both Sales Area's assigned to Inquiry type
    Could you please suggest me if anything is missing OR the correct copy control setting for this scenario.
    Ramchandra

    hi I think you can achive with creating new Copying requirements
    use the reference of 002 (Header - diff customer)
    In this they are checking
    Is the sales org. the same in both reference and target?
    Is the dist. channel the same in both reference and target?
    Is the division the same in both reference and target?
    Hope this will work

  • Open Customer for Multiple Sales Areas

    We need that when we save a customer from a specific sales area this customer will be opened automaticly in several sales areas and company codes (because of buisness reasons we do not use consumers).
    I was not able to find a function/BADI that gives this functionality.
    Please asssit,
    Uri Dembo

    Hello Uri
    Please correct my understanding
    What you are saying is , when you create a customer in a specific sales area, it should get extended to rest of the sales areas, is that what you are saying?
    If yes, then you might want to take help from your technical folks (Abapers) for auto extension of customer in other areas.
    Before you do that, it is essential to understand that you have the right configuration in place.
    Regards
    Kalpesh

Maybe you are looking for

  • Photoshop CS - Saving file as jpg

    Hi I am using CS v8.0 and using a javascript action script. I seem to be having all kinds of problems saving the document as a .jpg though. I simply want to open all the files in a folder, resize the image and save the file with a different name (in

  • Updating to OS X 10.8.2

    Greetings everyone! I installed OS X 10.8 in August, right before I packed up all my stuff and moved to Arizona. Now that I finally have my iMac unpacked and running, I get an update that I need to update to 10.8.2. However, I keep getting an error w

  • Patch 3480000 install - Failed worker  FndXdfCmp  Index *  doees not exist

    Dear All I am in the process of installing Patch 3480000 (11.5.10.2) and during the running workers 1 failed with "FndXdfCmp" the full command is_ adjava -mx256m -Xrs -nojit oracle.apps.fnd.odf2.FndXdfCmp &un_apps &pw_apps &un_apps &pw_apps &jdbc_pro

  • OUI does not detect RAC installation while installing 10.2.0.3

    Hello all, I have a 2 node rac on 10.2.0.2 on Solaris 10. The other day when i tried to upgrade them to 10.2.0.3, the installer was not detecting installation as a RAC(the cluster nodes were not shown), but as single installation. Even 'opatch lsinve

  • Unable to install Extension Builder 2.1

    I'm unable to install the 2.1 trial on a Windows 7 machine.  I get a message saying: 'The setup has detected that no version of the Extension Builder 2.1 is installed. The specified command-line options require that the applicatoin be installed to co