Skip to Content
0

Check FM with exception in change the purchase order

Aug 17, 2017 at 04:47 AM

95

avatar image

Hello

I want to trigger the mail when purchase order is changed.SO I have developed the workflow.but when I change the PO I am getting the excretion in swel Check FM with exception.

I have attached all screens shot. can anyboday help me with where i am doing the mistake

Please find the below screen shot of WF

Swel T code trance

SWE2/ SWETYPV screeb shot

po1.jpg (17.2 kB)
po2.jpg (50.7 kB)
swels.jpg (20.4 kB)
swe2.jpg (69.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Anjan Paul Aug 24, 2017 at 06:46 AM
0

Hi,

Please check and analyse the FM SGOSSUB_CHECK_FB , from there problem arises.

Thanks

Share
10 |10000 characters needed characters left characters exceeded
Susan Keohan
Aug 25, 2017 at 01:11 PM
0

Hi ABAPer (and I second Aditya's comment that it feels better to address a person)

I think the issue is on your event linkage. When the PO changes, you want SAP to raise an event that your workflow can react to.

In my experience, using SWW_WI_CREATE_VIA_EVENT accomplishes this. Please change your entry cia SWETYPV, and try again.

Good luck,

Sue

Show 1 Share
10 |10000 characters needed characters left characters exceeded

and I second Aditya's comment that it feels better to address a person

+1 here. I feel much less motivated to answer an anonymous post than helping a real person.

0
Aditya Varrier Aug 24, 2017 at 10:28 AM
0

hi ABAPer,

how do I address you, its always good to maintain a name rather than (ABAPER) :) because then I feel like communicating with a person :)

Anyways.

what is your basic requirement, is it that you want to send a message to a particular person whenever PO is changed?

If yes 2 ways possible, either build a WF and use SendMail to send message or use the GOSSUB which I see in your screenshot.

WF is straight forward, you put the BUS2012.CHANGE event in your WF and it will trigger whenever PO is changed.

GOSSUB thing is a setting done in GOS. This is done where you have no need to build WF and send a small text to user who has subscribed for this feature.

In your case I see this FM related to Subscribe being used, so let know if you want a WF or this feature.

Hope it helps.

Aditya V

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Yes , as per our comments it correct

I want to send mail when PO is changed.

Right now I am trying with WF process can you please show me both process for the same it would be helful.

0