Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9071

How to restrict billing output

$
0
0

Hi,

 

I have a situation where ZRMS output in the billing document output procedure which needs to be restricted based on sales org and payment terms. But there are some challenges. There is already one requirement routine assigned to that output type in procedure '900'. The same requirement routine is being used for some other condition types of the same procedure. e.g. same requirement routine is assigned to YABS, ZASM.

 

So to restrict ZRMS from being determined I tried below code for that requirement routine 900. But it does not work.

 

If xnast-kschl = 'ZRMS' AND komkbv3-vkorg = 'M901' AND komkbv3-zterm = 'Y093'

 

Sy-subrc = 4

 

Exit.

 

End  if

 

Am I using wrong structures?

 

 

 

Regards,

Tushar


Viewing all articles
Browse latest Browse all 9071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>