Skip to Content
author's profile photo Former Member
Former Member

SELECT STATEMENT

HI GURUS,

IM UNABLE TO WRITE A SELECT STATEMENT PLZ HELP ME IN THIS.

Get BKPF-AWKEY where BKPF-BELNR = VBRK-VBELN + prefix “00”.

HERE

VBRK -VBELN = BILLING DOCUMENT NUMBER

BKPF-BELNR = ACCOUNTING DOC NUMBER

BKPF-AWKEY = OBJECT KEY.

SO IS IT POSSIBLE TO WRITE THE SELECT STATEMENT FOR THIS (Get BKPF-AWKEY where BKPF-BELNR = VBRK-VBELN ).

AND IN THE SAME WAY..

IS IT POSSIBLE TO WRITE SELECT STATEMENT FOR

Get KNA1- STCEG where VBRK-KUNRG = KNA1-KUNNR.

PLEASE HELP ME .ITS VERY URGENT.

IF IT IS POSSIBLE PLEASE SAY ME HOW TO WRITE FOR THESE BOTH STATEMENTS.

ANSWERS WILL BE FULLY REWARDED.

THANKS & REGARDS

SIRISH.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 05:34 AM

    Try Concatenating them into a variable and check with that variable.

    concatenate '00' vbrk-vbeln into v_vbeln.

    check like:

    Where BKPF-BELNR = v_vbeln.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.