Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

call a rfc function with BDC in web

former_member397166
Participant
0 Likes
1,450

Dear all,

     I create a rfc function which include BDC(call tran  transaction 'VA02'). When calling this function in web, some errors occur.

     ERRORS:1. Text:Control Error: TextEditControl.

                    2. Executing time Error: OBJECTS_OBJREF_NOT_ASSIGNED.

    No BAPI can meet my requirement.So I must use BDC.

     Help me ,thaks.

Thanks

Kical

Dear all,

     I create a rfc function which include BDC(call tran  transaction 'VA02'). When calling this function in web, some errors occur.

     ERRORS:1. Text:Control Error: TextEditControl.

                    2. Executing time Error: OBJECTS_OBJREF_NOT_ASSIGNED.

    No BAPI can meet my requirement.So I must use BDC.

     Help me ,thaks.

Thanks

Kical

8 REPLIES 8
Read only

Former Member
0 Likes
1,204

Hi Kical,

I don't think you are getting these run time errors because of BDC  in RFC.

Have you tested this RFC function module in source system ? If yes check parameters are passing correctly from target system.

Thanks & Regards,

Arun

Read only

0 Likes
1,204


Hi Arun,

     In SAP, it work.

     And no parameter need to be passed.

Freddy

Read only

0 Likes
1,204

Hi Kical,

RFC destination working properly ?

Regards,

Arun

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
1,204

Hi Kical

In the system does it work?

Nabheet

Read only

0 Likes
1,204

Nabheet,

     In the system, it work.

Freddy

Read only

Former Member
0 Likes
1,204

Hi,

I had a look at 'VA02' transaction in SE93. Documentation for SAPGUI for HTML is given below,

SAPGUI for HTML

     The SAP GUI for HTML generates HTML pages for every SAP screen. This

     means you do not have to create any templates. There are some technical

     restrictions due to the browser, however, and certain transactions may

     not function in the SAP GUI for HTML. This must be decided for each

     case. The use of controls can result in this restriction.

.

In VA02, we have text controls for text at header level and item level.


Regards,

DPM

Read only

0 Likes
1,204

Hi,

    

Do u konw how to solve it?

thanks

Kical

Read only

ThangaPrakash
Active Contributor
0 Likes
1,204

Hi Kical,

If it is working fine in SAP system, then the problem has to be in the web.

Check in the web whether the mapping to the RFC function module is done correctly.

Also check the RFC connection in SAP system, Does the connection is active ?

Regards,

Thanga