cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a BAPI in Webdynpro which takes no parameter

konchada_saikrishna
Active Participant
0 Kudos
53

Hi all,

I am new to WebDynpro, I am trying to implement data access to R/3 with a BAPI. The bapi takes no imports, it consists of a method(Zbapicon) which retrieves the table data, the table data is to be displayed dynamically. And how to change the properties of UI element programmatically (example setting a field readonly, making it mandatory etc). Please post the solution, the appropriate solution is rewarded

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Krishna

Please once go through these tutorials. You ll gain fair deal of knowledge

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/f0b0e990-0201-0010-cc96-d7ecd2e51715">accessing ABAP Functions in Web Dynpro (4)</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/20b6e990-0201-0010-5095-f3a465de5f30">handling Transactions with BAPIs in Web Dynpro (5)</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/b3f6e990-0201-0010-c087-c865f2c738b3">dynamic Programming of Web Dynpro Applications (17)</a>

Regards

Kapil

Answers (1)

Answers (1)

former_member189631
Active Contributor
0 Kudos

Hi Konchada,

To set field as read only/mandatory..U can DECLARE

A component CONTEXT ELEMENT and u have to bind that context variable into corresponding property of that Ui Element.[ex: Cretate Context called STATE and datatype as THE TYPE OF UI-ELEMENT STATE property and bind this with that coresponding field's STATE Property ]and write ur code such a way to change the context value..

ThankYou,

Regards,

Ramganesh.