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

Re: how to find customer address using vbeln?

$
0
0

Hi,

 

One thing that caught my attention is this:

 

SELECT-OPTIONS: s_vbeln FOR gs_vbak-vbeln.

 

what happen if this value is not filled ?

 

and then we have :

 

SELECT SINGLE vbeln vkorg kunnr

    FROM vbak

    INTO (gs_vbak-vbeln,gs_vbak-vkorg,gs_vbak-kunnr)

    WHERE vbeln IN s_vbeln.

   

I recommend adding to s_vbeln OBLIGATORY NO-EXTENSION NO INTERVALS

 

Also if this select fail issue an error message.(there are some standard ones that you can use)

 

Regards.


Viewing all articles
Browse latest Browse all 9193

Latest Images

Trending Articles



Latest Images

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