on 08-24-2006 3:18 PM
Hi,
when i use function modules which are other than the normal standard function odules used in the ISR impplementations, i get an error - unknown parameter. Should i define these parameters also in the characteristics.(these parameters are not used in the form though).
I appreciate your valuable suggesstions.
Regards,
Anto.
Hi,
Can you let us know what FUNCTION MODULES you are using? And what error is coming?
Please be more clear.
Regards,
<i><b>Raja Sekhar</b></i>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The ones referring to, like, geting a PSA or the Company grouping once the user id is known. The error showing is - (in case of Company group) "MOLGA is an unknown parameter" (in a scenario where MOLGA is not involved). I tried adding this in the characteristics, but still it shows the same error.
I just want to know, if we need to make additional settings some where other than what we do while calling a FM.
Message was edited by: antooze
Hi,
when you add it as an characteristic for a SCENARIO, you got to read it from internal table <b>SPECIAL_DATA</b> and then send it as a parameter for your FM.
I suggest you to go thro the Standard BADI Implementation - <b>HRWPC_PCR</b> to get a clear picture of this ISR Based stuff.
I hope this should help you out.
Regards,
<i><b>Raja Sekhar</b></i>
hi,
please see the error we get , when we call a function module (RH_GET_LEADING_POSITION) in the ISR BAdi.
Kindly help regarding this. suggestions are highly appreciated.
error -
connection closed without message (CM_NO_DATA_RECEIVED), error key: RFC_ERROR_SYSTEM_FAILURE
connection closed
com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: connection closed without message (CM_NO_DATA_RECEIVED), error key: RFC_ERROR_SYSTEM_FAILURE
at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callRFCIsrProcessEvent(FcISRProcessEvent.java:477)
at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEvent.callIsrProcessEvent(FcISRProcessEvent.java:254)
at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEvent.callIsrProcessEvent(InternalFcISRProcessEvent.java:1079)
at com.sap.pcui_gp.isr.isrprocessevent.FcISRProcessEventInterface.callIsrProcessEvent(FcISRProcessEventInterface.java:125)
at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:380)
at com.sap.pcui_gp.isr.isrprocessevent.wdp.InternalFcISRProcessEventInterface$External.callIsrProcessEvent(InternalFcISRProcessEventInterface.java:504)
at com.sap.pcui_gp.isr.isrprocessevent.showform.VcISRShowForm.onBeforeOutput(VcISRShowForm.java:185)
at com.sap.pcui_gp.isr.isrprocessevent.showform.wdp.InternalVcISRShowForm.onBeforeOutput(InternalVcISRShowForm.java:395)
at com.sap.pcui_gp.isr.isrprocessevent.showform.VcISRShowFormInterface.onBeforeOutput(VcISRShowFormInterface.java:137)
at com.sap.pcui_gp.isr.isrprocessevent.showform.wdp.InternalVcISRShowFormInterface.onBeforeOutput(InternalVcISRShowFormInterface.java:136)
at com.sap.pcui_gp.isr.isrprocessevent.showform.wdp.InternalVcISRShowFormInterface$External.onBeforeOutput(InternalVcISRShowFormInterface.java:212)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:503)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:471)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$1300(FPMComponent.java:71)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseEvent(FPMComponent.java:790)
at com.sap.xss.hr.pcr.selectform.VcPcrSelectForm.toShowForm(VcPcrSelectForm.java:193)
at com.sap.xss.hr.pcr.selectform.wdp.InternalVcPcrSelectForm.toShowForm(InternalVcPcrSelectForm.java:178)
at com.sap.xss.hr.pcr.selectform.SelectForm.onActionToShowForm(SelectForm.java:143)
at com.sap.xss.hr.pcr.selectform.wdp.InternalSelectForm.wdInvokeEventHandler(InternalSelectForm.java:171)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
when i call the fm, it shows the error. no matter which function module we are using, it always shows some error.
CALL FUNCTION 'RH_GET_LEADING_POSITION'
EXPORTING
PLVAR = '01'
OTYPE = v_otype
SOBID = l_plans
DATE = SY-DATUM
AUTH = 'X'
BUFFER_MODE = ' '
CONSIDER_VAC_POS = ' '
TABLES
LEADING_POS = ls_leading_pos
EXCEPTIONS
NO_LEAD_POS_FOUND = 1
OTHERS = 2
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
regards,
anto
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.