Reg. SQVI report
Hi,
There is an SQVI query written by some other user. I need to change this query now. I am not able to view the query created by other users. What should I do to view this query in production.
Regards
Sudhaker
Hi Taranjani/Praveen,
Your response helped me. I have used below function module to get details of a query from report name.
RSAQ_DECODE_REPORT_NAME.
I find this function module very helpful but still I am facing issue...
Below is the SQVI report name.
REPORTNAME AQ30SYSTQV000038ZRJVIW0034====
Output from above FM is as follows.
WORKSPACE
USERGROUP SYSTQV000038
QUERY ZRJVIW0034
CLIENT 030
But, when I try to see user group(SYSTQV000038) from SQ03, I get a message " This user group is never created ".
Any idea, how to check this user group ?
Regards
Sudhaker
Similar Messages
-
SQVI Report for SAP CRM Product Hierarchy and its Product
Hi
How to create a SQVI report for generating a list for SAP CRM Product Hierarchy which should show the outputs->Level 1, level 2, level 3 and level 4 categories and its products?
I tried COMM_Hierarchy table and Comm_product but not able to achieve this requirement.
or Is there any chance of getting related tables so that I could try more for this requirement.
In which table both product id and its category Id can be found?
PravinThanks DJ
Is there any possibility to get a report for product hierarchy in SQVI ?
say in SAP CRM system, the product category is maintained in COMM_HIERARCHY as
Parent category Id->
Level2 Category Id->
Level 3 Category Id->
Level 4 category Id ->
Product Id's
(I understood the link between Level 4 category id and product id with your info.) but not able to achieve the requirement fully.
Is there any possiblity to achive for generateing a report? -
Hi friends,
I want to create a SQVI report in which the query is to give out put for "MATERIAL NUMBER AND G/L account AND MATERIAL TYPE"
I understand that material number and G/L account are not linked directly. Could anyone please help me in identifying the tables name with which i can link above three fields?
Regards,
BisYou need to get from the below tables
Material Number -- MARA
Material Type -- MARA
Valuation class -- MBEW
GL Account -- T030 -
How to modify existing code of SQVI report?
Hi Expert,
There is a SQVI report which has already been created but we need to change the one for new requirement.
is there any way to modify existing code for new requirement?
Can we edit in abap workbench?
Thanks & Regards
SavitaSavita,
You can not modify SQVI system generated code. You need to go to SAVI change mode and make modifications. If your requirement is a sort of additional fields or inserting come code into the program , then SQVI is not the choice. You need to use Infoset Queries (SQ03, SQ02, Sq01).
KJogeswaraRao -
Hi,
A report was created using SQVI in PRD and I like to know if there is a way to transport it to our DEV or QAS system?
I know this should not happened in the first place hence just want to find out if there is a way to copy the SQVI report from
PRD to QAS or is my only option is to recreate the report in DEV and then do the transport again to PRD?
Thanks!You may have transport request if not then need to create a transport: Se01 --> create transport --> Select transport of copies --> Give description.
select new transport --> Click on include objects --> object list from transport request.
Now double click on the transport --> go to properties tab --> assign correct Target System. -
Dear All,
I have created the report in DEV server with SQVI transaction code and assigned the t.code(ZVL06) for the same.
I have transported the request w.r.t t.code to PRD Server.
I am getting an error that the program not found/does not exist.
Then i found that the program does not moved PRD.
then i created the same report in PRD with SQVI.
Here the issue is that other users cannot able to execute the report.
After searching in SDN i came to know that SQVI reports are user specific.
1) How the other users can execute the report?( No authorization for SQVI T.Code)
2) How to move the SQVI report to PRD?
With Regards
Azeez.MohammedPlease refer following link from SAP help, where you can get answer to most of your queries on SAP Query related to Transport & Authorizations:
- [ _SAP Query_ |http://help.sap.com/SAPHELP_NW70EHP1/helpdata/EN/d2/cb467f455611d189710000e8322d00/frameset.htm]
Regards
JP -
SQVI Report for Excise Invoice
Dear Friends,
I am trying to create a report in SQVI, where, I want the system to populate the Excise Invoice number, Commercial Invoice number & the Accounting document number.
Let me know if anybody can help with the relevant tables that can be joined in SQVI.
Rgds,
IndrajitHi,
Make a joint of table J_1iexcxhdr & BSEG join RDOC field with VBELN In selection parameter company code & fiscal year to improve the performance of the report.
Regards -
SQVI - Report for vendor bank details.
Hi all,
I am using SQVI -- Quick viewer reporting tool to get the vendor bank details. for that i am using tables
LFA1
LFBK
BNKA
TIBAN
I joined the above mentioned tables by using table joins. I cross checked the vendors in Tcode: FK03.
But i found that the vendor is not having IBAN number in the transaction, where as list is showing the IBAN number.
So please clarify me why it is happending.
Regards,
ChinnnaHi shiva,
I tried with the join conditions provided by you. But the problem is ...
If a vendor is having 2 IBAN numbers, then the first IBAN number is fetching not the two iban numbers.
Why it is not taking the first entry in FK03 tcode.
please give me some help.
Regards,
chinna -
Reg: ALV report - output download
Hi Friends,
I am having one issue reg download of ALV (Grid display) report output. we are having vendor number at 1st colomn. It's displaying correctly in output.
(eg:0000100069). But, when I download the output into a excel file, last digit of the vendor number getting truncated. (eg: 100069 becomes 10006).
Kindly help me regarding this ..
Thanks in advance.
Regards,
Bharat.Hi,
The problem is in formatting in Excel. U download the data. Then select the column u want to format, right click and select format cells. In that, choose Number and assign decimal places to 0. U will get according to the format u needed.
I worked in this, and got as per the specified format.
Reward if found useful. -
Downloading in excel from sqvi report format in the background
Dear All,
We have developed couple of report using SQVI format for couple of reports. Now for those reports my client wants to download them in excel sheet and attach to the email, when email is triggered automatically to the specified email id's. This is urgent issue which need to be given b this week end. Thanking everyone in advance for your replies.
Regards
V. Srinivasa RanganathHi,
Get the report name in selection screen of SQVI, something like AQ30SYSTQV000002MARA==========.
Create a new job in SM36 with a step with this report
In this job add a SPOOL Destination with defined email or list of emails
When job is executed the spool will be automatically sent to the mailing list. If email attachments configuration is to generate an attachment in html format, that html can be saved from Outlook to local disk and opened in excel, as many html files.
If you want something more professional you'll need to create a program in ABAP that actually does the same as the SQVI but creates a file in excel format, using abap2xlsx probably, and then sends it to the distribution list.
Most excel functions in SAP requires the Excel in the frontend computer, so they cannot work in background or in the server side. abap2xlsx is useful in this cases.
Regards,
Edgar -
Hi
iam learner in hyperion financial reports and my query is here current month and previous 11 months make sure year roll over use substitutional variable.
for this i have to use if condition and for currr month sub variable is actperiod value is dec.plz tell me ihow to use if condition in hyperion reports.
Regards
kalyanTHANKS FOR SOLUTION
Reg
reddy -
Hi friends,
I configured new mcsi report for sales. In that i unable to retrive the existing records.
I m capturing only new orders created after the report configuration.
Please help me.
Thanks in advance
Reg,
MadhuDear Friend,
The sales information system gets updated on the particular Date when the Infotypes are changes or new report is configured.
All the information which you have made relavent to statistics in CMR and MMR and the Sales business flows gets updated in to the infosets.
Check the T-code : OMO1
Now When you will only get the new sales order created old data retriving is not possible as per my knowledge.
regards,
SAP SD -
Reg : Z report for Stock on given date
Dear ABAP Guru's,
Iam in need of urgent report inorder to find Stock on given(particular) single date but not SAP standard report.That Stock Value should match the MC.9 value.Pls help meHi,
This code may help you.
*& Report ZDH_ITC_STOREP
REPORT ZDH_ITC_STOREP.
TABLES: T001L.
type-pools slis.
DATA: GT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA: GT_HEADER TYPE SLIS_T_LISTHEADER.
DATA: GS_LAYOUT TYPE SLIS_LAYOUT_ALV.
DATA: GT_EVENTS TYPE SLIS_T_EVENT.
TYPES: BEGIN OF TY_FINAL,
MATNR TYPE MCHB-MATNR,
MATDES TYPE MAKT-MAKTX,
BATNO TYPE MCHB-CHARG,
UMIL TYPE MCHB-CLABS,
UCFC TYPE MCHB-CLABS,
BMIL TYPE MCHB-CSPEM,
BCFC TYPE MCHB-CLABS,
TMIL TYPE MCHB-CLABS,
TCFC TYPE MCHB-CLABS,
END OF TY_FINAL.
TYPES: BEGIN OF TY_MCHB,
MATNR TYPE MCHB-MATNR, " Material Number
CHARG TYPE MCHB-CHARG, " Batch Number
CLABS TYPE MCHB-CLABS, " Valuated Unrestricted-Use Stock
CSPEM TYPE MCHB-CSPEM, " Blocked Stock
UCFC TYPE MCHB-CLABS,
bcfc TYPE MCHB-CLABS,
END OF TY_MCHB.
*TYPES: BEGIN OF TY_MARA,
* MATNR TYPE MARA-MATNR,
* END OF TY_MARA.
TYPES: BEGIN OF TY_MAKT,
MATNR TYPE MAKT-MATNR, " Material Number
MAKTX TYPE MAKT-MAKTX, " MATERIAL DESCRIPTION
END OF TY_MAKT.
TYPES:BEGIN OF TY_MARM,
MATNR TYPE MARM-MATNR, "MATERIAL NUMBER
UMREN TYPE MARM-UMREN, "Denominator for conversion to base units of measure
UMREZ TYPE MARM-UMREZ, "Numerator for Conversion to Base Units of Measure
END OF TY_MARM.
DATA: IT_FINAL TYPE STANDARD TABLE OF TY_FINAL,
WA_FINAL TYPE TY_FINAL.
DATA: IT_MCHB TYPE STANDARD TABLE OF TY_MCHB,
WA_MCHB TYPE TY_MCHB.
*DATA: IT_MARA TYPE STANDARD TABLE OF TY_MARA,
* WA_MARA TYPE TY_MARA.
DATA: IT_MAKT TYPE STANDARD TABLE OF TY_MAKT,
WA_MAKT TYPE TY_MAKT.
DATA: IT_MARM TYPE STANDARD TABLE OF TY_MARM,
WA_MARM TYPE TY_MARM.
data: atot, btot type MCHB-CLABS.
PARAMETERS: PA_FACT TYPE T001W-WERKS OBLIGATORY, "FACTORY
PA_DATE TYPE SY-DATUM OBLIGATORY. "DATE
SELECT-OPTIONS: SO_STLO FOR T001L-LGORT OBLIGATORY. " STORAGE LOCATION
* GETTING THE MATERIALS
SELECT MATNR CHARG CLABS CSPEM
FROM MCHB
INTO TABLE IT_MCHB
WHERE WERKS = PA_FACT
AND LGORT IN SO_STLO.
* GETTING THE BRAND DESCRIPTION FROM THE ABOVE SELECTED MATERIAL
SELECT MATNR MAKTX
FROM MAKT
INTO TABLE IT_MAKT
FOR ALL ENTRIES IN IT_MCHB
WHERE MATNR = IT_MCHB-MATNR
AND SPRAS = 'EN'.
* GETTING THE BATCH CODE FOR THE ABOVE MATERIAL AND BRAND
SELECT MATNR UMREN UMREZ
FROM MARM
INTO TABLE IT_MARM
FOR ALL ENTRIES IN IT_MCHB
WHERE MATNR = IT_MCHB-MATNR.
* CALCULATING THE TOTALS OF BLOCKED AND UNRESTRICTED QTY
LOOP AT IT_MCHB INTO WA_MCHB.
READ TABLE IT_MARM INTO WA_MARM WITH KEY MATNR = WA_MCHB-MATNR.
WA_MCHB-ucfc = ( ( WA_MARM-UMREN / WA_MARM-umrez ) * wa_mchb-clabs ).
WA_MCHB-bcfc = ( ( wa_marm-umren / wa_marm-umrez ) * wa_mchb-cspem ).
* WA_MCHB-ucfc = atot.
* WA_MCHB-bcfc = btot.
modify IT_MCHB from WA_MCHB TRANSPORTING ucfc bcfc WHERE MATNR = WA_MCHB-MATNR.
READ TABLE it_makt into wa_makt with key MATNR = WA_MCHB-matnr.
WA_FINAL-matnr = WA_MCHB-MATNR.
WA_FINAL-MATDES = wa_makt-maktx.
WA_FINAL-BATNO = wa_mchb-CHARG.
WA_FINAL-UMIL = wa_MCHB-CLABS.
wa_final-UCFC = WA_MCHB-ucfc.
wa_final-bcfc = WA_MCHB-bcfc.
wa_final-bmil = WA_MCHB-CSPEM.
WA_FINAL-tmil = WA_MCHB-clabs + WA_MCHB-CSPEM.
WA_FINAL-tcfc = WA_MCHB-ucfc + WA_MCHB-bcfc.
append wa_final to IT_FINAL.
ENDLOOP.
perform buildheader USING GT_HEADER[].
PERFORM FIELDCATINIT USING GT_FIELDCAT[].
perform alvdisplay.
PERFORM build_layout USING GS_LAYOUT.
*& Form buildheader
* text
* --> p1 text
* <-- p2 text
FORM buildheader USING RT_HEADER TYPE SLIS_T_LISTHEADER..
DATA: TP TYPE SLIS_LISTHEADER.
DATA: TEXT(20) TYPE C,
DT TYPE SY-DATUM.
TP-TYP = 'H'.
TP-INFO = 'STOCK REPORT '.
APPEND TP TO RT_HEADER.
CLEAR TP.
WRITE SY-DATUM TO DT DD/MM/YYYY.
CONCATENATE 'DATE :' DT INTO TEXT.
TP-TYP = 'S'.
TP-INFO = TEXT.
APPEND TP TO RT_HEADER.
CLEAR TP.
ENDFORM. " buildheader
*& Form alvdisplay
* text
* --> p1 text
* <-- p2 text
FORM alvdisplay .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = 'ZDH_ITC_STOREP'
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
* I_GRID_TITLE =
* I_GRID_SETTINGS =
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FIELDCAT[]
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* I_HTML_HEIGHT_TOP = 0
* I_HTML_HEIGHT_END = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* IR_SALV_FULLSCREEN_ADAPTER =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_FINAL
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " alvdisplay
*& Form FIELDCATINIT
* text
* --> p1 text
* <-- p2 text
FORM FIELDCATINIT USING FINIT TYPE SLIS_T_FIELDCAT_ALV.
DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
LS_FIELDCAT-FIELDNAME = 'MATNR'.
LS_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
LS_FIELDCAT-KEY = 'X'.
LS_FIELDCAT-JUST = 'L'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'MATDES'.
LS_FIELDCAT-SELTEXT_L = 'BRAND'.
LS_FIELDCAT-KEY = 'X'.
LS_FIELDCAT-JUST = 'L'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'BATNO'.
LS_FIELDCAT-SELTEXT_L = 'BATCH NO'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'UMIL'.
LS_FIELDCAT-SELTEXT_L = 'RESTRICTED'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'UCFC'.
LS_FIELDCAT-SELTEXT_L = 'UCFC'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'BMIL'.
LS_FIELDCAT-SELTEXT_L = 'BLOCKED'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'BCFC'.
LS_FIELDCAT-SELTEXT_L = 'BCFC'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'TMIL'.
LS_FIELDCAT-SELTEXT_L = 'TOTAL MIL'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'TCFC'.
LS_FIELDCAT-SELTEXT_L = 'TCFC'.
APPEND LS_FIELDCAT TO FINIT.
CLEAR LS_FIELDCAT.
ENDFORM. " FIELDCATINIT
*& Form BUILDLAYOUT
* text
* -->P_GS_LAYOUT[] text
FORM BUILD_LAYOUT USING RS_LAYOUT TYPE SLIS_LAYOUT_ALV.
RS_LAYOUT-NO_INPUT = 'X'.
RS_LAYOUT-ZEBRA = 'X'.
RS_LAYOUT-COLWIDTH_OPTIMIZE = ' '.
RS_LAYOUT-NO_COLHEAD = ' '.
RS_LAYOUT-NO_VLINE = ' '.
RS_LAYOUT-INFO_FIELDNAME = 'WS_COLOR'.
ENDFORM.
" BUILDLAYOUT
HTH
Regards,
Dhruv Shah -
Dear Experts
We want report like MB5B in ALV report. We want the following Sale order number,PO number,stock qty in between date (eg 01.04.2007 to 30.09.2008). Pls help ..
Thanks
Rajakumar.KHi,
What about MB51, isn't it good for that purpose? Of course, if you want to see the opening and closing stock levels too, it doesn't fulfil your requirement.
In this case you have to develop your own report.
Regards,
Csaba -
Reg: ALV report download to excel currency columns
Hi All,
While downloading the alv report to excel, currency fields with negative sign(less than 0) is downloading without negative sign.
And field catalog wad declared as 'CURR' field for that particular column, if I declared as 'CHAR', i am getting shortdump.
Can any one tell me how to get the negative sign.
Thanks in advance.Hi,
Do you use ALV to excel standard functionality or your own code to excel?
Please provide more information.
Thanks,
Maybe you are looking for
-
XI Installation: Adapters do not work.
Hello, All. I can not get any adapters after Installation of SAP XI. JPR adapter is only available in "RWB\Component monitoring\Adapter monitoring" (and it is at red state). After clicking at JPR I can see extended information: SLD access is in red s
-
Recurring international event bug in iCal?
I am in Brisbane, Australia (AEST) and have a weekly teleconference with Milwukee, USA (Central Time). The event was setup in Milwaukee for weekly recurrance at 4pm Tuesday. On my iPhone calendar and web-based Exchange client, the time and date are c
-
Website from BETA now down and can no longer access files!
I created two sites while Muse was in Beta. They are now both down and giving the error message: NO START PAGE: Could not display this Web Site as no Start Page has been configured. To configure a default starting page, set one of your Web Pages
-
I just got this laptop. I tried to download microsoft word and then tried downloading photoshop but both said that safari needs to be closed before the software is installed. But I don't have a Safari browser open at all. I've restarted the computer-
-
Converting an include filename prior to including
Hi, I have several include files that have the .shtml extension in the filename. The .shtml files, however, only contain simple html. I need to use the shtml file extension because of a requirement from my host. Long story. Anyway, I use the followin