ABAP REPORT using SQVI, need to hide Layout section
HI,
I have created report in Sqvi and imported in ABAP (se38) now I want to hide "Output Specification" block which asks for layout, how do I hide that? See attachment
You'll need to add some code inside a "at selection-screen output." event - something like:
loop at screen.
if screen-name cs '%LAYOUT'.
screen-active = '0'.
modify screen.
endif.
endloop.
Jonathan
Similar Messages
-
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 -
Creating a service report using SQVI
Hi experts
I am creating a service report using SQVI
The report should have the following fiels
SrvPO No | SrvPO Data | vendor | Stata | City | Type of Srv (Ad\banner|maintnc.) | Amount | Status(open or closed)
I am using the following tables using table join fnc
1. EKKO
EBELN-PO No
AEDAT - PO Data
LIFNR - Vendor
PROCSTAT - Status of PO doc
2.LIFNR
REGIO - State
ORTO1 - City
3. ESSR
TXZ01 - Type of Service (Short text)
4.EKPO
NETWE - Net amount of PO
All the tables are legally join but after executing I am not able to fetch any data or hardly one service PO.
And the selection field will be only From Date and To date.or the Service PO No.
Immediate response is urgent
Regards
ParthaModerator message: you said your issue is solved but did not mark your discussion as such, please see
How to close a discussion and why -
New customized report using PLD or QUERY PRINT LAYOUT to show customers onl
I am working with a Software Developing firm as an SAP Consultant.
Please tell me how to create a new customized report displaying various details as required by the client in the report using PLD or Query Print Layout.
Please help me asap.Hi,
You can create queries using the Query Generator or the Query Wizard tools.
After you have created your own queries, you can link them to a required print layout.
for user reports.Look at:
Tools --> Queries --> Query Print Layout
Set there your query reports.
Printing User-Defined Queries
After you had linked a user-defined query to a user report template, you can now print it
according to its linked print layout.
There are two ways for printing your user-defined queries.
1. Using the Query Print Layout window:
Select from the upper menu Tools 􀃆 Queries 􀃆 Query Print Layout.
Click the Reports tab page.
Click to highlight the required query you would like to print.
Click on the printer icon or select from the upper menu File 􀃆 Print.
The user-defined query is printed according to its linked print layout.
2. Using the Queries Manager window:
Click the Queries Manager icon on the upper tool bar.
Click to highlight the required query you would like to print.
Click on the printer icon or select from the upper menu File 􀃆 Print.
The user-defined query is printed according to its linked print layout.
Note! You can also print preview user-defined queries. Do so by selecting the Print
Preview option as described in the methods above for printing your query.
Btw, you could search the manual training files relate to query PLD in http://www.service.sap.com/smb
Rgds, -
XML file to ABAP report..gidance needed on approach
Hello All,
We have an existing ccBPM enabled interface between SAP-ECC and a 3rd party via PI. Currently after all the to-and-fro processing, 3rd party sends an XML FINAL-RESPONSE-FILE to PI, which resides on a folder in PI server. ( Interface ends here)
Now the requirement is that we need to enhance this interface or create a new one which would pick the XML FINAL_RESPONSE_FILE and format the XML data and present it in user-friendly form in terms of a report /alv.
What I want to know is:
1> Should we enhance the existing interface and ccBPM to wait for this final-response file to come and then trigger some BAPI or maybe a proxy to send this data to ECC for further processing.
OR
2> Should we create a sepaarte interface which picks this file asynchronously and sends to ECC for further processing.
OR
3> Should a create an ABAP report, which would pick this file from PI server and format the data and create an report out of it. ( Here I assume SAP must be havinga fm to convert XML to some internal table readable format)...please advise if there is such an FM.
OR
4> Is there any better approach for my scenario - I am a newbie in ccBPM.
Many thanks
ShirinHi,
1> Should we enhance the existing interface and ccBPM to wait for this final-response file to come and then trigger some BAPI or maybe a proxy to send this data to ECC for further processing.
No...if you are planning to make the ccBPM wait then avoid this design...it will keep on utilising system resources till the response gets back...
OR
2> Should we create a sepaarte interface which picks this file asynchronously and sends to ECC for further processing.
you can try this one.....rather I would have tried this one:)
If you have a guarentee that the response will come within a stipulated time-period (say X secs...not very large) and if you are not supposed to create a new interface...then go for change in BPM
Regards,
Abhishek. -
ABAP report using /BIC/ tables
Hi Friends,
Have anybody created ABAP reports in BI system using /BIC/ reports & What is the requirement?
Please let me know.
Thanks in advance,
BeenaHi kvbeena,
it is not clear to me what do you mean by "creation of ABAP reports in BI system using /BIC/ reports"?
In BW routines it is pretty common to read DSO objects by SELECT statements as described in forum referred above.
Also you can use DDIC elements in your custom ABAP reports while creating data objects.
Kindly specify your question in more detail.
BR
m./ -
ABAP query using IHPA--need partner address
I am using SQ01 to create a query. I amusing the EQUI and IHPA. I need the partner address for Partner function = EC. I have the parner number but not the address number, so I cannot join to table ADRC.
Hi Priyank,
First you need to check whether all the required fields are available there in the LDB PNPCE(I guess you are using the same).
I think old department, old division must not be available there. Then you need to add it in your Infoset and write custom code for these fields. Once you are done with custom coding, you can use this infoset for creating queries.
Use trnx SQ02 to create queries, either SAP or Infoset.
Hope it helps. Let me know if you need some more help.
Raveesh -
I've created a query to identify approver from linking several tables. The result data show several duplicate record because I only want to retrieve the User ID. Is there a way to select only Unique Record?
Regards,
Thomashi,
try a SELECT SINGLE [FIELDS/*].... or a SELECT * INTO ITAB FROM XTABLE UP TO 1 ROWS.
Regards -
Need to display report using SSRS
I have a query that display above format from different tables.
But since in row 2 and 3 date, time,day values are same, I don't want it do display it again in row 3.Below is the required format.
How to do this. I need to display this report using SSRS
Need Help..Thanks
AbhinavThis is basically a presentation issue.
You should be dealing this in your front end tool like say reporting services. The property is called Hide Duplicates in SSRS and is available from textbox properties. You dont need to do anything at sqlserver query end for this.
If you really have no other way then you can use a logic as below
select
case when t1.[Date] IS NULL then '' else cast(t.[Date] as varchar(20)) end AS [Date],
case when t1.[Date] IS NULL then '' else cast(t.[Day] as varchar(10)) end AS [Day],
case when t1.[Date] IS NULL then '' else cast(t.[Time]
as varchar(10)) end AS [Time],
t.company
from table t
left join (select [Date],[Day],[Time],MIN(Company) AS MinComp
FROM Table
GROUP BY [Date],[Day],[Time]
)t1
ON t1.[Date] = t.[Date]
AND t1.[Day] = t.[Day]
AND t1.[Time] = t.[Time]
AND t1.MinComp = t.Company
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Build a report through SQVI but not working
Dear Expert,
Kindly help me on this issue.
I tied to build a report using SQVI to output vendor details.
Below is the table I linked.
LFA1 -> ADRC -> ADR6
LFA1 -> LFM1
LFA1 -> LFB1
LFB1 -> LFBK -> BNKA
LFB1 -> LFZA
LFB1 -> LFBW
Once I executed the report, i got message "no data was selected".
What could be wrong?
Please help.Proper link might have not built.
It is very important to link the tables with proper link, otherwise, the values will not be shown.
Check the link once again and show it to your ABAPER.
So that ABAPER can help you
Thanks -
Calling a proxy from ABAP Report
Hi All,
Can any one gimme some idea about calling a XI proxy from ABAP Report.
I need to gather data in my internal table and after that i need to trigger a proxy which is going to do a outbound processing.
Thanks in advance.
Tnx,
Joe.Hi Meetjoe,
We have to design the required interface in PI ,that is used to hold the report data when tigerred a proxy and generate the proxy based on the interface if the Proxy is based on the Outbound side its called client proxy or if the proxy is genereated on Inbound interface we call it server proxy.
need to gather data in my internal table and after that i need to trigger a proxy which is going to do a outbound processing.
In your case its gonna be the client proxy refer the follwing links for your better understanding
For concepts on Proxies:
http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm
To enable Proxy connections:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d69314-1be0-2b10-11ab-8045021f0c3a
Smaple scenarios on Proxy:
Proxysettings /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
ABAP Server Proxy /people/siva.maranani/blog/2005/04/03/abap-server-proxies
ABAP Client Proxy /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Thanks,
Ram. -
Display report using star office
Hi...Need some light on this,,,How to display abap report using Star offce instead of MS excel???? Thanks
If Star Office (??) is OLE compliant, you will need to issue a CREATE OBJECT 'WHATEVER.THE.REGISTRY.ENTRY.NAME.IS.HERE'.
Then once it is activated on the client system, you will need to issue OLE automation commands from ABAP to the Star Office client.
You will probably need an Object Browser to help you with the Star Office commands to pass the ABAP info down to the client. -
Dear All,
Let me know how to test a ABAP Report using Transaction SCAT/SECATT.
I have used SCAT to upload the data into SAP from legacy System but How to use it for testing a report.
I have tried but couldn't able to find the solution.
Regards,
VikasHello,
Here is the step by step guide :
-> Start SECATT transaction in eCATT system
-> In the test script column enter the script name and move to the change mode
-> Enter the traget system details where you want to test your ABAP report in the attributes tab of the script
-> Click on the Pattern button and select either TCD REC or SAPGUI REC option
-> Then enter the transaction SE38 in the pop-up window in the place to enter the transaction
-> The control is taken to SE38 transaction in the target system entered , here enter the ABAP report name and click on the execute button
-> Now you will be asked to enter some input values , enter the values and then press execute again. Note you can parameterize the input values so that you can pass different set of values into the ABAP program from the script , so as to test the ABAP script for different set of values.
-> Once the recording is complete , stop the recording.
Hope it answers your question.
Thanks and Best regards,
Ajay -
How to hide a section/link based on condition
Hi All,
I have three sections in my dashboard page; two of the section contains prompt that the user needs to run before. The Third section contains a link to Run the report. I need to hid the link, Run Report until the users fill the prompt and hit the Go button. How can I achieve this?Okay here are some tips for navigating this forum...
1) If someone offers a suggestion, respond like "yes, it worked" or "no, it didn't work," then explain how it didn't work if possible (Did you get an error message?, unexpected results, etc.)
2) Even if a solution may not have been exact, if it helped you give you new insight or if someone took the time to develop an answer that helps you understand your problem beter, you can and should award "helpful" points.
3) If the answer either solves your problem or validates what you thought, mark it as "correct" and acknowledge the providers of hints and solutions. ("Thanks guys for your help," etc.)
4) Finally close the thread itself.
Doing this would motivate others to help you in the future when you ask your next question. (It is possible to "watch" a user and never answer their question again, if the poster is rude or ungrateful.)
My final advice, is Kishore is one of the biggest helpers in this forum, so my recommendation would be not to flame his comments (even mildly) because he is the one who will decide if he will help you again or not. Oh, and Kishore doesn't host this forum. Along with many others in this forum, he just provides solutions and hints, dedicating his time and resources when he can. :)
Hope this helps. -
Need to prepare an ABAP report!
Hi MM Experts,
I need to prepare an ABAP report on the following descriptions:-
"Develop an MRP report that calculates the unrestricted stock, purchase order quantity, production order quantity, delivery quantity, planning order quantity on the basis of the selection made by the user on the given set of materials and the plant, MRP controller and ABC indicator and date. The report calculates the total available quantity of the materials and the sub materials as well as the required quantity and shortage or excess quantity."
Please suggest me the tables and fields to be used in preparing this report.
Thanks,
Deepanshu.Hi,
Try SQVI abap workbench for functional consultant here you enter table name of required data which you want.
Thanks
Rakesh
Maybe you are looking for
-
Can I sell my 2010 MacBook Pro back to Apple?
I really want to get the 13" macbook pro. My current laptop is in great condition, 2.53 GHz, 4GB RAM, 500 GB hard drive.
-
Dreamweaver CS3- Can't activate after reformat of hard drive
Hello I had to reformat my hard drive due to a virus and made note of all my serial numbers. I put Dreamweaver CS3 back on laptop with disc and it accepts my code but then I have to phone to activate it fully. I then get a message on the phone telli
-
Can't I remove unwanted App's Updates in the App Store ?
Can't I remove unwanted App's Updates in the App Store (found them there by pure magic indeed)...thanx ! <Edited By Host>
-
Converting a JPG into a stationary
Is it possible to take an EPS / JPG / PDF file and convert it into a stationary? I managed to do that, but without the ability to enter text in this mail. How can I create a kind of "text box" same as in the pre-installed stationaries?
-
Trying to log into iTunes - wont accept p/word,
When trying to reset my itunes password, Apple sent me an email to a previous workplace address (which I cannot access). I double checked my personal settings & see that this old email address is NOT listed. How can I access/change my password?