cancel
Showing results for 
Search instead for 
Did you mean: 

Screen output without connection to user.

Former Member
0 Kudos

Hi ,

I'm a web dynpro novice.

I'm trying to do a "create new material web dyn pro programme" .

I try to use this bapi " BAPI_RETAILMATERIAL_CREATE " to do it.

I have this error " Screen output without connection to user " all time.

I guess, it's because i don't handle as it must be done the bapi output.

And if someone can advise me if i can pass over some bapi fields that i don't need for my screen.

Thanks in advance for your help.

Azmi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi There,

WD wont allow to use that BAPI, because somewhere used CALL TRANSACTION or CALL SCREEN statements,

So these are GUI based statements, wont allow here.

I also got same type of problem earlier one of BAPI. I solved this issue like this..

I coverted this BAPI to ZBAPI and i removed those statements and done neccessary, then it works for me.

Try to do the same if possible...

Cheers,

Kris.

Former Member
0 Kudos

Hi ,

Do you mean that i have to create my own bapis and structures .

Does it require a lot of work ? And if you know some tutorials to do it ?

Thanks a lot.

Former Member
0 Kudos

hi,

Copy BAPI into normal ZFM is not that much big task, goto se37 give BAPI name and copy to zbapi.

One thing you have to takecare is, you have to remove those statements and check that FM is working or not, i mean

to reach your requirement or not.

Cheers,

Kris.

Former Member
0 Kudos

Hi Kris ,

Thanks for your responses.

I tried to do what you have said.

I read the source code of the "BAPI_STANDARDMATERIAL_CREATE" .

There are a lot of transaction and function calls . I think they are mandatory for the good execution of the job.

A part a direct insert in the appropriate tables. i don't think that there is another solution.

If you have another point of view ??

Thanks.

Azmi.

Former Member
0 Kudos

Hi,

No need to change everything, Just remove those statements and related code of those statements.

Another option means you need to create your own FM as same as bapi works.

Cheers,

Kris.

Former Member
0 Kudos

Hi,

thanks for your helps.

A workmate helped me, and finally, we decided to use another bapi instead of this one.

We found out that we can't use bapis which returns pop-up messages in web dynpro.

thanks.

Azmi

former_member197696
Participant
0 Kudos

Thanks a lot dude.

Regards

SSK

Answers (1)

Answers (1)

Madhu2004
Active Contributor
0 Kudos

HI

Issue is you might have set a breakpoint and maximun r/3 sessions might have been reached.

Close one of the r/3 sessions and try.

Madhu

Former Member
0 Kudos

Hi Madhu,

Thanks for your response but i don't use any breakpoint.

I work alone in this test program so i don't thin k that i reached the maximum number of R/3 sessions.

I think it is because i bind a table to show the result and it can be done like this.

If you have more ideas or suggestions.

Thanks