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.
Similar Messages
-
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. -
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. -
Adding a Button in the Application toolbar when using LDB for HR programs
Hi Experts,
I have a requirement to add a new button after execute button in the Application tool bar for the HR programs when using LDB PNP.
Normally when we are using LDB in our program we will get a extra button provided by SAP after the execyte button. When we are creating a new button for this by using the table fields sscrfields with the function key as 2 we are not able to see the new button.
can any one help me in this issue.please post your relevant coding with respect to the button
A. -
How to get a default variant screen using LDB.(HR-ABAP)
Hello,
I have created a report using LDB PNP.Used HRBEN000 as a hr report category.
Got a default selection screen, I want to add one more field, for this I have selected the field from further
selection button, and displayed on the screen. Now i saved as a variant.
how to get this default screen using the variant in the report/program when executed?
Please help me.
Thanks&Regards,
Archana.Hi ,you camn always make your Z report category...if the field is present in further selection tab..
if not you can create your own paramerter or select option.....
but you have to handle it in your code ....as get pernr wont filter on its basis(parameter select optyin created by you)
but why loop at screen is not working?
let me know how you are doing...
have to do it in at selection-screen output -
Adding pushbutton in application toolbar of HR programs using LDB
Hi all!
I have a requirement to add a pushbutton in the selection screen application tool bar for the HR programs when using LDB PNP.
Normally when we are using LDB in our program we will get a extra button provided by SAP after the execyte button. When we are creating a new button for this by using the table fields sscrfields with the function key as 2.
But, the statement "SELECTION SCREEN FUNCTION KEY 1" is not showing any pushbutton in the application toolbar.
The same question is already posted in SDN but no reply.
Please provide your suggestion.
Thanks,
Rajan UHi all!
I have a requirement to add a pushbutton in the selection screen application tool bar for the HR programs when using LDB PNP.
Normally when we are using LDB in our program we will get a extra button provided by SAP after the execyte button. When we are creating a new button for this by using the table fields sscrfields with the function key as 2.
But, the statement "SELECTION SCREEN FUNCTION KEY 1" is not showing any pushbutton in the application toolbar.
The same question is already posted in SDN but no reply.
Please provide your suggestion.
Ive found this keyword: SELECTION-SCREEN FUNCTION KEY n [ldb_additions]. Will this be useful??
Thanks,
Rajan U -
Significance of Planning profile
Hi PP Gurus,
Can anybody pl tell me what is the significance of planning profile?
I am getting an error saying maintain planning profile for the material during creation of PIR.
regards,
Pramod.Hi Pramod,
As you know, we use configurable material when the scope for varaints are more. Generally, when we created sales order for the configurable material, we choose different characteristics for the selection of the finished product. So, information flows to production which is already configured. But in the case of MTS, the system does`nt configure the material on its own. Initially, you need to configure for the material, only then your dependent requirements will be defined. So, whenever you enter PIR, the requirements are created for the materials that are configured in the planning profile. Hope you got the point cleared.
Reward if cleared and close the thread. -
Could any body tell me the significance of Partner Profiles in IDOC PROCESS
Hi,
Could any body tell me the significance of Partner Profiles in IDOC process.
Thanks in Advance,
BSV.Hi,
The partner profile is used to validate the sender and receiver system for a given message type and to assign to the correspondence process code (function module) to post the IDoc to application system.
This applies for both Inbound and Outbound IDOC's.
Also please check this link for more information.
http://help.sap.com/saphelp_46c/helpdata/en/dc/6b803343d711d1893e0000e8323c4f/frameset.htm
Regards,
Ferry Lianto -
How to use LDB PNP with ABAP objects in a program
Hello,
I am wondering if anybody has used the HR logical database(LDB) PNP with user defined ABAP objects in a program? I am using the FM- <b>LDB_PROCESS</b> but its not working. Also assigning PNP in the attributes section of the program -- so that I can use predefined fields from the LDB and then invoking the FM doesn't work -- throwing 'Logical database already active' error.
I suppose even with the ABAP objects and the new FM -- I should still be able to utilize the pre-defined fields of the PNP database -- and also the built in authorizations. I cannot use GET PERNR and REJECT as they give errors. I understand that the use of HR-macros (RP-PROVIDE-FROM-LAST and et al.) are not allowed as they use the table work area -- which is not allowed in ABAP-OOPS.
I would really appreciate if anyone could show me some insight regarding this. Thank you.
Kshitij R. DevreHi Kshitij
It would be really good if we could use both together. But as I know, it is not possible. "GET pernr." is an event-like loop statement and so cannot be used in OO context. And I guess, the same restriction holds for the "LDB_PROCESS" since it uses LDB-specific processing.
What I suggest you is to use standard and BAPI functions.
Sorry for giving bad news...
*--Serdar -
Facing Problem while Debugging a custom report using LDB
Hi Gurus,
I have requirement to modify a custom report program related to FI. This program used Logical database ZDF ( Copied original DDF) for data fetching.
when i am trying to see the data in debugging mode, its not allowing to check in start-of-selection event. only in the initialization & end-of-selection i could able to debug.
when i put breakpoint in initialization, it is allowing to see the flow till a Get Event occurs in the code, once a Get event occur the debugger is coming out and displaying the report.
If anybody faced this kind of problem when debugging a report using LDB, please share how you resolved it. If there are any other ways to debug a program of this kind please help me.
Thanks,
NandaHi Amith,
I checked that way also, i put break point in database program of the copied LDB, but its not allowing to check the flow in that program also.
Please suggest any other ways.
Thanks,
Nanda -
If you add music videos to Up Next playlist, then go to look at the album cover playing screen, then go to add another song from different playlist, you no longer can see Up Next, just go to full screen mode button. Using remote app iPhone 5 to play out of iTunes. It looks like it works fine for regular music, but for music videos you can't see your up next unless you go back on the computer to change once you've left the screen. When using the remote app, you shouldn't need to go to iTunes on the PC to view or edit Up Next already added. See first image, you can hit upper right and get back to Up Next (second image). Third image is music video, where you can't get back to Up Next, just swap between full screen and not. I hoped 3.0.1 would have the answer, no luck!
wow, very nice review Makes me want to get a vision for myself.
WebKnight wrote:
<SPAN>
Add the ability to randomly select a new background from a pre selected group of photos every time the player is turned on or each day.
I would love that feature. I can't stand useing my computer with a single wall paper anymore (I have 500 anime pics that i rotate between every 2 mins ) If you could make the vision rotate background every x minutes or every time the player is turned on, it would be totally amazeningly sweet!!!! (i might have to go out and buy one then :P)
I just hope that creative has better firmware support with the vision than they have had with the touch.
Once again, great review -
How to Create and Use ldb in reports?
Give examples that uses ldb.
Hi Albert
You can create and maintain logical databases via the transaction <b>SE36</b>.
You can relate a LDB to your program using the 'Attributes' window by entering the LDB name to the relevant field.
Additional to what Andreas told, many HR programs use LDB. Check programs with 'RH*'.
Regards
*--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a> -
Want to have own selection screen in HR-ABAP report using LDB
Hi experts,
I am working on HR-ABAP report using LDB pnp and infotypes..But, here we get the built in selection criterion..but I want my own selection screen to be displayed..whats the solution for this??? Is it possible to create my own selection screen instead of default one..and how???
Please help me..its very urgent..Hi,
chk this out:
Create Report Categories
In this step, you define the report categories and determine the layout
of the standard selection screen for these report categories. You can
create report categories for programs or queries that are based on the
PNP or PNPCE logical databases.
The definition of report categories is divided into two sections:
o In the Change Report Category view, you define general attributes
such as sort order, input fields for date, and so on.
o In the Change Selection Criteria view, you define which selection
fields of the logical database should be avaliable on the selection
screen.
Example
You want to set up your system so that your employees can only start
evaluation reports for Payroll if they use a payroll area. Within a
payroll area, you should be able to select according to personnel
number. Additional selection criteria should not be possible and you
should not be allowed to enter a sort sequence.
Standard settings
The standard system already contains report categories. You can find the
attributes of the report categories in the table.
Note the following five report categories in particular:
o Report category ' ' is the SAP default report category for
programs that are based on the PNP logical database.
o Report category PNPCE is the SAP default category for programs that
are based on the PNPCE logical database.
o Report category '00000000' is the customer-specific default category
for programs that are based on the PNP logical database.
o Report category '0PNPCE' is the customer-specific default category
for programs that are based on the PNPCE logical database.
o Report category __X2001 is the default category for Queries that
are based on an InfoSet of the PNP LDB.
o Report category QUEPNPCE is the default category for queries that
are based on an InfoSet of the PNPCE LDB.
The default report categories are used when a report is called if
the report has not been assigned a report category.
Parameters and Options for Report Categories of the LDB PNP and PNPCE
Parameters and Options in Screen Area General Data
If you activate this parameter, you can only enter data on the data
selection period if you use reports that have been assigned. The
same date entries are then used for the person selection as for the
date selection.
o Matchcode allowed
If you activate this parameter, you have use of a Matchcode
pushbutton (search help) if you use reports that have been assigned.
This pushbutton enables you to perform the person selection.
o Sort allowed
If you activate this parameter, you have use of a Sort pushbutton if
you use report that have been assigned. This pushbutton enables you
to define a sort order before you execute the report.
o Organizational structure allowed
If you activate this parameter, you have use of an Org.Structure
pushbutton if you use reports that have been assigned. This
pushbutton enables you to perform the person selection.
Note:
For more information about these options, see the online
documentation under this path:
SAP Library -> Human Resources -> Reporting in Human Resources
Management -> Standard HR Reports -> Report Selection Screen in
Human Resources Management.
Parameters and Options in Screen Areas Data Selection Period/Person
Selection Period/Payroll Area/Period/Year
o Options for data selection period and person selection period (key
date and so on)
Here you define which options for date and person selection are
available for reports that have been assigned.
o Options for payroll area/period/year
Here you define which options for selection using payroll
area/period/year are available for reports that have been assigned.
Parameters and Options in Screen Area Selection View
o Type/Name
This parameter enables you to use selection views to define report
categories. You use the selection view selected here to determine
which fields are available in the Dynamic Selectionsy.
Note:
You create selection views for the PNP and PNPCE logical databases
in the Object Navigator (SE80):
1. Start the Object Navigator (SE80)
2. Choose Workbench -> Edit Object.
3. Choose the More... tab page and the Selection view on this tab
page.
4. Choose Create.
5. In the Create Selection View dialog box, choose the For any
tables option.
6. In the Name of view field, enter a name for your selection view.
7. In the Tables dialog box, enter the name of the table from which
you want to use fields.
Note:
When you enter the table name, observe the naming convention in
Personnel Administration:
Infotype number: nnnn -> table name: PAnnnn
8. Choose Continue.
9. In the Functional groups area, define functional groups by
assigning a name and a number.
10. Assign fields from the selected tables to the functional groups
by entering the number of the desired functional group in front of
each field.
11. Save your entries.
For more information about adjusting the dynamic selections using
your own selection views, see the online documentation under the
following menu path:
SAP Library -> Human Resources -> Reporting in Human Resources
Management -> HR Standard Reports -> Report Selection Screen in
Human Resources Management -> Enhancing the Selection Screen -
Dynamic Selections.
If you do not want to offer dynamic selections, make the following
settings:
- LDB PNP: In the Selection view field, enter PNP_NO_FREE_SEL.
- LDB PNPCE: Leave the Selection view field empty.
Parameters and Options in Screen Area Data Selection Period/Person
Selection Period/Payroll Area/Period/Year
o Available input parameters, date or period entry (today, key date,
all, and so on), and standard value.
Using the Standard value option, you define which of the selected
options is shown.
Parameters and Options in Screen Area CE Selection Fields
o CE selection fields (external person ID, grouping reason, grouping
value)
Using the options in this area, you define whether the external
person Id, grouping reason, or grouping value are available on the
selection screen.
Note:
These parameters are only relevant for you if you implement
Concurrent Employment (see also note 517071).
Parameters and Options in Screen Area Selection view
o Dynamic selections as dialog box
If this switch is set, you can call the dynamic selections as a
dialog box.
o Dynamic selections active
If this switch is set, the dynamic selections of the logical
database are active at the start of the report.
Note that the following combinations are possible for the last two
options mentioned:
Dyn.Sel. as dialog box/Dyn.Sel. active: inactive/inactive
Dyn.Sel. as dialog box/Dyn.Sel. active: inactive/active
Dyn.Sel. as dialog box/Dyn.Sel. active: active/inactive
Activities
1. Choose Edit -> New entries.
2. Enter an abbreviation and a long text for the report category.
The customer name range for report categories is 0-9.
3. Select the For the PNPCE logical database checkbox, if you want to
create a report category for a program or for queries of the PNPCE
logical database.
4. In the General Data screen area, choose the desired options.
If you want to use selection IDs, you must have first created and
grouped selection Ids. The IMG path to do this is given in the
parameter description section.
5. In the Data selection period/person selection period or Selection
period screen area, choose the desired options.
6. In the Selection view screen area, choose the desired options.
7. In the CE selection fields screen area, choose the desired (only
possible for report categories of the LDB PNPCE).
8. Save your entries.
9. Choose the subactivity Permitted selection criteria.
10. Choose Edit -> New entries.
11. In the Select option field, use the input help to select each field
that should be available on the selection screen.
12. Select the checkbox in the 1.page column, if you want this selection
field to be available directly when you call the selection screen.
Further notes
13. If you want to copy entries, you still have to enter the selection
parameters again in the subsequent screen.
o If you create the report category '000000000', a selection screen is
generated according to report category '00000000'for all reports for
which a report category has not explicitly been assigned.
Assign Report Categories
In this step, you assign a report category to your reports.
Example
You have created your own report, for example ZPCTEST1, and would like
it to have the selection screen that corresponds to that of the
evaluation report for Payroll, which is assigned to report category
'__M00001'.
Assign report category '__M00001' to the report.
Requirements
You must have defined the Report Categories.
Standard settings
SAP Standard Reports:
In the standard system, reports are assigned a report category. If you
want to override these assignments, perform the activities described
here. If you want to assign report categories to standard reports using
SE38, this represents a modification.
Customer-Specific Reports:
For reports you have developed yourself, you can either assign report
categories by performing the activities described here or directly in SE38.
Recommendation
Only assign a report category if you have created your own reports or if
the selection screens in the standard system do not meet your
requirements.
Activities
1. Choose Edit -> New entries.
2. Perform the required assignment using the Program name and Report
category fields.
3. Save your entries.
reward if helpful
regards,
madhumitha -
Reading Locked records from HR table using LDB PNP
Hi,
I am trying to read the table pa0168 using LDB PNP.
But the problem is that get pernr staement does not retrieve locked records i.e where PA0168-sprps eq "X'.
Can anybody help me with this.
I have to use LDB so i don't want a solution of writing a select * for the pa0168 table.
hence i have to use get pernr statement but it should also retrieve locked records.
how can i achieve that.? please help
Thanks
GT
Message was edited by: GTHi GT,
In the START-OF-SELECTION event, set the parameter value
pnp-sw-ignorelockedrecords = 'N'.
Good Luck,
Suresh Datti
( Pl award points if the answer helps you ) -
How to use ldb PNPCE with FM u0091HR_INFOTYPE_OPERATIONu0092
Hi all,
Im creating a report with LDB PNPCE, this report has to create/modify infotypes of an ID person. Im trying to use de FM HR_INFOTYPE_OPERATION, but its not working A DUMP is generated, with this description:
An exception that could not be caught occurred.CX_HRPA_VIOLATED_PRECONDITION
I think that the problem is due to logical database PNPCE, because if I use PNP, its working Does anybody know anything about using the FM HR_INFOTYPE_OPERATION with the LDB PNPCE?
Thanks!!This piece of code it's working with ldb PNP
CALL FUNCTION 'ENQUEUE_EPPRELE'
EXPORTING
MODE_PREL = 'E'
MANDT = SY-MANDT
pernr = wa_p9961-pernr
infty = '9961'
SUBTY =
OBJPS =
SPRPS =
endda = wa_p9961-endda "'99991231'
begda = wa_p9961-begda "'20071201'
SEQNR =
X_PERNR = ' '
X_INFTY = ' '
X_SUBTY = ' '
X_OBJPS = ' '
X_SPRPS = ' '
X_ENDDA = ' '
X_BEGDA = ' '
X_SEQNR = ' '
_SCOPE = '2'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
foreign_lock = 1
system_failure = 2
OTHERS = 3
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
infty = '9961'
number = wa_p9961-pernr
subtype = wa_p9961-subty
OBJECTID =
lockindicator = 'X'
validityend = wa_p9961-endda
validitybegin = wa_p9961-begda
recordnumber = lwa_pa9961-seqnr
record = wa_p9961
operation = 'INS'
tclas = 'A'
dialog_mode = '0'
nocommit = ' '
VIEW_IDENTIFIER =
SECONDARY_RECORD =
IMPORTING
return = l_return
KEY =
CALL FUNCTION 'DEQUEUE_EPPRELE'
EXPORTING
MODE_PREL = 'E'
MANDT = SY-MANDT
pernr = wa_p9961-pernr
infty = '9961'
SUBTY =
OBJPS =
SPRPS =
endda = wa_p9961-endda "'99991231'
begda = wa_p9961-begda "'20071201'
SEQNR =
X_PERNR = ' '
X_INFTY = ' '
X_SUBTY = ' '
X_OBJPS = ' '
X_SPRPS = ' '
X_ENDDA = ' '
X_BEGDA = ' '
X_SEQNR = ' '
_SCOPE = '3'
_SYNCHRON = ' '
_COLLECT = ' '
But if I use ldb PNPCE instead PNP, with the events:
GET person.
GET group.
GET peras.
ths dump is generated...
Thank u!!
Maybe you are looking for
-
Minor Problem with MagSafe Power Adapter
I got my MBP almost a year ago now (partially why I'm asking the question) and I've noticed that my power adapter doesn't always show the charge light. Sometimes it is not on at all, and sometimes it is less bright in color (both green and amber). If
-
I have two help files running on both the intranet and the Web server at my office. When doing a search in either help file on the intranet, I get successful search results. However, when I conduct a search in the help files published to Web server,
-
Java - InputStream - Weird Characters in the Output!
Hi, I have a software which outputs lines of numbers one by one. In another java program, I use BufferedReader as follows: BufferedReader input = new BufferedReader(new InputStreamReader(pr.getInputStream(),"US-ASCII")); where pr is the process which
-
I have most of my photos on my iMac, but sync my iphone with my MacBook. At one time I could sync all of my MobileMe galleries on my iphone that were available on my MacBook, but can no longer do this? Anyone know how to sync MobileMe photos from iph
-
I already synced with my iphone. How do i sync future bookmarks
how do i transfer new bookmarks to my iphone as i add them on my PC? i already synced when i 1st bought the phone,,but when i add any new bookmarks,,they don't show up in my firefox home app on the phone. Help!!