Warning for hierarchy in report
Hi,
when i execute a report with rsrt I get the following warning and no result at all...
To the InfoObject Balance/P&L-Position ist the Hierarchy "" not available
When I check the query in BEx Designer, I get the following error...
To the InfoObject Balance/P&L-Position ist the Hierarchy "TIAS_001" not available.
However the technical name of the hierarchy is only TIAS.
could someone pls help me out.
Thanks,
SD
Check you the Hier for this Infoobject is 'Active' ?
Similar Messages
-
BI Publisher report ends with Warning Message for Pivot type reports..
Hi,
I had used BI reporting(xml publisher) to develop our all reports and registered in R12 and works fine for all the tabular/forms type reports but it fails with the warning message(colored in yellow) for Pivot type reports. The output comes in xml..
When I changed the pivot table type report to tabular it comes with pdf. No issues.I do not know how to solve this issue...
Please help me on this..
Thanks
ImranWelcome to the forums !
Pl post details of OS, database and EBS versions, along with the complete error message.
HTH
Srini -
Need a sample program for hierarchial oops ALV report
Hello experts,
I Need a sample program for hierarchial oops ALV report.Hi,
Check the following sample code...
T A B L E S
tables : ekko.
data definition
types : begin of ty_ekko,
ebeln type ekko-ebeln,
lifnr type ekko-lifnr,
bsart type ekko-bsart,
aedat type ekko-aedat,
ernam type ekko-ernam,
end of ty_ekko.
types : begin of ty_eket,
ebeln type ekpo-ebeln,
ebelp type ekpo-ebelp,
werks type ekpo-werks,
matnr type ekpo-matnr,
menge type eket-menge,
wamng type eket-wamng,
netpr type ekpo-netpr,
end of ty_eket.
data : it_ekko type table of ty_ekko,
it_eket type table of ty_eket.
data: ob_hieralv type ref to cl_salv_hierseq_table.
data: it_binding type salv_t_hierseq_binding,
is_binding type salv_s_hierseq_binding.
S E L C T O P T I O N S
select-options : s_ebeln for ekko-ebeln.
S T A R T O F S E L E C T I O N
start-of-selection.
select ebeln
lifnr
bsart
aedat
ernam from ekko
into corresponding fields of table it_ekko
where ebeln in s_ebeln.
if sy-subrc eq 0.
select aebeln aebelp
awerks amatnr
bmenge bwamng
a~netpr from ekpo as a join eket as b
on amandt = bmandt
and aebeln = bebeln
and aebelp = bebelp
into corresponding fields of table it_eket
where a~ebeln in s_ebeln.
endif.
is_binding-master = 'EBELN'.
is_binding-slave = 'EBELN'.
append is_binding to it_binding.
*TRY.
call method cl_salv_hierseq_table=>factory
exporting
t_binding_level1_level2 = it_binding
importing
r_hierseq = ob_hieralv
changing
t_table_level1 = it_ekko
t_table_level2 = it_eket .
*CATCH cx_salv_data_error .
*CATCH cx_salv_not_found .
*ENDTRY.
call method ob_hieralv->display( ).
Cheers,
Ram -
Standard Reports for Hierarchial Displays
Hi All,
Can anyone please post the reports which are similer to ENGR T-code. I need some sample reports which should have a hierarchy just as in case of ENGR we have in Create Periodic Declarations.
Thanks in Advance,
KishoreFOR HIERARCGIAL REPORT HERE IS CODE
Report Zalv_interactivehierarchy *
*& AS : ALV code for hierarchical sequential list display(single child)
*& List of SAP tables as the parent node with interactive features(as a pop up)
*& and List of fields as the child node with interactive features too(as a pop *& up)
REPORT zalv_interactivehierarchy.
type-pools declarations for alv and icon
TYPE-POOLS: slis,icon.
*structure declaration for table details
TYPES : BEGIN OF ty_dd02l,
tabname TYPE tabname,
tabclass TYPE tabclass,
expand,
END OF ty_dd02l.
*internal table and wa decln for table details
DATA : it_dd02l TYPE STANDARD TABLE OF ty_dd02l,
wa_dd02l TYPE ty_dd02l.
*structure declarations for field details
TYPES : BEGIN OF ty_dd03l,
tabname TYPE tabname,
fieldname TYPE fieldname,
keyflag TYPE keyflag,
checktable TYPE checktable,
rollname TYPE rollname,
datatype TYPE datatype_d,
leng TYPE ddleng,
END OF ty_dd03l.
Internal table and wa decln for field details
DATA : it_dd03l TYPE STANDARD TABLE OF ty_dd03l,
wa_dd03l TYPE ty_dd03l.
*Internal table and wa decln for tabletext details
DATA : it_dd02t TYPE STANDARD TABLE OF dd02t,
wa_dd02t TYPE dd02t.
data declarations for ALV
DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv,
it_layout TYPE slis_layout_alv,
key TYPE slis_keyinfo_alv.
*Input the tables.User cannot enter a range but can enter any number
*of tables one by one in this select-options
SELECT-OPTIONS : s_table FOR wa_dd02l-tabname NO INTERVALS.
*initializatin event
INITIALIZATION.
*start-of-selection event
START-OF-SELECTION.
*subroutine to fetch the data from the tables
PERFORM fetch_tabledata.
*subroutine to build alv hierarchy output
PERFORM hierarchyalv_build.
*& Form hierarchyalv_build
text
--> p1 text
<-- p2 text
FORM hierarchyalv_build .
*fieldcatalogue
PERFORM build_fieldcat.
*layout
PERFORM build_layout.
*key information for hierarchy
PERFORM build_key.
*output
PERFORM list_display.
ENDFORM. " hierarchyalv_build
*& Form build_fieldcat
text
--> p1 text
<-- p2 text
FORM build_fieldcat .
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 1.
wa_fieldcat-fieldname = 'TABNAME'.
wa_fieldcat-tabname = 'IT_DD02L'.
wa_fieldcat-seltext_m = 'Tablename'.
wa_fieldcat-key = 'X'.
wa_fieldcat-hotspot = 'X'.
wa_fieldcat-emphasize = 'C610'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-col_pos = 2.
wa_fieldcat-fieldname = 'FIELDNAME'.
wa_fieldcat-tabname = 'IT_DD03L'.
wa_fieldcat-key = 'X'.
wa_fieldcat-hotspot = 'X'.
wa_fieldcat-seltext_m = 'Field'.
wa_fieldcat-emphasize = 'C510'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
ENDFORM. " build_fieldcat
*& Form build_layout
text
--> p1 text
<-- p2 text
FORM build_layout .
*to expand the header table for item details
it_layout-expand_fieldname = 'EXPAND'.
it_layout-window_titlebar = 'Interactive Hierarchical ALV'.
it_layout-lights_tabname = 'IT_DD03L'.
it_layout-colwidth_optimize = 'X'.
ENDFORM. " build_layout
*& Form build_key
text
--> p1 text
<-- p2 text
FORM build_key .
*key infomation for the header and item table
key-header01 = 'TABNAME'.
key-item01 = 'TABNAME'.
ENDFORM. " build_key
*& Form list_display
text
--> p1 text
<-- p2 text
FORM list_display .
*ALV output
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
is_layout = it_layout
it_fieldcat = it_fieldcat
i_tabname_header = 'IT_DD02L'
i_tabname_item = 'IT_DD03L'
is_keyinfo = key
TABLES
t_outtab_header = it_dd02l
t_outtab_item = it_dd03l.
ENDFORM. " list_display
*& Form fetch_tabledata
text
--> p1 text
<-- p2 text
FORM fetch_tabledata .
*select table data
SELECT tabname
tabclass
FROM dd02l
INTO CORRESPONDING FIELDS OF TABLE it_dd02l
WHERE tabname IN s_table.
*select field data
IF it_dd02l[] IS NOT INITIAL.
SELECT tabname
fieldname
keyflag
checktable
rollname
leng
datatype
FROM dd03l
INTO CORRESPONDING FIELDS OF TABLE it_dd03l
FOR ALL ENTRIES IN it_dd02l
WHERE tabname EQ it_dd02l-tabname.
ENDIF.
*select table texts
IF it_dd02l[] IS NOT INITIAL.
SELECT tabname
ddtext
FROM dd02t
INTO CORRESPONDING FIELDS OF TABLE it_dd02t
FOR ALL ENTRIES IN it_dd02l
WHERE tabname EQ it_dd02l-tabname
AND ddlanguage = 'EN'.
ENDIF.
ENDFORM. " fetch_tabledata
*& Form user_command
text
*User actions on ALV
FORM user_command USING r_ucomm TYPE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN '&IC1'.
READ TABLE it_dd02l INDEX rs_selfield-tabindex INTO wa_dd02l.
IF sy-subrc = 0.
PERFORM select_table.
EXIT.
ENDIF.
READ TABLE it_dd03l INDEX rs_selfield-tabindex INTO wa_dd03l.
IF sy-subrc = 0.
PERFORM select_field.
EXIT.
ENDIF.
ENDCASE.
ENDFORM. "user_command
*& Form select_table
text
--> p1 text
<-- p2 text
*Subroutine to display the details of the parent node selected
FORM select_table .
DATA : title(20),
category(10),
description(60),
texts(40),
text(60).
title = wa_dd02l-tabname.
category = wa_dd02l-tabclass.
texts = 'The table category : '.
CONCATENATE texts category INTO text separated by space.
READ TABLE it_dd02t INTO wa_dd02t WITH KEY tabname = wa_dd02l-tabname.
description = wa_dd02t-ddtext.
CALL FUNCTION 'POPUP_FOR_INTERACTION'
EXPORTING
headline = 'Selection'
text1 = title
text2 = description
text3 = text
button_1 = 'Back to List'.
ENDFORM. " select_table
*& Form select_FIELD
text
--> p1 text
<-- p2 text
*Subroutine to display the details of the child node selected
FORM select_field .
DATA : title(20),
text1(35),
table(10),
text2(45),
check(20),
datype(6),
length(3),
roll(8),
key(10),
flag(2),
keytext(15),
typedet(18),
details(25),
text3(15),
text4(25),
text5(15),
text6(25),
text7(15),
text8(25).
text1 = 'The table for the selected field is'.
title = wa_dd03l-fieldname.
table = wa_dd03l-tabname.
check = wa_dd03l-checktable.
datype = wa_dd03l-datatype.
length = wa_dd03l-leng.
roll = wa_dd03l-rollname.
key = 'Keyfield '.
flag = wa_dd03l-keyflag.
typedet = 'Datatype & Length'.
text4 = 'Selected field is'.
text5 = 'Check table'.
text7 = 'Data Element'.
CONCATENATE text1 table INTO text2 separated by space.
CONCATENATE key flag INTO keytext separated by space.
concatenate typedet datype length into details separated by space.
concatenate text3 title into text4 separated by space.
concatenate text5 check into text6 separated by space.
concatenate text7 roll into text8 separated by space.
CALL FUNCTION 'POPUP_FOR_INTERACTION'
EXPORTING
headline = 'Selection'
text1 = text2
text2 = text4
text3 = text6
text4 = details
text5 = text8
text6 = keytext
button_1 = 'Back to List'.
ENDFORM. " select_FIELD -
Getting OPP LOG Error for XML Publisher report
Hi Experts
We are facing warning message for Xml Publisher report please advise how can we avoid this warning message.
{code}
Post-processing of request 12345678 failed at <sysdate> with the error message: The Output Post-processor is running but has not picked up this request. No further attempts will be made to post-process this request, and the request will be marked with Warning status. Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary
{code}
We have increased the Profile value for
Concurrent: OPP Process Timeout from 120 to 240 still we are facing the issue even we have stop and restart the OPP for the change to be implemented but no luck please advice me
Thanks
ATHi,
Please see the following notes:
The Output Post-processor Is Running But Has Not Picked Up This Request. (Doc ID 1547102.1)
Concurrent Requests Fail Due to Output Post Processing (OPP) Timeout (Doc ID 352518.1)
Report Output Error: The XML page cannot be displayed. Cannot view XML input using style sheet. (Doc ID 753620.1)
Output Post Processor (OPP) Manager Not Working Error: APPLTMP Environment Variable is not Set (Doc ID 1381474.1)
R12: Troubleshooting Known XML Publisher and E-Business Suite (EBS) Integration Issues (Doc ID 1410160.1)
Thanks &
Best Regards, -
Getting OPP Error for XML Publisher report
Hi Experts
We are facing warning message for Xml Publisher report please advise how can we avoid this warning message.
{code}
Post-processing of request 12345678 failed at <sysdate> with the error message: The Output Post-processor is running but has not picked up this request. No further attempts will be made to post-process this request, and the request will be marked with Warning status. Setting the profile option Concurrent: OPP Response Timeout to a higher value may be necessary
{code}
We have increased the Profile value for
Concurrent: OPP Process Timeout from 120 to 240 still we are facing the issue even we have stop and restart the OPP for the change to be implemented but no luck please advice me
Thanks
ATHi,
Please see the following notes:
The Output Post-processor Is Running But Has Not Picked Up This Request. (Doc ID 1547102.1)
Concurrent Requests Fail Due to Output Post Processing (OPP) Timeout (Doc ID 352518.1)
Report Output Error: The XML page cannot be displayed. Cannot view XML input using style sheet. (Doc ID 753620.1)
Output Post Processor (OPP) Manager Not Working Error: APPLTMP Environment Variable is not Set (Doc ID 1381474.1)
R12: Troubleshooting Known XML Publisher and E-Business Suite (EBS) Integration Issues (Doc ID 1410160.1)
Thanks &
Best Regards, -
I utilized the idea from
http://www.mssqltips.com/sqlservertip/2778/how-to-add-reporting-services-to-an-existing-sql-server-clustered-instance/ to install 2008 R2 Reporting Services on a new Clustered SQL instance. In short, create the new Clustered SQL instance on Node1,
installing Reporting Services with it. Then on Node2, Add a Failover Cluster Node (without choosing Reporting Services); following that up with starting the SQL setup.exe with a cmd to bypass a check so that I can then install the Reporting Services
feature on Node2. It points out using the SQL Cluster Network name for connecting to Reporting Services.
I verified upon failover that I could still access the Reports and ReportServer URLs. However, when wanting to add an SSL certificate to the RS configuration, I run into the warning of "mismatched address - the security certificate presented by
this website was issued for a different website's address", where I can continue and get to the Reports or ReportManager URLs.
I played with different certs (internal CA created) and SANs and other things, but I still get this error with the cert. The Reports URL, for example, is <a href="https:///Reports">https://<SQLClusterNetworkName>/Reports, and the
cert has a CN and Friendly Name of SQLClusterNetworkName (with SAN of DNS: SQLClusterNetworkName.<domain>), but the error still happens.
What am I missing to eliminate the mismatched address warning when using the SQLClusterNetworkName as the base of the URLs?I got it working by using the FQDN as the common name on the SSL cert, with FQDN in RS URLs.
-
Warning Msg: Character Mode report is being opened as a Bit-mapped report
Hi All,
I am opening a Oracle Standard Report in Oracle Apps "INVISMMX", while opening it shows the below warning message:
"Character Mode report is being opened as a Bit-mapped report"
What is the reason for this?
How can I open this report in ASCII mode itself?
Thanks,
GowriI believe Oracle Reports by default will open a report as a bit-mapped report. You can change the poperties of the report to make it a character mode report by:
1. If this is a new report, in the Object Navigator, click the Reports node,
then click in the toolbar.
2. Double-click the properties icon next to the report node to display
the Property Palette.
3. Under the report node, set the width and height properties as desired:
for example, 11 (or 15) width x 8.5 height for landscape or 8.5 width x 11
(or 15) height for portrait.
4. Under the Character Mode node:
a. Set Design In Character Units to Yes.
b. Set the report width and report height to the appropriate
character-mode dimensions for the report, such as, 132 (or 180)
width x 66 height for landscape or 102 width x 85 (or 116) height
for portrait.
5. In the Object Navigator, expand the Data Model node, then the System
Parameters node.
6. Double-click the MODE properties icon to display the Property Palette.
7. Under the Parameter node, set the initial value for property to Character.
8. In the Object Navigator, double-click on the Layout Model node icon.
9. In the Layout Model view, choose FormatLayout OptionsRulers to display
the Ruler Settings dialog box.
10. Set Units to Character Cells and Number of Snap Points Per Grid Spacing
to 1. Click OK.
11. Click View in the menu bar and make sure that Snap to Grid is checked.
12. Choose Tools Preferences to display the Preferences dialog box.
13. On the Preferences page, set Horizontal Interfield to 1 and Vertical
Interfield to 0. Click OK.
14. Choose Format Font, and select the font, style, and size that most
closely approximates the character-mode font (such as, Courier,
Regular, 12 point). -
Getting warning while running the report
hi all am getting warning while running the report .
the log file is given below
+---------------------------------------------------------------------------+
Process Manufacturing Inventory: Version : 11.5.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XXVIS_OPM_STOCK_STATEMENT module: Visaka RG1 Register
+---------------------------------------------------------------------------+
Current system time is 11-OCT-2011 20:42:05
+---------------------------------------------------------------------------+
**Starts**11-OCT-2011 20:42:05
**Ends**11-OCT-2011 20:43:25
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
Executing request completion options...
+------------- 1) PUBLISH -------------+
Unable to find an Output Post Processor service to post-process request 15845789.
Check that the Output Post Processor service is running.
+--------------------------------------+
+------------- 2) PRINT -------------+
Not printing the output of this request because post-processing failed.
+--------------------------------------+
Finished executing request completion options.
+---------------------------------------------------------------------------+
Concurrent request completed
Current system time is 11-OCT-2011 20:43:25
+---------------------------------------------------------------------------+what is mean by output post processor?
why am getting this problem?
Please help me to fix this problem .
Thanks for all in advanceHi;
Unable to find an Output Post Processor service to post-process request 15845789.
Check that the Output Post Processor service is running.Check OPP Cm are up and run. Please also check logs for can see why you are getting this message
Regard
Helios -
Hi Friends,
I have created a Hierarchial ALV report using OOP concept (Class Builder). The output is OK but it is displaying the unwanted columns in the header part.
The code written is as follows.
=====================================================
REPORT ZMMSTKH.
DATA: G_ALV_TREE TYPE REF TO CL_GUI_ALV_TREE,
G_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER.
DATA: GT_ZSD_BILLINFO TYPE ZSD_BILLINFO OCCURS 0, "Output-Table
OK_CODE LIKE SY-UCOMM,
SAVE_OK LIKE SY-UCOMM, "OK-Code
G_MAX TYPE I VALUE 255.
DATA CCONTAINER1.
DATA LS_FIELDCAT TYPE LVC_S_FCAT.
DATA GT_FIELDCAT_LVC TYPE LVC_S_FCAT OCCURS 0.
DATA IT_FIELDCATALOG TYPE LVC_S_FCAT OCCURS 0.
END-OF-SELECTION.
CALL SCREEN 100.
*& Module PBO OUTPUT
process before output
MODULE PBO OUTPUT.
SET PF-STATUS 'MAIN100'.
SET TITLEBAR 'MAINTITLE'.
IF G_ALV_TREE IS INITIAL.
PERFORM INIT_TREE.
CALL METHOD CL_GUI_CFW=>FLUSH
EXCEPTIONS
CNTL_SYSTEM_ERROR = 1
CNTL_ERROR = 2.
IF SY-SUBRC NE 0.
CALL FUNCTION 'POPUP_TO_INFORM'
EXPORTING
TITEL = 'Automation Queue failure'(801)
TXT1 = 'Internal error:'(802)
TXT2 = 'A method in the automation queue'(803)
TXT3 = 'caused a failure.'(804).
ENDIF.
ENDIF.
ENDMODULE. " PBO OUTPUT
*& Module PAI INPUT
process after input
MODULE PAI INPUT.
SAVE_OK = OK_CODE.
CLEAR OK_CODE.
CASE SAVE_OK.
WHEN 'EXIT' OR 'BACK' OR 'CANC'.
PERFORM EXIT_PROGRAM.
WHEN OTHERS.
CALL METHOD CL_GUI_CFW=>DISPATCH.
ENDCASE.
CALL METHOD CL_GUI_CFW=>FLUSH.
ENDMODULE. " PAI INPUT
*& Form init_tree
text
--> p1 text
<-- p2 text
FORM INIT_TREE.
DATA: L_TREE_CONTAINER_NAME(30) TYPE C.
L_TREE_CONTAINER_NAME = 'CCONTAINER1'(001).
CREATE OBJECT G_CUSTOM_CONTAINER
EXPORTING
CONTAINER_NAME = L_TREE_CONTAINER_NAME
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
LIFETIME_DYNPRO_DYNPRO_LINK = 5.
IF SY-SUBRC <> 0.
MESSAGE X208(00) WITH 'ERROR'(100).
ENDIF.
CREATE OBJECT G_ALV_TREE
EXPORTING
PARENT = G_CUSTOM_CONTAINER
NODE_SELECTION_MODE = CL_GUI_COLUMN_TREE=>NODE_SEL_MODE_SINGLE
ITEM_SELECTION = 'X'
NO_HTML_HEADER = 'X'
NO_TOOLBAR = ''
EXCEPTIONS
CNTL_ERROR = 1
CNTL_SYSTEM_ERROR = 2
CREATE_ERROR = 3
LIFETIME_ERROR = 4
ILLEGAL_NODE_SELECTION_MODE = 5
FAILED = 6
ILLEGAL_COLUMN_NAME = 7.
IF SY-SUBRC <> 0.
MESSAGE X208(00) WITH 'ERROR'. "#EC NOTEXT
ENDIF.
DATA L_HIERARCHY_HEADER TYPE TREEV_HHDR.
PERFORM BUILD_HIERARCHY_HEADER CHANGING L_HIERARCHY_HEADER.
PERFORM ZF_CREATE_FIELDCAT.
CALL METHOD G_ALV_TREE->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'zsd_billinfo'
IS_HIERARCHY_HEADER = L_HIERARCHY_HEADER
CHANGING
IT_OUTTAB = GT_ZSD_BILLINFO. "table must be empty !
IT_FIELDCATALOG = GT_FIELDCAT_LVC[].
PERFORM CREATE_HIERARCHY.
CALL METHOD G_ALV_TREE->FRONTEND_UPDATE.
ENDFORM. " init_tree
*& Form build_hierarchy_header
FORM BUILD_HIERARCHY_HEADER CHANGING
P_HIERARCHY_HEADER TYPE TREEV_HHDR.
P_HIERARCHY_HEADER-HEADING = 'Region / Material'(300).
p_hierarchy_header-tooltip = 'PO No'(400).
P_HIERARCHY_HEADER-WIDTH = 30.
P_HIERARCHY_HEADER-WIDTH_PIX = ' '.
ENDFORM. " build_hierarchy_header
*& Form exit_program
free object and leave program
FORM EXIT_PROGRAM.
CALL METHOD G_CUSTOM_CONTAINER->FREE.
LEAVE PROGRAM.
ENDFORM. " exit_program
*& Form create_hierarchy
text
--> p1 text
<-- p2 text
FORM CREATE_HIERARCHY.
DATA: LS_ZSD_BILLINFO TYPE ZSD_BILLINFO,
LT_ZSD_BILLINFO TYPE ZSD_BILLINFO OCCURS 0,
l_bukrs like zsd_billinfo-bukrs,
l_vbeln like zsd_billinfo-vbeln,
l_fkdat like zsd_billinfo-fkdat,
l_fkart like zsd_billinfo-fkart,
l_vkorg like zsd_billinfo-vkorg,
l_spart like zsd_billinfo-spart,
L_BZIRK LIKE ZSD_BILLINFO-BZIRK,
L_BZIRK_LAST LIKE ZSD_BILLINFO-BZIRK,
l_vkbur like zsd_billinfo-vkbur,
L_WERKS LIKE ZSD_BILLINFO-WERKS,
L_WERKS_LAST LIKE ZSD_BILLINFO-WERKS,
L_MATNR LIKE ZSD_BILLINFO-MATNR,
L_MATNR_LAST LIKE ZSD_BILLINFO-MATNR,
L_FKIMG LIKE ZSD_BILLINFO-FKIMG,
L_NETWR LIKE ZSD_BILLINFO-NETWR.
DATA: L_BUKRS_KEY TYPE LVC_NKEY,
L_BZIRK_KEY TYPE LVC_NKEY,
L_WERKS_KEY TYPE LVC_NKEY,
L_MATNR_KEY TYPE LVC_NKEY,
l_vbeln_key type lvc_nkey,
L_LAST_KEY TYPE LVC_NKEY.
SELECT BUKRS BZIRK WERKS MATNR FKIMG FROM ZSD_BILLINFO
INTO CORRESPONDING FIELDS OF
TABLE LT_ZSD_BILLINFO
WHERE SPART = 'CT' AND
FKART = 'ZVAT'.
select * from zsd_billinfo into table lt_zsd_billinfo
where spart = 'CT' and
fkart = 'ZVAT'.
SORT LT_ZSD_BILLINFO BY BZIRK WERKS MATNR.
LOOP AT LT_ZSD_BILLINFO INTO LS_ZSD_BILLINFO.
L_BZIRK = LS_ZSD_BILLINFO-BZIRK.
L_WERKS = LS_ZSD_BILLINFO-WERKS.
L_MATNR = LS_ZSD_BILLINFO-MATNR.
IF L_BZIRK <> L_BZIRK_LAST.
L_BZIRK_LAST = L_BZIRK.
PERFORM ADD_BZIRK USING L_BZIRK
CHANGING L_BZIRK_KEY.
CLEAR L_WERKS_LAST.
ENDIF.
IF L_WERKS <> L_WERKS_LAST.
L_WERKS_LAST = L_WERKS.
PERFORM ADD_WERKS_LINE USING LS_ZSD_BILLINFO
L_WERKS_KEY
CHANGING L_WERKS_KEY.
IF L_MATNR <> L_MATNR_LAST.
L_MATNR_LAST = L_MATNR.
PERFORM ADD_MATNR_LINE USING LS_ZSD_BILLINFO
L_MATNR_KEY
CHANGING L_MATNR_KEY.
ENDIF.
PERFORM ADD_COMPLETE_LINE USING LS_ZSD_BILLINFO
L_MATNR_KEY
CHANGING L_LAST_KEY.
ENDIF.
*if l_matnr <> l_matnr_last.
l_matnr_last = l_matnr.
perform add_matnr_line using ls_zsd_billinfo
l_matnr_key
changing l_matnr_key.
endif.
perform add_complete_line using ls_zsd_billinfo
l_matnr_key
changing l_last_key.
ENDLOOP.
ENDFORM. " create_hierarchy
*& Form add_month
*& Form add_ebeln
FORM ADD_BZIRK USING P_BZIRK TYPE C
P_RELAT_KEY TYPE LVC_NKEY
CHANGING P_NODE_KEY TYPE LVC_NKEY.
DATA: L_NODE_TEXT TYPE LVC_VALUE,
LS_ZSD_BILLINFO TYPE ZSD_BILLINFO,
L_BZIRK(12) TYPE C. "output string for month
CALL METHOD G_ALV_TREE->ADD_NODE
EXPORTING
I_RELAT_NODE_KEY = P_RELAT_KEY
I_RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
I_NODE_TEXT = L_NODE_TEXT
IS_OUTTAB_LINE = LS_ZSD_BILLINFO
IMPORTING
E_NEW_NODE_KEY = P_NODE_KEY.
ENDFORM. " add_month
FORM ADD_WERKS_LINE USING PS_ZSD_BILLINFO TYPE ZSD_BILLINFO
P_RELAT_KEY TYPE LVC_NKEY
CHANGING P_NODE_KEY TYPE LVC_NKEY.
DATA: L_NODE_TEXT TYPE LVC_VALUE,
LS_ZSD_BILLINFO TYPE ZSD_BILLINFO.
L_NODE_TEXT = PS_ZSD_BILLINFO-WERKS.
CALL METHOD G_ALV_TREE->ADD_NODE
EXPORTING
I_RELAT_NODE_KEY = P_RELAT_KEY
I_RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
I_NODE_TEXT = L_NODE_TEXT
IS_OUTTAB_LINE = LS_ZSD_BILLINFO
IMPORTING
E_NEW_NODE_KEY = P_NODE_KEY.
ENDFORM. " add_carrid_line
FORM ADD_MATNR_LINE USING PS_ZSD_BILLINFO TYPE ZSD_BILLINFO
P_RELAT_KEY TYPE LVC_NKEY
CHANGING P_NODE_KEY TYPE LVC_NKEY.
DATA: L_NODE_TEXT TYPE LVC_VALUE,
LS_ZSD_BILLINFO TYPE ZSD_BILLINFO.
L_NODE_TEXT = PS_ZSD_BILLINFO-MATNR.
CALL METHOD G_ALV_TREE->ADD_NODE
EXPORTING
I_RELAT_NODE_KEY = P_RELAT_KEY
I_RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
I_NODE_TEXT = L_NODE_TEXT
IS_OUTTAB_LINE = LS_ZSD_BILLINFO
IMPORTING
E_NEW_NODE_KEY = P_NODE_KEY.
ENDFORM. " add_carrid_line
**& Form add_complete_line
FORM ADD_COMPLETE_LINE USING PS_ZSD_BILLINFO TYPE ZSD_BILLINFO
P_RELAT_KEY TYPE LVC_NKEY
CHANGING P_NODE_KEY TYPE LVC_NKEY.
DATA: L_NODE_TEXT TYPE LVC_VALUE.
WRITE PS_ZSD_BILLINFO-BZIRK TO L_NODE_TEXT.
CALL METHOD G_ALV_TREE->ADD_NODE
EXPORTING
I_RELAT_NODE_KEY = P_RELAT_KEY
I_RELATIONSHIP = CL_GUI_COLUMN_TREE=>RELAT_LAST_CHILD
IS_OUTTAB_LINE = PS_ZSD_BILLINFO
I_NODE_TEXT = L_NODE_TEXT
IMPORTING
E_NEW_NODE_KEY = P_NODE_KEY.
ENDFORM. " add_complete_line
*& Form zf_create_fieldcat
text
FORM ZF_CREATE_FIELDCAT.
CLEAR LS_FIELDCAT.
LS_FIELDCAT-FIELDNAME = 'FKIMG'.
LS_FIELDCAT-REF_TABLE = 'zsd_billinfo'.
LS_FIELDCAT-NO_OUT = 'X'.
LS_FIELDCAT-KEY = ''.
APPEND LS_FIELDCAT TO GT_FIELDCAT_LVC.
ENDFORM. " ZF_CREATE_FIELDCAT
=================================================
Kindly look into the code and guide me the solution.
TIA.
Regards,
Mark Khi
good
i tried your ALV report but it is giving some error due to some ztable you have used in your progam,
you can go to se38 and give there BCALV* and press f4, you ll find lots of ALV example related to OOP concept, you can test them and use them as per your requirement.
thnaks
mrutyun^ -
what are the different product hierarchy wise reports available in standard sap
Hi,
Product hierarchy is for only reporting. in standrad system u can have 3 levels in product hierarchy .if u implement product hierarchy u can have reports like below.
reports that can give u the three (or modified ) levels. for ex; material group, material pricing group, additional material group. agriculture products,electricals and pumps respectively. u can have the reprots each level.
like this if u modify the system for more levels then standard 3 u can have more flexibility in reporting
regards,
sadanandam kasarla -
Selection-Screen - Warning for similar screens with same info
Hi Gurus!
I have a small question regarding the screens. I have a program which splitting of the UWI's. This program has a selection screen for entry of the company code , plant and date and two radiobuttons to show incomplete ones and all lists. Now the problem is that when this report is used by 3 or 4 people in the department and if they are working on the same plant say 0311, everyone has this screen opened and can make changes without the other person knowing that the other person is also doing changes . I want to make something in the repot that will give a message that this screen is already opened for this particular plant (warning message) which will make the other ppl aware that someone is already working on that plant , not only that evben if a single person has two screens of it opened with similar plant , also it should give message as that its opened for that particular plant. Is it possible please.?
So like in here in my report I should be adding in something or what?
*& Module CHECK_INPUT INPUT *
* Field Input Check *
MODULE check_input INPUT.
DATA: lv_plant TYPE t001k-bukrs.
**** Checking For Plant Input.
IF dyn_plant IS INITIAL.
MESSAGE e000 WITH text-002.
ELSE.
SELECT SINGLE bwkey FROM t001k INTO t001k-bwkey
WHERE bwkey = dyn_plant.
IF sy-subrc NE 0.
MESSAGE e000 WITH text-019.
ENDIF.
ENDIF.
Thanks
AaravI used the enqueue and dequeue function module in my program to dis-allow two or more people to work on the same screen with similar input of plant ,and I am getting the error message too on the first screen itself that "selected plant si used by another user", but the problem is that its not allowing me to get into it even when I am the first user, I wanted actually it to happen with the second user or if I open up another screen and try inputing same plant and try entering then it should give me the message but its giving me message in the first screen itself and locking , not allowing me to get in.
Kindly suggest what should I be doing to this happen in the second or thisrd ascreen and so on , but not on the frist screen.
I put the logical lock after the plant validation happens , but for teh first user it should allowing him to go through the screen and just give warning for other uses if they enter the same plant and try entering the screen.
Thanks
Aarav -
Cannot enter value in selection screen for Hierarchy variable.
Hi All,
I have a hierarchy variable on the selection screen for Org unit.
When i execute the report via Bex or RSRT i am able to enter the value directly into the selection screen input field without going for F4 help and then selecting the value.
But when the same query is used in web template and executed the input field for the variable on the selection screen is greyed out and doesnt allow to type in the value. Only way to fill in the value is via F4 help.
Can anyone tell why is this happening and is there any way this can be changed?
Thanks in advance.
-RJHi Prakash,
I am not able to select or click on the input field of the selection screen before and after selecting the value
CTRL+K doesnt work for me.
The display field is populated only when i select a node from the F4 help screen.
When executed from RSRT the field is highlighted and i am able to enter the value unlike when executed on web browser.
The variable is Mandatory multiple single value readu for input.
I found an article saying that for hierarchy node variables the values are forced by F4 value help as the values that are entered manually might not be unique.
This is the link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/15839190-0201-0010-adb1-d2edd9857b0a
I would like to know if there is a work around or setting that can be made to make it work?
-RJ -
Warning: There is no reporting group defined with a purpose of iRecruitment
Hi,
When i try to generate the offer letter in iRecruitment, i am getting the warning: There is no reporting group defined with a purpose of iRecruitment in "Enter compensation" Screen. However i am able to generate the offer letter,preview and submit the offer letter. I have referred the Article [ID 1168832.1] in oracle support. It suggest me to give the Temporary Directory file name using XML Publisher Administrator , but still the Warning appears.
STEPS
The issue can be reproduced at will with the following steps:
1. From Vacancy Search page, select applicant.
2. Create Offer: Enter Basic Details.
3. Warning: There is no reporting group defined with a purpose of iRecruitment for this business group.
4. Review page.
Version Details: Oracle Applications : 12.1.2
But still the offer letter is generated.
Can anyone advice me to over come this warning
Regards
SurayshI have the same behavior too. Looking at the iRecruitment implementation guide, I see reporting groups defined there.
1) Select your HRMS Superuser responsibility
2) Go to Total Compensation : General Definitions : Additional Setup : Reporting Groups
If you see no data, it's likely you have ... no reporting groups.
I think this time the error is pointing you in the right direction.
I hope this helps. -
Early warning for QM specs close to limits
Hi Experts,
I am currently trying to figure a way to get a notification of a quantitative characteristic getting close to specification limits so that the problem can be addressed before failures occur. Here is the scenario:
pH is measured for each batch with spec 7.1-7.5. Each batch has one inspection lot.
It has been noticed that when a batch fails this spec, the previous batches increase or decrease closer to the limits until a batch fails. To decrease batch failure, it is desirable to have a warning for when a batch reaches, for example 7.2 or 7.4. This batch would not fail the specs, but will give an early warning so that the process can be adjusted to avoid the failure of future batches.
I have been looking at control charts, but we do not use a fixed batch size (which I believe is required) and this seems a little complicated for what we need.
I have also toyed with the idea of an ABAP report that uses the additional pairs of limits in the quantitative view of the inspection plan to pick out which batches are outside these values and report them in a list so they can be investigated. Although I cannot see how I can get a warning out from this to notify users of the occurrence. I am familiar with Workflow, but cannot see where the trigger will come from as the spec will have passed.
Although I think that the report would be useful for this, the users really want a warning without having to interrogate the system to find it.
Kind regards
AndrewI think you can acheive this functionality by using Early Warning System (R/3) or the Business Process Monitoring (BPM) - Sol.Manager.
I dont have experince in implementing both of them, but we are exploring BPM for some of our shop floor threshold tirggers.
Thanks,
Ram
Maybe you are looking for
-
Mail is not downloading messages from two accounts but the messages are in the server.
Hello, I'm having this problem. Mail is not downloading messages from two accounts. I don't know why but there're two accounts working so bad. If I click with the right button on the account and click to see the account details, I can see the message
-
How to get event 'out of the class'
I have been reading myself silly about this, I either don't get it or it is very difficult. What I want to do: 1) setup 2) show panel 3) handle input in panel 4) once valid 5) "get out" 6) display other panel. I can go all the way to 4. But I can't g
-
Running j2ee project in netbeans
Hi, I have developed an j2ee project in netbeans 6.5.1. But I have a problrm in deploying this. When I build and run the project I got the following error. Deploying application in domain completed successfully Rollback completed successfully Trying
-
Epson RX 620 - Drivers removed - ghost in Scanner sharing
I'am trying to get rid of Scanner Sharing with My Epson RX620. I have deleted all the driver files for Epson, but the entry is still there? In printed sharing the entry is gone.. This causes the symptom that I can't enable (it won't stay) my new HP-A
-
What are the main differences between CS2 and CS3? Are vector files easier to work with in CS3? Thanks!