Any BAPI to retreive sales area for the given BP Number in CRM

HI, I am looking for a BAPI which can retreive sales area for the given BP number.
I appreciate for the quick response and points are awarded.
Thanks,
Kumar.
Edited by: Kumar on Jun 5, 2008 6:40 PM

Hi Kumar,
This is not exactly a Bapi but you can use the following 2 functions.
The function below will get a list of sales areas assigned to the BP.
call function 'CRM_BUPA_FRG0010_GET_LIST'
    exporting
      iv_partner_guid = lv_partner_guid
    importing
      et_sales_areas  = lt_areas.
You can then use CRM_BUPA_FRG0030_GET_DETAIL to get the detail of the sales area.
Hope it helps.
Johan

Similar Messages

  • Any BAPI to retreive salease area for the given BP Number in CRM

    Hi, I am looking for a BAPI to retreive sales area information for the given BP number in CRM.
    I appreicate for quick response and points are awarded.
    Thanks,
    Kumar

    Hi Kumar,
    This is not exactly a Bapi but you can use the following 2 functions.
    The function below will get a list of sales areas assigned to the BP.
    call function 'CRM_BUPA_FRG0010_GET_LIST'
        exporting
          iv_partner_guid = lv_partner_guid
        importing
          et_sales_areas  = lt_areas.
    You can then use CRM_BUPA_FRG0030_GET_DETAIL to get the detail of the sales area.
    Hope it helps.
    Johan

  • Searching for Sales Order for the given Customer PO Number Pattern in BAPI

    Hi,
         I have developed a BAPI which retrieves all the Sales Orders for a given Customer (Sold-To). The Following are the Input Parameters given in the Function Module (RFC).
    Customer Number (Mandatory)
    From Date (Optional)
    To Date (Optional)
    Sales Order Number(Optional)
    Customer PO Number(Optional)
    Now, when the Customer PO Number is populated, it will come as a Pattern, say 9ab* and I need to retrieve all the Sales Orders with PO Number starting with 9ab.
    When I am trying to retrieve, it is giving different set of output based on the Case specified in the Customer PO Number Pattern. Lets say, if I give 9ab, I get 200 Records but if I give 9AB, I get only 5 to 6 Records.
    As I have understood from the Standard Transaction VA03, it has a Search Help VMVAA which retrieves all the Sales Orders for the given PO Number pattern irrespective of the Case, that is Lower Case, Upper Case or Mix of Upper and Lower Case.
    I can see the Code in the Search Help Exit but couldn't find useful piece of code which I can implement in my BAPI to simulate the same.
    Can somebody help me on this?
    Thanks,
    Venkat.

    Hi Sudhir,
             I think you did not understand what my problem is. What I mean to say is, for Customer X, the PO Number could be 9abc and for Customer Y, the PO Number Could be 9ABC.
           So, according to your logic, if I translate it to Upper Case, it will give the Sales Order details of Customer Y to Customer X.
          And more over, SAP stores the PO Number as it is entered in the Sales Order Screen (VA01).
        What if the Customer PO Number for Customer X is 9aBcDeFgH? and the PO Number for Customer Y is 9AbCdEf?
       Hope you've understood my question.
    Thanks,
    Venkat.

  • BAPI to fetch Delivery Data for  a given delivery number

    Hi Experts,
    Is there any SAP Standard BAPI to Fetch the Delivery/Picking data.
    Just to fetch  all the Delivery/Picking related data from SAP on Providing a Delivery Doc number.
    I will be thankful to you , if u let me know how to connect VB application to SAP using BAPI to fetch the data to VB application.
    Thanks & regards,
    Prashanth

    Go thru these links
    [link1|http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/content.htm]
    [link2|http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_cid417095,00.html]
    [link3|http://www.experts-exchange.com/Database/Software/ERP/SAP_ERP/Q_20693539.html]
    Regards,
    SAPient

  • Calculate Avg  for the given months based on the no. of days in months

    Dear Experts
    I  have a report in which there is a characterictic claenderyr/month.The Input paramter is claenderyr/month which is restricted by a variable of type interval. i mean user will enter calenderyr/month as interval say 012010 to 06.2010. Now I have to calculate Avg sale Qty for the given months based on the no. of days for the given range of months. How I can achieve this in BW Query. Pl. advice
    Dinesh Sharma

    Hi,
    Create formula for the sales qty.
    maintain the exception aggregation as average based on calday
    Best Regards,
    M.H.REDDY

  • BAPI for getting Sales Areas for a Plant+material Combination........

    As per the SPRO settings,  you assign your plant to your sales org and Distribution Channel that means you are authorize your sales area to sell the material from a particular Plant
    Can any one plz help me in finding the BAPI that can list all the Sales Areas for a particular plant where the Material can be sold.....
    Thanks In Advance
    Abhi.......

    Hello,
    In DB table TVKWZ you can find the plants assigned to a particular sales areas.
    If you want to find the sales areas, in which the plant exist, select sales area info from TVKWZ by passing WERKS.
    If you want to find the plants exist in a particular sales area, select plants from TVKWZ by passing sales area info. To accomplish this, you can also use the FM "TVKWZ_GENREAD_WERKS".
    Hope this helps you!!
    Regards,
    Ganga

  • How user can get a Sales Text for the any Line Item in the Billing?

    Salute Masters ! !
    How user can get a Sales Text for the any Line Item in the Billing?
    It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
    Where I can configure in system for all.
    Rgds
    Srivastav
    09973504950

    Hi,
    Sales text can be copied from customer to order , order to delivery and delivery to billing .
    Check the T-code : VOTXN , do the customization as per your requirement.
    check the below link :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm

  • How to delete sales area for a customer?

    Hi Experts,
    Are there any BAPIs or Fucntion modules that can delete sales area for a customer? What are the correct parameters should I fill in?
    If there's no BAPI or Function module... Kindly please assist me on how to execute the correct transaction to delete it.
    Thanks in advance!

    Hi Prasanna,
    I checked transaction VD06, indeed that it shows details for the sales area of a customer... but how can I delete the sales area data? There is a deletion flag for it? I tried to flagged it to deletion but when I tried to display it again through transaction XD03, it just give me the warning message 'Customer 20000702 is marked for deletion in the sales area selected' then it displayed the sales area...
    I checked the KNVV table and the data still exists however the field for deletion flag is raised to 'X'.
    I'm not sure if this is the proper way to delete a sales area. Can you please confirm?
    Thanks in advance!

  • Giving error while creating a sales contact for the previous year (2008)

    Hi Friends,
    We are currently with SP12. When we try to create a sales contract for the previous year it is giving error like "Schedule line is for the item 100 cannot be after the order's latest delivery date".
    i tried debugging and found that that there is a rule created for this (in SP12). I commented the rule and tried to create a contract but, again got an error "Error while saving". This error I can't catch while debugging.
    I even didn't find where the schedule line date and header cancel dates are set so that I can change the dates manually.
    If any one has any idea, kindly help me.
    Best regards,
    Swarna Seeta

    Hi Wolfhard,
    Thanks for the reply.
    You are right and I have uncommented the line which assigns true to the return value and the contract got saved now.
    Thank you so much.
    I just want to know whether commeting this rule effects any of the functionalities of the sales contract.
    Best regards,
    Swarna Seeta

  • Different sales area for Inter company stock transfer and STO

    Hi People,
                           Is it possible to have two different sales area's for Inter company stock transfer and within the company stock transfer. The problem is in below step
    IMG->MM->Purchase Order->Setup stock transport order->Define shipping data for plants.
    In this step when you define plant as customer, the same plant as customer needs to be maintaind for both STO and Inter company and there is only one entry of sales area possible for this single plant. So, how can the task be achieved.
    I want that STO should be carried out by sales area lets say X/Y/Z
    Inter company should go through A/B/C.

    hi dear,
               It is not possible at all to have two sales area for given Plant in STO.
               What is issue in that u can Transfer any MATERIAL, just need to extend it to given sales area.
    Reagrds
    AJIT K SINGH
    HAPPY TO HELP U

  • I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can

    I have a new Samsung phone and I live in CT. Last month they charged me $38 on my bill for the sales tax for the new phone which was $600. I'm paying for the phone itself over 20 installments of $30 each.  Now again I'm getting that same $38 charge. I can't  believe that the monthly CT tax is higher than the payment for the phone itself. Does this make sense. Last time I spoke with them on the phone it was for 1 1/4 hours for something simple. I don't want to call unless I need to. The salesman told me nothing about any of this. Thank you for any help you can offer.

    The bill from last month states:
    CT state sales tax**     $38.10
    ** In some states sales tax or surcharges are calculated on the full cost of the full retail price or VZW cost of the device you purchased and not on the discounted price you pay. The sales tax or surcharges charged on your device was based on $599.99 and appears on this first bill.
    The current bill says the same.
    Actually, now I'm realizing that last month's bill stated I was making the first payment toward the phone. Now this month also says it's the first payment toward the phone when it's really the second.

  • Sales area for STO and sales

    Dear all...
    when we use ref sales org, ref dist channel and divisions (ref sales area) for STO purpose.
    so is there any problem if we make sales using the same sales area to any customer?
    Please solve my query.
    Thanks...
    Deepak...

    Hi,
    We wont required to create as many customer for different plant.
    As you know plant is determined in the sales order from customer material info record or customer master data or material master data.
    So if you have to many plant then donu2019t save any plant in customer material and in customer master data.
    So it will fetch the plant from the material master data automatically.
    Regards
    Raj.

  • Could someone please advise on my current problem? Apparantly I can no longer download tones to my phone or account to be used as such since the tones are being downloaded as songs that cannot be transferred or placed in the tones area for the phone...

    Could someone please advise on my current problem? Apparantly I can no longer download tones to my phone or account to be used as such since the tones are being downloaded as songs that cannot be transferred or placed in the tones area for the phone or in iTunes. Prior to the last update, this was always an option. I have also noticed that the Ringtones and Alert Tones are not showing up in my recent purchases as well to allow for me to place them back on my phone and there for require for them to be purchased again... Any help would be greatly appreciated!

    I've discovered that all tones purchased will be downloaded as ringtones, BUT they can be utilized as tones and assigned as alert tones on the iPhone...

  • I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions a

    I am in the process of expanding a database of chemistry journal articles.  These materials are ideally acquired in two formats when both are available-- PDF and HTML.  To oversimplify, PDFs are for the user to read, and derivatives of the HTML versions are for the computer to read.  Both formats are, of course, readily recognized and indexed by Spotlight.  Journal articles have two essential components with regards to a database:  the topical content of the article itself, and the cited references to other scientific literature.  While a PDF merely lists these references, the HTML version has, in addition, links to the cited items.  Each link URL contains the digital object identifier (doi) for the item it points to. A doi is a unique string that points to one and only one object, and can be quite useful if rendered in a manner that enables indexing by Spotlight.  Embedded URL's are, of course, ignored by Spotlight.  As a result, HTML-formatted articles must be processed so that URL's are openly displayed as readable text before Spotlight will recognize them.  Conversion to DOC format using MS Word, followed by conversion to RTF using Text Edit accomplishes this, but is quite labor intensive.
      In the last few months, I have added about 3,500 articles to this collection, which means that any procedure for rendering URL's must be automated and able to process large batches of documents with minimal user oversight.  This procedure needs to generate a separate file for each HTML document processed. Trials using Automator's "Get Specified Finder Items" and "Get Selected Finder Items", as well as "Ask For Finder Items"  (along with "Get URLs From Web Pages") give unsatisfactory results.  When provided with multiple input documents, these three commands generate output in which the URLs from multiple input items are merged into a single block, which yields a single file using "Create New Word Document" as the subsequent step.  A one-to-one, input file to output file result can be obtained by processing one file at a time, but this requires manual selection of each item and one-at-a-time processing. What I need is a command that accepts multiple input documents, but processes them one at a time, generating a separate output for each file processed.  Is there a way for Automator to do this?

    Hi,
    With the project all done, i'm preparing for the presentation. Managed to get my hands on a HD beamer for the night (Epason TW2000) and planning to do the presentation in HD.
    That of course managed to bring up some problems. I posted a thread which i'll repost here . Sorry for the repost, i normally do not intend to do this, but since this thread is actually about the same thing, i'd like to ask the same question to you. The end version is in AfterEffects, but that actually doesn't alter the question. It's about export:
    "I want to export my AE project of approx 30 min containing several HD files to a Blu Ray disc. The end goal is to project the video in HD quality using the Epson  EMP-TW2000 projector. This projector is HD compatible.
    To project the video I need to connect the beamer to a computer capable of playing a heavy HD file (1), OR burn the project to a BRD (2) and play it using a BRplayer.
    I prefer option 2, so my question is: which would be the preferred export preset?
    Project specs:
                        - 1920x1080 sq pix  (16:9)
                        - 25 fps
                        - my imported video files (Prem.Pro sequences) are also 25 fps and are Progressive (!)
    To export to a BRD compatible format, do i not encounter a big problem: my projectfiles are 25 fps and progressive, and I believe that the only Bluray preset dispaying 1920x1080 with 25 fps requests an INTERLACED video  (I viewed the presets found on this forum, this thread)... There is also a Progr. format, BUT then you need 30 fps (29,...).
    So, is there one dimension that can be changed without changing the content of the video, and if yes which one (either the interlacing or the fps).
    I'm not very familiar with the whole Blu-ray thing, I hope that someone can help me out."
    Please give it a look.
    Thanks,
    Jef

  • In sales order for the condition type MWST, **Tax code** is displaying wron

    Hi
    In sales order for the condition type MWST, *Tax code* is displaying wrongly at header level i.e. FF instead of AO (under account determination tab)
    AO tax is 0% but for FF it is 19%
    I have checked with the Access sequence it is picking access 08 correctly according to this it should show AO in tax code field for MWST but it is not so..
    There is a manual change for tax classification for material master in va02 initially it was blank now it is changed to ' 0 ' is any way influencing....?
    Even if I consider material tax classification and customer tax code  should not be FF because  tax code  FF is not maintained for the combination of access sequences for condition type MWST
    Please help me.
    Rajendra Prasad

    Dear Rajendra,
    There is a manual change for tax classification for material master in va02 initially it was blank now it is changed to ' 0 ' is any way influencing....?
    Definitely material Tax classification will influence to determine the Tax code.
    -->So Make sure that customer and material master having proper tax classification indicator.
    -->Have you Update the price after changing the tax classification in the sales order.by going to item dat -->condition tab then click on Update push button bottom of the conditions screen.
    -->Once again the check the condition record maintanence also for your MWST access sequence.
    I hope this will help you,
    Regards,
    Murali.

Maybe you are looking for

  • Top 10 Obstacles to Sql Developer Becoming a World-class Tool

    I've been working with Sql Developer day and night for the last 6 months. On a positive note, the SqlDeveloper team has been the most responsive Oracle product team I've worked with in the 19 years I've been working with Oracle tools. They pay attent

  • A Problem with a K7T-Turbo 2

    HI I have a K7T Turbo2 (MS-6330 Ver5.0) and I'm with a problem here: When I'm botting, the POST screen shows my Cyberdrive 48x CD-Rom as a ATA-33. This is ok but, when I'm in the Windows XP Professional or in the Windows 2000 Professional, I cannot s

  • Outline data utility issue in unix environment

    Hi I am trying to load metadata using OUTLINE DATA UTILITY in UNIX SERVER and i am getting this error .... this is my .csv file.. MEs, Parent, Alias: Default, Data Storage INDSOL,MEs,, IRSSVS,INDSOL,IRSSVS ES IS INDUSTRIAL SERVICES, FSSCAN,IRSSVS,FSS

  • Reinstall and Install horrors

    Earlier this month Time Machine crashed during a backup and hung the system. Then I could not reboot. I booted from TechTool 4 and attempted to repair the drive, but it couldn't be repaired. I booted from the Leopard DVD and ran Disk Utility and it t

  • Burn a iphoto slideshow to a dvd playable on a dvd player?

    Hi trying to burn a slideshow from iphoto to a dvd(6hours and still I can't get it to go)I have made it as a quicktime movie, sent the slideshow also to idvd and when I press burn it says movie can't be modified and not burn. Using iphoto 5 also get