cancel
Showing results for 
Search instead for 
Did you mean: 

Not getting mutiple Email-ids in multiline container

jarus
Participant
0 Kudos

Hi,

I am not able to get multiple email id in my workflow container, i am using multiline container.

Every time i am getting only one email id but when i debug this with SWO1 its showing me multiple Email-ids.

I am writing this because i was not able to solve my problem with earlier post.

Thanks

Sooraj Saini

Accepted Solutions (0)

Answers (4)

Answers (4)

jarus
Participant
0 Kudos

Thanks everyone.

Problem gor solved, it was authorization issue in workflow ID i.e. WF-BATCH.

former_member185167
Active Contributor
0 Kudos

Thanks for the update but I'm confused. What exactly was the solution?

How could authorizations for WF-BATCH cause this?

jarus
Participant
0 Kudos

Hi Rick,

Actually I was using SAP_WAPI_SUBSTITUTES_GET FM to get substitute ID in my method of BO so it was giving error as 'User 'WF-BATCH' does not have sufficient authorization (object S_WF_SUBST)'.

former_member186746
Active Contributor
0 Kudos

Hi,

To prevent these time consuming issues always use a sap_all sap_new user belonging to group SUPER to execute workfow customizing especially the configuring of RFC destination.

Then the WF-BATCH user will be correctly created.

Kind regards, Rob Dielemans

jarus
Participant
0 Kudos

Hi Rakesh and Rob,

Thanks for reply.

Actually when i hardcode email id in my BO then i am able to get multiple email id in my WF Container but when i am fetching email id based on my logic then its only giving me one email id.

Any help will be appreciated.

Thanks,

Sooraj

Former Member
0 Kudos

Hi Sooraj,

Please check the  Authorization of user WF_BATCH. It should have authorization to read info type tables.

You can get the latest failed authorization of WF_BATCH user using SU53 ---> Other user option.

Thanks,

Vijay.

Former Member
0 Kudos

You might want to post the code here (just the relevant part in which you populate the exporting parameter).

Regards,

Karri

former_member185167
Active Contributor
0 Kudos

Hello,

" but when i am fetching email id based on my logic then its only giving me one email id."

There is most likely a problem with the program logic then.

regards

Rick

former_member186746
Active Contributor
0 Kudos

Hi,

Check binding, check method make sure it is using the macro swc_set_table to populate the exporting multiline parameter.

Kind regards, Rob Dielemans

Former Member
0 Kudos

Hi Sooraj,

Most probably , in workflow , your container variable is defined as structure and not as table type. You need to change your container variable as table type and then with the correct binding , as it should be already there because you are getting one line already , you will get multiple e-mails.

Thanks

Rakesh