Validate Sales Organization in SWI5 Report

We are enhancing SWI5 report in CRM system and we are copying this to Z program and enhancing it.
In our new custom Z program we are adding new search field "SALEs Organization". The requirement is to get all the Work items as per sales organization in new Z SWI5 report. I am facing problem in validating the sales organization. Please let me know is there any configurations involved to validated sales organizations entered by user.

Hello,
We have a consultancy providing some work on a similar issue.
You can use method CL_CRM_ORGMAN_SERVICES=>F4_SALES_ORG to provide input help on the sales organization.
Regarding validation, one of our consultants used
u201CSELECT SINGLE sales_org FROM comm_pr_frg_rod WHERE  sales_org  = <xxx>"
This does not seem great to me - if you find a better way, can you share it?
Stuart.

Similar Messages

  • Material List Report by Sales Organization

    Hello Gurus,
    Does anybody knows if there is a Material List Report by Sales Organization?
    I try to generate a Material List Report filter by Sales Organization.
    Please I will appreciate your help.
    Regards,
    Hector

    Hi,
    Just extended from above suggestion
    Go to Se16 transaction code put table as MKVE.
    Give ur sales org and generate a report.
    Thanks
    suresh

  • Standard Report for Material with Sales Organization

    Hello Gurus,
    I'm looking a report could bring a list of materials with belongs to a Sales Organizations. 
    Please, any help will be appreciated.
    Hector.

    Dear Hector,
    Fetch data from Database View /BEV1/RBEA_V
    Fields:
    VKORG - Sales Organization
    VTWEG - Distribution Channel
    MATNR - Material Number
    You can fetch material numbers based on Sales Organization, Distribution Channel, or combination of both.
    Go to SE11 -> Choose View/Database radiobutton and enter /BEV1/RBEA_V -> Choose display -> Display entries -> you can restrict the records to be displayed by entering proper values in selection screen.
    Go to SE16 -> enter /BEV1/RBEA_V -> Choose display -> Display entries -> you can restrict the records to be displayed by entering proper values in selection screen.
    Regards,
    Naveen.

  • R3 Sales Organizations in CRM

    Hi,
    I have a requirement to validate the given Sales organizaion against the R3 Sales organization.
    Is there any table in CRM , which has the list of r3 sales orgs?.
    Regards
    Elini.P

    Well BAPI_HELPVALUES_GET is the RFC I was talking about. But you should use class CL_CRM_ORGMAN_SERVICES for doing the validation. Try following sample code for validating Sales Org -
    REPORT  ZTEST_SORG                              .
    parameters : p_sorg type CRMT_R3_SALES_ORG.
    CALL METHOD CL_CRM_ORGMAN_SERVICES=>CHECK_R3_SALES_ORG
      EXPORTING
        R3_SALES_ORG      = p_sorg
      EXCEPTIONS
        INVALID_SALES_ORG = 1
        others            = 2
    IF SY-SUBRC <> 0.
       write : / 'invalid sales org'.
    else.
       write : / 'valid sales org'.
    ENDIF.

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

  • Copy Customer in different Sales Organization

    Hi,
    we have a company code and we create another Company Code and another Sales Organization in the same machine. For that, there are a lot of customers that will begin to work with the new Company. We find a report RFBIDE10, Transfer Customer Master Data from Source Company Code: Send; to transfer customer from old company to new, with a B_I. We are looking for the same program to create customer in the new Sales Organization, could you help us ? Do you know is exist a BAPI to do this or a program ? Any idea to do this, of course we could make an ABAP program, but we want a Std. Solution, if it's possible
    Thaks in advanced,
    Carlos.

    Hi,
    We make a customer development.
    Thanks.

  • Sales organization structure changes in COPA

    Hi All,
    My client like to change Sales organization structure like Distribution channel,division,sales office,sales group etc. and profit centers in sales orders.
    from 01/01/2011 we like to post all open sales order's settlments to new sales organization,distribution channel,division,sales office,sales group and profit centers in COPA.
    What is the best way to achieve this?
    Any help is appreciated.....
    Thanks,
    Anusha

    Hi,
    I think COPA realignment should work for you.
    If you can establish the exact relation ship between old Sales org structure  to new Sales org structure, you can design your realignment in such a way that the new sales data will reflect the new structure.
    For this,
    1.You need to select the sales documents for which you want to change the sales org.
    2. If you want to derive them again, you can do so
    3. If you want the sales org structure elements to be replaced by new ones, you can do so.
    Following a realignment, only the new assignment is known in the information system and in planning. The characteristic values valid at the time the original posting was made can only be analyzed in line item reports. Because the existing profitability segments are changed to adhere to the new assignment, all objects assigned to those profitability segments - such as sales orders or projects - and all existing SAP documents - such as billing documents or FI documents - reflect the new assignment as well.
    For more details, check the following link. [http://help.sap.com/saphelp_erp60_sp/helpdata/en/7a/4c48c64a0111d1894c0000e829fbbd/frameset.htm]
    Njloy
    Siva

  • How to create batch job based on sales organization?

    I am Sending data using RFC function module, within a report program.
    Now according to functional requirement I have to create two batch job scheduling scenarios:
    1. Provide a batch job to be run towards month end (2X, 1X) to sent a delta record message using Report.  This is scheduled on demand or requested on demand.  Recommend 1 message per sales org.
    Q: What does it mean by scheduled on demand or requested on demand?? Second thing is that like we have 10 sales org. and in variants for job scheduling we can assign only 1 at a time......how can i schedule per sales organization? do i need to create different job for each sales organization??
    (2X, 1X) what is the meaning of this notation??
    2. Create a new nightly batch job, run after daily billing batch, to send a delta records message of Report. Recommend 1 message per sales org.
    Anyone please provide me some details on this issue.......
    Regards
    Anshul

    I am Sending data using RFC function module, within a report program.
    Now according to functional requirement I have to create two batch job scheduling scenarios:
    1. Provide a batch job to be run towards month end (2X, 1X) to sent a delta record message using Report.  This is scheduled on demand or requested on demand.  Recommend 1 message per sales org.
    Q: What does it mean by scheduled on demand or requested on demand?? Second thing is that like we have 10 sales org. and in variants for job scheduling we can assign only 1 at a time......how can i schedule per sales organization? do i need to create different job for each sales organization??
    (2X, 1X) what is the meaning of this notation??
    2. Create a new nightly batch job, run after daily billing batch, to send a delta records message of Report. Recommend 1 message per sales org.
    Anyone please provide me some details on this issue.......
    Regards
    Anshul

  • How to archivate Opportunities according to sales organization?

    Hi Experts:
    We have closed organizational unit and want to archivate (trx. SARA) existing opportunities of this org. unit.
    Is there a possibility to filter opportunities to be archivated by sales organization?
    Best regards,
    Cristina

    Hi Cristina.
    The program CRM_ARC_SALDOC_CHECK is the preprocessing program that is called for sales documents such as opportunities. If you check this program in SE38 you will see that the only selection criteria for this report are by Transcation type and transaction number. Therefore it is not possible to only mark documents from a certain sales organisation as archiveable in
    standard.You would need to modify the program CRM_ARC_SALDOC_CHECK in order to have sales organization as a selection
    criteria.
    I hope this helps.
    Kind regards,
    Vanessa

  • RV_BELEG depending on: fiscal year, sales organization, month

    Hi everyone.
    We are facing an issue involving SD invoices numbering:
    we are currently using 3 numberings: one for receipts, one for invoices, and another one for cancelling invoices.
    The request is: this numbering should depend on fiscal year AND sales organization AND month (i.e. period).
    The problem is: we have sort of 30 sales organizations. Which yields 30 (sales orgs.) * 12 (months) * 3 (numberings) = sort of 1000 ranges EACH YEAR.
    But range RV_BELEG does not depend on anything, we can only define range numbers with a two-character string. If we used 0-9,A-Z coding we can use 36*36 = 1296 ranges.
    Which means: OK for the first year, but we cannot extend all these ranges for the 2nd and subsequent years.
    Anyone can help. Kind regards.
    Alvaro

    Hi all,
    I understand the requirements of Alvaro, he's spanish, as me, and it is a frequent requirement by spanish managers.
    First, try to understand the reason of this requirement. Perhaps the end users have the habit to know in which year and month was created the invoice by the ID (ie: VBRK-VBELN). You have a lot of fields for this in the interface to FI (check Note 301077 - User exits for the interface to accounting), after you can view this fields in FBL5N or other reports (you can enhance FBLXN tcodes, see SAP Note 215798 - FBL*N: Special fields are not displayed and related notes if the field populated is not in the standard). For instance, in field BSEG-SGTXT you have 50 characters to concatenate year, month, sales org and so on.
    Finally, explain to your client or to your boss that it's impossible. Think that by tax authority requirements in Spain, you can delete or archive invoices after 5 years, and field VBELN is a key of VBRK. And of course, it's not in legal requirements.
    I hope this helps you
    Regards
    Eduardo

  • Risk on wrong definition of sales organization, distribution channel and division

    Hi,
    our organization just started to implement SAP and SD module is one of the subject to complete.
    We are in the defining phase of the above subject but I still can not understand the risk of being miss-defining the sales organization, distribution channel and division. Is it true will only impacting the pricing and reporting only? Are there going to be future impact on this?
    Thank you before for your explanation.
    Andy

    Hi Andy,
    Good to see the suggestions!
    These are the rules I try to follow:
    Do not over do it. Simple is better and facilitates change.
    One sales organization for each company code unless significant differences exist between independent sales departments. Like one wants to use CRM and others won't. It's roughly equivalent to one by each top level sales director.
    One distribution channel for each sales channel group that defines different prices or different shipping conditions for the same material. Like retail and wholesale have different pricing. Special rules can apply like mail delivery require different correspondence settings.
    One division for each division of the company. If company has no clearly defined divisions (like Aeronautics and Footwear) there is no need (in sales) to split (it might in financials).
    Using sales office and sales group for reporting is a lot better than the top level structures because it's easy to change them in master data, unlike sales org or distribution channel. And when departments get reorganized the system effort is significantly reduced if no change occurs at those three top levels.
    So I normally use the sales office to the first or second level of reporting and sales group in some cases to represent individual sales persons or nothing at all in other cases.
    regards,
    Edgar

  • Mass Assignment of sales organization to products

    Hello experts,
    I'd like to ask if anyone knows an easy way to maintain, mass update all products or products of a category with tha sales data?????
    A trans. or report or smth, to assign the sales area XXX to all the products of the category YYYY.
    Thank you in advance
    Michalis Tamiolakis

    Hi,
    here's the menu path in IMG: Enterprise Structure -> Definition -> Sales and Distribution -> Define... sales organization
    But please note: this is definitely an optional task, it's only for statistical purposes. For reporting purposes you should still be able to get all your analyses based on the organizational assignments of the sites (site master) and also in the business documents (e.g. in purchase order header data) Anyhow, there's one restriction: if you do this, then the purchasing organization in question has to be assigned as standard purchasing organization to those sites, that have the sales organization assigned (further purchasing organizations could still be assigned then).
    From a business process point of view the sales organization - purchasing organization assignment is of no relevance.
    There might be one aspect related to Retail Pricing: if you forgot to assign a reference site for pricing (you should do this though! - Logistics General -> Retail Pricing -> Sales Price Calculation -> Assign Pricing Type/Reference Site to Organizational Level), the system could use that purchasing organization for supply source determination.

  • Scenario regarding Sales Organization, distribution channel

    Dear Experts,
    I am doing
    1. Simple Domestic sales from manufacturing plant
    2. Depot Sales: In which, Stock transfer between two plants i.e. from Manufacturing Plant to Depot and sales from depot
    3. Exports: Sales to other country.
    Now, my confusion is, whether i can use a single sales organization and three distribution channel for all these three scenarios or do i have to create three different sales organizations along with three distribution channels and do the processes?
    My anather question is, if i want to do depot sales, then it is possible to have one manufacturing plant and two storage locations at different places. i.e. issuing storage locatin and receiving storage location.
    Is it possible to sell goods from receiving storage location to end customer?
    What will be simple organizational structure i can make to acheive these things?
    I would be very helpful if you can give me your expert inputs on the scenario. I am trying to make the simple organization structure with less complications for my client.
    Thank you
    Amit

    Hi
    As suggested the best choice will be to go ahead with one sales organization for all these scenario. Since in domestic sale / export sale the only difference will be the Pricing configuration and that can be easily mapped using the either a distribution channel / or a customer pricing procedure.
    Now when it comes to handling the sales scenario - there is a option to go ahead with two or even three distribution channel.
    1. Domestic Sale (Can handle Both Depot sale and Manufacturing same- seperate dist.channel will help to pick right pricing procedure
    2. Export Sale - This distribution channel will help you to pickup export pricing procedure (Also if not then you can have customer pricing procedure to pick the export pricing )
    3. Stock Transfer (Can be done through domestic sale also)- I hope a seperate pricing procedure will be created for STO. So from the reporting purpose a seperate dist.channel can help you to have more clarity to the user - Again will help you to pick a different pricing procedure (A seperate Cust.pr.Pro can also be used to pick a different pricing procedure)
    4. If you are using DEPOT sale with Excisable mean you need to maintain RG23D register. Also you need to generate Excise Invoice, challan . If you use transfer process of storage location to storage locationthen there are concerns as how you will generate challan and Invoice. OR if it is a DEPOT to DEPOT Transfer then also you need supporting document. please do check as whether you need the required output or not.
    So Depot need to be maintained a PLANT in SAP with a check box as saying Excisable and relevant for RG23D. and a Normal Sales process will follow. Reporting can be done of PLANT as a primary key.
    Distribution channel will be a simpler way of Differentiation - and for reporting purpose.
    Thanks
    RB
    Edited by: RBhardwaj on Feb 16, 2012 6:54 PM

  • Sales Organization Structure for Distribution Industry

    Hi Experts,
    Need some inputs wrt Distribution Industry
    1. In Distributor set up. how should we set up the different manufactures which supply the products for distribution.
    2. How should we link the manufactures to Products they supply.
    3. How should we link the sales representatives to specific manufactures.
    4. Would it be a wise decision to incorporate manufactures as a division in the organization structure. Or should we map the manufactures as vendors and maintain the Vendor Info records.
    It would be really great if any one can share their experiences wrt to sales organization structure in the Distribution industry especially Pharma Distribution.
    Regards,
    KK

    hi
    this is to inform you that:
    first of all  i have a question to you.  you are manufacturer of products that means are you paying excise duty for manufacturing products or only distributor of products.
    1. In Distributor set up. how should we set up the different manufactures which supply the products for distribution.
    1.a. You can consider if you are manufacturing and distrubuting products
    If you are a manufacturer - tae material FERT if you are a distributor - tae HAWA asa material type.
    2. How should we link the manufactures to Products they supply.
    2.a. the organisation struccture lins each other & MMR also helps to lin 
    3. How should we link the sales representatives to specific manufactures.
    3.a. it may be specific to divisions tae one sales group for each specific divisions.
    4. Would it be a wise decision to incorporate manufactures as a division in the organization structure. Or should we map the manufactures as vendors and maintain the Vendor Info records.
    4.a. manufacturer as a vendor and different products a divisions.
    It would be really great if any one can share their experiences wrt to sales organization structure in the Distribution industry especially Pharma Distribution.
    sales organizations : 2 - domestic & exports
    distribution channels : 3 - retail - super stocists - C & F agents.
    retail/wholesales/distributors/superdistributors/super distributors - all you can consider all into one distribution channel or tae as different distribution channels you have to analyse from reports perspective to have all these.
    divisions - products = divisions lie cardiac - orthopedic to name a few.
    sales office : you can have many as per your requriment.
    sales group : basing on divisions = sales groups
    company code = how many balance sheets you are submitting now to AAI that many company codes you have to have.
    batch management with FIFO or LIFO strategy has to be mandatory in implementation.
    balajia

  • Assignment of sales organization to purchasing organization

    Hi experts,
    I saw one diagram that shows a sales organization can be assigned to purchasing organization. Can you please tell me how to assign this? Here's the statement from a book.
    In SAP Retail, a sales organization can be assigned to a purchasing organization. This
    means that the hierarchy creation that is displayed in the figure may be enforced. For
    statistical purposes, this may be of interest. In some cases, both terms are identical.
    Thanks for the help
    Edited by: Dwi Soetedjo on Mar 8, 2010 10:00 AM

    Hi,
    here's the menu path in IMG: Enterprise Structure -> Definition -> Sales and Distribution -> Define... sales organization
    But please note: this is definitely an optional task, it's only for statistical purposes. For reporting purposes you should still be able to get all your analyses based on the organizational assignments of the sites (site master) and also in the business documents (e.g. in purchase order header data) Anyhow, there's one restriction: if you do this, then the purchasing organization in question has to be assigned as standard purchasing organization to those sites, that have the sales organization assigned (further purchasing organizations could still be assigned then).
    From a business process point of view the sales organization - purchasing organization assignment is of no relevance.
    There might be one aspect related to Retail Pricing: if you forgot to assign a reference site for pricing (you should do this though! - Logistics General -> Retail Pricing -> Sales Price Calculation -> Assign Pricing Type/Reference Site to Organizational Level), the system could use that purchasing organization for supply source determination.

Maybe you are looking for

  • Move data from one table to another

    Hi, I need to move data from work space -1 to work space -2. I need to move only selected data. From work space -1 to work space -2 Work space -1 Table -1_ ID NAME Description 1 xyz one 2 abc two 3 mnk three Table -2_ ID PID NAME Description 1 1 x1 -

  • The way I deal with error message 1417, 1418 and 1428

    Firstly, sorry for my poor English, but I would like to share with you my experience, and hope that it may helps you. Since the release and update of iTunes 7, I have not faced any problem, but I heard a lot of articles from this forum about the erro

  • Is it recommended to use HSRP or multiple default between Core Layer Switch and Customer Edge Router?

    My client is asking me for following Client is using Router as edge device. 2  WAN links from different service provider ( each 20 Mbps)  are getting terminated on the router. There are internal servers present in the network. Client want to make set

  • Wait While Windows Configures TestStand

    Hello everyone, I'm having a problem when I launch TestStand in a couple of Deployment stations, I keep getting the "Please Wait While Windows Configures TestStand 4.1" message everytime I start the User Interface. I followed the instructions of this

  • Can't print a PDF file that is within a ZIP file.

    Can't print a PDF file that is within a ZIP file.  Get message "Windows cannot complete the transaction.  The destination file could not be created."  If I save the file and extract the pdf it works.  I didn't have to go through this hastle before.