cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass a long parameter to an external BSP

Former Member
0 Kudos

Hello

I have a question. Starting from a WebDynpro I want to open a BSP in a new window and pass a parameter with more than 3000 characters. How can i do that?

Greetings

Christian

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can use method export to memory import to memory in ABAP. Export value from WDA, import the value from BSP.

Former Member
0 Kudos

From which class? I only have the tools of NW7.0 to work with.

Former Member
Former Member
0 Kudos

Thank you very much for your help, but i still have one more request. Could you give me an example on how the BSP-code would look like in this case? I can't get it to work right and the page doesn't load right at all.

Former Member
0 Kudos

Hi,

Here is a code example:

* On the EXPORT side
DATA: ls_indx TYPE indx.
ls_indx-aedat = sy-datum.
ls_indx-usera = sy-uname.
ls_indx-pgmid = 'ZNAME'.
 
EXPORT tab = lt_orders
TO DATABASE indx(v1)
FROM ls_indx ID 'PERCENT'.
 

* On the IMPORT side
DATA: ls_indx TYPE indx.
ls_indx-aedat = sy-datum.
ls_indx-usera = sy-uname.
ls_indx-pgmid = 'ZNAME'.

IMPORT tab = lt_orders
FROM DATABASE indx(v1)
TO ls_indx ID 'PERCENT'.

Answers (0)