cancel
Showing results for 
Search instead for 
Did you mean: 

How to find particular field values

Former Member
0 Kudos

Hi All,

I have the following issue to resolve.

I have 2 fields say BP and Main trans. This Main trans has dropdown list one among them is Booked commission.

If the BP is 0000000000 to 9999999999

MainTrans is Booked Commission which is 3000 and

if i click summary button it should display the related details in the next page.

The coding is webdynpro for java. How to approach this issue? Please help me. I am new to this webdynpro for java.

First I have to check whether related details exist for the particular specified values in R/3. How to find out?

Back end is R/3 for webdynpro for java displayed in portals.

Please help me. Marks will be awarded for sure.

Regards,

Subashini.J

Message was edited by:

subashini

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Murtuza,

Can you please explain in detail since I am new to this concept. How can I find out for the particular value say 3000 for Main Trans and can u please specify your mail id so that I can explain you indetail.

Regards,

Subashini.J

Former Member
0 Kudos

Hi Subashini,

1. Bind your UI element with the context.

2. Get the value of the context as mentioned by me in the previous reply.

3. Pass this value as input to your BAPI in R/3.

4. Perform business logic inside your BAPI.

5. Return success/failure of the existence of your Main Trans from BAPI.

6. Read the output of BAPI in your webdynpro project.

7. Perform your further operations.

My E-mail id is murtuza.kharodawala@capgemini.com

Feel free to contact me if required.

Warm Regards,

Murtuza

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi subashini,

For interacting with R/3 system you will need to import an Adaptive RFC model for the BAPI that allows you to BP and Main trans from the back-end.

For displaying values in the next view, you have to just bind the context values to the UI elements used. 2 Views can't have mapping between them directly thus you need to communicate between 2 views via component controller.

suppose you have binded BP with a context value attribute called bp_value. Now you can get its value using

wdContext.currentContextElement().getbp_value();

Warm Regards,

Murtuza

Message was edited by:

Murtuza Kharodawala