Help in SQ01
When I execute the abap query from tcode SQ01, the title for each field is displayed as the field's description. But I need the fieldname to be displayed there.
What Should I do?
Hi,
1) Here's the procedure how to change the texts - :
Open the infoset in SQ02
Go to "change" mode
Double-click the relevant field in the "Data fields" tree on the left side
Change the Longtext and/or Header in the field group "Currently"
Hit the "Copy" button on top of the form
Verfiy that the label has changed in the "Data fields" tree
Save & generate the infoset (the "Generate" button might be inactive, but once you leave the infoset, it'll ask you to generate)
Thanks and Best Regards,
Vinoth
Similar Messages
-
Help On SQ01,SQ02,SQ03 & SQVI
Dear All,
Can any body tell me where can i find tutorial or any help menu or suggest any book so that i can learn the above things.
Please help me.
With regards
Ranjith Singhcheck out this link...
http://www.experts-exchange.com/Applications/SAP/Q_21316169.html
in case that requires a login, try the other one..
http://searchsap.techtarget.com/tip/1,289483,sid21_gci1073812,00.html?FromTaxonomy=%2Fpr%2F283958
cheers,
Ram
Message was edited by: Ram Manohar Tiwari -
Need help with sq01 query for FI data
hello,
i have created a simple query whihc requires document header and line item information , bkpf and bsis works for this, but another requirement is that business needs vendor and customer accounts to be displayed also .
bsis does not have vendor and customer , bseg has this info but bseg cannot be used in query ,
kindly assist with this , thanks in advance.hi,
you'll find the required info in BSID (customers) and BSIK (vendors) tables (BSAD and BSAK for closed items).
hope this helps
ec -
Generic Extraction - query view and infoset query difference
Hi Guys,
I want to know the Generic datasource difference between Extraction from view and Extraction from Query .I have read some threads and documents, still i am not getting the exact difference.
My understanding :
Views: combination of tables to view the end result , we use views.
Infoset query also with help of SQ01, 02, 03 : we combine tables to see the result.
both use primary key to select the data.
Please help me.
Thanks ,
Nithi.Hi Nithi ,
When we build the datasource on the View
View is basically a table in which you can take data from many table combniation .
in view you can specify the table join condtion and selection condtion
View data gets updated as the data in the source table gets updated
When we build the datasource on the Infoset
Data source str gets filled from the infoset query .you need to use SQ01 and Sq02 transaction for this
in infoset you can define the tables from which you want to read the date .There is also facilty to write ABAP code which will process the data and fill the the data source str using infoset query
infoset query read the data from infoset and transfer to data structure
Thanks
Rajendra -
Report - open/closed goods receipt & its MIRO Document number
Dear all,
Is there any standard report for open/closed goods receipt(Material doc. no.) & its MIRO Document number based on good receipt posting date ?
Awaiting valuable reply.
JeyakanthanHi,
If your requirement is only to display Open GR & Open IR with material & a/cing document, then you need to develop a report.
Tables
EKPO - PO and line item
EKBE - documents with values
You can create a query with the help of SQ01 / SQVI. Then you can create TCode with thehelp SE91.
Pick up values for selection parameters and display while creating query.
Anand. -
SQ01 Query Help for (MKPF and MSEG)
Is their anyway to have the field MSEG-ERFMG show up on the query results as postive or negative color or use a "-" or "+". Need to try and show whether is was a negative or postive movement.
F1 help for MSEG-SHKZG
Debit/credit indicator in revaluation
This indicator is used for internal program control.
Please do not change the entry in this field.
Any changes made could lead to program errors or terminations.
I guess the "sign" is defined trough this field ("S" - sollen (debit), "H" - haben (credit)). If my assumption is true, you won't be able to see + / - in MSEG-ERFMG simply because this field contains no information on the sign.
Using ABAP code you can solve it (or in SQ01 you can use calculated field in your query...I'm not sure you can define that calculated field to cover your requirement...).
Regards,
Csaba
Edited by: Csaba Szommer on May 12, 2009 11:20 PM -
SQ01 query help..
Dear All,
I created a query with SQ01 and added a new fied using calculations from standard fields (with short texts).
I mentioned calculation formula as (PO QTY - GR QTY) = Balance quantity.
In layout output displaying - as Balance quantity , but problem is...
look at the below example output as it ease showing in report..
PO QTY GRN QTY BAL QTY
100 10 90
100 50 50
100 30 70
100 05 95
400 95 305
Where as it should has to show balance quantitiy 5 only (since Purchase order for 100 and Goods receipt for 95). But system adding line item wise quantities. Please suggest is there any solution where is the system should calculate by single po quanitty and all goods receipt quantities and gives balance quantity only. (ECC 6). Any formula to calculate for the balance quantity as desired.
Thank you in advance and Regards,
Syed Hussain.Yes. Solved the issue.. By taking EKET table and SUM @ Mean.
Thanks. -
SQ01 help for listing not used problem codegroup and code in notifications
Hi ,
I am making a query through SQ01 to find out how many damage codes created for a particular notification type are not being used .
In infoset I used QMEL which lists problem code group and problem code and as a bonus we also get codegroup text . When I test this query , I get damage code group and code used in all the notifications . I want solution for the following
1)How to list only distinct damage codegroup and damage code (Not per notification wise)
2)Which second table I have to use to get problem code short text
3)Which table I have to add in infoset and how join has to be created so that I get list of Damage codegroups and codes not used in notification .
NPBHi Pete ,
1)How to list only distinct damage codegroup and damage code (Not per notification wise)
I have output like
problem code group Problem code grp text Problem code Problem code text
MRTR Transformer problems 1 I need table here
MRTR Transformer Problem 1
MRTR Transformer problem 2
I need distinct output like
problem code group Problem code grp text Problem code Problem code text
MRTR Transformer problems 1 I need table here
MRTR Transformer problem 2
2)Which second table I have to use to get problem code short text
I need problem code table
3)Which problem code group and code not used
Suppose for notification type X I have configured damage catalog Q and Q has MRTR , MRAM , MRGT as code groups and each of them have their own codes (say 1 to 5)...If notifications are created only for MRTR and code 1 , 5
I need not used output like
MRTR 2
MRTR 3
MRTR 4
MRAM *
MRCT *
How can I achieve this using sq01,02 etc
NPB
Edited by: Narasimha Bhat on Feb 1, 2011 4:54 PM -
SQ01 - Limited ABAP Knowledge - Help!
SAP Query Difficulties
Please see the above link for my requirements. I am carrying this report out in SQ01.
All the joins have been achieved with the standard infoset functionality.
Within a custom field 'SHORTS' I have the following code (I know it's not right but can't figure out how to write the correct code in to achieve desired results):
DATA:
begin of WA_FINAL,
VBELV like VBFA-VBELV,
POSNV like VBFA-POSNV,
VBELN like VBFA-VBELN,
POSNN like VBFA-POSNN,
KWMENG like VBAP-KWMENG,
LFIMG like LIPS-LFIMG,
end of WA_FINAL,
I_FINAL like standard table of WA_FINAL with header line,
l_sum like LIPS-LFIMG,
wa_del_sent like LIPS-LFIMG.
SELECT
VBELV POSNV VBELV POSNV
INTO
I_FINAL
FROM
VBFA.
ENDSELECT.
SELECT SINGLE
KWMENG
FROM
VBAP
INTO
I_FINAL
WHERE
VBELN = I_FINAL-VBELV AND POSNR = I_FINAL-POSNV.
SELECT SINGLE
LFIMG
FROM
LIPS
INTO
I_FINAL
WHERE
VBELN = I_FINAL-VBELN AND POSNR = I_FINAL-POSNN.
loop at I_FINAL into WA_FINAL.
if sy-tabix = 1.
l_sum = WA_FINAL-LFIMG.
WA_FINAL-LFIMG = WA_FINAL-LFIMG.
SHORTS = WA_FINAL-KWMENG - WA_FINAL-LFIMG.
wa_del_sent = WA_FINAL-LFIMG.
else .
l_sum = wa_del_sent + l_sum.
SHORTS = WA_FINAL-KWMENG - l_sum.
endif.
endloop.How would I go about coding inner join on my internal table in this instance?
Sorry I am researching suggestions and trying to debug the code myself too but the collective expertise on this site may push me in the right direction with the right methodology. -
Hi All,
I have a requirement to create adhoc query in which I cannot use logical database PNP in infoset, so I have to use joind for different infotype tables.
I have to create an infoset in SQ02 for quite a few tables, PA0000, PA0001, PA0002, PA0006, PA0041, PA00105 and just a few to name.
1. Now, how do I create join? If I put a join on pernr of each table then it will bring me multiple rows of history of all infotypes involved.
2. How do I put dates on selection screen, there will be begda and endda in each infotype, I would need only records that are active from each infotype.
3. Do I need to join on begda and endda on each infotype? I dont think so.
Most importantly, can it be acieved through SQ01 or I am barking up the wrong tree?
Thanks for help, and I will award points for all usefull answers.
~ Monkey.First make yourself clear what you have to do if you do not use LDB:
1. Time calculation and split handling
This will be the first challenge. Imagine 5 Infotpyes with 3-5 time intervals each and its split calculation and handling.
2. Authorization check.
You have to ensure that authorization check is done right the same as in the rest of HR. Of course with direct selects you have to reprogram everything that is there for PA and PD side
THese two points alone are several years of development.
3. Special handling
There are some infotypes and fields that have special handling like repeat fields, indirect evaluation, calculated/derived values
4. Automatic text recognition
This is done with no effort at all in an HR InfoSet. Imagine you need to get all the texts by yourself and again with the correct time etc.
So to be honest I think your approach is simply not feasible.
Instead you should examine the query closer.
No there is not always an inner join. If there is no data the fields are empty but the pernr of course is processed.
Only if you select for this field then the pernr is skipped if the condition does not match.
Further there are a lot of switches available please see [note 305118|https://css.wdf.sap.corp/sap/support/notes/0000305118] and the attachment HR_QUERY_GENERATOR_SWITCHES_EN.PDF for documentation of the same.
Again you should invest time what the tools already can instead of trying to develop everything again.
Regards,
Michael -
Can anybody help me in Report Painter? I need a link.
Regards,
SubhasishPlease go through the enclosed document. This will give you step-by-step approach for Report painter:
http://www.virtuosollc.com/PDF/Get_Reporter.pdf
Check url
http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
Check Report Painter Step-by-Step example under Tools->Report Painter / Report Writer->Report Painter->Creating a Report Painter Report.
Just go through These Links to learn about report Painter.
http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
I have a standard report and it uses a structure to pull the data for the report. I need to create a custom report which uses the same structure, selection screen but a different layout. Could any of u plz advice, if its doable in report painter or just plain abap program?? Also I am interested to know how the report painter stores the actual report?? as ABAP program?? Please help..urgent..
check the SAP help ..
http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/content.htm
I had made couple of SD reports in report painter 4 year ago .. as far as process is concern you have create library , but it deals with information structure which start with s0* , after defining information structure in library it take to select the fields and display them on your out put . information structure have the statistical data most of the time . As i worked on information structure , so31,32,33 .....
I t creates ABAP program like ABAP query creates in background . if you execute Customer Over due analysis or in Co02 cost analysis report or MC* ( MM stock reports ) those are in report painter .
Hope this'll give you some guide line ...
As far as I know about report painter, It create a report in background..Like when you make ABAP query (SQ01, 02, 03 ) .. It will create a report. You cant modify the report . You have to get OSS id in order to do that. if you're ready do it then you can pass it to Memory and can achieve your goal ...
I think it will give you some hint. I wish I could have authorization to use report painter on my this project so I can help you out practically.
Please see these steps , it`ll help you ...
http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
The variation objects are coming from the sets.
For example, when you read the report 'Cost Centers: Actual/Plan/Variance'(T-code : S_ALR_87013611), you can find the characteristic 'Cost Center' is set as a 'set variable'. So the cost center in the report left side are coming from the cost center group that you input.
Does any know if we could use Report Painter across two controlling areas? Any documentation available will be great. Yes. When setting up a report in CCA you can have multiple controlling areas. In the General data selection you will have the option for the CA as a selection.
You can also use standard references objects to construct your own reports: libraries, standard layouts, default columns, and row and column models, all in the standard R/3 System, are available for custom reports.
Report Painter report definition requires several Preparatory Steps, depending on the complexity of the report to be generated.
1) Create a library and pick your reporting tables.
2) Create your report
3) define your set up within the report
a)General data selections
b)Colimns
c) rows
d) formulas
Standard layouts are maintained in the IMG "Financial Accounting" under "Special Ledger -> Information System -> Maintain standard layout.
Create libraries, which means assigning the
characteristics
key figures
Predefined columns
For each of these categories you need to select the objects to be used in reports of the specific library. You define the sequence of the objects in the selection lists of the Report Painter in field "Position". Frequently used objects should be at the top of the list.
go to
http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22ba743c611d182b30000e829fbfe/frameset.htm
I have created a report through report writer/Painter(GR51). My query here is to link this report to a transaction code. Could you please suggest me how can I acheive this?
Go to SE93 and select the Transaction with Parameters ( Parameter Transaction)
Then in the Transaction field give: START_REPORT
Skip initial screen
Screen 0
In the default value for the parameters give
D_SREPOVARI-REPORTTYPE RW
D_SREPOVARI-REPORT ( Give your Report Group )
If you have any doubt pick any report painter tcode and check in SE93
Follow below steps
1) Execute report through report painter
2) From system status get the program name
3 ) go to se93 and select report transaction and assign
program name .
Is it possible to make bigger the text a I have on a text field?, Im using the screen painter and I need to put the title bigger (as a requirment).
You can define your text as any length.If you are talking about the font,i am afraid you cannot do that.
No, you can not change the size(font) of the text on the dynpro, you can hightlight it, which changes the color to "blue" to make it stand out. You can change this on the attributes tab when double-clicking on the element in screen painter.
what is the sentence that open a screen painter file
Don´t really understand what you mean with "open a screen painter file".
If you are speaking about showing a form generated with the screen painter,
Dim oXMLDoc As New MSXML2.DOMDocument
oXMLDoc.load("Form.xml")
SBO_Application.LoadBatchActions(oXMLDoc.xml)
Dim oForm As SAPbouiCOM.Form
oForm = SBO_Application.Forms.Item("YourFormID")
oForm.Visible = True
regards
vinod -
Need help on sap query tool...
hi,
i created a user group using sq03. then using sq02, assigned the infoset miro_po (related to PO of MM module) to this user group. also assigned my user id to this group.
then using sq01 i was able to create a query in which i cud select the desired fields given to me based on the infoset i chose (miro_po). i got stuck after the last screen, selection fields screen. after selecting the selection fields, i cud see the next screen icon was disabled and hence i clicked on the layout icon (next to it). In the layout screen, i assume, i can drag and drop the desired fields that must appear in my output, right ?? i am not able to do that..why ??
Bcos of this, i skip this step and when i try to execute this query, i get a message in the status bar which says "no lists yet defined for this query..".
how to resolve this issue ? also if there are any further pointers on continuing and completing the query definition, u r welcome.
thanks in advance..Hello Ramesh
Please check this link
http://help.sap.com/saphelp_nw04/helpdata/en/86/39d6386e24f90ae10000000a114084/content.htm
Hope this will give some inputs
Thanks
Chandran -
Hi Gurus,
I have been using the sq01 query to do complex calculations and have been successful in creating tons of queries. What I am stuck with right now is this situation. I created a query and the result is in multiple rows. Here's what it looks like
Col1 Col2 Col3 Col4 Col5
0014 0.00 12.00 0.00 1.00
0014 20080428 0.00 0.00 0.00
0014 0.00 0.00 5.00 0.00
0014 0.00 0.00 0.00 0.00
Here;s what I want it to look like
Col1 Col2 Col3 Col4 Col5
0014 20080428 12.00 5.00 1.00
Which means i dont want any rows that basically have 0.00 throught and for the key 0014 I want all the data on one single row.
Is there anyway we can do it using sq01.
Any suggestions will be appreciated. Thanks in advance
Kavita
Edited by: Kavita on Feb 18, 2009 7:44 PMHi,
Its not possible to have in single row.
this is same like Education infotype ,all the qualifications will show in different rows.
You wont get it in single row.
Bu try to Check Qucikviewer and join conditions...that might helpful to get it... -
How to create interactive report in SQ01
HAI EVERY ONE,
Can any one help me,
how to create interactive report using SQ01,SQ02,SQ03.
Plz explain me in details. I dont want simple report. I want to generate interactive report using SQ01. Is it possible how?
I will give u good points if it is useful.
Thanks and Regards,
V.VamsiHai,
When u create simple report using sq01 it display basiclist,Rankedlist,statistics,output sequence.
When u will use this options. That why i am asking. Actually basic list means simple report.
What about rankedlist,Statistics and outputsequence. Plz explain these things.
Thanks and Regards,
V.Vamsi -
How to add a "Maximum no. of hits" - field in SQ01 query?
Hi all,
Is it generally possible to add the field "maximum no. of hits" to a query / quickview in transaction SQ01? And if yes, how?
I have created a test query but I cannot find any solution. I don't mean the popup asking for database accesses which occurs when trying to test this query. I really want to have it as selection criteria.
My system is a R/3 Enterprise 4.7 Ext. Set 2.00.
Thanks in advance!
MichaelWell,
You're talking about COLLECTIVE search help. You won't definie Max No of hit at this level.
Define an elementary search help and assign to this one a dialog mode (retriction or set of values).
Regards,
Bertrand
PS : Don't forget reward points
Maybe you are looking for
-
How do I create a digital signature to use when filling out applications online?
The application is asking me to add or create a digital ID to sign and encrypt documents. The certificate that comes with your digital ID is sent to others so that they can verify your signature. I have four options: Browse for an existing digital ID
-
Help white screen no dock, no screen. no desk top!!!!
I have no screen, no dock, no desk top. nothing just a white screen. Can anyone help me restore I don't know how to fix this problem Help please!!!!!
-
To prefix an amount with a negative sign
Hi All, I want to prefix a positive amount with a negative sign...for display... How will I be able to do that ? Regards, Archana
-
Setting audio transitions in to out??
Say I've got 40 audio edit points. Can I apply the default audio transition to every point on my timeline at once...say between my in and out point? Learned this on Media Composer and it was very handy....just having a hard time finding it on CS6....
-
Shopping cart only accepting credit cards sometimes
I replaced a Prostores shopping cart with a BC cart and my client keeps telling me of the significant number of people who are having getting the shopping cart to accept their credit cards. While there are a certain number of people who mistype, we'