Find programs/jobs having sales org in variant

Hi,
We are going to have some new sales org created in our SAP system(4.6C). After creating these sales orgs we need to modify variants of batch job which are using sales org as a parameter or select option. Is there any standard program which can be used to list all programs which has sales org(VKORG) in its selection screen.
Regards,
Sajith.

In that case I would agree with Thomas on writing a cusotm program with RS_VARIANT_CONTENTS.
Get all the custom programs...then in loop get all the variants...and then get the contents and scan through the contents.
but I think maybe scanning the OBJECTS table will be better in this case than VALUETAB. VALUTAB is helpful if you know the value you are looking for. In your case you want to add new values to vkorg, so searching the OBJECTS table for vkorg might be helpful.
Again it does not guarantee the entire list because the list will only show what the programmer named the field.

Similar Messages

  • Function Module to show all jobs in that Org Unit.

    Does any one know is there any Function Module which gives all the jobs that comes under that Org Unit. for example if org unit 10 has 2 Sub Org Units(11 and 12) and 3 jobs(20, 21 and 22) under it. and the Sub Org Unit 11 and 12 has 1 job each( 30 and 40). When you run for org unit 10 it should give all 5 jobs (20, 21, 22, 30 and 40).

    Hi Fayyaz
    Well you use a FM RH_READ_INFTY_1001 to discover the relationships between an ORG Unit and Jobs.
    Alternative, you can write a simple query to extract data from HRP1001 to find the jobs under an Org Unit. Because Jobs are related to an Org Unit and this relationship is stored in Infotype 1001/HRP1001.
    Reward Points, If helpful.
    Regards
    Waz

  • Sales Org. vs Territory

    Hi all,
    Currently, we are analyzing the advantages of having Sales Org. over Territory so that we can frame a meaningful Org. Structure in C4C.
    One part of functional team wants to setup Territory as Org. Hierarchy with a belief that they can see all Analytics sorting based on Territory as you can see in the below Opportunity report.
    Another part of functional team argues that org. Structure is inevitable but not able to give strong comments on why it is needed over Territory.
    We are kind of stuck on taking a decision here. This is not an integration related reqt. for now but we are thinking that it may effect in future as we have C4C Opportunity --> ECC Quote replication which is planned in phase 2. Will it be a problem there if we go with Territory model?
    I would like to know your opinion on this.
    Opportunity Analysis
    regards,
    Srivatsava J

    It depends on your requirements if you need territory management. I think using the sales orgs of the organisational structure is inevitable, adding territories might be overkill/confusing if you don't really need it. Note that you also need to define and maintain realignment rules (e.g. condition on postal code range) that determine the territory and owner. Also integration with ECC is a good point to consider.
    We actually did implement territory management next to the org structure. They have pretty much the same setup, so no problems there. We had extended requirements concerning account management; in our case the account manager (based on postal codes) is not the same as the employee responsible for sales. Territory management could meet our requirements and we also report on territory ID. I think from 1405 release there should be a new data source for territory management, so that should not be a problem (anymore..).

  • FM to find Tax Category for given Sales Org.

    Hi all,
    Is there an FM or a BAPI to find the Tax Category for a given Sales Org.? Please Advice.

    Hi
    I hope based on the Jurisdiction code the tax category is decided
    check the fun module like RE_GET_TAXCODE_INFORMATION
    ask the functional consultant regarding this and take his advise as these taxes vary from country to country
    Reward if useful
    regards
    Anji

  • 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

  • Finding related Sales org of Organizational Units

    I am working on something related to Org units. In my scenario, I need to get all the Sales Org assigned to a user.
    For instance, user 'ABC' is assigned to Org Units in the Org Model (PPOMW): -
    O  50000001
    O  50000002
    O  50000003
    I need to look for the related Sales Org based on these Org units. Any idea on how to find the related Sales Orgs??
    Many thanks in advance

    hi
    following are the tables for you
    CRMM_BUT_LNK0010, CRMM_BUT_LNK0020 , CRMM_BUT_LNK0030
    these will give you the details of the business partner to you and moreover BP is assigned as user to any org position
    you can get that user from the person id
    using FM
    BP_CENTRALPERSON_ASSIGN_USER
    hope it will help you
    best regards
    ashish

  • How to find what job runs a praticular program ?

    Hi,
    I know a program which is responsible for updating a custom table.
    Now, I wanted to know what job in SM37 runs this progam and how frequently its being updated.
    In anutshell, I know how to find the porgrams under a Job in sm37 but I don't know how to find the job which runs particular program.
    Can someone help me ?
    Regards,
    Tushar.

    Hi,
    Please check FM BP_FIND_JOBS_WITH_PROGRAM.
    Also check tables TBTCP and TBTCJSTEP.
    Regards,
    Ferry Lianto

  • How to find the Org.key based on Job key and Org Unit.

    Hi,
      Please Let me know how to find the Org.Key based on the Job Key and org Unit.
    Regards
    nagendra.

    On recent ThinkPad, the Product ID Key sticker has been moved from the bottom of the unit to behind the battery.
    You need to contact Lenovo technical support directly to ask about recovery media.

  • A Sales Document for a Particular Sales Org. should not appear in VF04

    Hi SD Gurus,
    Please guide me in this scenario.
    There is a Sales Document type ZNEW, for which the billing type is ZA.
    Requirement: -
    1. XXXX Sales Org. wants to bill ZNEW. I mean they create ZA from ZNEW.
    2. YYYY Sales Org. doesn't want to bill ZNEW. I mean they DON'T create ZA from ZNEW
        2a. They don't want to see ZNEW orders in VF04.
        2b. They don't want to exclude ZA from VF04.
    Is there any other way in which we can achieve the above requirements ?
    My Solution: -
    1. Putting a Billing Block for YYYY ZNEW orders only using USER_EXIT. But the problem with this is ZNEW orders still shows up in VF04.
    2. Putting a Reason for Rejection for all the line items in YYYY ZNEW orders using USER_EXIT. This time ZNEW won't show up in VF04. As there are some reports running for Reason for Rejection, the report looks big.
    3. I tried manually making YYYY ZNEW order complete in VBUK and VBUP. Still it shows up in VF04.
    Please let me know if you have any suggestions on this. Your response is really appreciated.

    Dear Uday Kumar Narayanappa ,
    I think as a consultant you have the say in deciding how the things should be mapped in SAP than the USER.
    I dont find any  reason other than having the same user id being shared between multiple users (and hence variant cannot be used).
    Anyways try this.
    Make a Z program copying VF04 .
    Give the Tcode which is agreeable for the users.
    In that Z program , write a code NOT TO CONSIDER documents of type ZNEW.
    Now limit the authorisation of this new program only to those users who doesnt not want to deal with ZNEW.
    Hope it helps.
    Thanks & Regards,
    Hegal K Charles

  • How to find the job and job status from RSPCM

    hi all,
    suppose we got an error and in rspcm the process was failed.i want to know the status of that particular job.and if any i want to stop that job in SM37.
    plz tell me how to find the job and job ststus from RSPCM...and how to stop that job in SM37
    thanks,
    jack

    Hi Jack,
    RSPCM: T.Code
    This transaction is used to monitor the process chains
    First:
    here you need to add the process chains into the sheet
    Second:
    Then you can monitor the process chains in this transaction code
    Like you can see the :  status ,proces chain ,Last run date ,Last run time ,Log ID
    Status : Green when sucessful,Yellow when running & Red when you get errors
    Now when yoy click on any of the process chain in RSPCM you will go to the LOG VIEW as you see in RSPC transaction
    SM37:T.code
    This transaction is used for Job Overview
    you can see many options in SM37
    like Released,active,cancelled,finished,etc
    Just select the ACTIVE  jobs and also pass STAR in JOB ID & USER ID
    here you can only see the active jobs
    Goto Step in toolbar
    select the program displayed
    then chose option GOTO - Variant in main menu bar
    in the variant you can see the job belong to which Process chain
    if you want to cancel this job come back to SM37 Display screen
    Select the Job and select the JOB DETAILS tab in Tool Bar
    Collect the WIP ( Work Permit ID)
    Go to SM50 T.code and find the WIP
    in Main Menu Bar you find the option Cancel with Core choose this it will cancel the Job
    Regards
    Hari

  • Urgent: User Roles assigned to Sales Orgs and document types

    Dear Guru's :
    I have job user roles one side and sales orgs on otherside. We are trying to find out which sales orgs are using what sales document types.
    All i am trying to achieve is connect those two and make a report. it needs to be done by SE16
    First step is :
    PFCG- Enter Role u2013Click glasses-Authorizations-Display Authorization data
    you need to identify the authorization objects for each T-code and then assign the appropriate values for each authorization object. these authorization objects assigned to a Role and then, allowed T-codes are assigned to Role and
    My Basis Person to Create one AUTHORIZATION OBJECT      V_VBAK_AAT  Sales Document: Authorization for Sales Document Types  and assign your required transaction codes to that authorization and assign them to the users.
    User IDs which can use this Role (set of authorizations) can be assigned to this role.
    Second step is achieved through SE16 ;
    Execute this two table :
    There is no one-shot for this However there is a way out for this outside SAP.
    You can download AGR_1251 and AGR_1252 for the selected roles and use MS Excel or Access to do this compare for you. Its a bit more tricky than said, however once you get a hang of it, I think its a good way of reducing the efforts of making use of individual compare reports.
    Any one knows how to do this i am kind of lost here.  Could you help me to organize this process / steps.
    Full points will be given to who helps me answer my question.
    Thank you in advance.

    Dear Raghu and all:
    I am very much thankful to you for your answer Raghu. This is exactley what i was looking for. Could you throw more light on this topic. Or do you know where can i get more info.or  more tcodes related to this topic. I am using SUIM and PFCG. I dont know much about this transactions. Could you please help me to understand this topic.
    I have Authorization object through which i found out which sales documents are attached to users. I dont know next step in this process. Or does any one know any thing about this subject.  Any help will be grateful.
    Van bills.

  • Creating New Sales ORG

    Hi
    We created a new Sales ORG in R/3.
    TO replicte the changes in CRM I replicated the new Sales org in PPOMA_CRM and linked it to the R/3 Sales ORG.
    But even then when we are creatign an Oppurtunity we are not able to see the newly created Sales ORG.
    DO I need to do other steps so that we can seethe Sales org in the Activities transaction.

    Hello Zack,
    The problem may be due to following causes:
    1. The structure of the organization is missing in the CRM system.
    2. The CRM organizational unit is not assigned to the R/3 organizational unit.
    3. The division is not active in the CRM system, however, the R/3 substitute division is not maintained.
    4. The program buffer in the CRM system is outdated.
    So what you could do was the following -
    1. You can use Transaction PPOMA_CRM to check the structure of your organization.To create the structure, read the documentation in the IMG ('Customer Relationship Management -> Master Data -> Organizational Management -> Organizational plan'). As of CRM Release 2.0C, you can generate the data from the R/3 system automatically. For this, use Transaction CRMC_R3_ORG_GENERATE.
    2.In Transaction PPOM_CRM, each R/3 organizational unit has to be assigned to a CRM organizational unit.This assignment occurs in Transaction PPOMA_CRM.You find the corresponding fields in the 'Type' tab. You can maintain distribution channel and division on the 'Attributes' tab.
    3. If you do not want to use a division in the CRM system, you have to make the corresponding Customizing in the IMG ('Customer Relationship Management -> Master Data -> Organizational Management').
    4. The organizational structure is buffered to increase the performance.Up to CRM Release 2.0B, this buffer is only updated once every day.
    If you change the organizational structure and transfer the master data based on the changes from the R/3 system on the same day, error messages may occur. Run the attached report ZCRM_ORGMAN_VTAREA_GET to resetup the buffer.
    Hope this helps.
    Thanks
    Sumit

  • Tables for  Job (STEXT)in Org model

    Hi friends
    Could any one please tell me the table names which stores JOB-STEXT  (which is there under the position field )in the ORG model .Now my requirement is that i should get the job of the BP based on the personal number or BP.
    Earlier reply would be appreciated
    Thanks in advance
    Rao

    The function module to find the BP number for the given sales organisation is 'CRM_ORGUNIT_GETBUPA' give organization number as '50000637' instead of 'O 50000637'. you will get bp guid as out put. then you can go to BUT000 and pass the BPGUID and get BP number. else call 'BBP_BUPA_GET_NUMBER' and pass the guid, get the BP number.
    You can write select SOBID from hrp1001 into table it_hrp1001 where otjid = orgid and sclas = 'BP'.
    here SOBID is the field which contains BP number for that sales org. sclas field should be 'BP'.
    Reward points if it helps you
    Regards,
    Srinivas Maddineni

  • Copying New Sales Orgs To Sold To Parties

    We are planning to create a new sales org. to replace an existing Sales Org.
    The existing Sales Org stay and will be run in parallel with the new sales org. until phased out.
    All Sold-To Parties under the existing Sales Org will also need the new Sales Org assigned to them.
    Is there a way of giving these Sold-To Parties the new Sales Org i.e. through a program?
    Any advice appreciated.
    Many thanks
    David

    Hi,
    CRM is used with R/3 as the back end system.
    The Sales Org assignment however is driven from CRM.
    I find it hard to believe that there is no way of creating the sales org assignment in multiple Sold-To Parties because this kind of thing must happen many times with SAP implementations where an old sales org in an old company code is superceeded with a new one.
    One action suggested to be was to change the Sales Org Number in PPOMA_CRM against the existing Sales Org and then do a CRMM_BUPA_SEND for the Sales Orgs in this Org structure, then change it back to the old number, but this sounds a tad dodgy.
    David
    null

  • No values for Sales Org, can be found in Campaign

    Hi gurus
    I´m implementing CRM 4.0., I created a Sales Organization by organisational model (IMG), and assigned the corresponding Sale functions to each Org.unit´. In marketing I created a Campaign with Discount(tab), but When I try to select Sales Org. to condition type, system can not find values for it.... Could some hepl to solve this problem, What´s missing???
    Thanks a lot, I reward good points !!!

    Hi all,
    I am having a similar problem . I created a campaign in webclient 2007 but i am not able to select a target group. No values are shown in the search help. What could be wrong ? Pls help me.
    Regards,
    Aravind.

Maybe you are looking for

  • Problem setting initial value for LOV

    Hello, everyone. This seems like it should be simple, but it's giving me lots of problems. I am trying to create my first LOV. I have a messageLovInput item called PFedFilingStatus. From the Property Inspector, I can set an Initial Value of "02", whi

  • PDF simple vectors look OK in Preview, distorted in Adobe Reader?

    I am working on a document in Illustrator CS5 on Mac OS 10.5.8. The doc is meant to be viewed primarily through e-mail, possibly printed to a desktop printer. I am replacing certain letterforms with vector objects – basically, I'm using simple rectan

  • Creating a new directory in Java

    Can anyone tell me how I can create a directory on the C: drive using java code. Eg:C:\javacode\workspace

  • FB 4.7 on MAC OSx 10.8.4 with CF

    Hi All, I have couple days trying to configure this new MAC with FB 4.7 and ColdFusion 10. Alex was helping me to debug this issue but I still cannot figure this out, sorry no an expert in MAC or apache. Here is the way I configured the CF in MAC usi

  • HDMI - Port/cord advice needed

    Ok - I have a new Dynex HD TV. I want to connect my Macbook Pro (Early 2011, Mountain Lion) to it, but am questioning myself on the purchase to make... After doing some research I see that this requires connecting from the Thunderbolt using HDMI - My