Modifying Reports
i found this in the Admin Guide:
Maintaining Reports
From the Workbench main screen select the Reports tab to change and create new reports...
As i do not have access to Workbench, is there another way to modify these reports?
Hello,
Unfortunately there is not, that is why the Admin Guide only says "Workbench."
Thank you,
Similar Messages
-
Unable to modify Report using JRC alone
Hi
I am trying to modify the report generated thru Crystal reports 2008 programmatically using JRC.
I dont see any API in com.crystaldecisions.reports.sdk.DataDefController to modify filters,groups,parameters,sort objects and summaries.
I could find Controller API to modify the above in com.crystaldecisions.sdk.occa.report.application package part of RAS SDK which requires RAS to be installed.
WIll it be possible to modify report using JRC alone?
because when i use com.crystaldecisions.sdk.occa.report.application.ReportClientDocument class to open a report, it thorws
ReportSDKServerException: There is no server specified exception.
and i am not sure what need to set for ReportClientDocument.setReportAppServer()
Pls help me .Hi,
Thanks for your help.
I am getting the below exception when I am trying to open a report programmatically using com.crystaldecisions.reports.sdk.ReportClientDocument.
oReportClientDocument.open(reportName, 0);
I am not sure how to resolve this issue.
I have even created a new rpt file. I am getting the same exception/
I could open this report directly thru Crystal Reports.
12/16/10 16:19:57:376 IST] 10c3f2a6 WebGroup E SRVE0026E: [Servlet Error]-[The document is being opened.]: com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: The document is being opened.---- Error code:-2147215349 Error code name:docNotReady
Error code:-2147215349 Error code name:docNotReady
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.crystaldecisions.client.helper.ObjectState.a(Unknown Source)
at com.crystaldecisions.client.helper.ObjectState.if(Unknown Source)
at com.crystaldecisions.client.helper.ObjectState.stopping(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.close(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.close(Unknown Source)
at com.crystaldecisions.reports.sdk.ReportClientDocument.close(Unknown Source)
at org.apache.jsp._CrystalReportViewer._jspService(_CrystalReportViewer.java:389)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(
Pls help me.
Edited by: D.Sangeetha on Dec 16, 2010 12:33 PM -
Unable to upload the updated/modified Report template (rtf file) in siebel
Hi,
I am unable to upload the updated/modified Report template (rtf file) if already exists in the local database.
Initially I have uploaded a rtf template, generated xliff, registered it and can view the report from the registered view. Later I have made few changes to the rtf template, in the reports template view, I have uploaded this. When i run the report in the registered view, I am able to see the earlier version and it doesnt show me the updated changes.
I am using 8.1.1.3 siebel and BIP 10.1.3.3.1 on local.
Looking at the metalink found "How To Upload Modified RTF Template Files In The Siebel Application For BI Publisher Reporting [ID 1136418.1]" which is related to server but I am working on local database
Please find attached the template, xml file. can you please look into this and update me ASAP
Thanks,
RVHi,
Not able to find Report - Standard templates or Report - Custom templates view in Administration - BIP reports in Siebel 8.1.1.3?
We have applied 8.1.1.3 patch on 8.1.1.0
below are the steps followed
Reports are not generated after 8.1.1.3 patch installtion.
we have also followed to below steps mentioned for this issue in oracle support.
"In order to resolve this behavior it is necessary to ensure that the 8.1.1.3 FixPack has been applied to the Siebel Tools installation. This will provide an additional .zip file in the REPPATCH folder of the Siebel Tools installation. Once this has been done please then follow the configuration steps as documented :
change sysprefix to X_ before sif import and chage back to SBL_ after sif import.
1) Import the sif files from Siebel\8.1\Tools_1\REPPATCH\12-1VMBCSV.zip
2) Import the 4 SIF files in the following order:
S_XMLP_REP_TMPL_02112010.sif
SBL_XMLP_REPORT_SELECTION_FLG.sif
Report Template BC.sif
Report Template Registration Applet.sif
3)Apply the DDL for table S_XMLP_REP_TMPL and compile repository
Once the above steps have been completed the Selected Record flag will appear in the Report Template Registration views."
we still not able to generated able to generate reports even after following above steps.
Thanks
Sean -
Hi Gurus
Need to modify report:
Printed Purchase Order Report(Portrait)
POXPRPOP
User want to print PO's greater then $2,500 only
or can give option's ALL or > 2,500. Any help Thanks in advance
[email protected]There exists a standard Oracle Report "Purchase Order Detail Report". This reports details the PO along with the information on Quantity/Amount Due and Billed.
Please check if you can use it effecitvely to your use. -
Hi All
i need help with this: Modify report RFUMSV00 to include customer detail, supplier details and withholding tax charged.Dear Metja,
for WT data You should use the generic report rfidyywt.
I hope this can help You.
Mauri -
CMC: user must update save but not modify report with webi
Hi experts,
I'm on BO platform 4.0SP2 fp10.
I would like to know if it is possible to enable a user a user to update data in a report, save report but disable it to modify report structure and query.
In a folder the user must be able to update the report and prompt, then he must save it, but I don't want him to modify report with webi.
Thanks
CamilloHi Frederique,
By not modifying the report with WebI, do you mean that the user shouldn't have access to WebI Rich Client?
What kind of update would the user have to do on a report once the report is available in a folder?
Yes I mean user shouldn't ha access to webi rich client. He should just view update rint and updated report.
Regards
Camillo -
hi guys am new to ABAP,
i have a report which prints information of a single customer for a particular period , can anybody modify my report and give me the code for displaying information of multiple customers at a time... and info of every customer should be printed in a fresh page.... i mean printing of next customer should should start in new page... plz check the code below
*& Report ZFI_STMT_OF_ACC
REPORT zfi_stmt_of_acc_new NO STANDARD PAGE HEADING LINE-COUNT 60
LINE-SIZE 224.
TABLES: kna1,
bseg,
bkpf,
bsid,
bsik,
vbrk,j_1iexcdtl.
zfi_cu_tran.
*INTERNAL TABLES DECLARATION
DATA: BEGIN OF it_bsid1 OCCURS 0,
belnr LIKE bsid-belnr,
blart LIKE bsid-blart,
budat LIKE bsid-budat,
bldat LIKE bsid-bldat,
xblnr LIKE bsid-xblnr,
sgtxt LIKE bsid-sgtxt,
kunnr LIKE bsid-kunnr,
umskz LIKE bsid-umskz,
shkzg LIKE bsid-shkzg,
wrbtr LIKE bsid-wrbtr,
vbeln LIKE bsid-vbeln,
END OF it_bsid1.
DATA: BEGIN OF it_bsid2 OCCURS 0,
belnr LIKE bsid-belnr,
blart LIKE bsid-blart,
budat LIKE bsid-budat,
bldat LIKE bsid-bldat,
xblnr LIKE bsid-xblnr,
sgtxt LIKE bsid-sgtxt,
kunnr LIKE bsid-kunnr,
umskz LIKE bsid-umskz,
shkzg LIKE bsid-shkzg,
wrbtr LIKE bsid-wrbtr,
vbeln LIKE bsid-vbeln,
END OF it_bsid2.
DATA: it_bsid3 LIKE it_bsid1 OCCURS 0 WITH HEADER LINE.
DATA: it_bsid4 LIKE it_bsid2 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF it_bsik1 OCCURS 0,
belnr LIKE bsik-belnr,
blart LIKE bsik-blart,
budat LIKE bsik-budat,
bldat LIKE bsik-bldat,
xblnr LIKE bsik-xblnr,
sgtxt LIKE bsik-sgtxt,
lifnr LIKE bsik-lifnr,
umskz LIKE bsik-umskz,
shkzg LIKE bsik-shkzg,
wrbtr LIKE bsik-wrbtr,
ebeln LIKE bsik-ebeln,
END OF it_bsik1.
DATA: BEGIN OF it_bsik2 OCCURS 0,
belnr LIKE bsik-belnr,
blart LIKE bsik-blart,
budat LIKE bsik-budat,
bldat LIKE bsik-bldat,
xblnr LIKE bsik-xblnr,
sgtxt LIKE bsik-sgtxt,
lifnr LIKE bsik-lifnr,
umskz LIKE bsik-umskz,
shkzg LIKE bsik-shkzg,
wrbtr LIKE bsik-wrbtr,
ebeln LIKE bsik-ebeln,
END OF it_bsik2.
DATA it_final LIKE it_bsid1 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF it_vbrp OCCURS 0,
vbeln LIKE vbrp-vbeln,
fkdat LIKE vbrk-fkdat,
matnr LIKE vbrp-matnr,
fkimg LIKE vbrp-fkimg,
meins LIKE vbrp-meins,
END OF it_vbrp.
DATA: BEGIN OF it_output OCCURS 0,
belnr LIKE bsid-belnr,
bldat LIKE bsid-bldat,
budat LIKE bsid-budat,
vbeln LIKE bsid-vbeln,
fkdat LIKE vbrk-fkdat,
blart LIKE bsid-blart,
dwrbtr LIKE bsid-wrbtr,
cwrbtr LIKE bsid-wrbtr,
cumil TYPE p DECIMALS 2,
matnr LIKE vbrp-matnr,
fkimg LIKE vbrp-fkimg,
meins LIKE vbrp-meins,
xblnr LIKE bsid-xblnr,
sgtxt LIKE bsid-sgtxt,
END OF it_output.
DATA: v_kunnr LIKE kna1-kunnr,
v_name1 LIKE kna1-name1,
v_ort01 LIKE kna1-ort01,
v_lifnr LIKE lfa1-lifnr,
v_belnr LIKE bsid-belnr,
v_exnum LIKE j_1iexcdtl-exnum.
DATA: v_budat LIKE bkpf-budat.
DATA: v_budat1 LIKE v_budat,
v_budat2 LIKE v_budat.
DATA: v_nwrbtr TYPE p DECIMALS 2,
v_swrbtr TYPE p DECIMALS 2,
v_vwrbtr TYPE p DECIMALS 2,
v_fwrbtr TYPE p DECIMALS 2,
v_cumil TYPE p DECIMALS 2,
v_debit TYPE p DECIMALS 2,
v_credit TYPE p DECIMALS 2.
DATA: v_xwrbtr TYPE p DECIMALS 2.
DATA: v_text(75),
v_date1(10),
v_date2(10).
DATA: it_output1 LIKE it_output OCCURS 0 WITH HEADER LINE.
DATA: it_output2 LIKE it_output OCCURS 0 WITH HEADER LINE.
SELECT-OPTIONS s_budat1 FOR bkpf-budat NO-DISPLAY.
SELECTION-SCREEN BEGIN OF BLOCK customer WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_kunnr FOR kna1-kunnr NO INTERVALS NO-EXTENSION
OBLIGATORY,
s_budat FOR bkpf-budat NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK customer.
SELECTION-SCREEN BEGIN OF BLOCK type WITH FRAME TITLE text-002.
PARAMETERS: x_norm LIKE itemset-xnorm AS CHECKBOX DEFAULT 'X',
x_shbv LIKE itemset-xshbv AS CHECKBOX,
x_apar LIKE itemset-xarit AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK type.
MOVE s_budat-low TO v_budat.
IF s_budat-high LT '20060331'.
MESSAGE 'DATA NOT AVILABLE TO THE GIVEN DATE RANGE' TYPE 'E'.
ENDIF.
LOOP AT s_budat.
s_budat-low = '20060330'.
MODIFY s_budat.
ENDLOOP.
START-OF-SELECTION.
CLEAR: v_nwrbtr,
v_swrbtr,
v_vwrbtr,
v_fwrbtr.
SELECT SINGLE kunnr name1 ort01
FROM kna1 INTO (v_kunnr, v_name1, v_ort01)
WHERE kunnr IN s_kunnr.
SELECT SINGLE lifnr
FROM lfa1 INTO v_lifnr
WHERE kunnr IN s_kunnr.
IF x_norm EQ 'X'.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsid
INTO CORRESPONDING FIELDS OF TABLE it_bsid1
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz EQ space.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsad
INTO CORRESPONDING FIELDS OF TABLE it_bsid2
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz EQ space.
ENDIF.
IF x_shbv EQ 'X'.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsid
INTO CORRESPONDING FIELDS OF TABLE it_bsid3
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz NE space AND
umskz NE 'C' AND
umskz NE 'D' AND
umskz NE 'S'.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsad
INTO CORRESPONDING FIELDS OF TABLE it_bsid4
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz NE space AND
umskz NE 'C' AND
umskz NE 'D' AND
umskz NE 'S'.
ENDIF.
IF x_apar EQ 'X'.
SELECT belnr blart budat bldat
xblnr sgtxt lifnr
umskz shkzg wrbtr ebeln
FROM bsik
INTO CORRESPONDING FIELDS OF TABLE it_bsik1
WHERE lifnr EQ v_lifnr AND
budat IN s_budat.
SELECT belnr blart budat bldat
xblnr sgtxt lifnr
umskz shkzg wrbtr ebeln
FROM bsak
INTO CORRESPONDING FIELDS OF TABLE it_bsik2
WHERE lifnr EQ v_lifnr AND
budat IN s_budat.
ENDIF.
it_final[] = it_bsid1[].
LOOP AT it_bsid2.
MOVE: it_bsid2-belnr TO it_final-belnr,
it_bsid2-blart TO it_final-blart,
it_bsid2-budat TO it_final-budat,
it_bsid2-bldat TO it_final-bldat,
it_bsid2-xblnr TO it_final-xblnr,
it_bsid2-sgtxt TO it_final-sgtxt,
it_bsid2-kunnr TO it_final-kunnr,
it_bsid2-umskz TO it_final-umskz,
it_bsid2-shkzg TO it_final-shkzg,
it_bsid2-wrbtr TO it_final-wrbtr,
it_bsid2-vbeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsid3.
MOVE: it_bsid3-belnr TO it_final-belnr,
it_bsid3-blart TO it_final-blart,
it_bsid3-budat TO it_final-budat,
it_bsid3-bldat TO it_final-bldat,
it_bsid3-xblnr TO it_final-xblnr,
it_bsid3-sgtxt TO it_final-sgtxt,
it_bsid3-kunnr TO it_final-kunnr,
it_bsid3-umskz TO it_final-umskz,
it_bsid3-shkzg TO it_final-shkzg,
it_bsid3-wrbtr TO it_final-wrbtr,
it_bsid3-vbeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsid4.
MOVE: it_bsid4-belnr TO it_final-belnr,
it_bsid4-blart TO it_final-blart,
it_bsid4-budat TO it_final-budat,
it_bsid4-bldat TO it_final-bldat,
it_bsid4-xblnr TO it_final-xblnr,
it_bsid4-sgtxt TO it_final-sgtxt,
it_bsid4-kunnr TO it_final-kunnr,
it_bsid4-umskz TO it_final-umskz,
it_bsid4-shkzg TO it_final-shkzg,
it_bsid4-wrbtr TO it_final-wrbtr,
it_bsid4-vbeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsik1.
MOVE: it_bsik1-belnr TO it_final-belnr,
it_bsik1-blart TO it_final-blart,
it_bsik1-budat TO it_final-budat,
it_bsik1-bldat TO it_final-bldat,
it_bsik1-xblnr TO it_final-xblnr,
it_bsik1-sgtxt TO it_final-sgtxt,
it_bsik1-lifnr TO it_final-kunnr,
it_bsik1-umskz TO it_final-umskz,
it_bsik1-shkzg TO it_final-shkzg,
it_bsik1-wrbtr TO it_final-wrbtr,
it_bsik1-ebeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsik2.
MOVE: it_bsik2-belnr TO it_final-belnr,
it_bsik2-blart TO it_final-blart,
it_bsik2-budat TO it_final-budat,
it_bsik2-bldat TO it_final-bldat,
it_bsik2-xblnr TO it_final-xblnr,
it_bsik2-sgtxt TO it_final-sgtxt,
it_bsik2-lifnr TO it_final-kunnr,
it_bsik2-umskz TO it_final-umskz,
it_bsik2-shkzg TO it_final-shkzg,
it_bsik2-wrbtr TO it_final-wrbtr,
it_bsik2-ebeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_final.
IF it_final-vbeln EQ space.
IF it_final-shkzg = 'S'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-dwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt.
ELSEIF it_final-shkzg = 'H'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-cwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt.
ENDIF.
APPEND it_output.
CLEAR it_output.
DELETE it_final.
ENDIF.
ENDLOOP.
LOOP AT it_final.
IF it_final-shkzg = 'S'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-dwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt,
it_final-vbeln TO it_output-vbeln.
ELSEIF it_final-shkzg = 'H'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-cwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt,
it_final-vbeln TO it_output-vbeln.
ENDIF.
APPEND it_output.
CLEAR it_output.
ENDLOOP.
LOOP AT it_output.
IF it_output-budat LT v_budat.
v_fwrbtr = v_fwrbtr + it_output-dwrbtr - it_output-cwrbtr.
DELETE it_output.
ENDIF.
ENDLOOP.
SORT it_output BY belnr.
LOOP AT it_output WHERE blart EQ 'R2'.
MOVE it_output TO it_output1.
APPEND it_output1.
ENDLOOP.
SORT it_output1 BY belnr.
it_output2[] = it_output1[].
DELETE ADJACENT DUPLICATES FROM it_output1 COMPARING belnr.
LOOP AT it_output.
READ TABLE it_output2 WITH KEY belnr = it_output-belnr.
IF sy-subrc EQ 0.
DELETE it_output.
ENDIF.
ENDLOOP.
LOOP AT it_output1.
READ TABLE it_output2 WITH KEY belnr = it_output1-belnr.
CLEAR v_xwrbtr.
LOOP AT it_output2 WHERE belnr EQ it_output1-belnr.
v_xwrbtr = v_xwrbtr + it_output2-dwrbtr - it_output2-cwrbtr.
ENDLOOP.
CLEAR it_output.
MOVE: it_output1-belnr TO it_output-belnr,
it_output1-budat TO it_output-budat,
it_output1-bldat TO it_output-bldat,
'R2' TO it_output-blart,
it_output1-xblnr TO it_output-xblnr.
IF v_xwrbtr LT 0.
v_xwrbtr = v_xwrbtr * -1.
MOVE: v_xwrbtr TO it_output-cwrbtr.
ELSE.
MOVE: v_xwrbtr TO it_output-dwrbtr.
ENDIF.
APPEND it_output.
ENDLOOP.
SORT it_output BY budat belnr.
IF NOT it_final[] IS INITIAL.
SELECT vbrk~vbeln vbrp~matnr vbrp~fkimg vbrp~meins vbrk~fkdat
INTO CORRESPONDING FIELDS OF TABLE it_vbrp
FROM vbrk INNER JOIN vbrp ON vbrk~vbeln EQ vbrp~vbeln
FOR ALL entries IN it_final
WHERE vbrk~vbeln = it_final-vbeln.
ENDIF.
v_cumil = v_fwrbtr.
CLEAR: v_debit,
v_credit.
LOOP AT it_output.
IF NOT it_output-vbeln EQ space.
READ TABLE it_vbrp WITH KEY vbeln = it_output-vbeln.
MOVE: it_vbrp-matnr TO it_output-matnr,
it_vbrp-fkdat TO it_output-fkdat,
it_vbrp-fkimg TO it_output-fkimg,
it_vbrp-meins TO it_output-meins.
MODIFY it_output.
ENDIF.
v_cumil = v_cumil - it_output-cwrbtr + it_output-dwrbtr.
v_debit = v_debit + it_output-dwrbtr.
v_credit = v_credit + it_output-cwrbtr.
MOVE v_cumil TO it_output-cumil.
MODIFY it_output.
ENDLOOP.
WRITE:/001 sy-vline,
002 'Opening Balace as on', v_budat CENTERED,
034 sy-vline,
045 sy-vline,
056 sy-vline,
067 sy-vline,
072 sy-vline,
093 sy-vline,
114 sy-vline,
115(20) v_fwrbtr RIGHT-JUSTIFIED,
135 sy-vline,
154 sy-vline,
172 sy-vline,
176 sy-vline,
193 sy-vline,
224 sy-vline.
LOOP AT it_output.
CLEAR v_exnum.
SELECT SINGLE * FROM j_1iexcdtl
WHERE rdoc2 = it_output-vbeln
AND matnr = it_output-matnr.
IF sy-subrc = 0.
v_exnum = j_1iexcdtl-exnum.
ENDIF.
WRITE:/001 sy-vline,
002(10) it_output-belnr,
012 sy-vline,
013(10) it_output-bldat,
023 sy-vline,
024(10) it_output-budat,
034 sy-vline,
035(10) v_exnum,
045 sy-vline,
046(10) it_output-vbeln,
056 sy-vline,
057(10) it_output-fkdat NO-ZERO,
067 sy-vline,
068(4) it_output-blart CENTERED,
072 sy-vline,
073(20) it_output-dwrbtr RIGHT-JUSTIFIED NO-ZERO,
093 sy-vline,
094(20) it_output-cwrbtr RIGHT-JUSTIFIED NO-ZERO,
114 sy-vline,
115(20) it_output-cumil RIGHT-JUSTIFIED NO-SIGN,
135 sy-vline,
136(18) it_output-matnr,
154 sy-vline,
155(17) it_output-fkimg RIGHT-JUSTIFIED NO-ZERO,
172 sy-vline,
173(3) it_output-meins CENTERED,
176 sy-vline,
177(16) it_output-xblnr CENTERED,
193 sy-vline,
194(30) it_output-sgtxt CENTERED,
224 sy-vline.
ENDLOOP.
WRITE:/001(224) sy-uline.
SKIP.
WRITE:/ 'TOTALS AS ON', s_budat-high, ':',
040(19) v_fwrbtr RIGHT-JUSTIFIED, '+',
063(19) v_debit RIGHT-JUSTIFIED, '-',
084(19) v_credit RIGHT-JUSTIFIED, '=',
105(19) v_cumil RIGHT-JUSTIFIED.
*WRITE:/ 'Closing Balance for Customer', V_KUNNR, 'as on', S_BUDAT-,
091 'Rs',
093(20) V_CUMIL RIGHT-JUSTIFIED.
SKIP.
WRITE:/ '** BALANCE SUBJECT TO RECONCILIATION'.
TOP-OF-PAGE.
CONCATENATE v_budat+6(2)
v_budat+4(2)
v_budat+0(4) INTO v_date1 SEPARATED BY '.'.
CONCATENATE s_budat-high+6(2)
s_budat-high+4(2)
s_budat-high+0(4) INTO v_date2 SEPARATED BY '.'.
CONCATENATE 'STATEMENT OF CUSTOMER ACCOUNT FOR THE PERIOD FROM'
v_date1
'TO'
v_date2 INTO v_text SEPARATED BY space.
WRITE:/ 'REPORT ID:ZFI_STMT_OF_ACC_NEW',100 'INDIAN RAYON' CENTERED,
170 'Page No:',sy-pagno LEFT-JUSTIFIED.
WRITE:/001(213) '( A Unit of Aditya Birla Nuvo Limited )' CENTERED,
170 'Commonly used Document Types' .
WRITE:/001(213) 'VERAVAL-362266' CENTERED,
170 'RV = Invoice, RZ = Invoice Reversal'.
WRITE:/170 'R2 = Money Receipt, CN = Credit Note'.
WRITE:/001(213) v_text CENTERED,
170 'DN = Debit Note, HP = Payment Voucher-R'.
WRITE:/001 'PARTY CODE :',
020 v_kunnr,
170 'HR = Receipt Voucher-R, CP = Payment Voucher-C'.
WRITE:/001 'NAME OF PARTY:',
020 v_name1,170 'CR = Receipt Voucher-C, JV = Journal Voucher'.
WRITE:/001 'CITY :',
020 v_ort01,170 'AB = Clearing Document'.
WRITE:/001 sy-vline,
002(222) sy-uline,
224 sy-vline.
WRITE:/001 sy-vline,
002(10) 'Doc No.' CENTERED,
012 sy-vline,
013(10) 'Doc Dt.' CENTERED,
023 sy-vline,
024(10) 'Post Dt.' CENTERED,
034 sy-vline,
035(10) 'Excise No' CENTERED,
045 sy-vline,
046(10) 'Bill Doc.' CENTERED,
056 sy-vline,
057(10) 'Bill Dt.' CENTERED,
067 sy-vline,
068(4) 'VR' CENTERED,
072 sy-vline,
073(20) 'Debit' CENTERED,
093 sy-vline,
094(20) 'Credit' CENTERED,
114 sy-vline,
115(20) 'Cumulative' CENTERED,
135 sy-vline,
136(18) 'Material Code' CENTERED,
154 sy-vline,
155(17) 'Quantity' CENTERED,
172 sy-vline,
173(3) 'UOM',
176 sy-vline,
177(16) 'Reference' CENTERED,
193 sy-vline,
194(30) 'Narration' CENTERED,
224 sy-vline.
WRITE:/001 sy-vline,
012 sy-vline,
023 sy-vline,
034 sy-vline,
045 sy-vline,
056 sy-vline,
067 sy-vline,
068(4) 'Type' CENTERED,
072 sy-vline,
093 sy-vline,
114 sy-vline,
115(20) 'Balance' CENTERED,
135 sy-vline,
154 sy-vline,
172 sy-vline,
176 sy-vline,
193 sy-vline,
224 sy-vline.
WRITE:/001 sy-vline,
002(222) sy-uline,
224 sy-vline.
10 reward points will be given for solution.
regards,
naveenHi,
Copy this.
*& Report ZTEST
*& Report ZFI_STMT_OF_ACC
REPORT ZTABLE_DOWNLOAD NO STANDARD PAGE HEADING LINE-COUNT 60
LINE-SIZE 224.
TABLES: kna1,
bseg,
bkpf,
bsid,
bsik,
vbrk,j_1iexcdtl.
zfi_cu_tran.
*INTERNAL TABLES DECLARATION
DATA: BEGIN OF it_bsid1 OCCURS 0,
belnr LIKE bsid-belnr,
blart LIKE bsid-blart,
budat LIKE bsid-budat,
bldat LIKE bsid-bldat,
xblnr LIKE bsid-xblnr,
sgtxt LIKE bsid-sgtxt,
kunnr LIKE bsid-kunnr,
umskz LIKE bsid-umskz,
shkzg LIKE bsid-shkzg,
wrbtr LIKE bsid-wrbtr,
vbeln LIKE bsid-vbeln,
END OF it_bsid1.
DATA: BEGIN OF it_bsid2 OCCURS 0,
belnr LIKE bsid-belnr,
blart LIKE bsid-blart,
budat LIKE bsid-budat,
bldat LIKE bsid-bldat,
xblnr LIKE bsid-xblnr,
sgtxt LIKE bsid-sgtxt,
kunnr LIKE bsid-kunnr,
umskz LIKE bsid-umskz,
shkzg LIKE bsid-shkzg,
wrbtr LIKE bsid-wrbtr,
vbeln LIKE bsid-vbeln,
END OF it_bsid2.
DATA: it_bsid3 LIKE it_bsid1 OCCURS 0 WITH HEADER LINE.
DATA: it_bsid4 LIKE it_bsid2 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF it_bsik1 OCCURS 0,
belnr LIKE bsik-belnr,
blart LIKE bsik-blart,
budat LIKE bsik-budat,
bldat LIKE bsik-bldat,
xblnr LIKE bsik-xblnr,
sgtxt LIKE bsik-sgtxt,
lifnr LIKE bsik-lifnr,
umskz LIKE bsik-umskz,
shkzg LIKE bsik-shkzg,
wrbtr LIKE bsik-wrbtr,
ebeln LIKE bsik-ebeln,
END OF it_bsik1.
DATA: BEGIN OF it_bsik2 OCCURS 0,
belnr LIKE bsik-belnr,
blart LIKE bsik-blart,
budat LIKE bsik-budat,
bldat LIKE bsik-bldat,
xblnr LIKE bsik-xblnr,
sgtxt LIKE bsik-sgtxt,
lifnr LIKE bsik-lifnr,
umskz LIKE bsik-umskz,
shkzg LIKE bsik-shkzg,
wrbtr LIKE bsik-wrbtr,
ebeln LIKE bsik-ebeln,
END OF it_bsik2.
DATA it_final LIKE it_bsid1 OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF it_vbrp OCCURS 0,
vbeln LIKE vbrp-vbeln,
fkdat LIKE vbrk-fkdat,
matnr LIKE vbrp-matnr,
fkimg LIKE vbrp-fkimg,
meins LIKE vbrp-meins,
END OF it_vbrp.
DATA: BEGIN OF it_output OCCURS 0,
belnr LIKE bsid-belnr,
bldat LIKE bsid-bldat,
budat LIKE bsid-budat,
vbeln LIKE bsid-vbeln,
fkdat LIKE vbrk-fkdat,
blart LIKE bsid-blart,
dwrbtr LIKE bsid-wrbtr,
cwrbtr LIKE bsid-wrbtr,
cumil TYPE p DECIMALS 2,
matnr LIKE vbrp-matnr,
fkimg LIKE vbrp-fkimg,
meins LIKE vbrp-meins,
xblnr LIKE bsid-xblnr,
sgtxt LIKE bsid-sgtxt,
END OF it_output.
DATA: v_kunnr LIKE kna1-kunnr,
v_name1 LIKE kna1-name1,
v_ort01 LIKE kna1-ort01,
v_lifnr LIKE lfa1-lifnr,
v_belnr LIKE bsid-belnr,
v_exnum LIKE j_1iexcdtl-exnum.
DATA: v_budat LIKE bkpf-budat.
DATA: v_budat1 LIKE v_budat,
v_budat2 LIKE v_budat.
DATA: v_nwrbtr TYPE p DECIMALS 2,
v_swrbtr TYPE p DECIMALS 2,
v_vwrbtr TYPE p DECIMALS 2,
v_fwrbtr TYPE p DECIMALS 2,
v_cumil TYPE p DECIMALS 2,
v_debit TYPE p DECIMALS 2,
v_credit TYPE p DECIMALS 2.
DATA: v_xwrbtr TYPE p DECIMALS 2.
DATA: v_text(75),
v_date1(10),
v_date2(10).
DATA: it_output1 LIKE it_output OCCURS 0 WITH HEADER LINE.
DATA: it_output2 LIKE it_output OCCURS 0 WITH HEADER LINE.
SELECT-OPTIONS s_budat1 FOR bkpf-budat NO-DISPLAY.
SELECTION-SCREEN BEGIN OF BLOCK customer WITH FRAME TITLE text-001.
SELECT-OPTIONS: s_kunnr FOR kna1-kunnr OBLIGATORY,
s_budat FOR bkpf-budat NO-EXTENSION OBLIGATORY.
SELECTION-SCREEN END OF BLOCK customer.
SELECTION-SCREEN BEGIN OF BLOCK type WITH FRAME TITLE text-002.
PARAMETERS: x_norm LIKE itemset-xnorm AS CHECKBOX DEFAULT 'X',
x_shbv LIKE itemset-xshbv AS CHECKBOX,
x_apar LIKE itemset-xarit AS CHECKBOX.
SELECTION-SCREEN END OF BLOCK type.
MOVE s_budat-low TO v_budat.
IF s_budat-high LT '20060331'.
MESSAGE 'DATA NOT AVILABLE TO THE GIVEN DATE RANGE' TYPE 'E'.
ENDIF.
LOOP AT s_budat.
s_budat-low = '20060330'.
MODIFY s_budat.
ENDLOOP.
START-OF-SELECTION.
CLEAR: v_nwrbtr,
v_swrbtr,
v_vwrbtr,
v_fwrbtr.
SELECT SINGLE kunnr name1 ort01
FROM kna1 INTO (v_kunnr, v_name1, v_ort01)
WHERE kunnr IN s_kunnr.
SELECT SINGLE lifnr
FROM lfa1 INTO v_lifnr
WHERE kunnr IN s_kunnr.
IF x_norm EQ 'X'.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsid
INTO CORRESPONDING FIELDS OF TABLE it_bsid1
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz EQ space.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsad
INTO CORRESPONDING FIELDS OF TABLE it_bsid2
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz EQ space.
ENDIF.
IF x_shbv EQ 'X'.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsid
INTO CORRESPONDING FIELDS OF TABLE it_bsid3
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz NE space AND
umskz NE 'C' AND
umskz NE 'D' AND
umskz NE 'S'.
SELECT belnr blart budat bldat
xblnr sgtxt kunnr
umskz shkzg wrbtr vbeln
FROM bsad
INTO CORRESPONDING FIELDS OF TABLE it_bsid4
WHERE kunnr IN s_kunnr AND
budat IN s_budat AND
umskz NE space AND
umskz NE 'C' AND
umskz NE 'D' AND
umskz NE 'S'.
ENDIF.
IF x_apar EQ 'X'.
SELECT belnr blart budat bldat
xblnr sgtxt lifnr
umskz shkzg wrbtr ebeln
FROM bsik
INTO CORRESPONDING FIELDS OF TABLE it_bsik1
WHERE lifnr EQ v_lifnr AND
budat IN s_budat.
SELECT belnr blart budat bldat
xblnr sgtxt lifnr
umskz shkzg wrbtr ebeln
FROM bsak
INTO CORRESPONDING FIELDS OF TABLE it_bsik2
WHERE lifnr EQ v_lifnr AND
budat IN s_budat.
ENDIF.
it_final[] = it_bsid1[].
LOOP AT it_bsid2.
MOVE: it_bsid2-belnr TO it_final-belnr,
it_bsid2-blart TO it_final-blart,
it_bsid2-budat TO it_final-budat,
it_bsid2-bldat TO it_final-bldat,
it_bsid2-xblnr TO it_final-xblnr,
it_bsid2-sgtxt TO it_final-sgtxt,
it_bsid2-kunnr TO it_final-kunnr,
it_bsid2-umskz TO it_final-umskz,
it_bsid2-shkzg TO it_final-shkzg,
it_bsid2-wrbtr TO it_final-wrbtr,
it_bsid2-vbeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsid3.
MOVE: it_bsid3-belnr TO it_final-belnr,
it_bsid3-blart TO it_final-blart,
it_bsid3-budat TO it_final-budat,
it_bsid3-bldat TO it_final-bldat,
it_bsid3-xblnr TO it_final-xblnr,
it_bsid3-sgtxt TO it_final-sgtxt,
it_bsid3-kunnr TO it_final-kunnr,
it_bsid3-umskz TO it_final-umskz,
it_bsid3-shkzg TO it_final-shkzg,
it_bsid3-wrbtr TO it_final-wrbtr,
it_bsid3-vbeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsid4.
MOVE: it_bsid4-belnr TO it_final-belnr,
it_bsid4-blart TO it_final-blart,
it_bsid4-budat TO it_final-budat,
it_bsid4-bldat TO it_final-bldat,
it_bsid4-xblnr TO it_final-xblnr,
it_bsid4-sgtxt TO it_final-sgtxt,
it_bsid4-kunnr TO it_final-kunnr,
it_bsid4-umskz TO it_final-umskz,
it_bsid4-shkzg TO it_final-shkzg,
it_bsid4-wrbtr TO it_final-wrbtr,
it_bsid4-vbeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsik1.
MOVE: it_bsik1-belnr TO it_final-belnr,
it_bsik1-blart TO it_final-blart,
it_bsik1-budat TO it_final-budat,
it_bsik1-bldat TO it_final-bldat,
it_bsik1-xblnr TO it_final-xblnr,
it_bsik1-sgtxt TO it_final-sgtxt,
it_bsik1-lifnr TO it_final-kunnr,
it_bsik1-umskz TO it_final-umskz,
it_bsik1-shkzg TO it_final-shkzg,
it_bsik1-wrbtr TO it_final-wrbtr,
it_bsik1-ebeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_bsik2.
MOVE: it_bsik2-belnr TO it_final-belnr,
it_bsik2-blart TO it_final-blart,
it_bsik2-budat TO it_final-budat,
it_bsik2-bldat TO it_final-bldat,
it_bsik2-xblnr TO it_final-xblnr,
it_bsik2-sgtxt TO it_final-sgtxt,
it_bsik2-lifnr TO it_final-kunnr,
it_bsik2-umskz TO it_final-umskz,
it_bsik2-shkzg TO it_final-shkzg,
it_bsik2-wrbtr TO it_final-wrbtr,
it_bsik2-ebeln TO it_final-vbeln.
APPEND it_final.
ENDLOOP.
LOOP AT it_final.
IF it_final-vbeln EQ space.
IF it_final-shkzg = 'S'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-dwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt.
ELSEIF it_final-shkzg = 'H'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-cwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt.
ENDIF.
APPEND it_output.
CLEAR it_output.
DELETE it_final.
ENDIF.
ENDLOOP.
LOOP AT it_final.
IF it_final-shkzg = 'S'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-dwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt,
it_final-vbeln TO it_output-vbeln.
ELSEIF it_final-shkzg = 'H'.
MOVE : it_final-belnr TO it_output-belnr,
it_final-budat TO it_output-budat,
it_final-bldat TO it_output-bldat,
it_final-blart TO it_output-blart,
it_final-wrbtr TO it_output-cwrbtr,
it_final-xblnr TO it_output-xblnr,
it_final-sgtxt TO it_output-sgtxt,
it_final-vbeln TO it_output-vbeln.
ENDIF.
APPEND it_output.
CLEAR it_output.
ENDLOOP.
LOOP AT it_output.
IF it_output-budat LT v_budat.
v_fwrbtr = v_fwrbtr + it_output-dwrbtr - it_output-cwrbtr.
DELETE it_output.
ENDIF.
ENDLOOP.
SORT it_output BY belnr.
LOOP AT it_output WHERE blart EQ 'R2'.
MOVE it_output TO it_output1.
APPEND it_output1.
ENDLOOP.
SORT it_output1 BY belnr.
it_output2[] = it_output1[].
DELETE ADJACENT DUPLICATES FROM it_output1 COMPARING belnr.
LOOP AT it_output.
READ TABLE it_output2 WITH KEY belnr = it_output-belnr.
IF sy-subrc EQ 0.
DELETE it_output.
ENDIF.
ENDLOOP.
LOOP AT it_output1.
READ TABLE it_output2 WITH KEY belnr = it_output1-belnr.
CLEAR v_xwrbtr.
LOOP AT it_output2 WHERE belnr EQ it_output1-belnr.
v_xwrbtr = v_xwrbtr + it_output2-dwrbtr - it_output2-cwrbtr.
ENDLOOP.
CLEAR it_output.
MOVE: it_output1-belnr TO it_output-belnr,
it_output1-budat TO it_output-budat,
it_output1-bldat TO it_output-bldat,
'R2' TO it_output-blart,
it_output1-xblnr TO it_output-xblnr.
IF v_xwrbtr LT 0.
v_xwrbtr = v_xwrbtr * -1.
MOVE: v_xwrbtr TO it_output-cwrbtr.
ELSE.
MOVE: v_xwrbtr TO it_output-dwrbtr.
ENDIF.
APPEND it_output.
ENDLOOP.
SORT it_output BY budat belnr.
IF NOT it_final[] IS INITIAL.
SELECT vbrk~vbeln vbrp~matnr vbrp~fkimg vbrp~meins vbrk~fkdat
INTO CORRESPONDING FIELDS OF TABLE it_vbrp
FROM vbrk INNER JOIN vbrp ON vbrk~vbeln EQ vbrp~vbeln
FOR ALL entries IN it_final
WHERE vbrk~vbeln = it_final-vbeln.
ENDIF.
v_cumil = v_fwrbtr.
CLEAR: v_debit,
v_credit.
LOOP AT it_output.
IF NOT it_output-vbeln EQ space.
READ TABLE it_vbrp WITH KEY vbeln = it_output-vbeln.
MOVE: it_vbrp-matnr TO it_output-matnr,
it_vbrp-fkdat TO it_output-fkdat,
it_vbrp-fkimg TO it_output-fkimg,
it_vbrp-meins TO it_output-meins.
MODIFY it_output.
ENDIF.
v_cumil = v_cumil - it_output-cwrbtr + it_output-dwrbtr.
v_debit = v_debit + it_output-dwrbtr.
v_credit = v_credit + it_output-cwrbtr.
MOVE v_cumil TO it_output-cumil.
MODIFY it_output.
ENDLOOP.
WRITE:/001 sy-vline,
002 'Opening Balace as on', v_budat CENTERED,
034 sy-vline,
045 sy-vline,
056 sy-vline,
067 sy-vline,
072 sy-vline,
093 sy-vline,
114 sy-vline,
115(20) v_fwrbtr RIGHT-JUSTIFIED,
135 sy-vline,
154 sy-vline,
172 sy-vline,
176 sy-vline,
193 sy-vline,
224 sy-vline.
LOOP AT it_output.
CLEAR v_exnum.
SELECT SINGLE * FROM j_1iexcdtl
WHERE rdoc2 = it_output-vbeln
AND matnr = it_output-matnr.
IF sy-subrc = 0.
v_exnum = j_1iexcdtl-exnum.
ENDIF.
WRITE:/001 sy-vline,
002(10) it_output-belnr,
012 sy-vline,
013(10) it_output-bldat,
023 sy-vline,
024(10) it_output-budat,
034 sy-vline,
035(10) v_exnum,
045 sy-vline,
046(10) it_output-vbeln,
056 sy-vline,
057(10) it_output-fkdat NO-ZERO,
067 sy-vline,
068(4) it_output-blart CENTERED,
072 sy-vline,
073(20) it_output-dwrbtr RIGHT-JUSTIFIED NO-ZERO,
093 sy-vline,
094(20) it_output-cwrbtr RIGHT-JUSTIFIED NO-ZERO,
114 sy-vline,
115(20) it_output-cumil RIGHT-JUSTIFIED NO-SIGN,
135 sy-vline,
136(18) it_output-matnr,
154 sy-vline,
155(17) it_output-fkimg RIGHT-JUSTIFIED NO-ZERO,
172 sy-vline,
173(3) it_output-meins CENTERED,
176 sy-vline,
177(16) it_output-xblnr CENTERED,
193 sy-vline,
194(30) it_output-sgtxt CENTERED,
224 sy-vline.
ENDLOOP.
WRITE:/001(224) sy-uline.
SKIP.
WRITE:/ 'TOTALS AS ON', s_budat-high, ':',
040(19) v_fwrbtr RIGHT-JUSTIFIED, '+',
063(19) v_debit RIGHT-JUSTIFIED, '-',
084(19) v_credit RIGHT-JUSTIFIED, '=',
105(19) v_cumil RIGHT-JUSTIFIED.
*WRITE:/ 'Closing Balance for Customer', V_KUNNR, 'as on', S_BUDAT-,
091 'Rs',
093(20) V_CUMIL RIGHT-JUSTIFIED.
SKIP.
WRITE:/ '** BALANCE SUBJECT TO RECONCILIATION'.
TOP-OF-PAGE.
CONCATENATE v_budat+6(2)
v_budat+4(2)
v_budat+0(4) INTO v_date1 SEPARATED BY '.'.
CONCATENATE s_budat-high+6(2)
s_budat-high+4(2)
s_budat-high+0(4) INTO v_date2 SEPARATED BY '.'.
CONCATENATE 'STATEMENT OF CUSTOMER ACCOUNT FOR THE PERIOD FROM'
v_date1
'TO'
v_date2 INTO v_text SEPARATED BY space.
WRITE:/ 'REPORT ID:ZFI_STMT_OF_ACC_NEW',100 'INDIAN RAYON' CENTERED,
170 'Page No:',sy-pagno LEFT-JUSTIFIED.
WRITE:/001(213) '( A Unit of Aditya Birla Nuvo Limited )' CENTERED,
170 'Commonly used Document Types' .
WRITE:/001(213) 'VERAVAL-362266' CENTERED,
170 'RV = Invoice, RZ = Invoice Reversal'.
WRITE:/170 'R2 = Money Receipt, CN = Credit Note'.
WRITE:/001(213) v_text CENTERED,
170 'DN = Debit Note, HP = Payment Voucher-R'.
WRITE:/001 'PARTY CODE :',
020 v_kunnr,
170 'HR = Receipt Voucher-R, CP = Payment Voucher-C'.
WRITE:/001 'NAME OF PARTY:',
020 v_name1,170 'CR = Receipt Voucher-C, JV = Journal Voucher'.
WRITE:/001 'CITY :',
020 v_ort01,170 'AB = Clearing Document'.
WRITE:/001 sy-vline,
002(222) sy-uline,
224 sy-vline.
WRITE:/001 sy-vline,
002(10) 'Doc No.' CENTERED,
012 sy-vline,
013(10) 'Doc Dt.' CENTERED,
023 sy-vline,
024(10) 'Post Dt.' CENTERED,
034 sy-vline,
035(10) 'Excise No' CENTERED,
045 sy-vline,
046(10) 'Bill Doc.' CENTERED,
056 sy-vline,
057(10) 'Bill Dt.' CENTERED,
067 sy-vline,
068(4) 'VR' CENTERED,
072 sy-vline,
073(20) 'Debit' CENTERED,
093 sy-vline,
094(20) 'Credit' CENTERED,
114 sy-vline,
115(20) 'Cumulative' CENTERED,
135 sy-vline,
136(18) 'Material Code' CENTERED,
154 sy-vline,
155(17) 'Quantity' CENTERED,
172 sy-vline,
173(3) 'UOM',
176 sy-vline,
177(16) 'Reference' CENTERED,
193 sy-vline,
194(30) 'Narration' CENTERED,
224 sy-vline.
WRITE:/001 sy-vline,
012 sy-vline,
023 sy-vline,
034 sy-vline,
045 sy-vline,
056 sy-vline,
067 sy-vline,
068(4) 'Type' CENTERED,
072 sy-vline,
093 sy-vline,
114 sy-vline,
115(20) 'Balance' CENTERED,
135 sy-vline,
154 sy-vline,
172 sy-vline,
176 sy-vline,
193 sy-vline,
224 sy-vline.
WRITE:/001 sy-vline,
002(222) sy-uline,
224 sy-vline.
Thanks,
Anitha -
Strange Chars after modify reports.sh NLS_LANG
I had a problem when I modify NLS_LANG in reports.sh in linux. If i put NLS_LANG=PORTUGUESE_PORTUGAL.WE8MSWIN1252 my reports comes with strange some like greek characters. My database charset is WE8MSWIN1252.
My database v$NLS_PARAMETERS are:
NLS_DATE_LANGUAGE
PORTUGUESE
NLS_CHARACTERSET
WE8MSWIN1252
Anyone with same problem too?
Thanks
JoaoSorry,
I forgot to mention that, I have already added 3of9 font in PPD files, by oversight i missed in my question.
Even after adding I cannot print a report Arabic + Barcode + English character.
I am able to print report either Arabic+English or Barcode + English and all three together NO.
Please suggest.. -
Modify report xml to delete 'Done' Steps
Hi,
I am trying to modify my Xml report in order to :
Add an array of calibration datas : Ok
Add an array of instrument datas : Ok
Delete every 'done' steps of the report. Nok (and delete the table if there's no step inside)
Because my problem is that the table is created before testing/matching the results and i am afraid to be lost in the xsl file.
Could someone help me with it ?
I join the Xsl file i try to modify and a Xml example file (extensions needs to be modified)
Thanks a lot !
Attachments:
horizontal.txt 92 KB
XmlFile.txt 177 KBYou could also potentially just leave the actual .xml report as is, and then modify the Style Sheet to hide the "Done" steps.
TestStand 4.2 features improved XML Style Sheets that are restructured to reduce the time required to generate HTML output from XML report files and to simplify the task of modifying style sheets so that you can change the appearance and content of XML reports.
For more information about customizing TestStand XML report style sheets and using the included XML schemas, refer to:
NI TestStand Help: XML Report Style Sheets
For more information about XML Reports, refer to:
NI TestStand Reference Manual: Chapter 6, Database Logging and Report Generation
For more information regarding new features in TestStand 4.2, refer to:
What's New in NI TestStand 4.2
Jervin Justin
NI TestStand Product Manager -
Hi, I have a problem. Basically, I have a report that I changed properties on so that it would refresh on open. The report runs fine, but I can't open it up in modify mode again. I tried to re-start the CMS but it's still not opening. Just kinda hanging there in limbo.
This is a production report so I am kinda desperate for an answer.
Any advice would be greatly appreciated...
Thanks,
InnaTry opening the report in the view mode, then from the "Document" drop down list select the 'Edit'.
Now the report will get open in the modify mode, apply the changes and for saving the report with the same name select 'Save as' from the drop down of the save option.
If you want to remove the option of 'Refresh on open', Just uncheck the option"Refresh on open" when you are saving it.
It will ask you to overwrite the existing document.
Hope this will help.
Ritesh -
Modify Reporting Services Configuration File (RSreportserver.config)
Trying to modify the config file (rsreportserver.config) which I found here:
C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER2012\Reporting Services\ReportServer
Would like to add an option "TXT" to this dropdown list:
But the code under Render section does not seem to match (see below), what is listed above. I have made the following change and saved, but it does not seem to be the correct .config file.:
<Extension Name="TAB" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
<OverrideNames>
<NameLanguage="en-US">TAB (Tab Delimited Text File)</Name>
</OverrideNames>
<Configuration>
<DeviceInfo>
<FieldDelimiterxml:space="preserve"> </FieldDelimiter>
<UseFormattedValues>False</UseFormattedValues>
<NoHeader>False</NoHeader>
<FileExtension>Txt</FileExtension>
</DeviceInfo>
</Configuration>
</Extension>
Questions:
Could the correct .config file be in another directory?
Does the above for "TXT" look correct:
Thanks,
jr7138
=======================================================
<Render>
<Extension Name="XML" Type="Microsoft.ReportingServices.Rendering.DataRenderer.XmlDataReport,Microsoft.ReportingServices.DataRendering" />
<Extension Name="NULL" Type="Microsoft.ReportingServices.Rendering.NullRenderer.NullReport,Microsoft.ReportingServices.NullRendering" Visible="false" />
<Extension Name="CSV" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering" />
<Extension Name="ATOM" Type="Microsoft.ReportingServices.Rendering.DataRenderer.AtomDataReport,Microsoft.ReportingServices.DataRendering" Visible="false" />
<Extension Name="PDF" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.PDFRenderer,Microsoft.ReportingServices.ImageRendering" />
<Extension Name="RGDI" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.RGDIRenderer,Microsoft.ReportingServices.ImageRendering" Visible="false" />
<Extension Name="HTML4.0" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.Html40RenderingExtension,Microsoft.ReportingServices.HtmlRendering" Visible="false">
<Configuration>
<DeviceInfo>
<DataVisualizationFitSizing>Approximate</DataVisualizationFitSizing>
</DeviceInfo>
</Configuration>
</Extension>
<Extension Name="MHTML" Type="Microsoft.ReportingServices.Rendering.HtmlRenderer.MHtmlRenderingExtension,Microsoft.ReportingServices.HtmlRendering">
<Configuration>
<DeviceInfo>
<DataVisualizationFitSizing>Approximate</DataVisualizationFitSizing>
</DeviceInfo>
</Configuration>
</Extension>
<Extension Name="EXCEL" Type="Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer,Microsoft.ReportingServices.ExcelRendering" Visible="false" />
<Extension Name="EXCELOPENXML" Type="Microsoft.ReportingServices.Rendering.ExcelOpenXmlRenderer.ExcelOpenXmlRenderer,Microsoft.ReportingServices.ExcelRendering" />
<Extension Name="RPL" Type="Microsoft.ReportingServices.Rendering.RPLRendering.RPLRenderer,Microsoft.ReportingServices.RPLRendering" Visible="false" LogAllExecutionRequests="false" />
<Extension Name="IMAGE" Type="Microsoft.ReportingServices.Rendering.ImageRenderer.ImageRenderer,Microsoft.ReportingServices.ImageRendering" />
<Extension Name="WORD" Type="Microsoft.ReportingServices.Rendering.WordRenderer.WordDocumentRenderer,Microsoft.ReportingServices.WordRendering" Visible="false" />
<Extension Name="WORDOPENXML" Type="Microsoft.ReportingServices.Rendering.WordRenderer.WordOpenXmlRenderer.WordOpenXmlDocumentRenderer,Microsoft.ReportingServices.WordRendering" />
</Render>
jerHi ,
For report server configuration file location is ;
C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\ReportServer\rsreportserver.config
Not sure what exactly is your requirement.
May be below is helpful to you ;
<Extension Name="TAB" Type="Microsoft.ReportingServices.Rendering.DataRenderer.CsvReport,Microsoft.ReportingServices.DataRendering">
<OverrideNames>
<Name Language="en-US">TXT (Tab Delimited Text File)</Name>
</OverrideNames>
<Configuration>
<DeviceInfo>
<NoHeader>true</NoHeader>
<Toolbar>True</Toolbar>
<FieldDelimiter>	</FieldDelimiter>
<FileExtension>txt</FileExtension>
</DeviceInfo>
</Configuration>
</Extension>
Close the browser then will get this option in save list as mentioned in image.
Thanks
Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. -
Webi report (User modify report but can't save)
Hi Guys,
I have one ques. regarding Webi report (Access Level), that User can view & modify a report but can't save.
Kindly reply ASAP.
Thankshi,
General -> Edit this Object (should be Granted)
Application -> Web Intelligence ->
"General Rights for Web Intelligence"
- Edit this object
In case of WEBI Rich Client, Grant the following
"Specific Rights for Web Intelligence"
- Web Intelligence Rich Client : Save a document locally on the file system
- Web Intelligence Rich Client: Save a document for all users
Regards,
Vamsee -
BO Edge SSL breaks Modifying Reports
Hey Everyone,
I am having some trouble with using SSL and it breaking the Modifying option in Infoview. I am running R2 and using the java/tomcat install. I can't tell if it has a http link hardcoded in the script or it's some other issue with my SSL setup. Has anyone had this problem before?
Thanks!Hi,
It breaks because I want the entire site to be SSL and it appears that either its trying to open a http session or it's jumping out of the ssl host configuration and trying to open it under the localhost. When you right click on the modify it appears it just tried to run a script, not a redirection to another page. I have three 3 websites running on tomcat. One for Infoview, another for the CMC and the third is just the standard localhost. Infoview and CMC links are using SSL. I can unforce the SSL connection and the modify link will work fine.
Also I can only enforce SSL on just the Infoview app and I will get a mixed mode warning when trying to use the modifying option on a report. -
Modify Report Header using an expression
Hi All,
I would like to know if we can modify the Report Header programmatically? I basically would like to append a couple of lines in the header.
I can think of two ways -
1. ModifyReportHeader callback - this is really not an option for me as we need to do the implementation in a custom step.
2. Override the default reportgen_txt.seq and reportgen_html.seq and edit them as necessary - this one seems a bit ugly to me.
Any other ideas?
thanks and regards,
aCe
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community.
Solved!
Go to Solution.Ray,
Sorry, I if I was not clear earlier.
This custom step would be used by a test sequence developer who has very little understanding of TestStand.
The idea is that the person would drag and drop this step in to a sequence and add details of the Unit under test during edit-time which then should appear in the report header along with serial numbers etc. when the program is run.
For example, data such as:
Test Specification: X123-456-789 Issue x
Unit Part#: xxxxxxx
Interface Part# xxxxxxxxxxxx
Asking someone to add the callback would then require TestStand skills and would defeat our goal of trying to deskill this operation.
I hope I am making sense!
Thanks and regards,
aCe
Beginner? Try LabVIEW Basics
Sharing bits of code? Try Snippets or LAVA Code Capture Tool
Have you tried Quick Drop?, Visit QD Community. -
No one in ApEx forum knows how to modify report layout!!!
Hi dear firends,
I have got Named column report layout (XSL-FO, <!--Generated by Oracle BI Publisher 10.1.3.4.1-->) that was designed by another programmer.
To change it , I downloaded the current file (xml extension file) using the download button on this page,
But I can not modify it by Altova StyleVision , Altova XML or XF Designer! (
How to I modify it rapidly ve easyly by a report layout designer other than BI Publihser?
Regards
siya
APEX 3.2
Edited by: sak on Feb 14, 2012 11:40 AMhello
In shared Components\report queries or \reprot layouts of ApEx 3.2, has written
Named column report layouts are file based. To change, download the current file using the download button on this page, then modify the file as needed. Afterwards, upload the modified file as a new report layout.
How can I modify an XML extension file with other tool than BI publisher? (generated by BI Publisher )
regards
siya
Edited by: sak on Feb 14, 2012 11:12 AM
Maybe you are looking for
-
So we've been rockin' my iTunes account for - well, since ever, I suppose. Sharing is super easy; whatever I buy for my iPhone she gets for her iPod Touch. Get a great productivity app for my iMac from the Mac App Store, it appears on her Macbook Pro
-
My iPhone car charger was professionally installed in 2010 and again in 2013 and had been working perfectly for all of this time, now it's coming up with the yellow triangle and the text saying that this accessory isn't supported. Is there an easy
-
I have 3 lines that I use Verizon Family Base for. 2 lines are here in Alaska. I've only added data restriction. The 2 lines here in Alaska are able to recieve/send text and recieve calls except make outgoing calls which they get an error message th
-
Solve error message when uploading to youtube
Does anyone know how to upload videos to youtube? I never had a problem with the Premiere Elements 11, but on Premiere Elements 12, I get an error message that is not very helpful. I've scoured every online forum I can think of for an answer and ca
-
I'm presently using non blocking sockets to receive data from a server. The problem is that I receive several chunks of data all at once. Is there a way to parse the data using a terminating byte instead of the usual -1 EOF?