Business Graph Giving Dump.
Hello Experts,
I want to display some data in Business Graph . So i add the UI element in the view also created some node and attributes and bind it with the business graph properties (but not yet do any coding for fetching the data ). But after that while i am trying to run the application its giving me dump. The details of the dump is given below.
The following error text was processed in the system R3D : Exception condition "COMMUNICATION_ERROR" raised.
The error occurred on the application server AUSR3DEVDC02_R3D_00 and in the work process 4 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: EXECUTE of program CL_IGS_CHART_ENGINE===========CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/CBUSINESS_GRAPHICS======CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C7STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP
Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C7STANDARD==============CP
Please advice if i missed something.
Thanks In Advance.
Satya
Have you checked the [Note 454042 - IGS: Installing and Configuring the IGS|https://websmp104.sap-ag.de/LOGIN]?
Also check the Thread [Exception Analysis|Re: /sap/bc/webdynpro/sap/ags_workcenter was not called due to an error; having same type of issue.
Similar Messages
-
FM ARCHIVE_SCHEDULE_JOB giving dump as background job?
Hello Everyone,
I am scheduling a report in SM37 which consists of FM ARCHIVE_SCHEDULE_JOB.
And based on the output of FM, some Ztables are updated and some jobs are created in sm37.
Now, when i debugged the background job, i found out that Fm is giving Dump 'NO_RUNTIME_INFO' since sy-batch is not initial.
Due to which Ztables are not updated but the jobs are created....
Can anyone please help me what should i do on this case?
Edited by: Suruchi Razdan on Jun 2, 2011 9:45 AMHi Akshay,
II have copied the Std workflow WS20000075 into a custom one and in the latest end tab, i have selected "Workitem creaton" for Refer Date/Time field and given 5 mins. I have deactivated the workflow in which i have created the containers for date and time and used "Expresion" for latest end and also commented the zmethod in delegated object. Even now also the job is getting cancelled with the same error.
Any idea why is it happening ?
regards,
Trimurty -
While Creating Implicit enhancement system is giving dump
Hello All,
I am enhanceing standard code with the help of implicit enhancement.. I have done successfully in one system but when i try to do it in other system it is giving me short dump.. And the dump also didn't give any information..
I am working on ECC 6.0 and i assume we can use implicit enhancement points...
Kindly let me know why i am getting dump..
This is what dump says..
The exception 'CX_SY_MESSAGE_ILLEGAL_TEXT' was raised, but it was not caught
anywhere along
the call hierarchy.
What happened?
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_MESSAGE_HELPER=============CP' has to be
terminated.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_MESSAGE_ILLEGAL_TEXT', was not
caught in
procedure "ACTION" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
The text parameter in MESSAGE cannot be an initial reference
METHOD set_msg_vars_for_if_t100_msg.
IF text IS INITIAL.
RAISE EXCEPTION TYPE cx_sy_message_illegal_text
EXPORTING textid = cx_sy_message_illegal_text=>initial_ref.
ENDIF.
Thanks all for your help.
Regards,
RajHi,
This is for SE16N transaction code.. Even i tried in SE38 for a custom program but still giving dump..
So this is not an issue with particular transaction but somehow getting dump ..I doono if there is any OSS notes to be implemented...
Regards,
Raj -
Transaction CU72 is giving dump
Hi,
Transaction CU72 is giving dump in Ecc5.0 where its working in 4.6b.we r upgrading from 4.6b to Ecc5.0.
The call to the function module "CTCV_TRANSLATE_TO_USER_MASK" is incorrect:
The function module interface allows you to specify only fields of a particular type under "IV_DEC_SEP".The field "DECIMALPOINT" specified here is a different field type
Thanks and Regardswhats the type of DECIMALPOINT, it has to be char1. if its still giving problem declare like below.
data: DECIMALPOINT type SYCHAR01 .
Regards
Raja -
Issue in Business graph with 3 dimension
Hi All,
I am facing an issue in displaying the business graph-Three dimensional using WD abap.
I have defined only one series and the series values are defined(2 series with 2 colors) in the XML and this was set to graph property customizing.
I am able to see the graph but each stacked column of the category in the graph is having X series colur even there is no value defined.
And on top of each stacked column category i am getting same X series color.
I dont want to show this color on top of every category and if there is no series defined it should not give X series color.
Please provide your inputs on this.If any one faced this kind of problem.
Regards,
Lavanya.GHi Bilal,
So the Sales_Value rule runs regardless of what rule you attach to the form?
How are you running the rule? Run on Save, or through a right click menu? Just by clicking the rule on the left?
Can you confirm that:
In the Administer Forms and Ad Hoc Grids screen, the "Production_Quantity" rule id definitely attached and that in the Properties tab, you have the correct box ticked for that rule (e.g. Run on Save etc).
Can you also make sure that the "Sales_Value" rule is NOT present in the form in the same screen?
Do you get the same results when you run via Smart View?
Have you deployed the application since you changed the form/Added the rule to the Form? -
Dynamic data select from table is giving dump
Hello Experts,
Below statement is giving Dump after it move all the data in my dynamic table.
When i see in debug. All my recored are avilable in <T_TAB> Table.
SELECT * FROM (pa_tab) INTO CORRESPONDING FIELDS OF TABLE <T_TAB>.
> IF SY-SUBRC = 0.
Information on where terminated
The termination occurred in the ABAP program "ZFIR_ZTABLE_UPLOAD" in
"F_DOWNLOAD".
The main program was "ZFIR_ZTABLE_UPLOAD ".
The termination occurred in line 403 of the source code of the (Include)
program "ZFIR_ZTABLE_UPLOAD"
of the source code of program "ZFIR_ZTABLE_UPLOAD" (when calling the editor
4030).
Processing was terminated because the exception "CX_SY_OPEN_SQL_DB" occurred in
the
procedure "F_DOWNLOAD" "(FORM)" but was not handled locally, not declared in
the
RAISING clause of the procedure.
The procedure is in the program "ZFIR_ZTABLE_UPLOAD ". Its source code starts
in line 399
of the (Include) program "ZFIR_ZTABLE_UPLOAD ".
please help me.
Regards,
Amit
Message was edited by:
Amit GuptaHi Amit,
Check if you are doing the following in your program
FIELD-SYMBOLS <T_TAB> TYPE STANDARD TABLE.
DATA: g_tabref type ref to data. "Reference to your table structure
CREATE DATA g_tabref type standard table of (pa_tab).
ASSIGN g_tabref->* to <T_TAB>.
SELECT * FROM (PA_TAB) INTO TABLE <T_TAB>.
Hope this solves your problem.
Let me know if you require any further info.
Enjoy SAP. Reward points of useful
Rajasekhar -
Report (uses LDB's) giving dump due to memory problem
Hi,
I have a report which is giving dump in production due to memory problem.
Memory is increased from basis part,but still getting same error.
the report uses Logical DataBases.
Can anyone suggest solution to solve this problem.
regards
MallikHi Amit,
thanks for ur quick reply and ur idea "make changes in development and write the logic to read records in chunks".
I have n't worked on LDB's till now.So i Don't know how I can read the data in chunks from LDB's.
Can u Plz give some idea how to read data in chunks.
Iam also sending the code,if possible ,plz go thru it and give me some idea.
Hope u will help me.
CODE.
REPORT ZAROP028
ABLES: PROJ, " Project definition
PRPS_R, " WBS element
PRPS, " WBS elements
TJ02T, " System Status Values
TCJ1, " Project Types
JEST, " Active System Status
COSP1, " cost totals - external postings
COSS1, " cost totals - internal postings
COVP11, " Line Items by Prd & Doc Header
COVP12, " Line Items by Prd & Doc Header
BHDGD, " Page heading table.
AUFK, " Order Master Data for WBS (LDB)
ANEP, " Asset line item
COBRB, "Distribution Rules Settlement Ru
SETHIER, "Hierarchy Structure
TKA02, "Controlling Area Assignment
CEPC, "Profit Center Master Data
PSDYPD, "Dummy struct for GET proj late
PSDYPR, "Dummy struct for GET PRPS_R late
PSDYNP. "Dummy struct for GET AUFK late
CONSTANTS:
C_E TYPE C VALUE 'E',
C_I TYPE C VALUE 'I',
C_N TYPE C VALUE 'N',
C_X TYPE C VALUE 'X',
C_Y TYPE C VALUE 'Y',
C_NE(2) TYPE C VALUE 'NE',
C_EQ(2) TYPE C VALUE 'EQ',
C_USD(3) TYPE C VALUE 'USD',
C_04(2) TYPE C VALUE '04',
C_I0046(5) TYPE C VALUE 'I0046'
various working storage
DATA:
W_TXT04(4) TYPE C. " make status uppercase
DATA: ACTIVE(1) TYPE C VALUE 'A', " type for status_flag
INACTIVE(1) TYPE C VALUE 'I', " type for status_flag
STATUS_FLAG(1) TYPE C VALUE 'I', " wbs active or inactive?
INACTIVEDT LIKE SY-DATUM, " inactive date for wbs
REC_FLAG TYPE C VALUE 'N', " records retrieved?
DAYS_INACTIVE TYPE I, " days wbs has been inac
W_LOWINACT TYPE I, " smallest inactive days
WBS_CNT TYPE I, " cnt for wbs in status
W_AUC_COST TYPE P DECIMALS 2, " unsettled auc cost
W_VNAME LIKE PRPS_R-VNAME. " venture number storage
DATA: BEGIN OF ITAB OCCURS 0, "MELI-5F2KMH
COMPCODE LIKE PROJ-VBUKR, " company code
PLANT LIKE PROJ-WERKS, " plant
PROJECT LIKE PROJ-PSPID, " project
NAME LIKE PROJ-POST1, " project description
DINACT TYPE I, " days proj inactive
PRCTR LIKE PROJ-PRCTR, " profit center
SETID LIKE SETHIER-SETID, " level 2 pc hier
DESCRIPT LIKE SETHEADERT-DESCRIPT,
VERNA LIKE PROJ-VERNA, " person responsible
AUC TYPE P DECIMALS 2, " AUC unsettled amount
END OF ITAB.
DATA: BEGIN OF I_INACT OCCURS 0,
STAT LIKE JEST-STAT,
INACT LIKE JEST-INACT,
END OF I_INACT.
DATA: EQ_FLAG TYPE C, " system status flag
NE_FLAG TYPE C. " system status flag
TYPES: BEGIN OF T_COSTS,
PSPID LIKE PROJ-PSPID,
BUDAT LIKE COVP11-BUDAT,
END OF T_COSTS.
DATA: I_PROJ LIKE PROJ OCCURS 0 WITH HEADER LINE,
I_PRPS_R LIKE PRPS_R OCCURS 0 WITH HEADER LINE,
I_COSTS TYPE T_COSTS OCCURS 0 WITH HEADER LINE.
DATA: W_RECORDS TYPE I.
DATA: FOUND_FLAG TYPE C. " CHAD-4PRPDE
DATA: BEGIN OF I_HIER OCCURS 0. "FEAT-5BNRRP
INCLUDE STRUCTURE SETHIER. "FEAT-5BNRRP
DATA: END OF I_HIER. "FEAT-5BNRRP
RANGES: R_TJ02T FOR TJ02T-ISTAT.
DATA: W_LVL2 LIKE SETHIER-SETID. "MELI-5F2KMH
SELECTION-SCREEN BEGIN OF BLOCK PROJECT WITH FRAME TITLE TEXT-B01.
PARAMETERS: P_BUDAT LIKE COVP11-BUDAT,
DAYINACT(3) TYPE N DEFAULT '090'.
SELECTION-SCREEN SKIP. "FEAT-5BNRRP
PARAMETERS: P_PC-SET LIKE CEPC-KHINR OBLIGATORY "FEAT-5BNRRP
DEFAULT 'SCH_STREAM'. "FEAT-5BNRRP
SELECTION-SCREEN END OF BLOCK PROJECT.
SELECTION-SCREEN BEGIN OF BLOCK SORT WITH FRAME TITLE TEXT-B02.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(13) TEXT-C01.
SELECTION-SCREEN POSITION 15.
PARAMETERS: P_PLANT RADIOBUTTON GROUP SORT DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(13) TEXT-C03. "FEAT-5BNRRP
SELECTION-SCREEN POSITION 15.
PARAMETERS: P_PRCTR RADIOBUTTON GROUP SORT. "FEAT-5BNRRP
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(13) TEXT-C04.
SELECTION-SCREEN POSITION 15.
PARAMETERS: P_DAYS RADIOBUTTON GROUP SORT.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK SORT.
AT SELECTION-SCREEN OUTPUT.
PERFORM USER_PARM_INIT.
AT SELECTION-SCREEN.
PERFORM CHECK_PROJ_CRITERIA.
START-OF-SELECTION.
PERFORM BUILD_PC_HIER USING P_PC-SET.
Project Definition *
GET PROJ.
MOVE-CORRESPONDING PROJ TO I_PROJ. "MELI-5F2KMH
APPEND I_PROJ. "MELI-5F2KMH
CLEAR I_PROJ.
WBS element table
GET PRPS_R.
MOVE-CORRESPONDING PRPS_R TO I_PRPS_R.
APPEND I_PRPS_R.
CLEAR I_PRPS_R.
GET all order and cost objects associated with order and elements
GET AUFK.
GET COSP1.
CHECK COSP1-WRTTP EQ C_04. " check if value type '04'
Get last date that the wbselement was updated and determine status
GET COVP11.
MOVE PROJ-PSPID TO I_COSTS-PSPID.
MOVE COVP11-BUDAT TO I_COSTS-BUDAT.
APPEND I_COSTS.
CLEAR I_COSTS.
Loop through Internal cost statements
GET COSS1.
CHECK COSS1-WRTTP EQ C_04. " if value type is 04
Get last date that the wbselement was updated and determine status
GET COVP12.
MOVE PROJ-PSPID TO I_COSTS-PSPID.
MOVE COVP12-BUDAT TO I_COSTS-BUDAT.
APPEND I_COSTS.
CLEAR I_COSTS.
END-OF-SELECTION.
PERFORM BUILD_TABLE.
DELETE ITAB WHERE DINACT < DAYINACT.
DESCRIBE TABLE ITAB LINES W_RECORDS.
IF W_RECORDS = 0.
MESSAGE I024.
ENDIF.
PERFORM WRITE_REPORT.
FORM CHECK_PROJ_CRITERIA *
This form verifies correct selection criteria has been entered from *
the selection screen inputs. If incorrect data has been entered the*
valid information messages are displayed. *
FORM CHECK_PROJ_CRITERIA.
check for either posting date or inactivity criteria but not both
IF NOT P_BUDAT IS INITIAL AND NOT DAYINACT IS INITIAL.
MESSAGE E119.
ENDIF.
IF NOT DAYINACT IS INITIAL. "check s/o day inactive
IF NOT DAYINACT <= 998.
MESSAGE E018.
ELSE.
INACTIVEDT = SY-DATUM - DAYINACT.
ENDIF.
if days inactive is initial set INACTIVEDT using the posting date
ELSE.
INACTIVEDT = P_BUDAT.
ENDIF.
ENDFORM. " CHECK_PROJ_CRITERIA
FORM GET_AUC_COSTS *
This form retrieves AUC costs for records based on AUFK2 where they *
meet project criteria. This pulls the unsettled amount on a AUC as *
a settlement receiver. *
FORM GET_AUC_COSTS USING F_OBJNR F_BUKRS.
CONSTANTS:
C_SETLEMENT_ANNUAL LIKE COBRB-PERBZ VALUE 'JHR', "Annual Settlement
C_DEP_AREA_STD LIKE ANEP-AFABE VALUE '01'. "Std depreciation
DATA: L_ANLC LIKE ANLC OCCURS 0 WITH HEADER LINE,
L_ANLCV LIKE ANLCV OCCURS 0 WITH HEADER LINE,
BEGIN OF L_COBRB OCCURS 0, "SRIN-6ZNEAR
ANLN1 LIKE COBRB-ANLN1,
ANLN2 LIKE COBRB-ANLN2,
END OF L_COBRB,
F_H_COST TYPE P DECIMALS 2.
SELECT ANLN1 ANLN2 FROM COBRB
INTO TABLE L_COBRB " SRIN-6ZNEAR
WHERE OBJNR = F_OBJNR
AND PERBZ = C_SETLEMENT_ANNUAL.
IF SY-SUBRC NE 0. " gary-463qbd
EXIT. " gary-463qbd
ENDIF. " gary-463qbd
LOOP AT L_COBRB. " gary-463qbd
CLEAR: F_H_COST.
SELECT SINGLE * FROM ANLC
INTO L_ANLC
WHERE BUKRS = F_BUKRS AND
ANLN1 = L_COBRB-ANLN1 AND
ANLN2 = L_COBRB-ANLN2 AND
GJAHR = SY-DATUM(4) AND
AFABE = C_DEP_AREA_STD AND
ZUJHR = '0000' AND
ZUCOD = '0000'.
IF SY-SUBRC = 0.
CALL FUNCTION 'FI_AA_VALUES_CALCULATE'
EXPORTING
I_ANLC = L_ANLC
IMPORTING
E_ANLCV = L_ANLCV.
F_H_COST = L_ANLCV-BCHWRT_LFD.
ENDIF.
ADD: F_H_COST TO W_AUC_COST.
ENDLOOP. " gary-463qbd
ENDFORM. " GET_AUC_COSTS
FORM CHECK_INACTIVE_DATE *
This form checks the computed inactive date based on the formal *
parameter DAYS_INACTIVE. If DAYS_INACTIVE is more current than the *
current lowest inactive date W_LOWINACT then W_LOWINACT is replaced *
with this value. *
FORM CHECK_INACTIVE_DATE USING DAYS_INACTIVE.
IF DAYS_INACTIVE < W_LOWINACT.
MOVE DAYS_INACTIVE TO W_LOWINACT.
ELSEIF W_LOWINACT EQ 0.
MOVE: DAYS_INACTIVE TO W_LOWINACT,
W_LOWINACT TO ITAB-DINACT.
ENDIF.
ENDFORM. " CHECK_INACTIVE_DATE
FORM build_table *
collect fields to the internal table ITAB *
FORM BUILD_TABLE.
SORT I_COSTS BY PSPID ASCENDING BUDAT DESCENDING.
LOOP AT I_PROJ.
CLEAR W_AUC_COST.
READ TABLE I_COSTS WITH KEY PSPID = I_PROJ-PSPID
BINARY SEARCH.
IF SY-SUBRC = 0.
ITAB-DINACT = SY-DATUM - I_COSTS-BUDAT.
ELSE.
ITAB-DINACT = SY-DATUM - I_PROJ-ERDAT.
ENDIF.
LOOP AT I_PRPS_R WHERE PSPHI = I_PROJ-PSPNR AND
BELKZ = 'X'.
IF NOT I_PRPS_R-IMPRF IS INITIAL.
PERFORM GET_AUC_COSTS USING I_PRPS_R-OBJNR
I_PRPS_R-PBUKR.
ELSE.
CONTINUE.
ENDIF.
ENDLOOP.
ITAB-COMPCODE = I_PROJ-VBUKR.
ITAB-PLANT = I_PROJ-WERKS.
ITAB-PROJECT = I_PROJ-PSPID.
ITAB-NAME = I_PROJ-POST1.
ITAB-PRCTR = I_PROJ-PRCTR.
ITAB-VERNA = I_PROJ-VERNA.
ITAB-AUC = W_AUC_COST.
IF ITAB-DINACT > DAYINACT.
PERFORM GET_HIER_INFO.
ENDIF.
APPEND ITAB.
CLEAR ITAB.
ENDLOOP.
ENDFORM. " BUILD_TABLE
FORM STATUS_CHECK *
Checks the active status of the project definition for the *
parameter values assigned. *
FORM STATUS_CHECK USING F_OBJNR.
begin of GARY-463QBD
CLEAR: I_INACT.
REFRESH: I_INACT.
MOVE: C_N TO EQ_FLAG,
C_Y TO NE_FLAG.
retrieve status for a given record
SELECT STAT INACT
INTO TABLE I_INACT
FROM JEST
WHERE OBJNR EQ F_OBJNR AND
INACT NE C_X.
sort internal status entered by user
SORT R_TJ02T BY OPTION DESCENDING.
check all current object statuses meet user entered criteria
LOOP AT R_TJ02T WHERE OPTION EQ C_NE.
check for user selected options
READ TABLE I_INACT WITH KEY STAT = R_TJ02T-LOW.
IF SY-SUBRC EQ 0.
MOVE C_N TO NE_FLAG.
EXIT.
ENDIF.
ENDLOOP.
LOOP AT R_TJ02T WHERE OPTION EQ C_EQ.
check for user selected options
READ TABLE I_INACT WITH KEY STAT = R_TJ02T-LOW.
IF SY-SUBRC EQ 0.
MOVE C_Y TO EQ_FLAG.
EXIT.
ENDIF.
ENDLOOP.
check for no statuses entered as EQ option
LOOP AT R_TJ02T WHERE OPTION EQ C_EQ.
EXIT.
ENDLOOP.
if so move c_y to eq_flag
IF SY-SUBRC NE 0.
MOVE C_Y TO EQ_FLAG.
ENDIF.
if both eq_flag or ne_flag are true(c_y) move true to valid_flag
IF ( EQ_FLAG EQ C_N OR
NE_FLAG EQ C_N ).
REJECT 'PRPS_R'.
ENDIF.
end of GARY-463QBD
ENDFORM. " STATUS_CHECK
Form WRITE_REPORT
FORM WRITE_REPORT.
IF P_PLANT EQ 'X'.
SORT ASCENDING BY ITAB-BUSAREA "FEAT-5BNRRP
SORT ITAB ASCENDING BY PLANT
PROJECT.
ELSEIF P_PRCTR EQ 'X'.
SORT ITAB ASCENDING BY PRCTR "FEAT-5BNRRP
PROJECT.
ELSE.
SORT ITAB ASCENDING BY DINACT
PROJECT.
ENDIF.
FORMAT COLOR COL_BACKGROUND INTENSIFIED ON.
"MELI-5F2KMH
LOOP AT ITAB. "MELI-5F2KMH
WRITE: / ITAB-COMPCODE,
9(4) ITAB-PLANT,
17(12) ITAB-SETID,
33(40) ITAB-DESCRIPT,
77(10) ITAB-PRCTR,
91(24) ITAB-PROJECT,
119(40) ITAB-NAME,
163(25) ITAB-VERNA,
192(15) ITAB-AUC CURRENCY C_USD,
211(8) ITAB-DINACT.
ENDLOOP.
ENDFORM. " WRITE_REPORT
Form USER_PARM_INIT
Initializes user parameter settings
FORM USER_PARM_INIT.
ENDFORM. " USER_PARM_INIT
At top of every page, generate Amoco-standard header.
TOP-OF-PAGE.
MOVE: '0' TO BHDGD-INIFL,
SY-LINSZ TO BHDGD-LINES,
SY-UNAME TO BHDGD-UNAME,
SY-REPID TO BHDGD-REPID,
SY-TITLE TO BHDGD-LINE1,
SPACE TO BHDGD-DOMAI,
SPACE TO BHDGD-SEPAR,
SPACE TO BHDGD-MIFFL.
IF P_PLANT EQ 'X'.
MOVE TEXT-H01 TO BHDGD-LINE2.
ELSE.
MOVE TEXT-H03 TO BHDGD-LINE2. "FEAT-5BNRRP
ENDIF.
temporarily clear sy-mandt to remove "europe" from header "FEAT-5BNRRP
DATA: W_MANDT LIKE SY-MANDT.
BHDGD-BUKRS = SPACE.
W_MANDT = SY-MANDT.
CLEAR SY-MANDT.
FORMAT COLOR COL_BACKGROUND INTENSIFIED OFF.
PERFORM BATCH-HEADING(RSBTCHH0).
FORMAT RESET.
reset sy-mandt "FEAT-5BNRRP
SY-MANDT = W_MANDT.
PERFORM PGH_WRITE_HEADING USING TEXT-003 INACTIVEDT. "MELI-5F2KMH
SKIP 1.
ULINE.
write heading info
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE: /1(5)'CCode',
9(5)'Plant',
17(12)'Level 2 Node',
33(40)'Level 2 Node Description',
77(10)'Profit Ctr',
91(18)'Project Definition',
119(19)'Project Description',
163(18)'Person Responsible',
192(15)' AUC Unsettled',
211(13)'Days Inactive'.
end FEAT-5BNRRP
BEGIN FEAT-5BNRRP NEW FORMS
FORM BUILD_PC_HIER
FORM BUILD_PC_HIER USING SETID.
DATA: W_SETID LIKE SETHIER-SETID,
W_NEWSETID LIKE SETHIER-SETID.
CONCATENATE '0H' SETID INTO W_SETID.
CALL FUNCTION 'G_SET_GET_ID_FROM_NAME'
EXPORTING
SHORTNAME = W_SETID
TABNAME = 'GLPCT'
SETCLASS = '0106'
SUPRESS_POPUP = 'X'
OLD_SETID = W_NEWSETID
IMPORTING
NEW_SETID = W_NEWSETID.
CALL FUNCTION 'G_SET_TREE_IMPORT'
EXPORTING
CLIENT = SY-MANDT
LANGU = SY-LANGU
SETID = W_NEWSETID
TABNAME = 'GLPCT'
TABLES
SET_HIERARCHY = I_HIER
EXCEPTIONS
SET_NOT_FOUND = 1
ILLEGAL_FIELD_REPLACEMENT = 2
ILLEGAL_TABLE_REPLACEMENT = 3
OTHERS = 4.
CLEAR I_HIER.
ENDFORM.
FORM GET_HIER_INFO
FORM GET_HIER_INFO.
DATA: W_SETID LIKE SETHIER-SETID,
W_KHINR LIKE CEPC-KHINR,
W_INDEX TYPE I.
CLEAR: W_SETID,
W_KHINR,
W_INDEX.
DETERMINE PROFIT CENTER NODE
SELECT SINGLE KHINR
FROM CEPC
INTO W_KHINR
WHERE PRCTR EQ ITAB-PRCTR.
CONCATENATE '0106' I_PROJ-VKOKR W_KHINR
INTO W_SETID.
READ TABLE I_HIER WITH KEY
SETID = W_SETID.
IF SY-SUBRC EQ 0.
W_INDEX = SY-TABIX.
DO.
READ TABLE I_HIER INDEX W_INDEX.
IF W_INDEX = 0.
ITAB-SETID = 'Not Found'.
EXIT.
ENDIF.
IF I_HIER-LEVEL = 1.
ITAB-SETID = I_HIER-SETID+8(12).
ITAB-DESCRIPT = I_HIER-DESCRIPT.
EXIT.
ENDIF.
IF I_HIER-LEVEL = 2.
ITAB-SETID = I_HIER-SETID+8(12).
ITAB-DESCRIPT = I_HIER-DESCRIPT.
EXIT.
ENDIF.
W_INDEX = W_INDEX - 1.
ENDDO.
ELSE.
ITAB-SETID = 'Not Found'.
ENDIF.
ENDFORM.
END FEAT-5BNRRP NEW FORMS
*& Form PGH_WRITE_HEADING WR MELI-5F2KMH
FORM PGH_WRITE_HEADING USING L_V1 L_V2.
DATA: L_LINSZ LIKE SY-LINSZ.
DATA: L_TITLEL LIKE SY-TABIX.
DATA: L_START LIKE SY-TABIX.
DATA: L_DATE LIKE SY-DATUM.
DATA: L_FORMATTED_DATE(10) TYPE C.
DATA: L_TITLE(27) TYPE C.
MOVE L_V2 TO L_DATE.
WRITE L_DATE TO L_FORMATTED_DATE.
CONCATENATE L_V1 L_FORMATTED_DATE INTO L_TITLE
SEPARATED BY SPACE.
L_LINSZ = SY-LINSZ.
L_TITLEL = STRLEN( L_TITLE ).
L_START = ( L_LINSZ / 2 ) - ( L_TITLEL / 2 ) - 2.
NEW-LINE.
POSITION L_START.
WRITE: L_TITLE.
regards
Mallik -
Tooltip for each series of Business Graph in webdynpro
Hi Experts,
Here In the Business Graph of webdynpro, on x-axis am taking sales order&corresponding purchase orders on each day
and in the y-axis am taking Prices...Iam able to display successfully,Here the requirement is whenever the user place on
the peak point of the column(or tooltip of each series or at edge of the column either it is purchase order or sales order).We need to maintain
the sales order amount(if the column is sales order) or purchase order amount(if the column is purchse order)....
anyone could suggest me suitable solution for this...thanks in advance....OK! Its done! The solution does not help exact, but it gives my the way! With the coordinates of the MouseEvent I can get the Value of the current table row and set the ToolTip text new. Teh ToolTipManager automatically repaints the ToolTip whit the new text and position.
-
Office 2007 Attachments giving dump"Buffer table not up to date" in SOCO
Hi SRM Experts,
We have came across a strange issue. DOCX & XLSX doc type attachments are giving a dump " Buffer Table not up to the date" when the Buyer in SOCO press the button "Add to the work area".
This is coming only when there is some SPECIAL CHARACTER used in the description of the attachment e.g. _, -, . / etc etc.
The other attachment types are working fine. i.e. PDF or Doc with NO special characters used in the description are giving NO errors t
IS there any special OSS note for this?
I have already configured all the config settings in DC10, DC20 & DC 30.
Please help us out in this.
Regards,
Varun.Hi Muthu,
Thanks for the help.. But here the problem is not with extension only.
The problem is if there is a special character in the attachment description in Office 2007 doc types like XLSX, DOCX then and then only it is giving dump.
I tested without special characters in description with DOCX file it is working fine.
Please help out as this is becoming serious issue now.
Regards,
Varun -
Using NAST WITH DATE RANGE THE ZPROGRAM GIVING DUMP
Hi Frineds,
i am writing select query from NAST table for PO created time based on date range more than 10 days the program is giving DUMP in Quality System.. but in Developement system the dump is not coming for same date range.
please see the below code......that i ahve written. help me.
IF SY-SUBRC EQ 0.
SELECT KAPPL
OBJKY
KSCHL
SPRAS
ERDAT
ERUHR
FROM NAST
INTO TABLE IT_NAST
WHERE KAPPL = 'EF' AND
OBJKY IN R_OBJKY AND
KSCHL IN S_KSCHL
AND ERDAT IN S_DATE
AND ERUHR IN S_ERUHR.
SORT IT_NAST BY OBJKY.
DELETE ADJACENT DUPLICATES FROM IT_NAST COMPARING OBJKY.
ENDIF.
ENDIF.
regards,
Vijay
Edited by: Rob Burbank on Jan 21, 2010 12:42 PMHi,
thanks for your mail..
the dump message
There is no help text for this dump
Either the text was inadvertently deleted or the release of
the kernel differs from the release of the database
Refer to the Note system for further information on this dump.
Regards,
Vijay -
Problem in Business Graph - no chart in my graph
Hi ,
I have tried a scenario on Business Graph as per the below link.
http://****************/Tutorials/WebDynproABAP/Graphics/page4.htm
i am getting the values in table ,but there was no any chart inside my graph , whereas i can see the values along x - axis.
following is the code i have used.
METHOD ONACTIONGET_EMP_DETAILS .
WD_THIS->FIRE_TO_ALV_TABLE_PLG( ).
DATA LO_ND_EMPLOYEE TYPE REF TO IF_WD_CONTEXT_NODE.
DATA LO_EL_EMPLOYEE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
DATA LT_EMPLOYEE TYPE WD_THIS->ELEMENTS_EMP_DETAILS.
DATA LS_EMPLOYEE TYPE WD_THIS->ELEMENT_EMP_DETAILS.
navigate from <CONTEXT> to <EMPLOYEE> via lead selection
LO_ND_EMPLOYEE = WD_CONTEXT->GET_CHILD_NODE('EMP_DETAILS').
DATA LO_EL_CONTEXT TYPE REF TO IF_WD_CONTEXT_ELEMENT.
DATA LS_CONTEXT TYPE WD_THIS->ELEMENT_CONTEXT.
DATA LV_EMP_NO LIKE LS_CONTEXT-EMP_NO.
DATA LV_NUM TYPE I.
get element via lead selection
LO_EL_CONTEXT = WD_CONTEXT->GET_ELEMENT( ).
get single attribute
LO_EL_CONTEXT->GET_ATTRIBUTE(
EXPORTING
NAME = `EMP_NO`
IMPORTING
VALUE = LV_EMP_NO ).
SELECT ZASSIGNCOMP BEGDA ENDDA INTO CORRESPONDING FIELDS OF TABLE
LT_EMPLOYEE FROM PA9030 WHERE PERNR EQ LV_EMP_NO." AND ENDDA EQ '99991013'.
DESCRIBE TABLE LT_EMPLOYEE LINES LV_NUM.
LO_ND_EMPLOYEE->BIND_TABLE( LT_EMPLOYEE ).
DATA LO_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
LO_CMP_USAGE = WD_THIS->WD_CPUSE_ALV( ).
IF LO_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
LO_CMP_USAGE->CREATE_COMPONENT( ).
ENDIF.
DATA LO_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
LO_INTERFACECONTROLLER = WD_THIS->WD_CPIFC_ALV( ).
DATA LO_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
LO_VALUE = LO_INTERFACECONTROLLER->GET_MODEL( ).
Set Visible Row Count as 5
LO_VALUE->IF_SALV_WD_TABLE_SETTINGS~SET_VISIBLE_ROW_COUNT( LV_NUM ).
The Config Table Setting to Display Table & Business Graphics
DATA: L_REF_CONFIG_TABLE TYPE REF TO IF_SALV_WD_TABLE_SETTINGS,
L_DISPLAY_AS TYPE SALV_WD_CONSTANT VALUE '02'.
L_REF_CONFIG_TABLE ?= LO_VALUE.
L_REF_CONFIG_TABLE->SET_DISPLAY_AS( VALUE = L_DISPLAY_AS ).
ENDMETHOD.Hello Siva ,
Which node you have bind to the business graphics ui element ?
Which attribute you have used to for Series in business graphics ?
Regards
Vivek -
Assign base too short giving dump
Hi,
I am facing problem ,when i try to assign im_value(type any) to field symbol
<value> TYPE domvalue_l. its giving short dump.i tried casting also,but still
giving dump.i cant define fieldsymbol also of type any because i need to pass it to
a function module to i_domvalue ,which i have shown below..Anybody plz help.
define local field symbol
FIELD-SYMBOLS <value> TYPE domvalue_l.
check precondition
CHECK: im_domain IS NOT INITIAL,
im_value IS NOT INITIAL.
assign value which shall be check to field symbol (because of ANY)
TRY.
ASSIGN im_value TO <value> casting.
CATCH cx_root. "#EC CATCH_ALL
RAISE EXCEPTION TYPE cx_mmpur_root.
ENDTRY.
call check function module
CALL FUNCTION 'DOMAIN_VALUE_GET'
EXPORTING
i_domname = im_domain
i_domvalue = <value>
EXCEPTIONS
not_exist = 1
error_message = 2
OTHERS = 3.
CHECK sy-subrc <> 0.
message is available from domain value check
RAISE EXCEPTION TYPE cx_mmpur_message.
Regards,
TessHi,
try the following code..
define local field symbol
FIELD-SYMBOLS <value> TYPE domvalue_l.
check precondition
<b>data : tem type domvalue_l.</b>
CHECK: im_domain IS NOT INITIAL,
im_value IS NOT INITIAL.
assign value which shall be check to field symbol (because of ANY)
TRY.
<b>temp = im_value.</b>
ASSIGN <b>temp</b> TO <value> casting.
CATCH cx_root. "#EC CATCH_ALL
RAISE EXCEPTION TYPE cx_mmpur_root.
ENDTRY.
call check function module
CALL FUNCTION 'DOMAIN_VALUE_GET'
EXPORTING
i_domname = im_domain
i_domvalue = <value>
EXCEPTIONS
not_exist = 1
error_message = 2
OTHERS = 3.
CHECK sy-subrc <> 0.
message is available from domain value check
RAISE EXCEPTION TYPE cx_mmpur_message.
Regards,
Aparna -
Hi,
I had a requirement that download the business graph to excel.Not as an internal table but as a graph.
Regards,
Vasavi.Having the same problem with Illustrator CS3. All Excel 3D graph/chart are individual shapes. Looks horrible.
Don't have Office 2003 installed. So sure if it only an Excel 2007 issue.
No problem with Excel 2004 on the Mac. -
IGS (Business Graphs) not working
Hi,
I want to create some business graphs in web dynpro java. for this I have configured IGS URL in Visual admin
I went to Server>Services>Configuration Adapter>webdynpro>sap.com>tcwddispwda>PropertySheetdefault.
than i clicked on IGSURL and added the following entry in the custom value field
http://servername.companyname.com:40080/ and I restarted the server, but even now its showing graphic rendering problem, graphs are not coming.
Also when I run this url ( http://server.companyname.com:40080/ ) in webbrowser its showing me SAP IGS is running.
Also, eveything is working fine in Portal Dev server with the above configuration, graphs are coming properly in Dev Portal server , but in Portal QA server graphs are not coming even after the above configuration.
So what could be the problem in Portal Qa server when graphs are coming properly in piortal Dev server with the above configuration.
please reply..Check the following link:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a552a4fb-0701-0010-4191-a55bbb6a9a2d?quicklink=index&overridelayout=true
Regards -
Hi,
I am creating version in cn72. when I am displaying it in cn71,it is giving dump.
In cn71 , I am giving project,then choosing DB profile and clicking version data and sales data and then enter.Then in the project version I am giving the version that I have created in CN72.And when I execute it, it is giving dump.
The error analysis(in the dump) :
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
not caught in
procedure "SELECT_VBAK_FOR_ITAB_VBELN" "(FORM)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
An Open SQL clause was specified dynamically. The contained field name
"CRM_GUID" does not exist in any of the database tables from the FROM clause.
Please help.
Thanks in advance.Sounds like a problem in SAP standard code, did you check for SAP notes?
Thomas
Maybe you are looking for
-
How to Pass parameters to Crystal report 10 based on Oracle Stored Procedur
Hi, I use the following code to pass the parameters: Rep.Tables[0].ConnectBuffer := Connection_Str; Rep.Tables[0].AliasName := 'REP'; Rep.Connect.Propagate := True; Rep.ParamFields.ByName('Lang', '').CurrentValue := IIF(BiDiMode = bdRightToLeft, '2',
-
Adobe Reader XI did not save the form data (unlike previous versions). Any way to recover filled form with data from temp locations? I was not aware that ctrl+s no longer works in reader and closed the PDF after savign it(with ctrl+s). However ,the d
-
Junk chars in the file posted on application server
HI All, I am posting a file on the application server using the OPEN DATASET, TRANSFER, CLOSE DATASET commands. The file is posted successfully but it contains junk characters like # and some box kind of character. The file that has the data doesnot
-
Smartforms: PDF Conversion
Hi All, When an output for invoice is converted to PDF, the Traditional Chinese language is not appearing ( The invoice is in the chinese language) . But in my print preview Or When its printed ( Not Via PDF ) its printing perfectly. Any help is ap
-
I have a self-contained quicktime file that was exported from Avid on a PC. The codec is Avid Uncompressed. I have added the codecs to my Quicktime Library, but the file is still not able to be opened in Final Cut. I can open the file now with QT pla