Abap Query on most Latest Posting Date in G/L Account
Dear All
This is the new request that has come from the client. What they want to see is the G/L account and the most recent Posting Date. For eg Lets say that 220000 has 3 line items
1000 in march 06
2000 in april 06
3000 in may 06
End user wants to see Balance as 6000 and the most recent Posting date as may 06. If i Pull Accounting Doc # and Posting Date it will give me all the details and date which i dont really want. How do i do it ?
Please help me
Thanks
Sameer
Hi,
what we can do is that get all the line items for a G/L account in an internal table. Sort it descending by date. Pick the first row's date and then simply sum up the quantities.
Hope this helps.
Regards,
Himanshu.
Similar Messages
-
ABAP Query on Recent Posting Date in G/L Account
Dear All
This is the new request that has come from the client. What they want to see is the G/L account and the most recent Posting Date. For eg Lets say that 220000 has 3 line items
1000 in march 06
2000 in april 06
3000 in may 06
End user wants to see Balance as 6000 and the most recent Posting date as may 06. If i Pull Accounting Doc # and Posting Date it will give me all the details and date which i dont really want. How do i do it ?
Please help me
Thanks
SameerHi,
try table GLT0 (for Rel. 4.6C)
A. -
Exchange rate coefficient on the basis of latest posting date in invoice.
Hi,
I have one query on posting date(picking of exchange rate coefficient from TCURR table) in invoice verification. Please help.
Conditions are--
vender and company code are not in same currencies(ex-USD and INR). exchange currencies are maintained perfectly on every month 1st ie co-efficients in TCURR table ie OB08
Query---
1.At the time of parking invoice suppose i enter the date 20th august and i have posted that invoice as parking. It is converting the local currency as per 8th month exchange rate.
2.And at the time of final posting the invoice supose i posted that date as 10th September. Business wanted that converting the local currency as per 9th month exchange rate But now local currency is converting on the basis of initial entry of posting date ie 8th month only.
Please advise and guide what configeration that i have to set for picking the exchange rate coefficient on the basis of latest posting date in invoice verification.
Thanks & Regards,
MadhuBabu.Hi
I dont think it is possible as once you enter posting date while in parking invoice screen, on that date exchange rate will be calculated and it wil not be different at time of posting invoice. Instead of parking, you have to directly post with current posting period.
Thanks -
We are trying to fill setup table for App 4 and afterwards when we extract the DS 2LIS_04_P_ARBPL we are getting figures clubbed together based on latest posting date
for ex: a given production order and type, if AFRU table shows below entries:
16.01.2012 1.5
17.01.2012 1.0
19.01.2012 0.2
then in setup table we have only one row (figures are grouped and shown against the latest posting date!!
19.01.2012 2.7
what is the solution?Hi,
Most of the times data won't fill in the base tables, because the reason is, at the time of data entrry by users, there are certain conditions , so until and un less all that conditions fullfill, then only all feilds will fill in the base tables. I faced the same problem for 2lis_04_p_matnr datasource, I'm not getting Batch, so I enhaced teh datasource. So better add ZZ feild to datasource and enhace the ds based on AFUM table (Based on the process order)
Thanks
Reddy -
Customers whose latest posting date is older than 2 years
How to find out the Latest posting date for a customer in the report from the list of Posting date available.
Sorting option may not be a right Option as i need to create a condition on the formula(Latest posting date(4) -Sy-datum(4) greater than 2 years)
Please suggest mePlease let me know for any inputs
-
Latest posting date from table MKPF
hi all,
I want to retrive the latest posting date from table MKPF. Here I am using the MARD,MSEG,MKPF tables to get the latest posting date.
if not it_mard[] is initial.
select amblnr amjahr amatnr awerks algort bbudat
into table it_mseg_mkpf
from mseg as a mkpf as b
on amblnr = bmblnr
and amjahr = bmjahr
for all entries in it_mard
where a~matnr = it_mard-matnr
and a~werks = it_mard-werks
and a~lgort = it_mard-lgort.
if sy-subrc eq 0.
sort it_mseg_mkpg decending by matnr werks lgort budat.
endif.
loop at it_mard.
clear it_mkpf_mseg.
read table it_mseg_mkpf with key matnr = it_mard-matnr
werks = it_mard=werks
lgort = it_mard-lgort
binary search.
if sy-subrc eq 0.
it_final-budat = it_mseg_mkpf-budat.
endif.
endloop.
from the above code i need to rereive the latest posting date , but when I am reading from internal table it is giving the sy-subrc is 4. i know when we use binary search , the standard table should be ascedning order. but here I need to use descedning order.
please hhelp i this.
regards,
AjayHi,
1. Check Storage location (LGORT) value available in the internal
table it_mseg_mkpf. Some case no value.
2. Remove the binary search after u try again. Like below.
loop at it_mard.
clear it_mkpf_mseg.
read table it_mseg_mkpf with key matnr = it_mard-matnr
werks = it_mard=werks
lgort = it_mard-lgort.
if sy-subrc eq 0.
it_final-budat = it_mseg_mkpf-budat.
endif.
endloop.
3. sort it_mseg_mkpg DESCENDING BY budat matnr werks lgort.
4. For all material (it_mard) may be or may not be there in the MSEG table.
So for some case SY-SUBRC = 4 will give.
Thanks,
Durai.V
Edited by: Durai V on Sep 9, 2008 6:50 AM -
Report on most recent posting date
Hi experts,
My report needs to show the fields profit center and its posting date.posting date should have a selection variable for the user to enter a key date.The report should show only the last posting date for every profit center before the key date.
my doubt is that the data in the infoprovider should be compared to get the last posting date. is it possible to read the data and get the recent posting date in the customer exit for the variable on posting date.
Please suggest the possible ways of doing this.Hi Krishna,
The recent posting date for the profit centre can not be stored as a transaction data in the cube and it can not be derived in the customer exit.
You have to add a date field as the master data attribute of profit centre and populate that from the transaction cube data to get last posting date for each profit centre.
You can then show is as the nav attaribute of profit centre in the report.
Thanks,
Krishnan -
Posting data to g/l account
hi all,
i am trying to post data to gl account through trasaction FB01.
so what are the general views required to be selected?
can any one send the functional spec and coding in bdc .
Thanks in advance.
rgds
umakanth
[email protected]Hi umakanth,
100 % agree to Arun.
the following code my give you an idea as how to use the BAPI. Please be aware that this is sample code that must be understood and adapted to the specific needs of your environment.
[code]
*& Form post_diff
post difference to notes account against technical
FORM post_diff CHANGING ps_alv_display TYPE LINE OF ty_t_alv_display.
STATICS:
lv_logsys TYPE t000-logsys.
DATA:
lv_prctr TYPE prctr,
lv_currency_iso TYPE isocd,
ls_documentheader TYPE bapiache08,
lv_obj_type TYPE bapiache02-obj_type,
lv_obj_key TYPE bapiache02-obj_key,
lv_obj_sys TYPE bapiache02-obj_sys,
lt_accountgl TYPE TABLE OF bapiacgl08,
ls_accountgl TYPE bapiacgl08,
lt_currencyamount TYPE TABLE OF bapiaccr08,
ls_currencyamount TYPE bapiaccr08,
lt_extension1 TYPE TABLE OF bapiextc,
ls_extension1 TYPE bapiextc,
lt_return TYPE TABLE OF bapiret2.
CHECK:
p_echt IS NOT INITIAL,
ps_alv_display-diff_h <> 0.
IF lv_logsys IS INITIAL.
SELECT SINGLE logsys INTO lv_logsys FROM t000 WHERE mandt = sy-mandt.
get dummy profit center as well
PERFORM get_dummy_prctr USING ps_alv_display-rbukrs CHANGING lv_prctr.
ENDIF." lv_logsys is initial.
PERFORM get_curr_4_ccode
USING ps_alv_display-rbukrs CHANGING lv_currency_iso.
ls_documentheader-obj_type = 'BKPFF'.
ls_documentheader-obj_sys = lv_logsys.
ls_documentheader-obj_key = '$'.
ls_documentheader-username = sy-uname.
ls_documentheader-header_txt = 'reconciliation'(a04).
ls_documentheader-comp_code = ps_alv_display-rbukrs.
ls_documentheader-doc_date = sy-datum.
ls_documentheader-fisc_year = sy-datum(4).
ls_documentheader-pstng_date = p_budat.
ls_documentheader-fis_period = p_bper .
ls_documentheader-doc_type = p_blart.
ls_accountgl-itemno_acc = 1.
ls_accountgl-gl_account = ps_alv_display-racctnote.
ls_accountgl-comp_code = ps_alv_display-rbukrs.
ls_accountgl-item_text = 'reconciliation'(a04).
ls_accountgl-profit_ctr = ps_alv_display-prctr.
APPEND ls_accountgl TO lt_accountgl.
ls_accountgl-itemno_acc = 2.
ls_accountgl-gl_account = p_gkont.
ls_accountgl-comp_code = ps_alv_display-rbukrs.
ls_accountgl-item_text = 'reconciliation'(a04).
ls_accountgl-profit_ctr = ps_alv_display-prctr.
APPEND ls_accountgl TO lt_accountgl.
Company Code Currency
ls_currencyamount-curr_type = '10'. "Company code currency
ls_currencyamount-itemno_acc = 1.
ls_currencyamount-currency = ps_alv_display-hwaer.
ls_currencyamount-amt_doccur = ps_alv_display-diff_h.
APPEND ls_currencyamount TO lt_currencyamount.
ls_currencyamount-itemno_acc = 2.
ls_currencyamount-amt_doccur = - ps_alv_display-diff_h.
APPEND ls_currencyamount TO lt_currencyamount.
Transaction Currency
ls_currencyamount-curr_type = '00'. "Transaction currency
ls_currencyamount-itemno_acc = 1.
ls_currencyamount-currency = ps_alv_display-rtcur.
ls_currencyamount-amt_doccur = ps_alv_display-diff_t.
APPEND ls_currencyamount TO lt_currencyamount.
ls_currencyamount-itemno_acc = 2.
ls_currencyamount-amt_doccur = - ps_alv_display-diff_t.
APPEND ls_currencyamount TO lt_currencyamount.
Addtl fields via Extension
partner company in field RASSC for both positions
ls_extension1-field1 = 'RASSC'.
ls_extension1-field2 = 1.
ls_extension1-field3 = ps_alv_display-rassc.
APPEND ls_extension1 TO lt_extension1.
ls_extension1-field2 = 2.
ls_extension1-field3 = ps_alv_display-rassc.
APPEND ls_extension1 TO lt_extension1.
Transactiontype
ls_extension1-field1 = 'RMVCT'.
ls_extension1-field2 = 1.
ls_extension1-field3 = ps_alv_display-rmvct.
APPEND ls_extension1 TO lt_extension1.
ls_extension1-field2 = 2.
ls_extension1-field3 = ps_alv_display-rmvct.
APPEND ls_extension1 TO lt_extension1.
ZZMULTI
ls_extension1-field1 = 'ZZMULTI'.
ls_extension1-field2 = 1.
ls_extension1-field3 = ps_alv_display-zzmulti.
APPEND ls_extension1 TO lt_extension1.
ls_extension1-field2 = 2.
ls_extension1-field3 = ps_alv_display-zzmulti.
APPEND ls_extension1 TO lt_extension1.
CALL FUNCTION 'BAPI_ACC_GL_POSTING_POST'
EXPORTING
documentheader = ls_documentheader
IMPORTING
obj_type = lv_obj_type
obj_key = lv_obj_key
obj_sys = lv_obj_sys
TABLES
accountgl = lt_accountgl
currencyamount = lt_currencyamount
return = lt_return
extension1 = lt_extension1.
APPEND LINES OF lt_return TO ps_alv_display-t_prot.
ps_alv_display-protocol = icon_protocol.
LOOP AT lt_return TRANSPORTING NO FIELDS WHERE type CA 'EAX'.
ENDLOOP." at lt_return where TYPE ca 'EAX'.
IF sy-subrc = 0.
error encountered
ps_alv_display-lights = icon_failure.
ELSE.
posted - turn lights green
ps_alv_display-lights = icon_green_light.
posted - get document number
ps_alv_display-docnum = lv_obj_key(10).
ENDIF." sy-subrc = 0.
ENDFORM. " post_diff
[/code]
Hope it helps,
Clemens -
hi.
i need to create an ABAP/sap query. when i created the InfoSet i used logical db-pnp.
if i want to get only the employees which entered my organization during the last month where should i add the ABAP code, under which section => extras -> code. i have there several options - data, initialization, at selection-screen output etc, what to choose??????????
thanks,
AmiHi
Welcome to SDN forum
query has got some limitatins compared to Reports which we write using SE38
these queries are user specific and client specific and can't be transportable and you can't write your own code as you wish like reports
see the doc
http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
Step-by-step guide for creating ABAP query
http://www.sappoint.com/abap/ab4query.pdf
ABAP query is mostly used by functional consultants.
SAP Query
Purpose
The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
Features
SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
All the data required by users for their lists can be selected from any SAP table created by the customer.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
use either SQ02 ans SQ01
or SQVI tr code
for more information please go thru this url:
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
http://goldenink.com/abap/sap_query.html
Please check this PDF document (starting page 352) perhaps it will help u.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
check the below link will be helpful for u
Tutorial on SQVI
once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
Regards
Anji -
Hi friends,
I am using PNP LDB in SQ02 .
i am selecting AT SELECTION-SCREEN in "CODE tab" but it's not selected
How to use "F4 help function module" in ABAP Query(SQ02).
Thanks & Regards,
Vallamuthu.MHi
Why you are using SQ01/02 query? you can't get all the facilities what you use in general abap program report
Query is basically intended for functional consultants to get the data by joining the tables
it is Client specific and user specific
You can't use all the events and F4 help like thing in them.
see the doc
http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
Step-by-step guide for creating ABAP query
http://www.sappoint.com/abap/ab4query.pdf
ABAP query is mostly used by functional consultants.
SAP Query
Purpose
The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
Features
SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
All the data required by users for their lists can be selected from any SAP table created by the customer.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
use either SQ02 ans SQ01
or SQVI tr code
for more information please go thru this url:
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
http://goldenink.com/abap/sap_query.html
Please check this PDF document (starting page 352) perhaps it will help u.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
check the below link will be helpful for u
Tutorial on SQVI
once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
<b>Reward points for useful Answers</b>
Regards
Anji -
Hi Anji,
Pls send the procedure (steps) in abap query tool.How to generate a report by using query tool?
thanks in advance
ramuHi
http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
Step-by-step guide for creating ABAP query
http://www.sappoint.com/abap/ab4query.pdf
ABAP query is mostly used by functional consultants.
SAP Query
Purpose
The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
Features
SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
All the data required by users for their lists can be selected from any SAP table created by the customer.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
use either SQ02 ans SQ01
or SQVI tr code
for more information please go thru this url:
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
http://goldenink.com/abap/sap_query.html
Please check this PDF document (starting page 352) perhaps it will help u.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
check the below link will be helpful for u
Tutorial on SQVI
once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
<b>Reward points for useful Answers</b>
Regards
Anji -
What is the diff between ABAP Query and SAP quary?
Balu,
SAP Query
Purpose
The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
Features
SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
All the data required by users for their lists can be selected from any SAP table created by the customer.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly.
Check out these links.
http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
Step-by-step guide for creating ABAP query
http://www.sappoint.com/abap/ab4query.pdf
ABAP query is mostly used by functional consultants.
Kindly reward points by clicking the star on the left of reply,if it helps.Kindly close your previous threads if your problem is solved and reward points for helpful answers.
Don't forget to reward if useful... -
ABAP QUERY Report : column number change
Hi friends,
I need to modify the existing ABAP QUERY REPORT.
I have added a new field in the selection screen.
When I execute the query, it(our new filed) is displaying at the end of the columns.
But I want it to be at 8th columns. please help me.
When I try to change the out position to "8"at "Basic list" -> select check box of our field and double clict it, I am getting the following error.
Warning: Overlapping fields
Those fields overlapped by other fields will not be displayed in their entirety.
So I could not display the new field at 8 th column.
Guys. Please help me.Hi
You have to change the position of each field after 8th column
suppose you added your new field at the 8th column position
then all the subsequent fields positions you have to adjust as per their length
You have to do like this to adjust the columns
see the doc on query
http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
Step-by-step guide for creating ABAP query
http://www.sappoint.com/abap/ab4query.pdf
ABAP query is mostly used by functional consultants.
SAP Query
Purpose
The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
Features
SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
All the data required by users for their lists can be selected from any SAP table created by the customer.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
use either SQ02 ans SQ01
or SQVI tr code
for more information please go thru this url:
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
http://goldenink.com/abap/sap_query.html
Please check this PDF document (starting page 352) perhaps it will help u.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
check the below link will be helpful for u
Tutorial on SQVI
once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
Regards
Anji -
Diff between sap query and abap query
diff between sap query and abap query
Hi,
ABAP query is mostly used by functional consultants.
SAP Query :
Purpose
The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
Features
SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
All the data required by users for their lists can be selected from any SAP table created by the customer.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
ABAP Query,:
As far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
use either SQ02 ans SQ01
or SQVI tr code
for more information please go thru this url:
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
http://goldenink.com/abap/sap_query.html
Please check this PDF document (starting page 352) perhaps it will help u.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
check the below link will be helpful for u
Tutorial on SQVI
once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
regards,
vasavi.
reward if it is helpful. -
About Abap Query..
hi all,
I have added few fields in the existing info-set and mapped these new fields in the respective quries...and added code for each field.......it is working fine...
But, before executing/testing a message window is displaying saying that " query not current" -- "Difference between query and inforset"....
what I have to do more ..so that this message window doesn't come..
Thanks in advance,
Best wishes,
Bhaskar.Hi
Have you changed the Infoset in the correct Query only
One more thing is that these queries are User specific
So you should also in the same user group to change it
there should be some mismatch between the query and the infoset you changed
see the doc
http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
Step-by-step guide for creating ABAP query
http://www.sappoint.com/abap/ab4query.pdf
ABAP query is mostly used by functional consultants.
SAP Query
Purpose
The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
Features
SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
All the data required by users for their lists can be selected from any SAP table created by the customer.
To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
use either SQ02 ans SQ01
or SQVI tr code
for more information please go thru this url:
http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
http://goldenink.com/abap/sap_query.html
Please check this PDF document (starting page 352) perhaps it will help u.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
check the below link will be helpful for u
Tutorial on SQVI
once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
Reward points for useful Answers
Regards
Anji
Maybe you are looking for
-
Smart Album Not Loading Images
I have not seen a discussion (nor Apple support document) that answers my newest Aperture 3 dilemma. First of all, let me say that I am not new to Aperture. I've been using the program since Aperture 2 was introduced. I have successfully used Smart A
-
Hello I purchased an MSI FX5700-TD256 from my local supplier about 3 days ago and I've built it into a computer that I'm working on for a customer. Thing is when I benchmark it, everything is fine as for playing a simple game like CounterStrike the t
-
Wireless Cable Solution?
I am trying to find a solution for adding a TV to my kitchen and receive at least local channels, but would prefer access to my uverse system. I am unable to run any cables, and a digital converter box does not work in that location. Are you aware of
-
Slow connection after 2nd latest upgrade with AUR 8192cu-dkms package
I have a wireless network connection with a "EDUP Ultra-Mini Nano USB 2.0 802.11n 150Mbps Wifi/WLAN Wireless Network Adapter", witch has the rtl8192cu chippset. From the start I have hade problems with lag, droped packages and slow connection with th
-
Home button isnt working.. What should i do? how does it costs to change the home button?