Hi  how to find list help in parameters..?

hi gurus
i have some doubt..?
my selection-screen is
sales organization,
distributed channel,
division..
i got list help for sales organization
but i could not get list help for remaining two.
i need list help for distributed channel from that sales organization,
division list help for combination of sales organization n distributed channel,
finally i got the customer list of those combination on selection-screen itself.
can anybody suggest me
how to solve that.
thank you
regards
kals.

Hi,
Use the below logic.
tables: t001k.
For Identification Number
DATA: BEGIN OF it_bwkey OCCURS 0,
        bwkey LIKE t001k-bwkey,
      END OF it_bwkey.
data: v_bukrs(4).
For Run date
DATA: BEGIN OF it_bukrs OCCURS 0,
        bukrs LIKE t001k-bukrs,
      END OF it_bukrs.
DATA it_ret LIKE ddshretval OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN: BEGIN OF BLOCK main WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS:    p_bukrs(4) TYPE c.
SELECT-OPTIONS s_bwkey FOR t001k-bwkey NO INTERVALS.
SELECTION-SCREEN END OF BLOCK main.
Validation Section
INITIALIZATION.
  SELECT DISTINCT bukrs FROM t001k INTO TABLE it_bukrs.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_bukrs.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield        = 'BUKRS'
      dynpprog        = sy-repid
      dynpnr          = sy-dynnr
      dynprofield     = 'P_BUKRS'
      value_org       = 'S'
    TABLES
      value_tab       = it_bukrs
    EXCEPTIONS
      parameter_error = 1
      no_values_found = 2
      OTHERS          = 3.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_bwkey-low.
  TABLES: t130r.
  DATA: BEGIN OF dynpfields OCCURS 0. "Hilfsstruktur zum auslesen des
          INCLUDE STRUCTURE dynpread. "Feldwertes vom Dynpro bei >F4<
  DATA: END OF   dynpfields.
  DATA : sy_repid LIKE sy-repid,
         sy_dynnr LIKE sy-dynnr.
  CLEAR dynpfields.
  REFRESH dynpfields.
  dynpfields-fieldname = 'P_BUKRS'.
  APPEND dynpfields.
  Lesen des akt. Wertes von Dynpro
  sy_repid = sy-repid.
  sy_dynnr = sy-dynnr.
  CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname     = sy_repid
      dynumb     = sy_dynnr
    TABLES
      dynpfields = dynpfields
    EXCEPTIONS
      OTHERS     = 01.
  IF sy-subrc = 0.
    READ TABLE dynpfields WITH KEY fieldname = 'P_BUKRS'.
    IF sy-subrc = 0.
      v_bukrs = dynpfields-fieldvalue.
    ENDIF.
  ENDIF.
  SELECT bwkey FROM t001k
  INTO TABLE it_bwkey
  WHERE bukrs = v_bukrs.
  DELETE ADJACENT DUPLICATES FROM it_bwkey.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
      retfield        = 'BWKEY'
      dynpprog        = sy-repid
      dynpnr          = sy-dynnr
      dynprofield     = 'S_BWKEY'
      value_org       = 'S'
    TABLES
      value_tab       = it_bwkey
    EXCEPTIONS
      parameter_error = 1
      no_values_found = 2
      OTHERS          = 3.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

Similar Messages

  • How to find list and cost price in MM module

    Hi
    Can any one help me in how to find List and cost price in MM module for pricing.
    thank you.
    David

    hi Saquib Khan
    Many thanks Saquib Khan for ur reply. Actually iam trying to create a report which displays material number, material description, plant, product hierarchy, cost and list price, based on the selection criteria of a range of materials, plant and also product hierarchy.
    If u want to share any information.It would be much better for me.Like iam learning SAP.
    thanks.

  • How to find list of languages installed in the SAP system?

    Hi All,
    Please tell me, how to find list of languages installed in the SAP system?
    Thanks and Regards,
    Kumar.

    Hi Virgo Rhyme
    Hope the following info will be helpful
    3rd - SAP is the 3rd largest software company in the world
    30,000 - Total number of people employed by SAP
    5,400 - Number of programmers employed by SAP
    $7.024 billion - FY03 Revenue
    $1.077 million - FY03 Net Income
    12,000 - Number of companies using SAP
    79,800 - Number of SAP installations
    12,000,000 - Number of people using SAP
    120,000,000 - Total number of people in the 12,000 companies who are using SAP
    28 - Number of languages supported by SAP
    46 - Number of country-specific versions of SAP
    22 - Number of industry-specific versions of SAP
    1,000 - Number of pre-defined best practices contained in the SAP system
    10,000 - Number of tables requiring configuration in a full SAP implementation
    55,000 - Number of SAP experienced consultants worldwide
    28 - Number of years ago SAP was started
    Reward if helpful
    Regards
    Lakshman

  • How to find List of views that material type supports?

    Hello Gurus,
    How to find List of views ( Basic Data1, Basic Data2, Sales org1, sales org2, etc.. ) for material types.
    is there any table or something to find.
    Thanks & Regards
    Raj

    You can search the function module SELECTION_VIEWS_FIND in this forum. You will get the sample code.
    Apart from that if only you want to know what are all the views assigned to a material type and try to enhance it then it should be from SPRO.
    Go to transaction SPRO.
    chose Logistics - General>Material Master>Basic Settings>Material Types>Define Attributes of Material Types
    execute and you will get the list of material types.
    Now dbl click on the desired material type and you will get an area called as User departments. Here what are all the views are selected those views only appear while you are trying to create (or Change/Display) material master.
    Regards
    Shiba Prasad Dutta

  • How to find list of materials with customer wise

    hi,
    how to find list of materials with customer   wise. is there any t.code.

    HI
    if you want for one customer  material combination T-code: VD52
    For multiple customer material combination T code:VD59
    Regards,
    Krishna

  • How to find list of pending statements ????

    How to find list of pending statements ? I want to show a report using SALV_WD_TABLE component for providing basic ALV features like sorting, filtering, exporting to excel sheet. ?

    Aisurya Kumar Puhan wrote:
    Hi kris,
    > No not any standard component using for this.. I need  only to know in which tables i can find these.....
    >
    > Thkx
    > Aisurya.
    You need to elaborate your requirement.
    this is not leading anywhere.
    thanks
    sarbjeet singh

  • How to find the help menu in outlook on safari

    how to find the help menu in outlook on safari

    Outlook is a Microsoft product. Best to ask there to get a faster answer:
    http://answers.microsoft.com/en-us/mac/forum/macoutlook?tab=Threads
    There do not seem to be a lot of Mac Outlook users among the helpers here.

  • How to find list of Queries built on Multiprovider &steps to transport quer

    Dear Experts,
        I got a task to Check if any queries are built on a multiprovider and to change the filter condition on 0INFOPROV to restrict some more  Infoproviders in all the queries built on multiprovider .
    Request you to help me out how can i find list of queries created based on Multiprovider wise  and steps to be followed to restrict 0INFOPROV.
    And one more doubt is, what are steps to be followed to transport the queries.
    Thanks in advance for favorable assistance.
    Thanks & Regards,
    Ramesh - Kumar.

    Hi..
    Follow the steps below:
    1) Goto RSA1 -> Metadata Repository -> Select Multiprovider -> Find (Cntrl+F) give your object name -> Double click on search result object, this will give you detailed view of used that particular Objects.
    2) To restrict infoprovider within that Multiprovider for Query reullts, Double click on Multiprovider -> choose Change mode -> You'll be able to select/deslect the check boxes under the Infoprovider Tabs (Infocube, DSO, Info Objct, Infosets, Aggr levels) there you can check the infoproviders as per your requirements then selelct the display options with Display All Infoproviders (1st option) at down then continue and save the settings.
    Hope this helps you.
    Thanks,
    Ramanan.

  • How to find list of standard sap exits are there in BW

    HI ALL,
    Please tell me how can i find list of sap exits in BW
    Thanks in Advance.

    Hi,
    Refer this link, it will give you entire list + how to get the list:
    http://www.easymarketplace.de/userexit.php
    Hope this helps.
    Thanks,
    Rahul

  • How to find list or folder name from SharePoint document URL

    I'm implementing the SharePoint client object model in my VSTO application in .NET framework 4.0(C#).
    Actually we open MS Word files from SharePoint site, we need to create a folder inside the opened documents list/folder and after it we want to upload/add some files to that created folder.
    My problem is that how to get list name/title and folder name of opened document by using the documents URL or Is there an another option to find the list or folder name of opened document.
    Any help will be appreciable.

    In document Library you can get the name of document library directly in URL. for folder name you can try below:
    using System;
    using Microsoft.SharePoint;
    namespace Test
    class ConsoleApp
    static void Main(string[] args)
    using (SPSite site = new SPSite("http://localhost"))
    using (SPWeb web = site.OpenWeb())
    if (web.DoesUserHavePermissions(SPBasePermissions.BrowseDirectories))
    // Get a folder by server-relative URL.
    string url = web.ServerRelativeUrl + "/shared documents/test folder";
    SPFolder folder = web.GetFolder(url);
    try
    // Get the folder's Guid.
    Guid id = folder.UniqueId;
    Console.WriteLine(id);
    // Get a folder by Guid.
    folder = web.GetFolder(id);
    url = folder.ServerRelativeUrl;
    Console.WriteLine(url);
    catch (System.IO.FileNotFoundException ex)
    Console.WriteLine(ex.Message);
    Console.ReadLine();
    http://msdn.microsoft.com/en-us/library/office/ms461676(v=office.15).aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/801d1a06-0c9b-429b-a848-dd6e24de8bb9/sharepoint-webservice-to-get-the-guid-of-the-folder?forum=sharepointdevelopmentlegacy
    You can also try below:
    http://blogs.msdn.com/b/crm/archive/2008/03/28/contextual-sharepoint-document-libraries-and-folders-with-microsoft-dynamics-crm.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d2d5d7cf-9bbd-4e0f-a772-ecdce4e6149f/how-to-fetch-document-guid-from-sharepoint-document-library-using-sharepoint-web-service?forum=sharepointdevelopmentlegacy
    http://stackoverflow.com/questions/2107716/how-to-get-guid-of-a-subfolder-in-a-document-library-programmatically

  • How to find list of previously Instances

    Hi All,
    How to find the list of proviously installed instances and delete them.
    I installed obiee 11.1.1.5 and found it to be the 4th instance. So how could i clear all the previous instances
    in my system.
    Any help appricated.
    Thanks
    Jaan

    Jaan,
    You should be able to locate the instances via Enterprise Manager fusion control. Depending on how you scaled for these instance you may also be able to view the servers listed in WebLogic Admin Console under Environment > Servers.
    As far as deleting the instances you should use the OBI deinstall command for removing the instances so that the instances are removed cleanly. Run the deinstall from the machine where you scaled the base Oracle BI system.

  • How to find List of Z forms in sap script?

    Hi Could any one help me to trace out how could we find the List of z FORMS(sap script forms)  in sap system..
    For instance if  i put z* in smartforms and press f4 i will find list of customized forms where as
    when i did the same thing in sapscripts (se71) it will display a tree structure ...where its hard to trace out...waiting for your inputs!!
    Regards
    Sas

    Goto SE38
    & execute program RSTXFCAT.
    Enter Z* in FORM field.
    Best regards,
    Prashant
    Hi Viswa when i gone through above format i can see 6 output forms
    but when i see the same in TADIR with object name as FORM i can see 10 forms
    which 4 are extra but unable to get them in the sap script . when i am entering the names in form and using diaply button system is prompting as the form(those 4 FORMS ) are not existing?
    WHY SO any idea...im table even i didnt find any difference as such
    Regards
    Sas

  • How to find list of all open windows?

    Hi,
    I was wondering how to find a list of all open windows on the
    desktop. I have been able to use this to find the number of open
    windows in the AIR application:
    var windows:Array =
    NativeApplication.nativeApplication.openedWindows;
    test.text = String(windows.length);
    I cant seem to get the list of all open windows on the
    desktop though or the names of the windows.
    Any pointers would be appreciated.
    Thanks!

    Thanks anirudhs. I had a feeling this was the case. It just
    seemed odd that the built-in function calls like orderToBack() and
    orderToFront actually put the AIR windows behind or in front of all
    the windows on the desktop. Somehow AIR is finding the list of open
    windows on the desktop. I just didnt know if there was some way to
    access AIR's way of finding the windows. Guess it must be a
    protected function. Thanks!

  • How to find list of mc's

    Hi,
      how to find out list of mc's per site?
    i want to add missing mc's to all stores. how to add?
    plz suggest is there any transaction.

    Hi,
    List of Merchandise Category listed to Site availble in Site Master (Transaction code WB03).
    You can modify the list using Transaction code WB02.
    Bye,
    Muralidhara

  • How to find list of Info Sets

    Hi ,
    Can you please tell me how to find out the list of Info Sets which are either active or inactive in the system.
    Regards,
    Vishnu

    Hello frnd,
    Check out this tables for InfoSets
         RSQISET                          Directory of all InfoSets
         RSQISETLOC                    Local Properties InfoSets
         RSQISETT                        Texts for InfoSets
         RSQISETX                        Directory of all InfoSets (Technical Enhancements)
    Cheers,
    Shana
    Assigning pts is the way of saying thanks in SDN

Maybe you are looking for

  • Antivirus on A6000 not working

    After factory reset of Lenovo A6000, in Antivirus settings "Virus database auto update" feature disabled and can't be enabled and ask for premium features for which Rs. 49 for 30 days is demanded. Antivirus shows that the "Virus database expired". Wh

  • Sending mail from using utl_smtp error......

    Hi When i try to send mail like as follows DECLARE v_connection UTL_SMTP.CONNECTION; BEGIN v_connection := UTL_SMTP.OPEN_CONNECTION('xxx.xxx.xxx.xxx',25); UTL_SMTP.HELO(v_connection,'xxx.xxx.xxx.xxx'); UTL_SMTP.MAIL(v_connection,'[email protected]');

  • Time stamps in mov files created with iPhone and Vista

    This has to do with the time stamps for movies created with the iPhone 3GS. When I directly view the files on the iPhone in Vista, it populates the "date taken" field. However, when I copy the files from the iPhone onto my desktop computer, I no long

  • Printer prints one page followed by blank page

    My HP printer will print one page followed by a blank page until the document is complete. Any suggestions on how to correct this?

  • Fla file is not playing in web browser, asking me to install a newer version of flash player, pls

    I am making my own website an d i have inserted fla videos but i receive " Content on this page requires a newer version of Adobe Flash Player" Is there any way that i can make it. pls help me thnx......