Creating ABAP queries with t-code SQ01 in SRM

Hi.
What tables are available for me to use ABAP queries with t-code in SRM as we currently use this for MM.
Please can someone tell me if a list of usefull tables for Carts, Approvals, PO are available in SRM as I cannot find these in SE11. We have no BW and need ABAP query for fullfilings any business requirements.
Thankyou.
Vijay.

Please search the documents in transaction BBP_PD. When you click the details it will give you the table details as well.
Additionally check this thread for details
good source for tables and reports
Regards
Kathirvel

Similar Messages

  • How to create transport request with Transaction Code

    hi,
    i have made a Report and then i have transport it to QAS server but mistakenly i transport the request without T-Code.
    Now i want to make a new transport request with T-Code but can't understand where i can make this new request because when i go to this path*UTILITIES -> VERSION MANAGEMENT -> *  it shows me the request which i have transport it.So i want to make a new request with Transaction Code included in that request.Kindly guide me where i can make this request.
    Thanks.

    hi,
    Goto se93 give your tcode and press chagne,after entering into it make some change and click on save, it wil ask for TR. Save it and export it to quality.
    Regards
    harris

  • How to Create Organization unit with customised code?

    Hi all,
       My business requirement need to create a Organization unit with a customised report.
    That customised report need to be developed in which i will be incorporating the code to create a new orgganization unit in sap
    and also to assign it in the organization structure.
    Please suggest me the Function Module to create it...or any sort of Standard report which is already doing that
    Thanks and Regards
    Sonal Jain.

    If I understand you correctly, you want to create a PROGRAM to create an Organization Unit (IT1000) and it's relation to it's parent Org.Unit (IT1001 with relation A_002).
    Check out program RHCOPY00, and create a Z version adapted to your needs.

  • Error when creating the queries with BI Roles.

    Hello,
    Business Requirement :
    We need to see the BI query reports to show up in User Menu.
    Action Taken :
    I tried to add the BI queries to BI Role on Menu tab with BW report ID/name by clicking other button. But still not showing up in User Menu.
    Anything else I should check? Please advise.

    Hi Pranav,
    The way in which Sap has customized BEx is it won't show the roles which doesn't have Queries.
    The roles tab of Bex shows only show the roles which user is assigned, among the assigned roles only the roles which has queries will be displayed.
    Hope this helps,
    Thanks,
    Rakesh.T

  • Creation of ABAP Query- with SQ01.

    Dear Friends,
    Please provide the full notes to create ABAP Queries with the T.code SQ01.
    Thanks & Regards
    Sreehari.

    Dear Frind,
    My Mail ID - [email protected]
    Thanks & Regards,
    Sreehari

  • Need to create some queries.

    Hi,
    I am having some issues with creating some queries with respect to some information that is needed.
    1) How can i get the list of tables from my schema that have not been used for some time (for e.g for the past 2 months no dml activity has happnd)?
    2) How can i get the information of those users in a instance who have direct access to the tables in my schema.?
    Thanks,
    Shilpesh

    SHILPFID wrote:
    Hi,
    Thanks for that
    But i would like to know one more thing.
    DDL_TIME will show only any ddl statement issued against that.
    What if we are still accessing the tables using select statements ??Well a select statement isn't, strictly speaking, even a DML statement as it is not modifying the data.
    There is no automatic recording of time when DML or select statements are executed against tables. With DML you can choose to record that information yourself through your own table design and code. If you have control over the application front end you can record when queries are made, but you can't automatically record when someone queries a table just using a select statement directly on the database (at least not easily)
    You can also delve into the archive logs to find DML times but they are not guaranteed to be held for as long as you will require and certainly won't be there two months later.
    Essentially, you can't determine information that you haven't chosen to store.

  • Error while sending PO (with tax code) from SSP to SUS via MM

    Hello Experts
    We are implementing Self Service Procurement and Supplier Self Services scenario.
    We have created a SC with Tax Code say X in Self Service Procurement. The SC gets created as PO in R/3 (MM) system.
    The IDoc which is getting created in the R/3 system has different segments than the one which gets created when we create the PO directly in R/3 system.
    This IDoc which is seen in R/3 with the Status 26 - ' Error during syntax check of IDoc (outbound) '.
    Please help, we are new to SSP.
    Thanx and Regards
    Gaurav
    Edited by: Gaurav Giroti on Jan 29, 2009 1:36 PM
    Edited by: Gaurav Giroti on Jan 29, 2009 1:37 PM

    note 1311560 to be applied in ebp.

  • How to create a stage with tabs?

    I tested this code to create a stage with tabs:
    {code}
    public void GeneralConfiguration()
            Stage configurationStage = new Stage();
            configurationStage.setTitle("General Settings");
            configurationStage.initModality(Modality.WINDOW_MODAL);
            Group grid = new Group();
            TabPane tabPane = new TabPane();
            //Create Tabs
            Tab tabA = new Tab();
            tabA.setText("Main Component");
            tabA.setClosable(false); // da se mahne opciqta da se zatvarq tab
            //Add something in Tab
            StackPane tabA_stack = new StackPane();
            tabA_stack.setAlignment(Pos.CENTER);
            tabA_stack.getChildren().add(new Label("Label@Tab A")); // dobavq se tuka accordion
            tabA.setContent(tabA_stack);
            tabPane.getTabs().add(tabA);
            Tab tabB = new Tab();
            tabB.setText("Second Component");
            tabB.setClosable(false); // da se mahne opciqta da se zatvarq tab
            //Add something in Tab
            StackPane tabB_stack = new StackPane();
            tabB_stack.setAlignment(Pos.CENTER);
            tabB_stack.getChildren().add(new Label("Label@Tab B"));
            tabB.setContent(tabB_stack);
            tabPane.getTabs().add(tabB);
            Tab tabC = new Tab();
            tabC.setText("Last Component");
            tabC.setClosable(false); // da se mahne opciqta da se zatvarq tab
            //Add something in Tab
            StackPane tabC_vBox = new StackPane();
            tabC_vBox.setAlignment(Pos.CENTER);
            tabC_vBox.getChildren().add(new Label("Label@Tab C"));
            tabC.setContent(tabC_vBox);
            tabPane.getTabs().add(tabC);
            //grid.add(tabPane);
            grid.getChildren().add(tabPane);
            // Configure dialog size and background color
            Scene Scene = new Scene(grid, 800, 600, Color.WHITESMOKE);
            configurationStage.setScene(Scene);
            configurationStage.show();
    {code}
    Can you tell me how I can fill the stage with the tabs body. Now I get this result:
    http://i44.tinypic.com/2zppcg4.png

    Use some kind of managed layout pane instead of a group for the root. I like to use a BorderPane or AnchorPane as the root container:
    // Group grid = new Group();
    BorderPane grid = new BorderPane();
    // grid.getChildren().add(tabPane);
    grid.setCenter(tabPane);
    Message was edited by: James_D (Figured out how to post code!)

  • How to create a demo with time limit?  (timebomb)

    Hello,
    I would like to create a demo of a game I made but want to limit the amount of time it will run once installed.  (30 days).
    Is there an xtra or a straightforward way to do this in lingo?

    there is no straightforward way to do it in any programming language. I'm currently developing a Director-specific trial version solution, but it's not ready yet for general/commercial use. Are you looking for a free solution or are you willing to pay?
    Trial Versions are used so users can try out your software and then buy it if the software is something they want. So, there are two parts to trial software;
    1. the code that handles the trial version
    2. the code that handles the product serial and registration/licence keys
    The code that handles the trial version needs to be able to do these things:
    1. Keep track of the trial period. This involves recording the first run date/time and incrementing that date/time when the software is launched each subsequent time and comparing that against the trial period.
    2. Protect against backdating - turning back the computer clock to get more trial time.
    3. Protect against uninstall/reinstall.
    Dealing with all three of these issues becomes complicated; let's look at a solution using a licence file. What about a licence file will solve all the issues listed above?
    1. The licence file will contain the First Run Date (FRD), the Last Run Date (LRD), and other specific user and product info.
    2. A licence file should be encrypted to ensure it cannot be tampered with.
    3. A licence file should be moved to the user's AppData (or equivalent) folder by the installer software (such as NSIS). This ensures the first run date is only ever recorded once... what do I mean by this? If your app had to check first before opening and writing to the license file, then someone could easily circumvent the trial version by deleting the file at which point your application would be forced to move/write the licence file again and the user would be able to start the trial over again. Well, the installer only ever runs once. So, if it copies over the licence file during the installation process then our application, when it runs the first time, only has to check if the file is there; if not then the trial has been tampered with, if it's there then read the FRD, and if blank then we can be sure it's writing the FRD for the first and only time.
    4. The file could be hidden to ensure that an un/reinstallation of your software wouldn't circumvent your trial security. Another method is to write to the registry some entry that's obscure or looks like some other info for your software... this is what's called security by obscurity which is frowned upon in the industry, in general, but there's really no way around it in the case of trial software methods.
    5. A licence file can be used as a red-herring if you want to use an obscure/hidden registry entry to save the real trial version information. If that's the case, you should follow the same steps as above and have your installer write the initial registry entries so it cannot be as easily circumvented by your code checks.
    Encryption is a big part of trial version security. If you're using MX2004 or above then you can find javascript ports of some strong encryption algorithms such as AES or RSA. RSA is an asymmetrical (ie public/private key) encryption algorithm whereas AES is a symmetrical (ie. private key) algorithm. The important things to look for in an implementation are ones that will encrypt a variable length string. These implementations use modes to encrypt fixed length chunks of the string, thus making the core encryption algorithm useful in practical situations such as encrypting variable length strings.
    Creating a trial/registration .dir file (trial window) that gets published with the main application .dir file:
    Below, I've outlined these steps so you can see what I mean. I've tested this process and it's solid, AFAIK. Here are the steps:
    1. Create a project and name it movie1. Add a framescript with the 'go the frame' code on it.
    2. Add a label named 'continue' on the frame just after the 'go the frame' framescript.
    3. Add a button, and this code:
    go to frame "continue"
    4. Now, go into the Publish Settings options and go to the 'Files' tab and add any of your other .dir files you want under the 'Additional Files:' heading (the option to Play every movie in list will be checkmarked by default. Leave it like that).
    5. Now, Publish your project and you will have ONE .exe called movie1.exe which contains two .dir files that have been published.
    6. Open your User Temp folder and observe the folder that's created when you run movie1.exe... no temp .dir file is created when you run movie1.exe
    7. Creating another .dir with this code:
    go to frame "continue" of movie("movie1")
    ...does not work as it's looking for a .dir or .dxr or .dcr and will not work with an .exe.
    What this means is you can create a single executable that runs the trial window with all your trial version code and if everything checks out in the licence file then you can go to the main application movie. The trial window can be used to display the trial information, including a registration section, if you like. Google examples of trial version software to get ideas of what should be included in a trial version display.
    Resources:
    AES encryption written in Javascript: http://www.movable-type.co.uk/scripts/aes.html
    DOUG Article I wrote on creating product keys: http://director-online.com/forums/read.php?2,22279,22303#msg-22303
    Block Cipher Modes: http://en.wikipedia.org/wiki/Block_cipher_modes_of_operation#Counter_.28CTR.29
    AES - Wikipedia: http://en.wikipedia.org/wiki/Advanced_Encryption_Standard
    RSA - http://en.wikipedia.org/wiki/RSA
    Pseudocode for recording and comparing dates
    FRD = First Run Date
    LRD = Last Run Date -- this one would get updated every time the app was run.
    CRD = the systemDate
    NumDays = 30 -- the number of days for trial version
    dateGood = False
    If LRD > CRD Then
    -- the system clock was rolled back
    dateGood = False
    Else If (the systemDate) > (NumDays + FRD) Then
    -- trial version has expired
    dateGood = False
    Else If CRD > LRD Then
    -- everything is ok, so write a new LRD date in registry or wherever else
    dateGood = True
    Else If CRD = (_movie.systemDate) Then
    -- the dates are both good
    dateGood = True
    Else
    dateGood = False
    End If
    Typical Place to Write Application data to the Registry:
    HKCU\Software\<AppName>\<version>\
    eg. HKCU\Software\TRiShield\1.0\

  • Event when logistic invoice gets in the sys. through EDI with status cod 03

    Hello Gurus,
    I am trying to find the event that gets triggered when an incoming EDI logistics invoice gets posted/created in system with status code 3 (error status). I know that I can go to transaction SWELS to find the event using event trace.
    The problem is I cannot create such a test scenario manually i.e logistic invoice in the system with status code 03. So I was woneding if someone cal tell me if it would be event
    incominginvoice.created or incominginvoice.posted in business object BUS2081 when the logixtics invoice gets crated/posted with status code 03.
    Thanks.
    Regards,
    Rajesh.

    Hi Rajesh,
    The events triggered when an IDOC goes into error are associated with the inbound process code.
    Have a look in transaction BD67 for your process code, e.g. INVM under the IDOC section you will see the object and events that are invoked when any error occurs.
    Is that what you are after?
    Darren

  • Can we assign Transaction code to created  ABAP Query of  SQ01

    Hi ,
    Friends I want to run the abap query assigning t.code to it .. i will be thankfull if any body give me the steps or remedy .
    thanks

    Hi you there.... you can try this
    1) create an abap report with the following source code
    REPORT ZRUN_QUERY .
                          DECLARACIÓNES                                    *
    DATA:
    REPORTNAME LIKE AQADEF-PGNAME.
    PANTALLA DE SELECCION                                                *
    SELECTION-SCREEN BEGIN OF BLOCK B0 WITH FRAME TITLE TEXT-001.
      SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
      PARAMETERS: P_BGNAME LIKE AQADEF-BGNAME OBLIGATORY,
                  P_QUNAME LIKE AQADEF-QUNAME OBLIGATORY.
      SELECTION-SCREEN END   OF BLOCK B1.
    SELECTION-SCREEN END   OF BLOCK B0.
    CUERPO DEL PROGRAMA                                                 *
    CALL FUNCTION 'RSAQ_REPORT_NAME'
         EXPORTING
              WORKSPACE  = SPACE
              USERGROUP  = P_BGNAME
              QUERY      = P_QUNAME
         IMPORTING
             REPORTNAME = REPORTNAME.
    CALL FUNCTION 'RSAQ_SUBMIT_QUERY_REPORT'
         EXPORTING
              QUERYREPORT       = REPORTNAME
              VARIANTE          = SPACE
        EXCEPTIONS
             ONLY_WITH_VARIANT = 1
             VARIANT_NOT_EXIST = 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.
    2) Create a transaction for this program
    3) Create a parameter transaction and execute this report passing by parameter the usergroup and Query, then, the program will automatically solve the program name and execute it.
    Regards,
    Daniel

  • Executing Abap Queries in Abap Code and processing the result

    Hi,
    I want to execute ABAP Queries (designed by sq01) in an abap report and processing the result in an internal table.
    How could it be work?
    Thanks a lot for your responses,
    with kind Regards
    Reinhold Strobl

    Hello,
    GO to SQ01 and select your query. Go to Menu QUERY-->More Functions->Display Report Name.
    You can then take that report name and go to SE38. Copy the code before END-OF_SELECTION and then modify as per your own requirements.
    Regrads
    Saket Sharma

  • How to create a node with attributes at runtime in webdynpro for ABAP?

    Hi Experts,
             How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
    I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
    I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
    Please help!
    Thanks
    Gopal

    Hi
       I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
    Note
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    My code is like the following:
    TYPES: BEGIN OF t_type,
                CARRID TYPE sflight-carrid,
                CONNID TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
      dyn_node   type ref to if_wd_context_node,
      rootnode_info   type ref to if_wd_context_node_info,
      i_node_att type wdr_context_attr_info_map,
      wa_node_att type line of wdr_context_attr_info_map.
          wa_node_att-name = 'CARRID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
          insert wa_node_att into table i_node_att.
          wa_node_att-name = 'CONNID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
          insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
                                       attributes = i_node_att
                                       is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    Message was edited by: gopalkrishna baliga

  • How to create an ABAP Query with OR logical expression in the select-where

    Hi,
    In trying to create an ABAP query with parameters. So it will select data where fields are equal to the parameters entered. The default logical expression is SELECT.. WHERE... AND.. However I want to have an OR logical expression instead of AND.. how can I attain this??
    Please help me on this.. Points will be rewarded.
    Thanks a lot.
    Regards,
    Question Man

    Hi Bhupal, Shanthi, and Saipriya,
    Thanks for your replies. But that didn't answer my question.
    Bhupal,
    You cannot just replace AND with OR in an ABAP QUERY. ABAP QUERY is a self generated SAP code. You'll just declare the tables, input parameters and output fields to be displayed and it will create a SAP standard code. If you'll try to change the code and replace the AND with OR in the SAP standard code, the system will require you to enter access key/object key for that particular query.
    Shanthi,
    Yes, that is exactly what need to have. I need to retireve DATA whenever one of the conditions was satisfied.
    Saipriya,
    Like what I have said, this is a standard SAP code so we can't do your suggestion.
    I have already tried to insert a code in the ABAP query (there's a part there wherein you can have extra code) but that didn't work. Can anybody help me on this.
    Thanks a lot.
    Points will be rewarded.
    Regards,
    Question Man

  • How To Create ABAP Code For HR Context Sensitive Structural Authorization

    Hello,
    We have created a HR Custom Program which IS NOT built off the PCH or PNP Logical Database. As a result, we need to manually create ABAP code for HR Context Sensitive Structural Authorization Check in our custom HR program. Via HR Context Sensitive Structural Authorizations, we are restricting access to personnel numbers and the underlying HRP* tables.
    Any assistance would be greatly appreciated with the identification of the SAP standard function modules (Ex. RH_STRU_AUTHORITY_CHECK, HR_CHECK_AUTHORITY_INFTY, HR_CHECK_AUTHORITY_INFTY , etc) used in HR Context Sensitive Structural Authorization Check, how they are used to control HR Structural authorization (P_ORGINCON), and some sample code.
    Thank you in advance for all your assistance,
    Ken Bowers

    Hello Ken
    You can use the interface methods IF_EX_HRPAD00AUTH_CHECK to get the same structural authorization as you can see in PA20/PA30. You need to use the methods set_org_assignment and check_authorization for this purpose. For more information you can refer to include FP50PE21 from line 237 onwards till 270.
    Regards
    Ranganath

Maybe you are looking for