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

Similar Messages

  • Logical database PSJ

    Hi All,
    I need to add a Y-table in the logical database PSJ and need to assign the fields to one of the Functional Groups.
    For this I went to tcode SE36 with logical database as PSJ, then went to Extras->Selection Views from menu, I gave the Origin of view as CUS and went in change mode. But in the tables/nodes it is not allowing me to add the Y-table.
    In the tables/nodes I need to add the Y-table and assign its fields to one the function groups
    Please give me the step by step procedure to do the same.
    -Srinath S

    Hi Sisab,
    Can you check for your support pack level ?
    125199 Termination with error message OK033 25.03.2003
    Other related notes are:
    165309 Termination with error message OK033 /3 25.03.2003
    144419 Termination with error message OK033 /2 11.10.2005
    Also please provide your system details.
    Do let me know if this solves your problem.
    Thank you.
    Regards,
    Manomeet
    Award points if helpful **

  • 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

  • Regarding logical database PSJ

    Hi,
    how can we add a additional field (Activity type )to the logical database PSJ used for  transaction CN47N.The field does not exist in the given field options
    My requirement is currently the program RPSISVG000  display the actual hours of the activity without any filter on the activity type. user requirement is to filter the data based on few activity types given by them. ie they want the actual hours to be calculated only for these activity types.
    CN47N transaction has been customized to ZCN47N.
    I have populated a field with given activity types but could not get the point where to do the filteration as the program uses GET events.
    GET ACT01. (contains the field activity type LARNT)
    Please let me know how to filter the data based on the activity types.
    Thanks and Regards,
    Premalatha

    Hi Sisab,
    Can you check for your support pack level ?
    125199 Termination with error message OK033 25.03.2003
    Other related notes are:
    165309 Termination with error message OK033 /3 25.03.2003
    144419 Termination with error message OK033 /2 11.10.2005
    Also please provide your system details.
    Do let me know if this solves your problem.
    Thank you.
    Regards,
    Manomeet
    Award points if helpful **

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

  • Logical database PSJ for tcode CJI3 - add additional

    Hi,
    I need to create the customized program which refer to standard program RKPEP003 (CJI3) with additional fields require to be added in selection screen and ALV report.
    I checked in program attribute for program RKPEP003, there is no selection screen version exist for this logical database. Could anyone advise how do I add the additional fields in either selection screen/ ALV report (eg: Vendor).  Thanks.

    Hi,
    I managed to add the additional fields  (eg: Vendor) in ALV report in CJI3 using the user exit.EXIT_SAPLKAEP_001.
    Now, I require to add this field in the CJI3 selection screen. I tried to maintain this field via SE36 - Maintain selection Views, but the Vendor field (eg: EKKO-LIFNR) which I required is not able to display out.  Anyone have any ideas on it or how should I add this additional selection screen option?

  • How to use logical database "psj" for query?

    Hi, expert :
       use "PSJ" to make a query. but in queries, the title have two lines. and can't  correspond to the content.
       how to make the title correspond to the content?
    regards

    Hi
    Comments option nothing but where you can enter your description.While creating the SAP Query using SQVI enter your query name and click create one popup window will come in that you have comments field where you can enter your description.
    Thanks
    S.Murali

  • How to retrieve data using logical database and custom select options

    Hi all,
    I have a selection screen which is displayed by logical database PSJ and I have two select options of my own. I need to retrieve data based on both selection screen of logical database and my own select options. How can I do it?
    Thanks in advance.

    Hai Gupta
    Check the following Document & Links
    1. A logical database is in fact
    a program only.
    2. This LDB provides two main things :
    a) a pre-defined selection screen
    which handles all user inputs and validations
    b) pre defined set of data
    based upon the user selection.
    3. So we dont have to worry about from
    which tables to fetch data.
    4. Moreover, this LDB Program,
    handles all user-authorisations
    and is efficient in all respects.
    5. tcode is SLDB
    good info about Logical Database. you can check the link.
    http://www.geekinterview.com/question_details/1506
    http://help.sap.com/saphelp_46c/helpdata/EN/35/2cd77bd7705394e10000009b387c12/frameset.htm
    Re: How to Create and Use ldb in reports?
    Re: Logical databases
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm
    Functions for displaying and changing logical databases:
    Call Transaction SE36 or
    Choose ABAP Workbench -> Development -> Programming environ. -> Logical databases
    Interaction between database program and report:
    During program processing, subroutines are performed in the database program and events are executed in the report.
    To read data from a database tables we use logical database.
    A logical database provides read-only access to a group of related tables to an ABAP/4 program.
    advantages:-
    The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.
    i)An easy-to-use standard user interface.
    ii)check functions which check that user input is complete,correct,and plausible.
    iii)meaningful data selection.
    iv)central authorization checks for database accesses.
    v)good read access performance while retaining the hierarchical data view determined by the application logic.
    disadvantages:-
    i)If you donot specify a logical database in the program attributes,the GET events never occur.
    ii)There is no ENDGET command,so the code block associated with an event ends with the next event
    statement (such as another GET or an END-OF-SELECTION).
    1. transaction code SLDB.
    2.enter name z<ldb-name>
    3.create
    4.short text
    5.create
    6. name of root node (here Ekko)
    7. enter short text (f6)
    8.node type -> data base table.
    9.create
    10 change logical DB
    riht click on ekko and insert node
    here node name ekpo
    11.create
    12. click on selections
    13. press no Should the changed structure of Z<ldb name> be saved first.
    14.select tables which you want to join.
    15.transfer
    16 now you have to o to coding part.
    17. save
    activate.
    19.click to src code
    double click on first include and activate
    Regards
    Sreeni

  • Problem about logical database programming

    Dear all,
    I have a logical database PRPS_R which contail PRPS and some additional fields.
    In my abap report, I call this logical database by "GET PRPS_R". Can I ask how to perform sorting to the  logical database in ABAP report?
    Thanks
    Sunny

    PRPS_R is a structure of logical database PSJ
    there is a user-exit available EXIT_FDBPS000_001

  • Logical Databases

    hi all,
    I am using the Logical DB PSJ in my report. As i execute i get the pop-up for the setting of the controlling area and the database profile.
    I need to suppress these 2 pop-up's
    I tried by using the below codes  at selection screen output:
       IF screen-name CS 'CN_KOKRS'.
          MOVE: c_0 TO screen-required,
                c_0 TO screen-input,
                c_1 TO screen-invisible.
          MODIFY SCREEN.
        ENDIF.
       IF screen-name CS 'CN_PROFD'.
          MOVE: c_0 TO screen-required,
                c_0 TO screen-input,
                c_1 TO screen-invisible.
          MODIFY SCREEN.
        ENDIF.
    But doesnt work.
    How to achieve this?
    Pls provide inputs.
    Regards,
    stock

    You have to set the memory id associated (SET) so the LDB wont ask for the two parameters
    get/set parameter id 'CAC' for controling area
    get/set parameter id 'PDB' for database profile
    Take also a look at function module CJDB_CHANGE_DB_PROFILE and K_KOKRS_SET.
    Regards

  • Problem with Logical DB

    Hi  all,
    I am adding the logical DB PSJ in a custom report and want to have the fields of Project Definition(CN_PROJN) and WBS(CN_PSPNR) added as additional components in the existing reoprt.
    i have added the logical DB in the attributes of the report and have also set the profile for the report by updating the structure TCNDB.
    but the required fields doesnt appear in the screen.
    what am i missing? pls suggest.
    Thanks & Regards,
    stock

    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

  • An sample progam how to reterieve values from logical database

    i need to reterieve prart, vernr, verna, from the table prps using the logical database psj, i know if i give psj in the logical database of the report attributes, but i should not give in the attributes, but i need to use the logical database.
    i need a sample program

    Here is the help on the subject.
    <i>
    Addition 2
    ... DEFINING DATABASE ldb
    Effect
    This addition shows that the current program is the database program of the logical database ldb. The name of this logical database has a maximum length of 20 characters. Logical databases are maintained with the tool Logical Database Builder of the ABAP Workbench, in which the framework program is generated automatically including the statement REPORT. The name of the framework program is SAPDBldb.
    Example
    Introduction of the logical database F1S.
    REPORT sapdbf1s DEFINING DATABASE f1s.
    </i>
    This is leading me to believe that this extension DEFINING DATABASE F1S is used only when actually building the logical database via the LDB Builder, not for use when actually using it in a program.  I don't think that you can use this extension in your case.
    Regards,
    Rich Heilman

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

  • Project System Costs: budget/actual/commt/rem.plan/assd

    Hi all,
    I'm trying to obtain the following information from PS report "s_alr_87013558" :
    budget (I actually have it from table RPSCO1)
    actual
    commitment
    remaining order plan costs
    assigned
    I've tried very hard to get this info from the logical database PSJ but I can't find it. I really need help on this, so I'll appreciate your comments.  Regards!!

    Hi,
    look table rpsco: field wrttp
    wrttp           description
    41              budget
    11              (Statistical)actual
    22              Purchase Order Commitment
    disposable = 41 -11 - 22.
    regards Andreas

  • Budget/Actual/Commt/Plan Costs

    Hi Gurus,
    i am running the below transactions,
    S_ALR_87013558 - Budget/Actual/Commt
    S_ALR_87013560 – Execute Budget Updates
    S_ALR_87013533 – Plan/Actual/Commt
    Now my Job is to extract the Data out of these reports,
    now since there are so many Finance costs are there , and most of them are being calculated , it's though to get correct Table Logics.
    Also debugging the whole standard transactions seems to be impossible,
    I tired fetching the report Data using ALV Extraction , but due to fact that ALV is disabled in standard code, i can not, fetching from Spool is also not feasible due to Performance issue.
    Also since PS Module interacts with every Other Modules so installing BI Content is also not feasible to me,
    Now , can anyone please help to understand , how to fetch data from these reports.
    i have already seen so many posts with same problems, but none were able to solve it.
    i would love to go with the Table Logic Approach, can you please help me.
    Thanks in advance
    Aman

    You could try to extract yourself the data
    Use logical database PSJ or report RKPSEL00 + variant to generate list of objects in project hierarchy
    Read CO Total table (e.g. COSS, COSP) or FM (e.g. K_COSSA_READ_MULTI, K_COSPA_READ_MULTI)  to access cost for those objects, field WRTTP identify cost type. (actual, commited, budget, etc.)
    Regards,
    Raymond

Maybe you are looking for

  • Questions about buttons: onRelease and on(release)

    I have been experimenting with buttons lately and am trying to use a function that uses the release mouse event. I was a little confused at first, since I found some tutorials that used onRelease() and some that used on(release) {...can somebody expl

  • No accounting doc being generated while f.13

    hi gurus, i really need to know why is the F.13 process not generating accounting documents while being processed. i have a two years load of balance in GR/IR account and need to get it all cleared . i have gone through almost all the threads that sp

  • Availability data not visible in data warehouse

    I'm having a problem with our data warehouse. I can't run or even find availability reports from some of the objects that are visible and clearly monitored in our scom. For example I did a web transaction monitor with the wizard but when I try to run

  • If I have a client who wants to cancel, how do they do this?

    We have a client who has decided to have someone else host her site instead of business catalyst, how do we instruct her to cancel her account with you?  She has been paying you directly, we did not invoice her company. Can someone give us some guida

  • Find filenames in directory

    Is there some way to parse a specific directory and get the names of the files in that directory? I have a folder named FILES that will contain *.xls files. My intent is to have the program parse the FILES directory and display all of the file names