cancel
Showing results for 
Search instead for 
Did you mean: 

calltransaction problem in BSP (po13)

Former Member
0 Kudos

hi every one,

i am doing one BSP application, in that i am using call transaction method to upload data to the TCODE: PO13,

my problem is all the call transaction steps are working fine after that i am calling that call transaction with like this

call transaction 'PO13' using i_bdcdata options from wa_options

messages into i_messtab.

but when debugger comes to this step it giving me error.

this is the dump i am getting:

CNTL_SYSTEM_ERROR

The ABAP call stack was:

Method: CONSTRUCTOR of program CL_GUI_SPLITTER_CONTAINER=====CP

Method: CREATE_SPLITTER_CONTROL of program CL_HR_OBJECTMANAGER===========CP

Method: INIT of program CL_HR_OBJECTMANAGER===========CP

Method: CREATE of program CL_HR_OBJECTMANAGER===========CP

Form: CREATE_OBJECTMANAGER of program SAPMH5A0

Form: INIT_DYNPRO_5000 of program SAPMH5A0

Module: INIT_DYNPRO_5000 of program SAPMH5A0

and more over it is working fine if i use session method when process session from SM35.

can any body help me to out this .

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This error occurs because a SAP GUI screen is asked to be launched, but in an HTTP context, this is not possible.

I can see 2 solutions for that:

- either build a BSP screen that will replace the SAP GUI screen to be launched.

- or use WEBGUI service to call the SAP GUI from web.

You might also be able to place the WEBGUI inside your BSP using an IFRAME HTML tag. The solution you will choose highly depends on what the BSP application is for.

Hope it helps.

Regards,

Tanguy

Answers (3)

Answers (3)

Former Member
0 Kudos

Chinnu,

Can you send me the BDC code for PO13 i have the same requirement.

thanks

kishore

Former Member
0 Kudos

i got the solution thanks to both of you

Former Member
0 Kudos

what was your solution please?

raja_thangamani
Active Contributor
0 Kudos

Try to call below statement in "Remote enabled Function module". It might work


call transaction 'PO13' using i_bdcdata options from wa_options MODE 'N' .
messages into i_messtab.

Raja

Former Member
0 Kudos

hi raj thanks, if i do like that also it is not working, i think it the problem with the transaction code if i use another tcode i am getting just error message that no batch input data exist for the screen, when i am trying to use this PO13 tcode only i am getting this dump.....