Hi,
Please check work in process configuration
SPRO >Controlling > Product Cost controlling > Cost object controlling>Product cost by order >Manufacturing order > Period end closing> Work in process
Regards
Prasad
Hi,
Please check work in process configuration
SPRO >Controlling > Product Cost controlling > Cost object controlling>Product cost by order >Manufacturing order > Period end closing> Work in process
Regards
Prasad
Why don't you try it first without redefining the changeset methods?
I would expect only mapping the update method as sufficient.
hello all,
we have developed a Z-Report like this,
when i click the hotspot field on first container the corresponding data is displayed on second container,
however if no data exists for that particular record,
i tried to display message (MESSAGE 'No data Exists' type 'I')...
but the problem is when i select another record(which has data) it is throwing error,
********this is my code*************************
FORM ALV_DISPLAY_ON_SAME_SCREEN . if custom2 IS INITIAL . CREATE OBJECT CUSTOM2 EXPORTING * PARENT = CONTAINER_NAME = 'CONTAINER2' * STYLE = * LIFETIME = lifetime_default * REPID = * DYNNR = * NO_AUTODEF_PROGID_DYNNR = * EXCEPTIONS * CNTL_ERROR = 1 * CNTL_SYSTEM_ERROR = 2 * CREATE_ERROR = 3 * LIFETIME_ERROR = 4 * LIFETIME_DYNPRO_DYNPRO_LINK = 5 * others = 6 . IF SY-SUBRC <> 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_SHELLSTYLE = 0 * I_LIFETIME = I_PARENT = custom2 * I_APPL_EVENTS = space * I_PARENTDBG = * I_APPLOGPARENT = * I_GRAPHICSPARENT = * I_NAME = * I_FCAT_COMPLETE = SPACE * EXCEPTIONS * ERROR_CNTL_CREATE = 1 * ERROR_CNTL_INIT = 2 * ERROR_CNTL_LINK = 3 * ERROR_DP_CREATE = 4 * others = 5 . IF SY-SUBRC <> 0. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF. *fieldcat for second custom container ************************* REFRESH it_fcat2. clear wa_fcat2. clear wa_fcat2. wa_fcat2-col_pos = 1. wa_fcat2-fieldname = 'PSPNR'. wa_fcat2-tabname = 'IT_SEC_PROJ'. wa_fcat2-outputlen = 20. wa_fcat2-coltext = 'Proj Def'. wa_fcat2-style = ALV_STYLE_FONT_BOLD. * wa_fcat2-just = 'C'. * wa_fcat2-emphasize = 'C501'. APPEND wa_fcat2 to it_fcat2. clear wa_fcat2. clear wa_fcat2. wa_fcat2-col_pos = 2. wa_fcat2-fieldname = 'POST1'. wa_fcat2-tabname = 'IT_SEC_PROJ'. wa_fcat2-outputlen = 30. wa_fcat2-coltext = 'Description'. wa_fcat2-style = ALV_STYLE_FONT_BOLD. * wa_fcat2-just = 'C'. * wa_fcat2-emphasize = 'C501'. APPEND wa_fcat2 to it_fcat2. clear wa_fcat2. clear wa_fcat2. wa_fcat2-col_pos = 3. wa_fcat2-fieldname = 'WTJHR'. wa_fcat2-tabname = 'IT_SEC_PROJ'. wa_fcat2-outputlen = 20. wa_fcat2-coltext = 'Budget Division Level'. wa_fcat2-style = ALV_STYLE_FONT_BOLD. wa_fcat2-do_sum = 'X'. * wa_fcat2-just = 'C'. * wa_fcat2-emphasize = 'C501'. APPEND wa_fcat2 to it_fcat2. clear wa_fcat2. clear wa_fcat2. wa_fcat2-col_pos = 4. wa_fcat2-fieldname = 'WTJHR1'. wa_fcat2-tabname = 'IT_SEC_PROJ'. wa_fcat2-outputlen = 20. wa_fcat2-coltext = 'Budget Issued to WOs'. wa_fcat2-style = ALV_STYLE_FONT_BOLD. * wa_fcat2-just = 'C'. wa_fcat2-emphasize = 'C501'. wa_fcat2-do_sum = 'X'. wa_fcat2-hotspot = 'X'. APPEND wa_fcat2 to it_fcat2. clear wa_fcat2. clear wa_fcat2. wa_fcat2-col_pos = 5. wa_fcat2-fieldname = 'BAL'. wa_fcat2-tabname = 'IT_SEC_PROJ'. wa_fcat2-outputlen = 20. wa_fcat2-coltext = 'Balance'. wa_fcat2-style = ALV_STYLE_FONT_BOLD. wa_fcat2-do_sum = 'X'. * wa_fcat2-just = 'C'. * wa_fcat2-emphasize = 'C601'. * wa_fcat2-hotspot = 'X'. APPEND wa_fcat2 to it_fcat2. clear wa_fcat2. *********string****************************** string1 = 'Wise Budget Details'. CONCATENATE lv_ptext string1 into string2 SEPARATED BY space. *layout details ***************************** wa_layout2-cwidth_opt = 'X'. wa_layout2-zebra = 'X'. wa_layout2-GRID_TITLE = string2. *variant details ****************************** wa_variant2-report = sy-repid. wa_variant2-username = sy-uname. *if it_sec_proj[] is NOT INITIAL. CALL METHOD GRID2->SET_TABLE_FOR_FIRST_DISPLAY EXPORTING * I_BUFFER_ACTIVE = * I_BYPASSING_BUFFER = * I_CONSISTENCY_CHECK = * I_STRUCTURE_NAME = IS_VARIANT = wa_variant2 I_SAVE = 'A' * I_DEFAULT = 'X' IS_LAYOUT = wa_layout2 * IS_PRINT = * IT_SPECIAL_GROUPS = * IT_TOOLBAR_EXCLUDING = * IT_HYPERLINK = * IT_ALV_GRAPHICS = * IT_EXCEPT_QINFO = * IR_SALV_ADAPTER = CHANGING IT_OUTTAB = it_sec_proj IT_FIELDCATALOG = it_fcat2 * IT_SORT = * IT_FILTER = EXCEPTIONS INVALID_PARAMETER_COMBINATION = 1 PROGRAM_ERROR = 2 TOO_MANY_LINES = 3 others = 4 . IF SY-SUBRC <> 0. * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. ENDIF. else. call METHOD grid2->refresh_table_display. endif. "endif of custom2 is initial CREATE OBJECT obj_event_class2. set HANDLER obj_event_class2->handle_hotspot_click FOR grid2. ENDFORM. " ALV_DISPLAY_ON_SAME_SCREEN
***************************************************
how do i avoid this...
thanks in advance.....
in chrome and Firefox downloaded file , but IE directly file open in new tab
HI Hans
The maximum number of decimals possible in javascript is 17 and so if there is a requirement to do arithmetic operation involving more than 17 decimals then please do it the abap side only and then send it by string mapping from abap to javascript.
"BIND - BC - ABAP und JavaScript - SAP Library"
Regards,
Sarbjeet Singh
Did you look for ASSIGN COMPONENT statement and FIELD-SYMBOLS during your initial training
Regards,
Raymond
The HTML top of page callback can be used to provide a dynamic document header:
*Eject *&---------------------------------------------------------------------* *& Form ALV_GRID_HTML_Top_Of_Page *&---------------------------------------------------------------------* * text Call back routine for the Alv Grid for top of page * processing. *----------------------------------------------------------------------* * --> pu_Top_Of_Page Top of Page object. * * Since this is a call back routine, access to all other * variables is global. * * This procedure calls the procedure defined in the * HTML_TOP_OF_PAGE Event. This form must be declared as: * * Form XXXX Changing pu_Top_Of_Page Type Ref to Cl_Dd_Document. *----------------------------------------------------------------------* Form ALV_GRID_HTML_Top_Of_Page Using pu_Top_Of_Page Type Dynamic_Document. * Define Move_Field. Assign Component '&2' of Structure &1 to <f_Field>. If <f_Field> is Assigned. Move <f_Field> &3 &4. UnAssign <f_Field>. Else. Move '*' &3 &4. EndIf. End-Of-Definition. * Field-Symbols: <f_Filter_Table> Type Standard Table, <f_Filter_Record>, <f_Sort_Table> Type Standard Table, <f_Sort_Record>, <f_Field_Catalogs> Type Standard Table, <f_Field_Catalog>, <f_Field>. * Data: w_text Type sdydo_text_element, w_Key Type Natural_Text, w_Sel_Text Type Natural_Text, o_Sel_Table Type ref to cl_dd_table_element, o_Sort_Table Type ref to cl_dd_table_element, o_Filt_Table Type ref to cl_dd_table_element, o_Col_Parm Type ref to cl_dd_area, o_Col_Value Type ref to cl_dd_area, o_Col_Descr Type ref to cl_dd_area, o_Col_Sort_Field Type ref to cl_dd_area, o_Col_Direction Type ref to cl_dd_area, o_Col_Filt_Field Type ref to cl_dd_area, o_Col_Filt_Value Type ref to cl_dd_area, o_Parms_Area Type ref to cl_dd_area, o_Dept_logo Type ref to cl_dd_area, w_Theme Type Theme, t_Selections Type Sel_Parms, w_Selection Type Sel_Parm, w_Parameter Type ZTALV_Field_Name, t_Filter_Info Type Ref to Data, w_Filter_Info Type Ref To Data, t_Sort_Info Type Ref to Data, w_Sort_Info Type Ref to Data, t_Field_Cat Type Ref To Data, w_Field_Cat Type Ref To Data, w_Program Type ZTALV_Program_Name, w_Form_Name Type ZTALV_Event_Form, w_Sort_Direction Type ZTALV_Boolean. * * Create Work areas and tables dependant on whether this is an ALV Classic * or object * If o_Alv_Grid is initial. Create Data t_Sort_Info Type Alv_SortInfo_Table. Create Data w_Sort_Info Type Alv_SortInfo_Record. * Create Data t_Filter_Info Type Alv_FilterInfo_Table. Create Data w_Filter_Info Type Alv_FilterInfo_Record. * Create Data t_Field_Cat Type Field_Catalogs. Create Data w_Field_Cat Type Field_Catalog. Else. Create Data t_Sort_Info Type Object_Sort_Infos. Create Data w_Sort_Info Type Object_Sort_Info. * Create Data t_Filter_Info Type Object_Filter_Infos. Create Data w_Filter_Info Type Object_Filter_Info. * Create Data t_Field_Cat Type Object_Field_Catalogs. Create Data w_Field_Cat Type Object_Field_Catalog. EndIf. Assign t_Sort_Info->* to <f_Sort_Table>. Assign w_Sort_Info->* to <f_Sort_Record>. Assign t_Filter_Info->* to <f_Filter_Table>. Assign w_Filter_Info->* to <f_Filter_Record>. Assign t_Field_Cat->* to <f_Field_Catalogs>. Assign w_Field_Cat->* to <f_Field_Catalog>. * * Get the theme back and see if a Selection texts are required. * Perform Global_Get_Theme Changing w_Theme. * * Get the Filter and sort info back. Use different methods dependant on * whether this is an object ALV or not. * If o_Alv_Grid is initial. Call Function 'REUSE_ALV_GRID_LAYOUT_INFO_GET' Importing Et_Filter = <f_Filter_Table> Et_Sort = <f_Sort_Table> Et_FieldCat = <f_Field_Catalogs> Exceptions No_Infos = 1 Program_Error = 2 Others = 3. Else. Call method o_Alv_Grid->Get_Filter_Criteria Importing et_Filter = <f_Filter_Table>. Call method o_Alv_Grid->Get_Sort_Criteria Importing et_Sort = <f_Sort_Table>. Call method o_Alv_Grid->Get_Frontend_FieldCatalog Importing et_FieldCatalog = <f_Field_Catalogs>. EndIf. * Call Method pu_Top_Of_Page->Initialize_Document( ). Call Method pu_Top_Of_Page->vertical_split Exporting split_area = pu_Top_Of_Page split_width = '25%' Importing right_area = o_Parms_Area. Call Method pu_Top_Of_Page->Add_Picture( c_xxxx_Logo ). If w_Theme-Head_Picture is not initial. Call Method pu_Top_Of_Page->vertical_split Exporting split_area = o_Parms_Area split_width = '75%' Importing right_area = o_Dept_Logo. Call Method o_Dept_Logo->Add_Picture( w_Theme-Head_Picture ). EndIf. * * Selection Criteria * If w_Theme-Get_SelInfos = ZTALV_True. Perform Get_Selection_Parameters Changing t_Selections. Loop at t_Selections Into w_Selection Where Low <> ''. Exit. EndLoop. If sy-subrc = 0. w_Text = 'Selection Parameters'(001). Call Method o_Parms_Area->Add_Text Exporting Text = w_Text. Call Method o_Parms_Area->add_table Exporting no_of_columns = 3 with_heading = ' ' border = '1' Importing table = o_Sel_Table. Call Method o_Sel_Table->add_column Importing column = o_Col_Parm. Call Method o_Sel_Table->add_column Importing column = o_Col_Value. Call Method o_Sel_Table->add_column Importing column = o_Col_Descr. w_Text = 'Parameter'(002). Call Method o_Col_Parm->Add_Text Exporting Text = w_Text Sap_Style = 'TABLE_HEADING'. w_Text = 'Value'(003). Call Method o_Col_Value->Add_Text Exporting Text = w_Text Sap_Style = 'TABLE_HEADING'. w_Text = 'Description'(004). Call Method o_Col_descr->Add_Text Exporting Text = w_Text Sap_Style = 'TABLE_HEADING'. Loop at t_Selections into w_Selection. If w_Selection-Low is not initial Or w_Selection-High is not initial. Call Method o_Sel_Table->New_Row. If w_Parameter <> w_Selection-SelName. w_Parameter = w_Selection-SelName. w_Text = w_Selection-Entry. Call Method o_Col_Parm->Add_Text Exporting Text = w_Text Sap_Style = 'Key'. EndIf. Case w_Selection-Kind. When c_pt_Parameter. w_Text = w_Selection-Low. Call Method o_Col_Value->Add_Text Exporting Text = w_Text Sap_Style = 'Strong'. When c_pt_Select_Option. Perform Translate_Option using w_Selection-Sign w_Selection-Option w_Selection-Low w_Selection-High Changing w_Sel_Text. w_Text = w_Sel_Text. Call Method o_Col_Value->Add_Text Exporting Text = w_Text Sap_Style = 'Strong'. Endcase. Call Method o_Col_Parm->Add_Gap Exporting Width = 6. Call Method o_Col_Value->Add_Gap Exporting Width = 30. Call Method o_Col_Descr->Add_Gap Exporting Width = 50. EndIf. EndLoop. EndIf. * * Sort Information * Read Table <f_Sort_Table> Index 1 transporting no fields. If sy-subrc = 0. Call Method o_Parms_Area->New_Line. Call Method o_Parms_Area->New_Line. w_Text = 'Sort Criteria'(007). Call Method o_Parms_Area->Add_Text Exporting Text = w_Text. Call Method o_Parms_Area->Add_table Exporting no_of_columns = 2 with_heading = ' ' border = '1' Importing table = o_Sort_Table. Call Method o_Sort_Table->add_column Importing column = o_Col_Sort_Field. Call Method o_Sort_Table->add_column Importing column = o_Col_Direction. Loop at <f_Sort_Table> into <f_Sort_Record>. If sy-TabIx > 1. Call Method o_Sort_Table->New_Row. EndIf. Move_Field <f_Sort_Record> FieldName To w_Text. Loop at <f_Field_Catalogs> Into <f_Field_Catalog>. Move_Field <f_Field_Catalog> FieldName To w_Key. If w_Key = w_Text. Exit. EndIf. EndLoop. Move_Field <f_Field_Catalog> SelText_l To w_Text. Call Method o_Col_Sort_Field->Add_Text Exporting Text = w_Text Sap_Style = 'Key'. Move_Field <f_Sort_Record> Up To w_Sort_Direction. If w_Sort_Direction = ZTALV_True. w_Text = 'Ascending'(008). Else. w_text = 'Descending'(009). EndIf. Call Method o_Col_Direction->Add_Text Exporting Text = w_Text Sap_Style = 'Strong'. Call Method o_Col_Sort_Field->Add_Gap Exporting Width = 6. Call Method o_Col_Direction->Add_Gap Exporting Width = 30. EndLoop. EndIf. * * Filter Information. * Read Table <f_Filter_Table> Index 1 transporting no fields. If sy-subrc = 0. Call Method o_Parms_Area->New_Line. Call Method o_Parms_Area->New_Line. w_Text = 'Filter Criteria'(010). Call Method o_Parms_Area->Add_Text Exporting Text = w_Text. Call Method o_Parms_Area->Add_table Exporting no_of_columns = 2 with_heading = ' ' border = '1' Importing table = o_Filt_Table. Call Method o_Filt_Table->add_column Importing column = o_Col_Filt_Field. Call Method o_Filt_Table->add_column Importing column = o_Col_Filt_Value. Loop at <f_Filter_Table> into <f_Filter_Record>. If sy-TabIx > 1. Call Method o_Filt_Table->New_Row. EndIf. Move_Field <f_Filter_Record> Seltext to w_Text. Call Method o_Col_Filt_Field->Add_Text Exporting Text = w_Text Sap_Style = 'Key'. Move_Field <f_Filter_Record> ValuF to w_Text. Call Method o_Col_Filt_Value->Add_Text Exporting Text = w_Text Sap_Style = 'Strong'. Call Method o_Col_Filt_Field->Add_Gap Exporting Width = 6. Call Method o_Col_Filt_Value->Add_Gap Exporting Width = 30. EndLoop. EndIf. EndIf. * * Call back. * Perform Get_Event Using ZTALV_Ev_HTML_Top_Of_Page Changing w_Program w_Form_Name. If w_Form_Name is not initial. Perform (w_Form_Name) in Program (w_Program) Changing pu_Top_Of_Page If Found. EndIf. UnAssign <f_Field_Catalog>. UnAssign <f_Field_Catalogs>. UnAssign <f_Filter_Record>. UnAssign <f_Filter_Table>. UnAssign <f_Sort_Record>. UnAssign <f_Sort_Table>. EndForm.
Hi,
I want to know whether every product produced by a manufacturer have the same MPN or different.
What is the difference between MPN and Overlength part number(OPN)?
Is there any relation between Manufacturer Part Number and Manufacturer Book Part number?
Thanks.
Hi,
This is applicable when you have very limited number of users for whom you can assign roles individually but it is not practical when thousands of users may need to access the app.
Hi,
I want to have a list of all the iviews developed in the portal with the respective system, I want to export this list to an excel file like an inventory. Do you know how to do it automatically?
Regards,
Then I guess you need to change in mapping level itself.. It would be helpful if u put screeshot of you mapping as well as expected payload
Hi Laurent,
I think about the possibility that this build has a problem.
When you have an official account for support, you should ask this question using the account.
You may obtain useful information.
Thanks,
Atsushi
Please be advised to search the forum before posting the general questions, these questions are answered numerous times.
If it is not your business then you should not create purchase orders and sales orders. Especially a price of zero may even create a lot confusion in such statistics and can make the grand total useless.
Find out together with your business what the real purpose is to capture data which is not related to your business.
Frankly spoken it sounds like I gave my neighbor a good tip where he can buy his Christmas gifts, but now I want to know what he bought from there.
If I get commission for this then it may be worth to have the information to double check.
But without a proper reason I cannot imagine for what these numbers are good for.
You could consider to capture such info in Z-tables and consider it in Z-reports together with your normal purchases and sales.
Hi Shaan,
Pls visit link http://help.sap.com/bobip41?current=bobip40
SAP BusinessObjects Business Intelligence platform 4.1 – SAP Help Portal Page
Under 'System Administration and Maintenance Information', you can find "Administrator’s Guide',
that will help you to answer most of your question.
-Vizit
Hi
Please Could anyone tell if there is a garbage collection for user sessions and the Tomcat in Sap Business object 3.1 SP7
?
hello there,
i am trying to access manifest.json file through my Component.js(working) file but it is giving some path problem.
files structure
index.html
<!DOCTYPE HTML><html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv='Content-Type' content='text/html;charset=UTF-8'/> <script src="resources/sap-ui-core.js" id="sap-ui-bootstrap" data-sap-ui-libs="sap.m" data-sap-ui-theme="sap_bluecrystal" data-sap-ui-compatVersion="edge" data-sap-ui-xx-bindingSyntax="complex" > </script> <!-- only load the mobile lib "sap.m" and the "sap_bluecrystal" theme --> <script> sap.ui.localResources("mannifest"); sap.ui.getCore().attachInit(function (){ new sap.ui.core.ComponentContainer({ name : "mannifest" }).placeAt("content"); }); </script> </head> <body class="sapUiBody" role="application"> <div id="content"></div> </body></html>
Component.js
sap.ui.define([ "sap/ui/core/UIComponent", "sap/ui/model/json/JSONModel" ], function (UIComponent, JSONModel) { "use strict"; return UIComponent.extend("mannifest.Component", { //edit here metadata : { manifest:"json" //edit here }, init : function(){ console.log("init of component"); UIComponent.prototype.init.apply(this, arguments); var oData = { recipient : {name : "World"} }; var oModel = new JSONModel(oData); this.setModel(oModel); } }); });
manifest.json
{ "_version": "1.1.0", "sap.app": { "_version": "1.1.0", "id": "mannifest", //namespace "type": "application", "i18n": "mannifest/i18n/i18n.properties", //i18n file "title": "{{appTitle}}", "description": "{{appDescription}}", "applicationVersion": { "version": "1.0.0" }, "ach": "CA-UI5-DOC" }, "sap.ui": { "_version": "1.1.0", "technology": "UI5", "deviceTypes": { "desktop": true, "tablet": true, "phone": true }, "supportedThemes": [ "sap_bluecrystal" ] }, "sap.ui5": { "_version": "1.1.0", "rootView": "mannifest.main", //root view "dependencies": { "minUI5Version": "1.30", "libs": { "sap.m": {} } }, "models": { "i18n": { "type": "sap.ui.model.resource.ResourceModel", "settings": { "bundleName": "mannifest.i18n.i18n" //i18 file } } } } }
main.view.xml
<core:View xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m" controllerName="mannifest.main" xmlns:html="http://www.w3.org/1999/xhtml"> <Button text="{/recipient/name}"/> <Button text="hello"/></core:View>
Hello All,
I have an issue with IDM Server , below error message attached
IDM Logon Access denied, service is down
OS: Windows server 2000
DB: SQL server 2008
SAP Versions : NW7.4
As per the SAP standard document i have configured IDM server, when i was trying to access below URL
http:<localhost>:50001/idm
Thanks,
Rahul Yedapally