Runtime error in custom container
hi experts,
i have two custom containers in one screen.In one container i have tree structure and in another one text editor . in tree structure i have two nodes if i click on that nodes cursor should go to text area,
but the problem is when i was try to click on the node it's giving runtime error,
how to rectify this error?
thanks,
nag.
hi experts,
i have two containers in one screen , in one container i have tree structure and in another one i have text editor. if i click on the node
of the tree it has to read the text object and placed i the text area
text editor corresponding to that node.but when i am double clicking on the node it is giving dump.
Runtime Error: MESSAGE_TYPE_X
A termination of short dump occurred purpose by the keyword message(type X)
regards,
nag.
Similar Messages
-
Runtime error when customizing the logon user interface
I followe the help.sap.com:
1.http://help.sap.com/saphelp_nw04/helpdata/en/23/c0e240beb0702ae10000000a155106/frameset.htm
2.http://help.sap.com/saphelp_erp2004/helpdata/en/1a/3afd4e641b8f42ac07bb77fe30375b/content.htm
but when logon the EP, there are runtime error ,then I got the log in the my.new.logon.par.log:
2005-09-08_18-12-37Application upload failed: my.new.logon.parjava.util.zip.ZipException: The file access permissions do not allow the specified action. /usr/sap/D01/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/deployment/pcd/my.new.logon.par
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:140)
at java.util.zip.ZipFile.<init>(ZipFile.java:155)
at com.sapportals.portal.prt.deployment.ArchiveIterator.iterate(ArchiveIterator.java:39)
at com.sapportals.portal.prt.deployment.UploadProcess.upload(UploadProcess.java:60)
at com.sapportals.portal.prt.deployment.DeploymentManager._uploadArchive(DeploymentManager.java:835)
at com.sapportals.portal.prt.deployment.DeploymentManager.uploadArchives(DeploymentManager.java:599)
at com.sapportals.portal.prt.deployment.DeploymentManager.populateRuntimeRepository(DeploymentManager.java:582)
at com.sapportals.portal.prt.deployment.DeploymentManager.runtimeRepositoryDeployment(DeploymentManager.java:310)
at com.sapportals.portal.prt.runtime.Portal.init(Portal.java:403)
at com.sapportals.portal.prt.core.PortalCoreInitializer.coreInit(PortalCoreInitializer.java:54)
at com.sapportals.portal.prt.dispatcher.PortalInitializer.<init>(PortalInitializer.java:129)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doSetupPortalInitializer.run(Dispatcher.java:161)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:351)
at com.sapportals.portal.prt.dispatcher.Dispatcher.initDispatcher(Dispatcher.java:359)
at com.sapportals.portal.prt.dispatcher.Dispatcher.access$000(Dispatcher.java:42)
at com.sapportals.portal.prt.dispatcher.Dispatcher$InitRunner.run(Dispatcher.java:114)
at com.sapportals.portal.prt.dispatcher.Dispatcher.init(Dispatcher.java:392)
at com.sap.engine.services.servlets_jsp.server.runtime.context.WebComponents.addServlet(WebComponents.java:134)
at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.loadServlets(ApplicationThreadInitializer.java:376)
at com.sap.engine.services.servlets_jsp.server.container.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:110)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java:321)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
Then in order to solve the issue, I chmod the status of my.new.log.par., but still failed.
my landscape: NW04SR1SP11, Portal6SP11,AIX, Oracle.
how to solve it?
thanks a lot!Hi Hua
Check this and this should solve your problem
https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode6-1&contenttype=url&content=https://Regarding the customizing portal logon page
There are two jar files that u need to add
These are the jar files.
com.sap.portal.runtime.logon_api.jar
com.sap.portal.runtime.logon_core.jar
They can be found inside the par file. Extract the par file you will get those files
The first one have to be placed in lib(inside PORTAL-INF)and the second one inside PORTAL-INF>>private>>lib.
Regards
Rajeev. -
ABAP runtime errors during customer extension to other company code
Hi,
I have created one customer in company code 1111 with tcode XD01.
When i am trying to create the same customer in the other company codes 2222,3333, and 4444, with tcode FD15, system is giving runtime errors like below.
The following syntax error occurred in the program RFBIDE20
"Field "BSZA1_D0100-MOB_NUMBER" is unknown. It is neither in one of the"
Error in ABAP application program.
The current ABAP program "RFBIDE10" had to be terminated because one of the
statements could not be executed
*This is probably due to an error in the ABAP program *
Could anyone help me out in this regard.
Thanks,
Srinu.Hi
Check SAP Note - 757821
Thank You, -
WPC Runtime Error in Customer Framework Page
Hi again,
after successful proof of concept of WPC we have integrated some WPC Pages and iViews in our standard roles. Pages are displayed well with default framework page.
But using customer specific framework (via portal url alias /portal/mySite and corresponding display rules) we get an error displaying wpc content in runtime:
Cannot render container : com.sap.engine.lib.xml.util.NestedException:
Could not load class: com.sap.nw.wpc.km.service. editor.xslt.XsltHelper
RuntimeStandard required for extension library. -> java.lang.ClassNotFoundException:
com.sap.nw.wpc.km.service. editor.xslt.XsltHelperRuntimeStandard Found in negative cache
I have checked SAP Note 1133788 (Com.sap.engine.lib.xml.util.NestedException in WPC) which seems to be related, but adjusting of XSLT Helpers for Editor setting does not fix the problem.
I mentioned that settings for standardruntime entry (com.sap.nw.wpc.km.service.editor.xslt.XsltHelperRuntimeStandard) should match to customer Alias insted of default portal, but changing these setting won't have any visible result.
If I use default framework page with customer layout wpc runtime will work - so we have a temporary solution, but we want to avoid changing default framework page.
Any hints or documentation?
Many thanks in advanceHi Thorsten,
maybe you should have a look at this [one.|https://forums.sdn.sap.com/thread.jspa?threadID=599765&tstart=0]
I think it's the same thing that was mentioned in the SAP Note you provided. But maybe you extract some additional hints for yourself out of the posts.
Let me know, if you manage to solve the problem.
Regards,
Marcus -
Custom Portal Runtime Error Page
Hi All,
Where can we define a custom portal runtime error page. I would like to replace the standard red color error message that comes whenever the servlet container gets an uncaught exception.
Is this something that I can put in the web.xml of the /irj application.
I appreciate your help.
Thanks in Advance,
AnkurHi Ankur,
The exception handling is in the connection area of the request cycle (see portal developer guide for a description of request cycle).
The connection handles the exception and sends the request to a specific component (a core component) to display the red screen.
In short:
The name of the error component is hard-coded, and cannot be configured.
The component itself is a core component, and should not be changed.
And the connection is also something that is not public.
So the answer is it cannot be done.
Daniel -
Runtime error - FBL1N - vendor balance with customer line item
Hi gurus,
One scenario where i have assign vendor as customer & customer as vendor in vendor & customer data. also make tick mark for both clearing with vendor & customer.
when i see the customer report with vendor item it shows me the customer & vendor dues but when i tried to see the vendor balance with customer line item it gives dump error.
Runtime Errors PERFORM_NOT_FOUND
Exception CX_SY_DYN_CALL_ILLEGAL_FORM
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_FORM', was
not caught in
procedure "%_LDB_CALLBACK" "(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 program "RSDBRUNT" is meant to execute an external PERFORM,
namely the routine "CB_DDF_GET_KNA1 " of the program "RFITEMAP ", but
this routine does not exist.
This may be due to any of the following reasons:
1. One of the programs "RSDBRUNT" or "RFITEMAP " is currently being developed.
The name "CB_DDF_GET_KNA1 " of the called routine may be incorrect, or
the routine "CB_DDF_GET_KNA1 " is not yet implemented in the program "RFITEMAP
2. If the program SAPMSSY1 is involved in the runtime error, one of
the function modules called via RFC is not flagged as remote-capable.
(see Transaction SE37 Goto -> Administration -> RFC flag)
3. There is an inconsistency in the system. The versions of the
programs "RSDBRUNT" and "RFITEMAP " do not match.
Warm regards,
Dhananjay R.Hi martin
still problem was not solved. actually i am working on ECC 6.0 & not required to implement the sap note on development. i had done the configuration in vendor master & customer master for clearing.
please suggest me.....what to do ?
Than'x
Dhananjay R -
Hi All,
I originally posted this in the MS Support forums (http://answers.microsoft.com/en-us/office/forum/office_2013_release-outlook/recieveing-onucappointmentgetvisible-error-in/1a40eca2-8cd1-40f1-a92f-cb08f0af6b72), but was directed over here.
I have recently upgraded an installation of Office 2010 to 2013 (both 64 bit) but am now receiving an error which says:
Window Title - "Custom UI Runtime Error in Lync Meeting Add-in for Microsoft Office 2013"
An error occured while calling the callback: "OnUCAppointmentGetVisible"
This seem to happen when I initially open a calender entry, and when I close the entry (most only the first time I close the entry).
I did have some developer tools installed for Office 2010 and VS 2010 which played around with Excel,2013 but I have now uninstalled these.
In addition, BCM 2010 was installed (but for the time being has been uninstalled), but I don't think that is the culprit.
The issue is being caused be an Outlook add-in. I have three COM add-in enabled, but the one causing the issue in the "Lync Meeting Add-in for Microsoft Office 2013".
We are currently trialling Lync in a demo installation which is in a different domain to any of the Exchange accounts, but should this cause a problem? For the time being I have disable this add-in.
Regards,
Chris
ChrisHi,
Sorry for my misunderstanding. If the issue is determined to be caused by Lync Meeting Add-in, please remove this add-in from Outlook, then go to Control Panel to repair Office 2013 program. After repairing,
this add-in would be automatically reinstalled. Please check whether the issue persists. About how to repair Office programs, please refer to:
http://office.microsoft.com/en-us/outlook-help/repair-office-programs-HA010357402.aspx
If the Lync Meeting Add-in is not automatically reinstalled, please try to manually add this add-in by the following steps:
1. Starting Outlook 2013 as an Administrator (right click, run as Admin).
2. Click File > Options > Add-ins, Manage Com Add-Ins Go... > Add..., C:\Program Files (x86)\Microsoft Office\Office15\UCAddin.dll, OK.
3. Close Outlook and start it as a normal user.
Regards,
Winnie Liang
TechNet Community Support -
Runtime error while trying to execute custom F4 help in OOP ALV grid.
Dear All,
I am trying to add custom search help for one of my column in ALV grid. I'm using OOP ALV, when i click for search help for that column, the system shows runtime error like below.
I am new to OOP concept and tried to follow program BCALV_EDIT_03. But not getting this error occur. Please help me.
With regards.Hi,
In order to be able to provide a search help for a field in an ALV you must do the following things.
1) The field where F4 help need to be attached needs to be made editable.
2) Create an event handler class to handle the ONF4 event. You can refer the following code:
CLASS lcl_alv1_handler DEFINITION.
PUBLIC SECTION.
"Tohandle F4 helps
METHODS handle_f4 FOR EVENT onf4 OF cl_gui_alv_grid
IMPORTING e_fieldname e_fieldvalue es_row_no er_event_data
et_bad_cells e_display.
ENDCLASS.
CLASS lcl_alv1_handler IMPLEMENTATION.
METHOD handle_f4.
CASE e_fieldname.
WHEN 'LIFNR'. "Set F4 for courier vendor
SELECT lifnr name1 FROM lfa1 INTO TABLE lt_lifnr.
IF lt_lifnr IS NOT INITIAL.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'LIFNR'
window_title = 'Vendors'
value_org = 'S'
TABLES
value_tab = lt_lifnr
return_tab = lt_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
IF sy-subrc = 0.
READ TABLE gt_final INTO wa_final_t INDEX es_row_no-row_id.
IF sy-subrc = 0.
READ TABLE lt_return INTO wa_return INDEX 1.
IF sy-subrc = 0.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_return-fieldval
IMPORTING
output = lv_lifnr.
wa_final_t-lifnr = lv_lifnr.
MODIFY gt_final FROM wa_final_t INDEX es_row_no-row_id.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDCASE.
CALL METHOD o_alv->refresh_table_display.
ENDMETHOD.
ENDCLASS.
In the above method, GT_FINAL-LIFNR is being overwritten by the LIFNR you had selected from F4 help. So we will call the refresh_table_display after it to see the result in the ALV.
3) After creating the ALV object, add the fields to which the F4 has to be added. For this you
need to declare an internal table based on lvc_t_f4. Use the following code. Here O_ALV is my ALV object.:
CREATE OBJECT o_container
EXPORTING
container_name = 'CUSTCON'
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 o_alv
EXPORTING
i_parent = o_container
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.
CLEAR : gt_f4, wa_f4.
wa_f4-fieldname = 'LIFNR'.
wa_f4-register = 'X'.
wa_f4-getbefore = space.
wa_f4-chngeafter = space.
APPEND wa_f4 TO gt_f4.
Here I am assigning F4 to LIFNR field in the final internal table that is displayed using ALV.
After this register this field for F4.
CALL METHOD o_alv->register_f4_for_fields
EXPORTING
it_f4 = gt_f4.
CREATE OBJECT o_alv_handler.
SET HANDLER : o_alv_handler->handle_f4 FOR o_alv1.
The object o_alv_handler is created based on the event handler class.
I hope that this will solve your issue. Revert if this is solved.
Rgards,
Abijith -
Runtime Error Custom Module Adapter 7.31
Hi experts.
We've developed a custom module adapter to be used in HTTP_AAE sender adapter. The deployement is successfull, the module is started but we are facing this error at runtime:
Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_IN_MODULECHAIN, null
¿Any idea what can be happening?
We are working with version 7.31 SP 10 Java only stack installation.
Thanks a lot.
Kind regards.
Christian.Hi Amit.
Thank u so much but your response.
Regarding your quesion, yes I have done it.
Regards.
Christian. -
Runtime Error for Set text container
Hi I'm receiving a runtime error in IE for a set text for
container. Works in Firefox and Safari.
IE dubugging says its line 17 (which is the last line of
code):Hi
1. Try to put WHERE conditions for KEY FIELDS.
Solution: Create a RANGE for the key fields & put that in SELECT Query.
DATA: gr_rueck TYPE RANGES OF afru-rueck.
SELECT .. WHERE rueck IN gr_rueck.
2. Avoid using CORRESPONDING FIELDS OF TABLE in SELECT.
Solution: Change internal table fields ORDER.
TYPES:
BEGIN OF TY_VORNR,
budat TYPE ..
pernr TYPE ..
aufnr TYPE ..
vornr TYPE ..
... " Other fields
END OF TY_VORNR.
SELECT .. INTO TABLE IT_VORNR ... -
Server Error in '/BoardPortal' Application.<br />
Runtime Error<br />
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
<br />
<br />
<pre><nowiki><!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
</nowiki></pre>
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.
<br />
<br />
<pre><nowiki><!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration></nowiki></pre>That is a problem on the web server that you are trying to access.<br />
This may need to be fixed at that server.
Try to clear the cache and the cookies from sites that cause the problems to see if that helps.
"Clear the Cache":
*Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"
"Remove Cookies" from sites causing problems:
*Firefox > Preferences > Privacy > Cookies: "Show Cookies" -
Runtime error when I run customizing report
Hi All,
The ST22 analysis is as follows,when i run customizing report.
DUMP Analysis.
Runtime Errors MESSAGE_TYPE_X
Date and Time 19.04.2011 12:28:53
Short text
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"MESSAGE_TYPE_X" " "
"SAPLSLVC" or "LSLVCU10"
"LVC_SORT_COMPLETE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
Pls advise what is the problem,Beacuse Abaper is saying not report problem.
Pranitha.Hi,
Could you mention for which customization transaction, you get this error? -
Runtime Error CALL_FUNCTION_PARM_MISSING in a custom report program
Hi All,
I've created a custom report program to create parameters for a user in a system. I'm getting a runtime error in the code.
The code snippet as below.
I'm getting that error at line no 161. I'm not able to figure it out. Please help me to correct it.
Regards
Mandeep ShresthaHi Glenn,
I'm not creating a user. My requirement is to add a parameter
CRM_THTMLB_IE_COMP with value 'IE8'. I've written the below set of code to achieve that. Can you please help me further.
:i_userlist,i_return,l_errorrole,lv_rows,i_error,i_final,
l_e,lv_rows,l_s.
REFRESH i_bname1.
IF u_name IS NOT INITIAL.
SELECT bname FROM usr01 INTO TABLE
i_bname1 WHERE bname IN u_name.
IF sy-subrc = 0.
LOOP AT i_bname1 INTO wa_bname1.
wa_userlist-username = wa_bname1-bname.
APPEND wa_userlist TO i_userlist.
CLEAR wa_userlist.
ENDLOOP.
DESCRIBE TABLE i_bname1 LINES lv_rows.
ENDIF.
ELSE.
****get all the users****
CALL FUNCTION 'BAPI_USER_GETLIST'
EXPORTING
max_rows = 0
with_username = ' '
IMPORTING
ROWS = lv_rows
TABLES
* SELECTION_RANGE =
* SELECTION_EXP =
userlist = i_userlist
RETURN = i_return.
ENDIF.
****read the PFCG and Business Roles****
SELECT * FROM crmc_ui_profile INTO TABLE i_profile .
IF i_userlist IS INITIAL.
WRITE:'No Users'.
EXIT.
ELSE.
LOOP AT i_userlist INTO wa_userlist.
CLEAR: i_param,i_agrgrp,i_retagr,lv_pfcg.
"IF wa_userlist-username = 'BUILDER_B'.
CALL FUNCTION 'BAPI_USER_GET_DETAIL'
EXPORTING
username = wa_userlist-username
cache_results = 'X'
TABLES
PARAMETER = i_param
* PROFILES =
activitygroups = i_agrgrp
RETURN = i_retagr
* PARAMETER1 =
CLEAR :wa_agrgrp,l_errorrole,wa_retparm,v_business_unit.
CLEAR ls_sales_org.
CALL FUNCTION 'Z0CR_GET_USER_DETAILS'
EXPORTING
iv_username = wa_userlist-username
IMPORTING
* EV_USER_TYPE =
* EV_BUGROUPID =
es_sales_org = ls_sales_org
* EV_PARTNER_ID =
ev_business_unit = v_business_unit.
CALL METHOD CL_CRM_ORGMAN_SERVICES=>MAP_HROBJECT_TO_R3_SALES_ORG
EXPORTING
HROBJECT = ls_sales_org-SALES_ORG
* dbread =
IMPORTING
VKORG = L_ECC
EXCEPTIONS
NO_AUTHORIZATION = 1
NOT_FOUND = 2
OTHERS = 3.
*CALL FUNCTION 'CRM_BUPA_SALES_AREA_TO_R3'
* EXPORTING
* IS_SALES_AREA = ls_sales_org
* IMPORTING
* EV_VKORG = L_ECC
** EV_VTWEG =
** EV_SPART =
* EXCEPTIONS
* NO_MAPPING_DEFINED = 1
* R3_KEY_NOT_DEFINED = 2
* OTHERS = 3
*IF SY-SUBRC <> 0.
** Implement suitable error handling here
*ENDIF.
IF L_ECC = 2040 OR L_ECC = 2010 OR L_ECC = 2050 OR L_ECC = 1900.
** loop at i_param into wa_param .
* wa_param-PARID = 'CRM_THTMLB_IE_COMP' .
* wa_param-PARVA = 'IE8'.
* wa_param-PARTXT = 'CRM BW REPORT PARAMETER'.
* append wa_param to i_param.
** ENDLOOP.
* endif.
CLEAR lv_flag .
****checking if the role having prime support roles then assign the CRM_THTMLB_IE_COMP as IE8
CLEAR lt_role.
SELECT * FROM zuser_role INTO TABLE lt_role
FOR ALL ENTRIES IN i_agrgrp
WHERE pfcg_role = i_agrgrp-agr_name.
IF sy-subrc = 0.
lv_flag = 'X'.
ENDIF.
CLEAR :lv_land.
SELECT SINGLE land1 INTO lv_land FROM hrp1028 WHERE
otjid = ls_sales_org.
LOOP AT i_retagr INTO wa_retagr WHERE TYPE = 'E' OR TYPE = 'A'.
l_errorrole = 'X'.
ENDLOOP.
**error records
IF l_errorrole EQ 'X'.
l_e = l_e + 1.
CLEAR :lv_pfcg,lv_brole.
wa_error-user = wa_userlist-username.
wa_error-pfcg = lv_pfcg .
wa_error-role = lv_brole .
wa_error-MESSAGE = wa_retparm-MESSAGE .
APPEND wa_error TO i_error.
CLEAR l_errorrole.
ELSE.
CLEAR sy-subrc.
CLEAR :wa_param1,lv_vlaues,wa_param.
READ TABLE i_param INTO wa_param1
WITH KEY parid = 'CRM_THTMLB_IE_COMP'.
IF sy-subrc <> 0.
CLEAR wa_paramx.
wa_paramx-parid = 'X'.
wa_paramx-parva = 'X'.
CLEAR :wa_paramc,i_paramc.
wa_paramc-parid = 'CRM_THTMLB_IE_COMP'.
wa_paramc-parva = ' '.
APPEND wa_paramc TO i_paramc.
CALL FUNCTION 'BAPI_USER_CREATE'
EXPORTING
USERNAME = wa_userlist-username
TABLES
PARAMETER = i_paramc
RETURN = i_retparm.
ENDIF.
lv_vlaues = wa_param1-parva.
IF i_agrgrp IS INITIAL AND lv_vlaues IS NOT INITIAL.
CLEAR wa_paramx.
wa_paramx-parid = 'X'.
wa_paramx-parva = 'X'.
CLEAR :wa_paramc,i_paramc.
wa_paramc-parid = 'CRM_THTMLB_IE_COMP'.
wa_paramc-parva = ' '.
APPEND wa_paramc TO i_paramc.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
username = wa_userlist-username
parameterx = wa_paramx
* COMPANY =
TABLES
PARAMETER = i_paramc
RETURN = i_retparm
* PARAMETER1 = .
CLEAR :wa_retparm ,l_errorrole.
IF i_retparm IS NOT INITIAL.
LOOP AT i_retparm INTO wa_retparm WHERE TYPE = 'E' OR TYPE = 'A'.
l_errorrole = 'X'.
ENDLOOP.
ENDIF.
**error records
IF l_errorrole EQ 'X'.
l_e = l_e + 1.
wa_error-user = wa_userlist-username.
wa_error-pfcg = lv_pfcg .
wa_error-role = lv_brole .
wa_error-MESSAGE = wa_retparm-MESSAGE .
APPEND wa_error TO i_error.
CLEAR l_errorrole.
ELSE.
l_e = l_e + 1.
wa_error-user = wa_userlist-username.
wa_error-pfcg = lv_pfcg .
wa_error-role = lv_brole .
wa_error-MESSAGE = 'No Roles assigned to User' .
APPEND wa_error TO i_error.
CLEAR l_errorrole.
ENDIF.
ENDIF.
IF i_agrgrp IS NOT INITIAL .
CLEAR lv_count.
LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'L*'.
CLEAR wa_profile.
READ TABLE i_profile
INTO wa_profile
WITH KEY pfcg_role = wa_agrgrp-agr_name.
IF sy-subrc EQ 0 AND
wa_profile-profile IS NOT INITIAL.
lv_count = lv_count + 1.
ENDIF.
ENDLOOP.
IF lv_count EQ '1'.
LOOP AT i_agrgrp INTO wa_agrgrp WHERE agr_name CP 'L*'.
CLEAR :wa_profile,lv_brole,lv_pfcg.
IF wa_agrgrp-agr_name CP 'L*'.
lv_pfcg = wa_agrgrp-agr_name.
READ TABLE i_profile
INTO wa_profile
WITH KEY
pfcg_role = wa_agrgrp-agr_name.
IF sy-subrc EQ 0.
** ***fill business role
lv_brole = wa_profile-profile.
ELSE.
l_e = l_e + 1.
CLEAR lv_brole.
wa_error-user = wa_userlist-username.
wa_error-pfcg = lv_pfcg .
wa_error-role = lv_brole .
wa_error-MESSAGE = 'No Business Role for PFCG' .
APPEND wa_error TO i_error.
CLEAR l_errorrole.
CONTINUE.
ENDIF.
ENDIF.
IF lv_brole IS NOT INITIAL.
CLEAR wa_paramx.
wa_paramx-parid = 'X'.
wa_paramx-parva = 'X'.
CLEAR :wa_paramc,i_paramc.
wa_paramc-parid = 'CRM_THTMLB_IE_COMP'.
IF lv_flag = 'X'.
lv_brole = 'IE8'.
wa_paramc-parva = lv_brole .
* CLEAR lv_flag.
ELSE.
wa_paramc-parva = lv_brole.
ENDIF.
APPEND wa_paramc TO i_paramc.
CALL FUNCTION 'BAPI_USER_CHANGE'
EXPORTING
username = wa_userlist-username
parameterx = wa_paramx
* COMPANY =
TABLES
PARAMETER = i_paramc
RETURN = i_retparm
* PARAMETER1 = .
CLEAR :wa_retparm .
IF i_retparm IS NOT INITIAL.
LOOP AT i_retparm INTO wa_retparm WHERE TYPE = 'E' OR TYPE = 'A'.
l_errorrole = 'X'.
ENDLOOP.
ENDIF. -
Custom Crop: C++ runtime error
Hello everyone!
Entering a custom value for cropping results in a C++ runtime error that crashes LR 4 Beta.
Lightroom version: 4.0 Beta [800002]
Operating system: Windows 7 Ultimate Edition
Version: 6.1 [7601]
Application architecture: x64
System architecture: x64
Physical processor count: 8
Processor speed: 2,3 GHz
Built-in memory: 8102,7 MBIf there is, it is unknown to me.
I'm sure there is one, but it's probably only for Adobe insiders. I carry one in my head, but it's incomplete and subject to the odd memory error.
Hal -
Customer master XD01 system gives RUNTIME Error
Hi all,
While creating customer master xd01 system takes 10-15 minutes and gives RUNTIME Error.
can anybody explain it why system behave like this i spoken with my BASIS & ABAPer guy they also dont know the solution
Your help is required
Regards,
AbhijeetThis is not an SD or even SCN question. Short dump is just a result of time out, but this transaction should not be taking so much time as to time out. There are tools available in SAP to diagnose and troubleshoot the performance. I'm not sure how could neither ABAPer nor Basis admin know about them - you might want to raise this with IT management.
It's something that has to be analyzed in your system locally, not posted on SCN.
Maybe you are looking for
-
Error message in launching pocketmac desktop for Blackberry
Hi. My desktop software to sync manager my Blackberry was working for a while and now I get a error message. I'm hoping someone can help me with this error. Here's the details of the message: Process: PocketMac SyncManagerOEM [459] Path:
-
Internet Explorer does not balk on those same sites. Most sites do not cause the disconnect but on those that do I must revert to IE to complete the visit.
-
hi there, my client entered into contract with a vendor and the purchase order has been raised with ref to the contract. This p.o has multiple delivery dates and the invoice has to be settled as and when he delivers the goods as per the delievery d
-
ACE 4710 http probe get url question
I am trying to create a http probe using the request method get url command. My url contains a question mark and the ACE will not accept the url as is and it strips out the question mark character. Is there a way to make the ace accept a url containg
-
I don't want an answer like "Google it" or to have take an Hour drive to the Apple store for this question. Considering when you are connected to Wi-Fi, your data does not get spent when you use the internet on your phone. Can I run the Connection fr