Very urgent report on FI
hi all,
please help.
i have my code below , i am using bkpf , bseg tables extract data.
my last intrnal table it_bseg is getting poplulated ,but the final o/p in grid is not getting displayed.
wht 2 do?....please reply with suggestions which can enhance my performance
or which can bring me a o/p
REPORT ZBH_FI_ALV1 No Standard Page Heading.
TABLES:T001,SKA1,SKB1,BKPF,BSEG.
TYPE-POOLS:slis.
TYPES DECLARTIONS
TYPES:begin of str_bkpf,
blart type blart,
bukrs type bukrs,
belnr type bseg-belnr,
gjahr type gjahr,
budat type budat,
end of str_bkpf.
TYPES: begin of str_bseg,
belnr type belnr_d,
gjahr type gjahr,
buzei type buzei,
bschl type bschl,
hkont type hkont,
bukrs type bukrs,
blart type blart,
budat type bkpf-budat,
saknr type saknr,
fstag type fstag,
ktopl type ktopl,
bilkt type bilkt,
end of str_bseg.
TYPES:begin of str_t001,
bukrs type bukrs,
ktopl type ktopl,
end of str_t001.
TYPES:begin of str_ska1,
bilkt type bilkt,
ktopl type ktopl,
saknr type saknr,
end of str_ska1.
TYPES:begin of str_skb1,
fstag type fstag,
bukrs type bukrs,
saknr type saknr,
end of str_skb1.
DATA DECLARATIONS
DATA:it_bkpf type standard table of str_bkpf with header line,
it_bseg type standard table of str_bseg with header line,
it_t001 type table of str_t001 with header line,
it_ska1 type table of str_ska1 with header line,
it_skb1 type table of str_skb1 with header line,
fieldcat type slis_t_fieldcat_alv WITH HEADER LINE,
events type slis_t_event WITH HEADER LINE,
layout type slis_layout_alv,
ALV type SY-REPID.
data:w_index type sy-tabix.
*field-symbols:<f1> type str_bsid.
INPUT VARIABLES
SELECT-OPTIONS:s_BUKRS FOR BKPF-BUKRS obligatory,
s_BLART FOR BKPF-BLART obligatory,
s_BUDAT FOR BKPF-BUDAT,
s_BSCHL FOR BSEG-BSCHL,
s_HKONT FOR BSEG-HKONT.
SELECT STATEMENTS
START-OF-SELECTION.
select blart "Document type
bukrs "Company Code
belnr "Accounting Document Number
gjahr
budat
from bkpf
into table it_bkpf
where bukrs in s_bukrs
and blart in s_blart
and budat in s_BUDAT.
if not it_bkpf[] is initial.
select belnr
gjahr
buzei
bschl
hkont
bukrs
from bseg
into table it_bseg
for all entries in it_bkpf
where belnr = it_bkpf-belnr
and gjahr = it_bkpf-gjahr
and bukrs = it_bkpf-bukrs.
endif.
if not s_BSCHL[] is initial.
delete it_bseg where not bschl in s_bschl.
endif.
if not s_HKONT[] is initial.
delete it_bseg where not hkont in s_hkont.
endif.
if it_bseg[] is not initial.
sort it_bseg.
refresh it_t001.
SELECT bukrs "Company Code
ktopl "Chart of Accounts
from T001
into table it_t001
where bukrs in s_bukrs.
if not it_t001[] is initial.
sort it_t001.
refresh it_ska1.
SELECT bilkt "Group Account Number
ktopl "Chart of Accounts
saknr "G/L account number
from SKA1
into table it_ska1
for all entries in it_t001
where ktopl = it_t001-ktopl.
if not it_ska1[] is initial.
sort it_ska1.
refresh it_skb1.
SELECT fstag "Field status group
bukrs "Company code
saknr "G/L account number
from skb1
into table it_skb1
for all entries in it_bseg
where bukrs = it_bseg-bukrs.
endif.
endif.
endif.
loop at it_bseg.
w_index = sy-tabix.
Read Table it_t001 with key bukrs = it_bseg-bukrs.
if sy-subrc = 0.
it_bseg-ktopl = it_t001-ktopl.
if sy-subrc = 0.
Read table it_ska1 with key ktopl = it_bseg-ktopl.
it_bseg-saknr = it_ska1-saknr.
it_bseg-bilkt = it_ska1-bilkt.
if sy-subrc = 0.
Read Table it_skb1 with key bukrs = it_bseg-bukrs.
it_bseg-fstag = it_skb1-fstag.
modify it_bseg index w_index transporting ktopl bilkt saknr fstag.
endif.
endif.
endif.
endloop.
*loop at it_bsid.
*Assign it_bsid to <f1>.
*endloop.
perform field_cat.
*& Form field_cat
text
--> p1 text
<-- p2 text
FORM field_cat .
--DEFINING FIELDCATALOG--
fieldcat-col_pos = 1.
fieldcat-fieldname = 'BUKRS'.
fieldcat-seltext_l = 'Company Code'.
fieldcat-ref_tabname = 'it_bseg'.
APPEND fieldcat.
clear fieldcat.
fieldcat-col_pos = 2.
fieldcat-fieldname = 'BLART'.
fieldcat-seltext_l = 'Document Type'.
fieldcat-ref_tabname = 'it_bseg'.
APPEND fieldcat.
fieldcat-col_pos = 3.
fieldcat-fieldname = 'BUZEI'.
fieldcat-seltext_l = 'Number of Line Item Within Accounting Document'.
fieldcat-ref_tabname = 'it_bseg'.
APPEND fieldcat.
fieldcat-col_pos = 4.
fieldcat-fieldname = 'BSCHL'.
fieldcat-seltext_l = 'Posting Key'.
fieldcat-ref_tabname = 'it_bseg'.
APPEND fieldcat.
fieldcat-col_pos = 5.
fieldcat-fieldname = 'HKONT'.
fieldcat-seltext_l = 'General Ledger Account'.
fieldcat-ref_tabname = 'it_bseg'.
APPEND fieldcat.
fieldcat-col_pos = 6.
fieldcat-fieldname = 'BILKT'.
fieldcat-seltext_l = 'Group Account Number'.
fieldcat-ref_tabname = 'it_bseg'.
APPEND fieldcat.
fieldcat-col_pos = 7.
fieldcat-fieldname = 'FSTAG'.
fieldcat-ref_tabname = 'it_bseg'.
fieldcat-seltext_l = 'Field status group'.
APPEND fieldcat.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = ' '
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 =
IT_FIELDCAT = 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_bseg[].
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. " field_cat
where u are callling perform field_cat in ur program ?
flow will be like this
perform fcat.
perform alv_display.
form fcat.
add code here for fcat.
endform.
form alv_display.
call alv here
endform.
Regards
Peram
Similar Messages
-
hi,
i have a product and i am saving like that in my ods. and then it goes state wise
ODS
exp. mumbai
PRODUCT----
total
pepsi -
10 botel
coke----
20 botel
fanta----
30 botel
now i want to show in the report like that
pepsi--cokefanta-market share pepsi-----coke and so on
10--2030--
16% -
32% and so on
its very urgent kindly do help meThe way that appears in my head is make RKF for each product. A total one and then make CKF with percent of calculations. This would be hard if you dont' know all the products and be a lot to maintain. This is unless you have it the way you listed where you have pepsi, fanta, coke, etc and have limited products. Beyond that I think you would have to do it outside the report.
-
Please check my code where i am wrong ,-very urgent please
Hi ,
i am getting all values execpt the values from table t685 , kolnr and kotabnr and i am using three selects and moving the values in it_output_report.
this is very urgent
REPORT zmaster_condition LINE-COUNT 80 LINE-SIZE 225.
D A T A *
INCLUDE zmaster_condition_top.
S E L E C T I O N S *
SELECTION-SCREEN BEGIN OF BLOCK b01 WITH FRAME TITLE text-b01.
SELECT-OPTIONS: s_kvewe FOR t683s-kvewe,
s_kappl FOR t683s-kappl,
s_kalsm FOR t683s-kalsm,
s_kschl FOR t683s-kschl,
s_kabnr FOR t682i-kotabnr.
SELECTION-SCREEN END OF BLOCK b01.
*SELECTION-SCREEN BEGIN OF BLOCK b4 WITH FRAME TITLE text-s04.
*PARAMETERS: p_vari LIKE disvariant-variant.
*SELECTION-SCREEN END OF BLOCK b4.
**SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
*SELECTION-SCREEN BEGIN OF BLOCK b02 WITH FRAME TITLE text-b02.
PARAMETERS R1 RADIOBUTTON GROUP RADI1 DEFAULT 'X'.
*SELECTION-SCREEN END OF BLOCK b02.
A T S E L E C T I O N - S C R E E N *
M A I N P R O G R A M *
START-OF-SELECTION.
*Initializing the local tables.
CLEAR:it_t682i,it_t683s,it_t685,it_output_report.
REFRESH:it_t682i,it_t683s,it_t685,it_output_report.
*Selection of data from pricing procedure tables using a join.
*SELECT Akvewe Akappl Akalsm Astunr A~zaehk
Akschl Bkolnr Bkotabnr Ckozgf
INTO TABLE it_output_report
FROM t683s as A
JOIN t682i as B
ON Akvewe eq Bkvewe and
Akappl eq Bkappl
JOIN t685 as C
ON Bkvewe eq Ckvewe and
Bkappl eq Ckappl and
Bkozgf eq Ckozgf
WHERE A~KVEWE = 'B' and
A~KAPPL = 'V1' .
A~KALSM IN S_KALSM and
A~KSCHL IN S_KSCHL and
B~KOTABNR IN S_KABNR.
*Selection of data from pricing procedure tables
*SELECT * FROM t683s APPENDING CORRESPONDING FIELDS OF TABLE it_t683s
WHERE kvewe = 'B'
and kappl = 'V1'.
SELECT kvewe kappl kozgf kolnr kotabnr FROM t682i
INTO TABLE it_t682i
WHERE kvewe = 'B'
AND kappl = 'V1'.
SELECT kvewe kappl kalsm stunr zaehk kschl FROM t683s
INTO TABLE it_t683s
WHERE kvewe = 'B'
AND kappl = 'V1'
AND kalsm IN s_kalsm.
*SELECT kvewe kappl kschl kozgf FROM t685
INTO TABLE it_t685
WHERE kvewe = 'B'
AND kappl = 'V1'
and KSCHL in S_KSCHL
AND KOZGF in s_kabnr.
SELECT kvewe kappl kschl kozgf FROM t685
INTO TABLE it_t685
WHERE kvewe = 'B'
AND kappl = 'V1'
and KSCHL in S_KSCHL
AND KOZGF in s_kabnr.
*clear it_t685.
*loop at it_t685.
it_output_report-kschl = it_t685-kschl.
it_output_report-kozgf = it_t685-kozgf.
it_output_report-kozgf = it_t682i-kozgf.
it_output_report-kolnr = it_t682i-kolnr.
it_output_report-kotabnr = it_t682i-kotabnr.
*endloop.
clear it_t683s.
loop at it_t683s.
it_output_report-kvewe = it_t683s-kvewe.
it_output_report-kappl = it_t683s-kappl.
it_output_report-kalsm = it_t683s-kalsm.
it_output_report-stunr = it_t683s-stunr.
it_output_report-zaehk = it_t683s-zaehk.
it_output_report-kschl = it_t683s-kschl.
it_output_report-kozgf = it_t682i-kozgf.
it_output_report-kolnr = it_t682i-kolnr.
it_output_report-kotabnr = it_t682i-kotabnr.
APPEND IT_OUTPUT_REPORT.
clear it_output_report.
*loop at it_t685.
it_output_report-kschl = it_t685-kschl.
it_output_report-kozgf = it_t685-kozgf.
it_output_report-kozgf = it_t682i-kozgf.
it_output_report-kolnr = it_t682i-kolnr.
it_output_report-kotabnr = it_t682i-kotabnr.
endloop.
*MOVE : it_t683s-kvewe TO it_output_report-kvewe.
E N D - O F - S E L E C T I O N
END-OF-SELECTION.
*Output to a list
FORMAT COLOR 2 .
WRITE:/2 'Usage',09 'App',17 'Proced',24 'Step',
37 'Counter',50 'CondType',63 'Description',85 'AccSeq',
97 'AccSeqNum',108 'ConTable'.
WRITE:/1(225) sy-uline.
loop at it_output_report.
WRITE:/ it_output_report-kvewe UNDER 'Usage',
it_output_report-kappl UNDER 'App',
it_output_report-kalsm UNDER 'Procedure',
it_output_report-stunr UNDER 'Step',
it_output_report-zaehk UNDER 'Counter',
it_output_report-kschl UNDER 'CondType',
it_output_report- UNDER 'Description',
it_output_report-kozgf UNDER 'AccSeq',
it_output_report-kolnr UNDER 'AccSeqNum',
it_output_report-kotabnr UNDER 'ConTable'.
it_output_report- UNDER 'SalesOrg',
it_output_report- UNDER 'DocType'.
it_output_report- UNDER 'Customer'.
endloop.
INCLUDE ZMASTER_CONDITION_TOP *
*Table declaration
Tables:T682I,
T683S,
T685,
NACH,
B005.
*Data declaration for internal tables
DATA:Begin of it_output_report occurs 0,
KVEWE LIKE T683S-KVEWE, "Usage of the condtion table
KAPPL LIKE T683S-KAPPL, "Application
KALSM LIKE T683S-KALSM, "Procedure for pricing
STUNR LIKE T683S-STUNR, "step number
ZAEHK LIKE T683S-ZAEHK, "condition counter
KSCHL LIKE T683S-KSCHL, "condition type
KOZGF LIKE T685-KOZGF, "Access sequence
KOLNR LIKE T682I-kOLNR, "Access sequence number
KOTABNR LIKE T682I-KOTABNR, "Condition Table
End of it_output_report.
DATA: BEGIN OF IT_T683S OCCURS 10 ,
KVEWE LIKE T683S-KVEWE, "Usage of the condtion table
KAPPL LIKE T683S-KAPPL, "Application
KALSM LIKE T683S-KALSM, "Procedure for pricing
STUNR LIKE T683S-STUNR, "step number
ZAEHK LIKE T683S-ZAEHK, "condition counter
KSCHL LIKE T683S-KSCHL,
KOZGF LIKE T685-KOZGF, "condition type
END OF IT_T683S.
DATA: BEGIN OF IT_T685 OCCURS 10,
kvewe like t685-kvewe,
kappl like t685-kappl,
KSCHL LIKE T685-KSCHL,
KOZGF LIKE T685-KOZGF, "Access sequence
END OF IT_T685 .
DATA: BEGIN OF IT_T682I OCCURS 0,
KVEWE LIKE T682I-KVEWE,
KAPPL LIKE T682I-KAPPL,
KOZGF LIKE T682I-KOZGF, "Access sequence
KOLNR LIKE T682I-kOLNR, "Access sequence number
KOTABNR LIKE T682I-KOTABNR, "Condition TableHi,
I think may be you should check with T682I-KOZGF(Access sequence) instead of T682I-KOTABNR(Condition table).
In select-options declare like
s_KOZGF FOR t682i-KOZGF
SELECT kvewe kappl kschl kozgf FROM t685
INTO TABLE it_t685
WHERE kvewe = 'B'
AND kappl = 'V1'
and KSCHL in S_KSCHL
AND KOZGF in s_KOZGF. //change s_kabnr to s_kozgf
Thanks,
Veni. -
VERY URGENT!! How to Pass a "% " symbol from form to Report
Hi
I am using oracle 10g and passing a symbol "%" as a parameter to the report from a form. But it shows error as follows:
REP-52006: Failed to decode the specified URL PARAMETER1=%.
But it is working when it runs in the Report directly.
Then Why we can't pass the symbol "%" to the report from form.
Please reply me as soon as possible. IT IS VERY URGENT !!Hi,
Try using a lexical parameter(&parm_1) for a string of values or a bind parameter(:parm_1) for a single value
Thanks,
Kimosabe -
How to enable RFC and how to use it in Report..please tell its very urgent
Dear Techie's,
Please tell its very urgent..
How to enable RFC and how to use it in Report. ??
Virendrahi,
pls chk any of these links.
http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
Checkout !!
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://techrepublic.com.com/5100-6329-1051160.html#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sapgenie.com/abap/bapi/example.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
rgds
Anver -
Very urgent --pls help Report Painter Problem,
Hi to all,
I have created 5 operating expenses report by cost centres through report painter. some for full period , some for actual and sone for budget.
Under one set of that cost centre reports I have many subsets under which there are cost centre groups and then the cost centres.
I want to add one more set to existing set. I have added the set and set contains one cost centre group and their are also cost centres under it.
The table which i am using for cost centre grous is GLT1 and field is RCNTR and for cost centres it is CCSS and KOSTL respectively.
In the above procedure I have two queries.
1)even after adding the set and when i try to execute the report from T- code SERP it doesnot show my created set in variation.
2)Also even if it was showing the set earlier but report was showing zero values. When i clicked on zero amount a pop up arises for plan and actual values and when i clicked on plan values it had value of Rs 255000(for cost centres). then outside why this amount doesnot appears.
PLS THIS IS VERY VERY URGENT
Regards
TANUJAI've just read this thread three times and I have absolutely no idea what you are doing, in what version, and what you are asking for help with.
Do you want to change the message type? If you do you MUST drop the queue and start over again from the beginning.
Do you want to enqueue messages?
Post your DDL and other relevant information or you are on your own. We can not guess at your issue. -
Report Writer - '-ve' for a particular column - VERY URGENT
Hi
I have developed a report painter report which has 4 columns. Out of 4 columns, I have 2 columns which are based on formulae. Irrespective of the result, I need to display these 2 column values either "+ve" or "-ve".
Can anybody pls help me out in this regards.
IT'S VERY URGENT.Murali,
Thanks for your response. I think i could not explain my problem clearly. Let me explain now.
Here is the sample output of my report painter report.
PLAN (P) ACTUAL (A) VARIANCE (C = A - B) VARIACE % ( C/A *100 )
254 245 9 3.67
245 254 -9 -3.54
-245 254 -499 -196.45
245 -254 499 -196.45
If you see the output for 3rd and 4th columns, some values are +ve and some values are -ve. But i want output as follows:
PLAN (P) ACTUAL (A) VARIANCE (C = A - B) VARIACE % ( C/A *100 )
254 245 9 3.67
245 254 9 3.54
-245 254 499 196.45
245 -254 499 196.45
Pls help me out. -
Very Urgent! SAP Access via HCM Reports in Enterprise Portal 6.0
Hi SAP Experts,
it is very urgent.
When our Users execute Reports via HCM Reports in Enterprise Portal 6.0 and exit them via the Menu Button (Menu->List->Exit) in the Report result they can access SAP Backend via Easy Access.
My Question: Could we find out which Users and at what time they had accessed the SAP Backend via this gap?
Best Regards,
Nadin
I will reward Points!
Edited by: Nadin Schaa on Feb 12, 2008 9:48 AM
Edited by: Nadin Schaa on Feb 12, 2008 9:49 AMTry these may be helpfull
U can find list of users in backend and also trancations codes they r accessing
SM04 -- u can find list of users
Regards
Krishna. -
Have a big problem with report. Very urgent please help
I have a report rep1. When I run the report via batch thru command rwclient to create a file it failed. I got the follwoing error message:
REP-0177: Error while running in remote server
Job 1413 is terminated due to connection timeout.
It does not even try for few seconds before gives this message. I ran some other batch reports whihc took 15 minutes and they were fine.
So, I stopped running the bad report for the day thinking the report is still not dead. I ran the same rep1 next day I still get the same error message. But this time when I ran I looked at the appserver showjobs (which lists the reports that were running and that already ran). The job number is different But still it fails in 3 seconds with the job number 1413 and connection time out. Can any one tell what might be the problem.
Any number of times I run this job I get the same job number with same error (all this is only if I run it as batch using rwclient). If I run this as online by calling it from a form it returns the results without any problems.
Please help. Very urgent.
Thanks in advance.
AshaYou might want to delete the report server .dat file and restart the server and try
his also could be one of the issues we had seen and fixed in 9.0.2.3. Please ensure you have the latest patch applied
Thanks
The Oracle Reports team -
Very Urgent..How to create a report Using SQ01 and Sq02.
Hi Friends,
It's very urgent.pl help me in generating a report using SQ01 and SQ02.
Help is appreciated.
thanks In advance.
Regards,
Nanditha.Check out these links...
http://www.insightcp.com/res_15.htm
http://www.ams.utoronto.ca/Assets/output/assets/adhoc_2990830.pdf.pdf
Also, do basic search in this forum...you will find a lot of threads related to this.
SKR -
The URL to run a Report stored in the Server-VERY URGENT
Hi ,
I wanna to know the url to run the report stored in 9iDS.
e.g. in earlier version we need to use the CGI scripts to do the work e.g. http://hostname:port/srwcgi60/rwcgi.exe?report=test.rep ..somethin like this ..but in 9iDS i m not able to get the url..when i do http://hostname:port/reports/ the home page of reports come thats it ...but how to run it ...
please its VERY URGENT..
thanx a lot..
Bhavnahello bhavana,
how ru.
web.show_document('http://servername:port/dev60cgi/rwcgi60.exe?report=reportname&userid=username/password@databasename&server=reportservername&destype=cache&desformat=HTML');
put the above coding to a when-button-pressed trigger.
it will work.
http:\\servername:portname\dev60html\runrep.htm
this will give u the reports home page.
in that enter the report name and username and password.
this also will work.
looking forward to hear from u.
bye. take care.
natesh -
Report painter problem very urgent
Hi to ALL,
I have prepared two reports of cost centre through report painter. The format is proper is both the reports. The set is also correct and values in set(i.e cost centres) are also properly
but when we execute the report one report is being executed properly while other shows zero values. only when i doubleclick on zero amt and go to plan line items then it shows me values for that particular row in report.
Why is it so? what is solution to it? can it be possible that my tables are not correct. Ia m using CCSS table.
Pls this is very urgent
Thanks in advance
TanujaHi
Can you check one thing...after selecting the zero you are getting the line item...chekc the total of that items...if it is coming zero..then no problem.
If not you can check in the no.format of that report. If you select the lacs format and your amount is below ten thousand...you will get the zero value only
VVR -
Hi gurus,
Can any one check the code .Iam not getting the output correctly .some garbage values it is taking .Kindly check and reply me it is very urgent for me.
REPORT Z_MARPOSS.
TABLES : EKPO ,
EKET.
DATA : BEGIN OF ITAB OCCURS 2,
EBELN LIKE EKET-EBELN,
END OF ITAB .
DATA : BEGIN OF ITAB1 OCCURS 2,
MATNR LIKE EKPO-MATNR,
TXZ01 LIKE EKPO-TXZ01,
MENGE LIKE EKET-MENGE,
WEMNG LIKE EKET-WEMNG,
MOBMNG LIKE EKET-MENGE,
END OF ITAB1.
SELECT-OPTIONS MEINDT FOR EKET-EINDT.
SELECT EBELN INTO TABLE ITAB FROM EKET WHERE EINDT IN MEINDT.
LOOP AT ITAB.
clear itab1-matnr.
clear itab1-txz01.
SELECT MATNR TXZ01 INTO CORRESPONDING FIELDS OF ITAB1 FROM EKPO WHERE EBELN = ITAB-EBELN.
APPEND ITAB1.
ENDSELECT.
ENDLOOP.
LOOP AT ITAB.
CLEAR ITAB1-MENGE .
CLEAR ITAB1-WEMNG .
SELECT MENGE WEMNG INTO CORRESPONDING FIELDS OF ITAB1 FROM EKET WHERE EBELN = ITAB-EBELN.
APPEND ITAB1.
ENDSELECT.
ENDLOOP.
top-of-page .
write : 50 'REPORT FOR STOCK OF PURCHASING MATERIALS' .
uline .
write : /2 'MATERIAL.' , 13 sy-vline , 14 'DESCRIPTION', 60 sy-vline , 61 'TOTAL QUANTITY' , 78 SY-VLINE , 79 'DEL QTY' , 95 SY-VLINE , 96 'REM QTY'.
uline .
END-OF-SELECTION.
LOOP AT ITAB1.
ITAB1-MOBMNG = ITAB1-MENGE - ITAB1-WEMNG.
MODIFY ITAB1. "Update the Record
WRITE : / ITAB1-MATNR UNDER 'MATERIAL' ,
ITAB1-TXZ01 UNDER 'DESCRIPTION' ,
ITAB1-MENGE UNDER 'TOTAL QUANTITY' ,
ITAB1-WEMNG UNDER 'DEL QTY' ,
ITAB1-MOBMNG UNDER 'REM QTY'.
ENDLOOP.
thx & Regards,
sunderHi,
In your code you are appending new lines at two places and at the end you are trying to display all the four values:
SELECT MATNR TXZ01 ITO CORRESPONDING FIELDS OF ITAB1 FROM EKPO WHERE EBELN = ITAB-EBELN.
APPEND ITAB1.
SELECT MENGE WEMNG INTO CORRESPONDING FIELDS OF ITAB1 FROM EKET WHERE EBELN = ITAB-EBELN.
APPEND ITAB1.
For the above two Append Statement , Relate the four fields using modify statement in the second append using correct index values.
Regards,
Baburaj -
Cannot display the Crystal Report from BW..very Urgent
Hello Friends,
We are executing the Crystal report XI report from BW 3.50 but cannot displaying andgiving the error messgae as follows....
<b>Service cannot be Reached</b>
<b>What has happened?
URL http://sapprodbw.company.com:8112/sap/bw/sap/bw/ce_url call was terminated because the corresponding service is not available.
Note
The termination occurred in system I12 with error code 404 and for the reason Not found.
The selected virtual host was 0 .
What can I do?
Please select a valid URL.
If you do not yet have a user ID, contact your system administrator.
ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:sapprodbw_I12_12-v:0-s:404-r:Notfound
HTTP 404 - Not found
Your SAP Internet Communication Framework Team</b>
I'm getting the above error could plz help me .. its very urgent task for us..
Thanks in advance for your valuable time...
Sreedhar G.Hi Dinesh,
I started all the services and i checked the Test service of ICF its giving the same above error and service cannot be rezched...BASIS is also workin on the same issue but getting ...
Any help...
Message was edited by: sreedhar Gunda -
Logic for Refreshing the ALV Report (Very Urgent)
Hi Experts,
My <b>ALV report</b> needs a <b>refresh button</b> on the output.
The <b>Refresh button</b> should be available to allow user to keep this report on screen and <b>refresh regularly</b> rather than <b>going back</b> and <b>running it again.</b>
I am using <b>Function modules</b> and not <b>OOPS Concept</b> here.............As i am<b> unaware</b> of OOPS Please provide me solution in <b>FM's Only</b>.
Kindly send me <b>sample logic</b> for this, <b>Very urgent</b> if ur reply is helpfull.... u will be <b>rewarded heavily</b>.......................
THanks in advance.
Rajesh KumarHi,
This mean to say that if you have a 'refresh' push button in your gui status, every time you press the button, the list should get refreshed.
In ALV, to refresh the table you have to call the method "refresh_table_display".
It has the syntax very similar to creating the table.
It has two parameters. In the first one, you can mention if you want to refresh only the data (the icons are not refreshed)
or
if you want to refresh only the icons around the grid (the data is not refreshed - this option is mostly not used in day to day applications).
the synatx is :-
call method grid (name of grid )->refresh_table_display
exporting
IS_STABLE = <STRUCT OF TYPE LVC_S_STBL> (THIS IS FOR DATA REFRESHING)
I_SOFT_REFRESH = <VARIABLE OF CHAR 01> (THIS IS FOR ICON REFRESHING).
Regards,
Bhaskar
Maybe you are looking for
-
Payables Open Interface Import getting errors out
Hello All, I am trying to run "Payables Open Interface Import" program to upload the invoice but the program is getting error out, in the log file at the end i am getting the below error: (Insert ap inv dists 1a) Inside the insert function (Insert ap
-
How do I find out what network 'card' is in my DV6700?
There are umpteen numbers of various DV6700's...the only model number I show on mine is DV6700....yet, the driver info does not list a wired driver..only wireless. I need the 'car' manufacturer and the driver for windows XP. How and where do I get
-
Macbok pro screen goes dead during the startup process
Everything was working fine tonight until the computer went to sleep. After that I couldn't get the screen to stay on. I restart and it seems typical then the screen goes dead while the laptop continues to boot. Any ideas? The screen stays on during
-
Fld selection for mvmt type-561/acc399999 differs for ext GA amount in lc
Dear pp experties When i am doing MB1C mvmt type 561, in repetitave manufacturing, i am facing one error message, the error message is (fld selection for mvmt type-561/acc 399999 differs for ext.GA amount in LC(023),I already checked g/l acc(fs00), a
-
Fonts wont print even though it is on the page!
Hello Pagers! I am having a problem. It seems anytime I do a layout in pages, the fonts that I use that appear on my screen, do not appear on my layouts that I print. In other words some of my fonts disappear! Help what can I do? BrookylnTechTeavher