cancel
Showing results for 
Search instead for 
Did you mean: 

trigger PO Message based on PO Header text

former_member195383
Active Contributor
0 Kudos

Hi,

My requirement is to trigger the PO Output type, based on a Po Header text. For example, if the PO header text F01 is having some value, then only, the Po output type/ message type should be triggered. Can anyone please provide some pointers on this?

Regards

Rudra

Accepted Solutions (0)

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

add your coding to check for existence of F01 into a requirement that is already or has to be assigned to the condition type in your message schema.

former_member195383
Active Contributor
0 Kudos

Thanks Jürgen L,

Just to confirm, you are suggesting to put a custom logic in Nace, output type requirement/routine, to trigger the Message type conditionally. Please let me know, if I am wrong here. The problem that I am anticipating is as below.

Actually the message is supposed to trigger EDI.

We have a PO and a header text. We want that When ever a PO is created, if it has the text filled the message type will get triggered and the idoc will go.

Suppose the text is not filled, then at the first instance the message type and the idoc will not be triggered. But when ever it will be added, it will trigger the message type and the idoc.

So we have to have message trigger for both create and change scenario. For that, we put the below in Nace.

but the ask is not to trigger the message in every change. But just wen the F01 text is added. ANd we don't want multiple transmission, rather we want just one transmission. Can you throw some light as to how we can achieve the same?

Regards

Rudra

JL23
Active Contributor