LDB PSJ

Hi experts,
i use LDB PSJ in my report and i would to ask what is the connection between table coss1(cosp1, cosb1) and prps_r? One more question: if i write
get proj.
get prps_r.
get coss1.
does it mean that i automatically get any records from table coss1 (if they exist) for certain PSP element?

You should shoot this question to ABAP forum  From funcational perspective, if you requrired input than please expling logic / stpes  in details. From you description, it is not clear. I think are you refering to logical database PSJ.
With Regards
Nitin P.

Similar Messages

  • Significance of DB PROFILE button in using LDB PSJ

    Hi Guys,
    I am currently changing a Z report program which using LDB PSJ from Project System.  When I run this program I see buttons u201CDB Profileu201D  in Application toolbar for changing DB profile. What is the significance of DB profile when using LDB.
    Thanks,
    mini

    You use profiles to stipulate:
    · View in which the data is displayed - for example, by profit center
    · Origin of the data
             You can specify which data the system should look for in the database or archive.
    · Operative data
    . Version data
    · Archive data
    · Standard structures
    · Which objects are selected by the database
           By specifying selection criteria in the database profile for objects, you can restrict the scope of the data selected. For example, you can stipulate that only the WBS elements and all activities assigned to a particular WBS element are selected.

  • LDB PSJ Selection field CN_ACTVT problem.

    Hi Guys,
    I recently discovered that in LDB PSJ selection field CN_ACTVT is empty in the program, if program runs in background. Do any body know the work around, so that values are passed into program from the LDB selection screen to the program.
    Thanks.

    Try to create your own selection and use fm LDB_PROCESS
    instead of putting LDB name in the program attributes

  • Dynamic Selections in LDB PSJ

    Hi,
    I am trying to use the LDB PSJ in one of my custom Reports,
    We are interested only in the "Dynamic Selections" part of the LDB.
    Right now the report works fine without any LDB assigned,but once the LDB is assigned,
    the report code does not get executed. Am assuming the LDB is doing some check and exiting
    without executing the report code.
    The selection screen is not modified, i.e it still displays my custom Selection screen
    and not one by the LDB.
    Is there some way of disabling this selection or this check.
    and also how do I go about programming to use the fields selected in the dynamic selection
    for my select statments.
    Am assuming will be able to get the fieldname once the user selects it ,and then will be able to us them
    Appreciate any input
    Thank u
    Lalitha

    Had u got the solution , i am facing the same problem
    Thanks

  • How to retrieve values from Dynamic Selection screen while using LDB  - PSJ

    I am having problem in PSJ Logical database. In a custom report which is using PSJ LDB, we are using PROJ and PRPS_R tables.
    When I run program it displays one dynamic selection screen, there we are giving selection criteria for PRPS (Master data WBS element) - Created on (giving some range like 2011/01/01 to 2011/01/31).
    So I want to display all WBS element which are created during the period (2011/01/01 - 2011/01/31).
    How do I retrieve the select-option low and high value of the field Created on Of WBS element if we Select data from any table based on this condition.
               Please help me.
    Thanks.

    in fact you don't have to get the values, you only need to tell to the program to take them into account :
    GET PRPS.
      CHECK SELECT-OPTIONS.

  • Multiple Account Assignment Data for PR not coming in LDB - PSJ

    Hi,
    I am using one report in which LDB is used. LDB name is PSJ. However when there is multiple account assignments for single line item of PR the report is giving wrong result. Is this LDB suitable for the given functionality.

    hi,
    please check for the following points:
    1. check in ME21N, are referncing properly or not...
    You have to reference it via using the document overview ON or directly entering the PR as source document for the PO...
    2. check whether is getting properly saved in the table EBAN/EBKN...check it in SE16...you can check as per the document number...
    3. If nothing is helping you from the above two points check with the ABAP and BASIS consultant...
    Regards
    Priyanka.P

  • ****Selection of WBS element Similar to LDB ( PSJ )****

    Hi,
    I need to select WBS element (PRPS-PSPNR)
    Based on the following fields on the selection screen
    Project PSPID
    WBS element POSID
    Network/order AUFNR
    Activity  ACT01-VORNR
    Materials in network  AFVC-ISTRU .
    Help needed urgently .
    High Points will be given for sure .
    Thanks In Advance

    You can use the table "AFVC"

  • Logical database PSJ:   How to access and link tables inside that???

    Hi,
    I have a requirement like :
    I have to write one report which will display project statuses (PSmodule) using the LDB PSJ.. I am using LDB because I neeed dynamic selection screen.
    I need to acees the data from table like 1. PROJ, prps_r and JCDS under the LDB PSJ.. but when I found the hirarchy of these table in the LDB , then all 3 tables are at same level.
    then How to access and link data from theses 3 tables using GET and LATE command.
    I did like below, but wrong number of records are coming
    START-OF-SELECTION.
    GET proj.
    GET prps_r.
    GET  elm_ps .
    GET jcds.
    can anyone tell me, what 's wrong here.
    points will be rewarded
    for proper answer.
    Regards,
    Mrunal

    hi ...get is like a loop in ldb. then if you use the 3 get statements then it will loop with in a loop with different data..

  • Reg : Selection-Screen in LDB's

    hi,
    Iam  working on a report which uses Logical DataBase : PSJ.
    Iam getting output based on the standard selection screen of LDB PSJ.
    Now my requirement is :
    I need to add a new field(select option) to the Selection screen and the output should be displayed based on  new field select option values
    how to do this?
    Plz answer
    Regards
    vaja

    Hi,
    You simply add the check in the relevant GET event of the LDB.
    For example, you may have an event for DOCUMENT as follows.
    GET DOCUMENT.
      check document-ref in s_ref.    
    S_REF being your new select option.
    Hope this helps.
    Darren

  • Access field from dynamic selection screen of LDB in local program

    I am using ldb PSJ in my program. I want to use input given in fields "Plant" and "Business Area" in my program and do some process based on input in this field. Both these fields come as part of dynamic selection. How can I access this field in my program?

    Take a look at [Dynamic Selections in the Database Program|http://help.sap.com/saphelp_nw04/helpdata/en/67/93b80914a911d2953c0000e8353423/frameset.htm]
    You may try to access this LDB program data via field-symbols and assign to (SAPDBPSJ)DYN_SEL.
    > TYPE-POOLS rsds.
    > DATA: l_dyn_sel TYPE rsds_type.
    > FIELD-SYMBOLS: <fs> TYPE rsds_type.
    > DATA: name(17) VALUE '(SAPDBPSJ)DYN_SEL'.
    > ASSIGN (name) TO <fs>.
    > l_dyn_sel = <fs>.
    > UNASSIGN <fs>.
    Regards

  • Logical DB PSJ

    Hi experts,
    i use LDB PSJ in my report and i would to ask what is the connection between table coss1(cosp1, cosb1) and prps_r? One more question: if i write
    get proj.
    get prps_r.
    get coss1.
    does it mean that i automatically get any records from table coss1 (if they exist) for certain PSP element?
    Best regards,
    Paul

    Hi Stock,
    Declare the following:
    TABLES: PROJ, PRPS_R.
    START-OF-SELECTION.
    GET PROJ.
    ...or
    GET PRPS_R.
    You should be able to see the selection screen when u place a get event involving
    Proj or WBS element.
    Best Regards,
    Noman

  • To reterieve value from logical database psj

    i need to reterieve value from the logical database psj,
    the table name is BPJA1 and the field name is WTJHR, based on the wbs element.

    Hi,
    assign your prog (attributes) to ldb psj and
    try:
    GET BPJA1   FIELDS wtjhr. "-> look F1
    Andreas

  • Skipping Screen on LDB

    Hi... another question for my friends.
    I'm using LDB PSJ. And  already manipulated the Selection-screen.
    But still having a problem.... When I call my program, the LDB calls a little screen
    to ask my "Project Perfil" .... with a required camp. ( I have already a fixed value for it)
    Use CN41 to see the same screen I m talking about.
    I want to skip this screen.... and go foward.

    Jose,
    You can maintain the value for the Parameter ID PFL in the User parmeters ie
    System> User Profile> Own Data-->Parameters
    Maintain the value for the Parameter ID PFL.
    You should no longer get the pop-up when using PSJ.
    ~Suresh

  • How to pass selection screen value to LDB dynamic field.

    Hello everybody,
    In my program, I am using standard LDB(PSJ) for getting data. And there is a requirement that I have to display some dynamic fields on my selection screen like plant , person responsible ( which are mandatory also ) etc. and inside the program I have to fill those dynamic fields for which the user has entered the value in selection screen.
    Could you please tell me how to pass some of selection screen values to ldb dynamic fields before GET statement.
    Thanks !!!
    Regards,
    Mitra

    >
    Pavan Bhamidipati wrote:
    > Hi,
    >
    >
    I have to fill those dynamic fields for which the user has entered the value in selection screen.
    >
    >
    > This means that the user is going to enter the values in the selection screen for the dynamic field values so
    >
    > SET PARAMETERID 'XYZ' FIELD p_field.
    >
    > where p_field is a parameter on the selection screen
    >
    > Regards
    > Pavan
    You can capture the values selected through the dynamic selections using some of the functions modules below, just search the forum for the below FM's, perhaps you can find some sample code
    FREE_SELECTIONS_EX_2_RANGE
    FREE_SELECTIONS_EX_2_WHERE
    FREE_SELECTIONS_RANGE_2_EX
    FREE_SELECTIONS_RANGE_2_WHERE
    FREE_SELECTIONS_WHERE_2_EX
    FREE_SELECTIONS_WHERE_2_RANGE

  • PSJ - Performance enhancing

    Hello there,
    I have developed a functio module which is using function module "LDB_PROCESS" with the LDB PSJ.
    I have to reach data about budgets, actuals (both from COSS1 & COSSP1) and POC (from RPSQT).
    When evolving large projects, the retrieval takes 5 times longer (!!!) than a retrieval done the "traditional way" (by accessing the data right through the tables).
    I'm sure I did something wrong when I used the mentioned function module.
    Is there anybody who can give me some clues?
    Is there anybody who has used the mentioned function module with PSJ?

    Hi
    LDB (Logical Databases) are quite conventional and are not suitable for large data retrieval and mostly create performance issues.
    Therefore, idle approach is to go for a custom development and fetch the data , as per your requirement and use it accordingly.
    But here if possible, you can view the Logical database using transaction - SE36 and look how the data retrieval can be made more effective in its program.
    <b>Mostly select .. endselect statements, consume most of the database time. There, try to avoid those statements, as far as possible, and use internal tables to fetch the data once, and use the same locally, instead of again going to database server frequently.</b>
    Ask in  your team with the SAP ABAP Developers to suggest something from there end.
    Hope this will help.
    Pls reward suitable points.
    Regards
    - Atul

Maybe you are looking for

  • Problem with adobe forms multiple pages

    Hi can someone help me how to get multiple pages in adobe forms in case the item lines exceeds the page capacity? Thanks

  • How to read variable file name into ODI

    Hello everyone, I apologize in advance if this has already been answered - I've done searches both on Google and this OTN area and have not found an answer to my query. I would like to do the following via ODI: 1) rename a file in a specific director

  • What is the upper limit for a table to have records

    Hi all, I am having table like this..... CLIENTPCLOG (      LOG_ID                                   NUMBER(10)          NOT NULL,      CREATE_DATE                              DATE,      CREATE_USER_ID                         NUMBER(10)          NOT

  • Smartforms - CRM - Sending as an email - avoid e-mail read confirmation

    Hi Experts, I've got a question concerning the e-mail read confirmation of a Smartform which we send by channel e-mail in crm system... I've created a smartfrom which we send with an action in crm as an e-mail, for this I use the standard class CL_DO

  • DVD upscaling?

    Hi, I'm planning to buy a full HD (1080p) plasma to use with my mini as an AV server connecting via a DVI-HDMI cable. My question is about upscaling standard DVD content: If I play a 'standard' def DVD through the mini (either from the disc or from a