Report for equipment hierarchy using IH03
In IH03 what is the significance of the fields display as graphic and Bom Application and Bom group?
Edited by: Pallavi Kakoti on Jul 19, 2011 8:43 AM
Click "As Graphic" if you want to display equipment in graphical hierarchy.
BOM Application is used to display BOMs of specific application area in the equipment hierarchy report .If you choose "INST" as BOM application then only plant maintenance BOMs will be display in the equipment hierarchy,
BOMs can be defined for different application areas like plant maintenance ,production,costing etc
Regards,
Tehsin
Similar Messages
-
Standard SAP report for vendor hierarchy
Hi Gurus,
Does SAP have standard report for vendor hierarchy? We want to use vendor hierarchy to capture all the expense to a list of vendors and wondering if we can utilize some standard report to see the total supply or we should develop custom reports to handle them?
Thanks a lotHi,
Check this link
http://help.sap.com/saphelp_45b/helpdata/en/12/084635470311d1894a0000e8323352/frameset.htm
Thanks
suresh -
Interactive Reports for Marketing Campaigns using HANA
Dear Experts,
We are Implementing Interactive Reports for Marketing Campaigns using HANA Hence, I request you all to help with the Config Steps / any documents that help.
Your Help is really appreciated.
Thanks In advance
SatishDavid,
There are several drawbacks with the standard functionality that you will encounter:
- SAPconnect only supports HTTP url posting or RFC destination setup (which means you need a third party server program)
- The mail forms do not impose a limitation on the length of messages
- Target groups do not check if the person has a mobile number.
If you look at SMS gateway providers they normally allow use via web service or SMPP. If you plan on doing "bulk" campaigns where you will generate multi-thousand messages a month then you need to use one of these options. SMPP is a binary protocol that is way too complicated for a business application to implement. So web services is your best bet.
If we used mostly standard CRM functionaliy we would do the following for SMS:
- Use the segment builder to handle our target groups
- Use the personalized mail functionality
- Use the open channel exits for segment execution to handle the communication to SMS gateway.
Now keep in mind that for SMS campaigns this is going to be cubersome, and not going to provide all the mobile marketing functionality you need. It still appears that even for CRM 52/2007 that mobile marketing is not really fully addressed in the solution with several major gaps.
We ended up going down a custom route, because the segment builder was not-user friendly and unstable in CRM 40 and the mail form technology did not meet our needs for sending messages and creating template based scenarios. We still make use of the CRM business partner master for the distribution.
If you have any further questions on doing SMS campaigns with CRM, please let me know. This is one area where I have spent some extensive research. If you are looking for SMS gateway providers in the US, I can also provide some names based on our previous research.
Thank you,
Stephen -
Project Report for One Project Using Excel
Hi,
Is is possible to create a report for one project using excel?
I want to create a pdp with an Excel Viewer web part and have the following tabs with data specific to the one project.
1. Cover
2. Issues
3. Risks
4. Deliverables
I tried passing the ProjUid to an Excel doc via the Excel Query Filter Web Part and was able to filter the Issues lists only but don't know if its possible to filter out the other tabs by using the same paramater. Is this possible?
I have not looked at Odata but was wondering if it was possible to pass a paramater to the odata query and still have the spreadsheet work in a web view in SharePoint?Hi,
I'd say that as far as you promote the Proj UID field as a filter in all sheets of your Excel workbook, using the Excel
Query Filter Web Part should work fine. But testing it should be easy, since you already did half of the work.
See excellent article from Andrew on this topic:
http://azlav.umtblog.com/2012/12/05/filtering-excel-webparts-in-office-365-part-2/
http://azlav.umtblog.com/2012/07/03/creating-a-project-resource-list-in-a-pdp/
Hope this helps,
Guillaume Rouyre, MBA, MCP, MCTS | -
Error while reading equipment hierarchy using FM EQUI_HIERARCHY_READ
Hi,
I have a requirement to change the plant, asset master profit center and purchase order data for an equipment, for this I have written a module pool program which has selection and main subscreens where selection screen displays the selection criteria and main screen displays the output with the plant as editable field.
The program has two buttons, one is to display the equipment details based on the equipment data provided in the selection screen and another one is to update the master tables with the changed value.
The issue is after editing the plant and updating the equipment master tables, if I again try to display the equipment in the same session by clicking on the display button, it is displaying the old value instead of the new one (updated plant value). Irrespective of the number of times u change the value it is still showing the initial value only instead of the latest one even though I refreshed the output table which is displayed in the ALV container as well the ALV container before displaying the data in it.
I'm reading the equipment hierarchy data using the function module "EQUI_HIERARCHY_READ" where it is returning the old value instead of the updated values. I am calling this function module in a method of my own class. Its happening only when I call it in the class, but If I run the same function module in a report of same logic, it is returning the updated values.
Pls. advise me how can I get the updated value.
Edited by: sailaja reddy on Jan 19, 2011 3:29 PM
Edited by: sailaja reddy on Jan 19, 2011 3:29 PMThank you Jay,
I have tried with both the options, still I am getting the old values. This program is to modify plant and profit center in both equipment master as well PO. Once after updating the plant and profit center I am able to display PO plant and profit center with updated values but not the equipment related plant and profit center If I run it in the same session. -
Outbound report for Equipment Master
Hi Gurus,
Need some help.
Acctually I am trying to transfer equipment master using ALE.
I have done each and every configuration required, But now I am unable to find the Sending program.
Please suggest if there is any standard program or developed report.
Please let me know if you need any further clarification.
Regards,
SwapnilHi Atish,
I am using Basic type EQUIPMENT_CREATE02 and Message type EQUIPMENT_CREATE.
Regards
Swapnil -
Error in report for activated hierarchy
Hello Experts,
I have following problem in my report:
I have created 1 hierarchy for 0cust_sales infoobject other than Standard hierarchy.to get this hierarchy in place have done following steps:
created authorization object with 0cust_Sales + Authorization for hierarchy infoobject 0TCTAUTHH and actiavted it in required data target.
created authorization value for above hierarchy and maintained in the user role.
then created 1 report where hierarchy for 0cust_Sales is active and 1 authorization variable has been created for that hierarchy and restricted 0cust_Sales.
in my data target already 1authorization object is active which is based on 0sales_off.
in my report where I have assigned 0cust_Sales hierarchy, 0sales_off hierarchy is also maintained.
Problem comes when am executing the report where 0cust_sales hierarchy is not active with message - NO MASTER MAINTAINED FOR 0CUST_SALES HIERARCHY.
My problem is, I want 0cust_sales hierarchy only in 1 report but as auth object of 0cust_Sales is active on data target, error comes whenever report NOT CONTAINING 0CUST_SALES hierarchy is executed.
How to deal with the situation where hierarchy required only for 1 report..please guide meThanks Ingo. We are going to open the case.
Do we need to pull consistent detail objects of all the13 levels in the hierarchy to the WebI query ?
For Example, I have pulled all 13 level dimension objects (Blue), Org unit Key (Detail Green Object) for only L03,L04 and Org Unit Medium Name (Detail Green Object) for L08,L09.
Do I need to pull all 13 dimension (Blue Object), all 13 Org Unit Key and all 13 Org Unit Medium Name? I mean do we need to select consistent detail objects consistent across the levels?
Thanks
Jai -
Printing WWI reports for an Accident using tcode CBIH102
I have to write a RFC to print a wwi report for an accident. I've identified FM CVEA_RDOS_CREATE_BY_EHS as the function module that will trigger the printing.
FM CVEA_RDOS_CREATE_BY_EHS contains a table parameter X_DDO_TAB_TYPE which contains the table fields values, class characteristics values for values fields specified in WWI template and will be used by the WWI generation server to create the report.
I'm trying to identify the function module that extracts the contents of table parameter X_DDO_TAB_TYPE from the WWI template..
If any info is available that would save me a lot of debugging time.Form L_VARIANTS_PRINT or L_REPORTS_PRINT in FG C1G2
-
Tables or Logical database to create standard report for Equipment BOM?
Dear All
My client has requirement for the report with fields like to see the status of Equipment BOM(input of Equipment number in selection screen) or for Particular set of Materials(input of component number in selection screen) available stock quantity,storage location of stock,description of component,price of component,Pending PR of component(if any),Pending PO of component(if any) etc
I want to develop the report with standard infoset query instead of going for abap development.is there any logical database to map the report or what tables can i use for table joins??
Required sample report with fields as below
BOM Component
Stock available/Not available indicator
Description of Components
BOMQty/ UOM
Price
Part Number
Plnt
Sloc
Stock Qty
Bin
Pending PR
Pending PO
1000001121
YES
BEARING
NO
2000
ERS22
1000
MECH
4
A1
300012431
Regards
M.ManojkumarManoj,
The following is the tested solution.
Table join
Output
This figure shows the case of a Equipment BOM where 3 components are there. Installed Quantity are 4, 1, 1 respectively. Last two columns are showing the Storage Locations and the Stocks available.
Fields taken to output are
From STPO : IDNRK MENGE MEINS
From MARD LGORT LABST
As said before, more than this you can not do in SQVI. With this basic join in SQ02, using codes in Extras you can do much more.
Jogeswara Rao K -
Report for equipment with characteristics and value
Dear friends,
I need to develop a report which contains fields from the equipment master like superior equipment, functional location, asset etc. as well as charcteristics and values maintained in the equipment. (Multi level equipment display) is not acceptable to client. I understand that table AUSP can be utilised for getting the characteristic value, but I am unable to find any fields from equipment master which I can use to pass on to the AUSP table. Kindly let me know if there is any other table which I can use or any other approach I can take.
Thanks and best regds
ArunThanks Pete for the quick response. I will check with the Abaper if he could utilise the function modules for developing the report.
best regds
Arun -
ALV report for 5 Grids using Objects and Method
I have few questions in ALV 5Grids ,could you please correct me in the following program logic...
Using this program logic i am able to generate the five Grids and able to populate Header details from VBAK into Grid1,If you click in the Grid 1 and it is populating item details in Grid2 from VBAP,parallally populating the customer data in Grid5 from KNA1.
Now the pending issue is ,
if you click in the Grid2 then we should populate the shipping details in Grid3 and
if you click in the Grid3 then we should populate the billing details in Grid4.
Program Logic;
REPORT ZAREPAS20.
Tables : vbak,vbap,likp,lips,vbrk,vbrp,kna1.
DATA : OK_CODE LIKE SY-UCOMM,
G_CONTAINER TYPE SCRFNAME VALUE 'BCALV7_GRID_DEMO_0100_VASU',
DOCKING TYPE REF TO CL_GUI_DOCKING_CONTAINER,
SPLITTER_1 TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
SPLITTER_2 TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
splitter_3 TYPE REF TO CL_GUI_SPLITTER_CONTAINER,
CELL_TOP1 TYPE REF TO CL_GUI_CONTAINER,
CELL_BOTTOM1 TYPE REF TO CL_GUI_CONTAINER,
CELL_TOP2 TYPE REF TO CL_GUI_CONTAINER,
CELL_BOTTOM2 TYPE REF TO CL_GUI_CONTAINER,
CELL_LEFT TYPE REF TO CL_GUI_CONTAINER,
CELL_middle TYPE REF TO CL_GUI_CONTAINER,
CELL_RIGHT TYPE REF TO CL_GUI_CONTAINER,
GRID1 TYPE REF TO CL_GUI_ALV_GRID,
GRID2 TYPE REF TO CL_GUI_ALV_GRID,
GRID3 TYPE REF TO CL_GUI_ALV_GRID,
GRID4 TYPE REF TO CL_GUI_ALV_GRID,
GRID5 TYPE REF TO CL_GUI_ALV_GRID.
DATA : GT_VBAK TYPE STANDARD TABLE OF VBAK,
GT_VBAP TYPE STANDARD TABLE OF VBAP,
GT_LIKP TYPE STANDARD TABLE OF likp,
GT_LIPS TYPE STANDARD TABLE OF lips,
GT_VBRK TYPE STANDARD TABLE OF vbrk,
GT_VBRP TYPE STANDARD TABLE OF vbrp,
GT_KNA1 TYPE STANDARD TABLE OF kna1.
DATA:begin of itab1 occurs 0,
vbeln type likp-VBELN,
erzet type likp-ERZET,
lfart type likp-LFART,
posnr type lips-POSNR,
END OF ITAB1.
DATA:begin of itab2 occurs 0,
vbeln like vbrk-vbeln,
posnr like vbrk-fktyp,
fkart like vbrk-fkart,
fklmg like vbrp-fklmg,
end of itab2.
*selection screen for selecting range of values
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-001.
select-options: S_vbeln for VBAK-vbeln.
selection-screen end of block b1.
CLASS lcl_eventhandler DEFINITION
CLASS lcl_eventhandler DEFINITION.
PUBLIC SECTION.
CLASS-METHODS:
handle_double_click FOR EVENT double_click OF cl_gui_alv_grid
IMPORTING
e_row
e_column
es_row_no
sender. " sending control, i.e. ALV grid that raised event
ENDCLASS. "lcl_eventhandler DEFINITION
CLASS lcl_eventhandler IMPLEMENTATION
CLASS lcl_eventhandler IMPLEMENTATION.
METHOD HANDLE_DOUBLE_CLICK.
*DEFINE LOCAL DATA.
DATA : itab_vbak type VBAK,
itab_vbap type VBAP,
itab_likp type likp,
itab_lips type lips,
itab_vbrk type vbrk,
itab_vbrp type vbrp,
itab_kna1 type kna1.
*DISTINGUISH ACCORDING TO SENDING GRID INSTANCE
CASE SENDER.
WHEN GRID1.
READ TABLE gt_VBAK INTO itab_vbak INDEX e_row-index.
CHECK ( itab_vbak-vbeln IS NOT INITIAL ).
CALL METHOD GRID1->set_current_cell_via_id
EXPORTING
is_ROW_ID =
is_COLUMN_ID =
is_row_no = es_row_no.
Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'ORDER_DETAILS' ).
WHEN GRID2.
READ TABLE gt_VBAP INTO itab_vbap INDEX e_row-index.
CHECK ( itab_vbap-vbeln IS NOT INITIAL ).
CALL METHOD GRID2->set_current_cell_via_id
EXPORTING
is_ROW_ID =
is_COLUMN_ID =
is_row_no = es_row_no.
Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'ORDER_DETAILS' ).
WHEN GRID3.
READ TABLE gt_LIPS INTO itab_LIPS INDEX e_row-index.
CHECK ( itab_lips-vgbel IS NOT INITIAL ).
CALL METHOD GRID3->set_current_cell_via_id
EXPORTING
is_ROW_ID =
is_COLUMN_ID =
is_row_no = es_row_no.
Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'DELIVERY_DETAILS' ).
WHEN GRID4.
READ TABLE gt_VBRP INTO itab_VBRP INDEX e_row-index.
CHECK ( itab_vbrp-vgbel IS NOT INITIAL ).
CALL METHOD GRID4->set_current_cell_via_id
EXPORTING
is_ROW_ID =
is_COLUMN_ID =
is_row_no = es_row_no.
Triggers PAI of the dynpro with the specified ok-code
CALL METHOD cl_gui_cfw=>set_new_ok_code( 'BILLING_DETAILS' ).
WHEN GRID5.
READ TABLE gt_KNA1 INTO itab_KNA1 INDEX e_row-index.
CHECK ( itab_kna1-kunnr IS NOT INITIAL ).
SET PARAMETER ID 'KUN' FIELD itab_KNA1-KUNNR.
CALL TRANSACTION 'MM02' AND SKIP FIRST SCREEN.
WHEN OTHERS.
RETURN.
ENDCASE.
endmethod.
endclass. "lcl_eventhandler IMPLEMENTATION
start-of-selection.
*write :/ 'FEDEX INT''''L' .
SELECT * FROM vbak INTO TABLE gt_VBAK
where vbeln IN S_VBELN.
creating docking container
create object docking
exporting
parent = cl_gui_container=>screen0
ratio = 90
exceptions
others = 6.
if sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Create splitter container
CREATE OBJECT splitter_1
EXPORTING
parent = docking
rows = 1
columns = 3
NO_AUTODEF_PROGID_DYNNR =
NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Get cell container
CALL METHOD splitter_1->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = cell_left.
CALL METHOD splitter_1->get_container
EXPORTING
row = 1
column = 2
RECEIVING
container = cell_middle.
CALL METHOD splitter_1->get_container
EXPORTING
row = 1
column = 3
RECEIVING
container = cell_right.
Create 2nd splitter container
CREATE OBJECT splitter_2
EXPORTING
parent = cell_left
rows = 2
columns = 1
NO_AUTODEF_PROGID_DYNNR =
NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Get cell container
CALL METHOD splitter_2->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = cell_top1.
CALL METHOD splitter_2->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = cell_bottom1.
Create 3rd splitter container
CREATE OBJECT splitter_3
EXPORTING
parent = cell_middle
rows = 2
columns = 1
NO_AUTODEF_PROGID_DYNNR =
NAME =
EXCEPTIONS
cntl_error = 1
cntl_system_error = 2
OTHERS = 3.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Get cell container
CALL METHOD splitter_3->get_container
EXPORTING
row = 1
column = 1
RECEIVING
container = cell_top2.
CALL METHOD splitter_3->get_container
EXPORTING
row = 2
column = 1
RECEIVING
container = cell_bottom2.
Create ALV grids
CREATE OBJECT grid1
EXPORTING
i_parent = cell_top1
EXCEPTIONS
OTHERS = 5.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT grid2
EXPORTING
i_parent = cell_bottom1
EXCEPTIONS
OTHERS = 5.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT grid3
EXPORTING
i_parent = cell_top2
EXCEPTIONS
OTHERS = 5.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT grid4
EXPORTING
i_parent = cell_bottom2
EXCEPTIONS
OTHERS = 5.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CREATE OBJECT grid5
EXPORTING
i_parent = cell_right
EXCEPTIONS
OTHERS = 5.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Set event handler
SET HANDLER: lcl_eventhandler=>handle_double_click FOR grid1.
SET HANDLER: lcl_eventhandler=>handle_double_click FOR grid2.
SET HANDLER: lcl_eventhandler=>handle_double_click FOR grid3.
SET HANDLER: lcl_eventhandler=>handle_double_click FOR grid4.
SET HANDLER: lcl_eventhandler=>handle_double_click FOR grid5.
Display data
CALL METHOD grid1->set_table_for_first_display
EXPORTING
i_structure_name = 'VBAK'
CHANGING
it_outtab = gt_VBAK
EXCEPTIONS
OTHERS = 4.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH: gt_vbap.
CALL METHOD grid2->set_table_for_first_display
EXPORTING
i_structure_name = 'VBAP'
CHANGING
it_outtab = gt_VBAP " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH: gt_LIPS.
CALL METHOD grid3->set_table_for_first_display
EXPORTING
i_structure_name = 'LIPS'
CHANGING
it_outtab = gt_LIPS " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH: gt_VBRP.
CALL METHOD grid4->set_table_for_first_display
EXPORTING
i_structure_name = 'VBRP'
CHANGING
it_outtab = gt_VBRP " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
REFRESH: gt_KNA1.
CALL METHOD grid5->set_table_for_first_display
EXPORTING
i_structure_name = 'KNA1'
CHANGING
it_outtab = gt_KNA1 " empty !!!
EXCEPTIONS
OTHERS = 4.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Link the docking container to the target dynpro
CALL METHOD docking->link
EXPORTING
repid = syst-repid
dynnr = '0100'
CONTAINER =
EXCEPTIONS
OTHERS = 4.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
NOTE: dynpro does not contain any elements (ok_code -> GD_OKCODE)
CALL SCREEN '0100'.
Flow logic of dynpro:
*PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
*PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
end-of-selection.
*& Module STATUS_0100 OUTPUT
text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'STATUS_0100'.
SET TITLEBAR 'xxx'.
Refresh display of detail ALV list
CALL METHOD grid2->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Refresh display of detail ALV list
CALL METHOD grid3->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Refresh display of detail ALV list
CALL METHOD grid4->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Refresh display of detail ALV list
CALL METHOD grid5->refresh_table_display
EXPORTING
IS_STABLE =
I_SOFT_REFRESH =
EXCEPTIONS
OTHERS = 2.
IF sy-subrc eq 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
text
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'BACK' OR
'EXIT' OR
'CANCEL'.
SET SCREEN 0.LEAVE SCREEN.
USER HAS PUSHED BUTTON "DISPLAY OREDERS"
WHEN 'ORDER_DETAILS'.
PERFORM ORDER_SHOW_DETAILS.
when 'DELIVERY_DETAILS'.
PERFORM DELIVERY_SHOW_DETAILS.
WHEN 'BILLING_DETAILS'.
PERFORM BILLING_SHOW_DETAILS.
WHEN OTHERS.
ENDCASE.
CLEAR : OK_CODE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form ORDER_SHOW_DETAILS
text
--> p1 text
<-- p2 text
FORM order_show_details .
define local data
DATA:
ld_row TYPE i,
itab_VBAK TYPE VBAK.
CALL METHOD grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_VBAK INTO itab_VBAK INDEX ld_row.
CHECK ( syst-subrc = 0 ).
SELECT * FROM KNA1 INTO TABLE gt_KNA1
WHERE KUNNR = itab_VBAK-KUNNR.
SELECT * FROM VBAP INTO TABLE gt_VBAP
WHERE VBELN = ITAB_VBAK-VBELN.
*REFRESH: gt_LIPS.
ENDFORM. " ORDER_SHOW_DETAILS
*& Form DELIVERY_SHOW_DETAILS
text
--> p1 text
<-- p2 text
FORM DELIVERY_SHOW_DETAILS .
define local data
DATA:
ld_row TYPE i,
itab_VBAP TYPE VBAP.
CALL METHOD grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_VBAP INTO itab_VBAP INDEX ld_row.
CHECK ( syst-subrc = 0 ).
SELECT LIKPVBELN LIKPERZET LIKPLFART LIPSVBELN
INTO CORRESPONDING FIELDS OF TABLE ITAB1
FROM ( LIKP INNER JOIN LIPS ON LIKPVBELN = LIPSVBELN )
WHERE LIKP~VBELN IN S_VBELN.
*REFRESH: gt_LIPS.
ENDFORM. " DELIVERY_SHOW_DETAILS
*& Form BILLING_SHOW_DETAILS
text
--> p1 text
<-- p2 text
FORM BILLING_SHOW_DETAILS .
define local data
DATA:
ld_row TYPE i,
itab_LIPS TYPE LIPS.
CALL METHOD grid1->get_current_cell
IMPORTING
e_row = ld_row.
READ TABLE gt_LIPS INTO itab_LIPS INDEX ld_row.
CHECK ( syst-subrc = 0 ).
SELECT VBRKVBELN VBRKFKTYP VBRKFKART VBRPFKLMG
INTO CORRESPONDING FIELDS OF TABLE ITAB2
FROM ( VBRK INNER JOIN VBRP ON VBRKVBELN = VBRPVBELN )
WHERE VBRK~VBELN IN S_VBELN.
ENDFORM. " BILLING_SHOW_DETAILSHi,
ALV means ABAP List Viewer. Most convenient way to use it is through reuse library (cf.
transaction se83) available from release 4.6 of SAP R/3.
ALV is available in two modes: list and grid. List mode is good old list processing with
standard functionnalities, and grid mode is using a new OCX object displaying grids.
Classical reports needs more coding to set the horizontal and vertical lines.we need to adjust
the lines manually.Even interactive also takes lot of code.
ALV reports reduces the code when compared to classical reports.we use function modules to
generate the output.
that r REUSE_ALV_LIST_DISPLAY,REUSE_ALV_GRID_DISPLAY,REUSE_ALV_HIERSEQ_LIST_DISPLAY etc..
the following threads will give some examples of the functions which you are expecting
Header
regarding function module
hide ALV field
Simply Display selection parameter values in the ALV OUTPUT
Drag and drop in a report
https://www.sdn.sap
Reprots
http://www.sapgenie.com/abap/reports.htm
http://www.allsaplinks.com/material.html
http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
ALV
1. Please give me general info on ALV.
http://www.sapfans.com/forums/viewtopic.php?t=58286
http://www.sapfans.com/forums/viewtopic.php?t=76490
http://www.sapfans.com/forums/viewtopic.php?t=20591
http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you
use - ABAP Objects calls or simple function modules. -
Report for Partnership hierarchy
Hi,
I would like to know if there is a way to show the partners of a partner into a report. I'm able to show for each Account name which are the names of the partners for that account, I'm interested to reiterate such information in order to have the partnership hierarchy into a report. Is it feasible?
Thank you
IvanoI opened a SR to Oracle Support, here below the official answer:
"It is not possible to build a report this way. At max you can have only two level of hierarchy in reports like Account and its child." -
Hi Guru,
Please suggest me the reports that details of equipment istalled in each plant and if maintenance item attached to them.
Thanks in advance
JayeshDear Jayesh,
Use the reports IE05 and IE06,but you have to go the individual equipment to identify the list of items to check the assignment of
items.
Check and revert
Regards
S Mangalraj -
Report for equipment list with asset number
Hi
I want report where i can get equipment number with asset number. I hecked information system. But id din't gotFollow these steps in the IH08 ALV screen (Output)
- Press Ctrl+F8
- In the pop-up, select Asset field from the Right hand side menu (Column Set) and bring it to Left hand side menu (Displyed Columns) by clicking on the arrow towards left.
- Arrange the position of the field Asset next to the Equipment field (as you desire) by upward/downward arrows.
- Press Enter
Now your Asset column is seen at the place you have arranged.
Regards
Jogeswara Rao -
Report for equipment with Asset number
Hi
I want report where i can get equipment number with asset number. I hecked information system. But id din't gotUse Transaction IE05 - it is a Standard PM Module report that has Equipment number and Asset Number.
Maybe you are looking for
-
[SOLVED] Initramfs fails to properly mount luks partition
Hello All, As I foreshadowed in my intro, I'm having trouble getting encrypted Archlinux to work on my Acer Aspire 5750. I've previously had encrypted Debian Netinst and encrypted Aptosid working on this device. The arch iso I'm using is 2011.08.19-c
-
Cannot edit PDFs with Acrobat 9.5.4
I have over the last year been receiving PDF files from a lawfirm in NY which have no security on them, yet I cannot edit them. All edit fuctions are greyed out. The solution thus far has been to edit them using PDF Converter Professional, but I wo
-
I'm looking for a new wireless router, since the when I have is extremely old and cannot handle all te bandwitdh in my house. I need a router that can handle 3 computers, a XBox and my phone. My price range is anything from $50-$150 and nothing above
-
Hi Guys, I am getting following error while I am accessing Reporting Iview in MSS. Any help? Thanks in advance bye Raj Failed to process request. Please contact your system administrator. [Hide] Error Summary While processing the current request, an
-
Express Update terminated was by author in MIGO(RV_MESSAGE_UPDATE)
Hi All, I have issue like When we go to migo transaction code for goods receipt click on post button message shown 'document posted successfully' when we back to transaction code message shown like 'Express document update was terminated by author' d