cancel
Showing results for 
Search instead for 
Did you mean: 

How to update tables through webdynpro application.

PoojaThareja
Participant
0 Kudos

Hi Gurus

i am new to webdynpro...and my scnario is

I have to send a mail outside sap to aprove an order and there are two links in mail like Accept and deny.

when user clicks one of the link corresponding fields in Ztable should be updated.

please tell me how to do this.

I want to open a link and that should update my table..

Pls help how to proceed

Thanka

Pooja

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

Do your user have access to ECC.

If Yes then Instead of sending two seperate liks for Accept and Reject just Send the link for your WDA application in their SAP Inbox which is having the buttons for accept and reject and write your logic on action handler of the button.

Send the mail to your users mail box for notification like you have some action to do in SAP Inbox.

Thanks

Pradeep

PoojaThareja
Participant
0 Kudos

But mail is to be sent to non sap users and response has to be saved in sap..

Former Member
0 Kudos

Hi,

How your user is connecting to ECC when executin the WDA application...are you using any portal?

Thanks

Pradeep

Former Member
0 Kudos

Your scenario is not stright forward...

Here are some clues:

- for sending external mails, refer programs in package SBCOMS

- to construct web dynpro url use CL_WD_UTILITIES=>CONSTRUCT_WD_URL

PoojaThareja
Participant
0 Kudos

HI Regula

Thanks for replying..

I am send a mail using simple abap report using class CL_BCS..

In the body of MAIL there are two links ACCEPT and DECLINE.

Now when user clicks Accept the field in Ztable is set to ok...

Pls guide how can i attach webdynpro with ACccept or decline..

moreover how will i pass order no. and field to be updated...

Can we make query string in Wd4a.

Pls help as i dont know dynpro.....

Pooja

Former Member
0 Kudos

Hello,

You can do this by making user of workflow.

You need to call the RFC when you are accepting or rejecting the request to update the table from workflow.

Please revert back if you need further info.

Thanks

Pradeep

PoojaThareja
Participant
0 Kudos

We don't have workflow configured ...

Now is there any other way to proceed..

Pls rreply

anesh_kumar
Active Participant
0 Kudos

Hi

create a RFC function module in your backed and try to call this using a supply function

let me know how it goes..

regards