2008 Oct 28 1:11 PM
Hi,
I am getting a short dump when executing the below statement in background
SELECT BVBELN BPOSNR AFKART AKUNAG AKUNRG AERDAT B~MATNR
BPMATN BPRSDT BARKTX BFKIMG BMEINS BNETWR B~MWSBP
BABRBG BFBUDA BPRODH BAUBEL B~AUPOS
INTO TABLE I_VBRP
FROM VBRK AS A
INNER JOIN VBRP AS B
ON AVBELN = BVBELN
FOR ALL ENTRIES IN I_FINAL
WHERE ( B~AUBEL = I_FINAL-VBELN AND
B~AUPOS = I_FINAL-POSNR ) AND
A~ERDAT >= '20070101'.
would appreciate your early response.
Thanks
Yamini
Hi,
I am getting a short dump when executing the below statement in background
SELECT BVBELN BPOSNR AFKART AKUNAG AKUNRG AERDAT B~MATNR
BPMATN BPRSDT BARKTX BFKIMG BMEINS BNETWR B~MWSBP
BABRBG BFBUDA BPRODH BAUBEL B~AUPOS
INTO TABLE I_VBRP
FROM VBRK AS A
INNER JOIN VBRP AS B
ON AVBELN = BVBELN
FOR ALL ENTRIES IN I_FINAL
WHERE ( B~AUBEL = I_FINAL-VBELN AND
B~AUPOS = I_FINAL-POSNR ) AND
A~ERDAT >= '20070101'.
would appreciate your early response.
Thanks
Yamini
2008 Oct 28 3:01 PM
Hi,
Have you declared the internal table I_VBRP to match the fields that you are selecting. They must be the same type and be in the same order to use the "into table" addition.
Darren
2008 Oct 28 3:06 PM
What is your relation to this post?
It contains the exact same code and problem, but by a different person.
Thomas
2008 Oct 28 3:09 PM
2008 Oct 28 3:27 PM
How do you know? The OP here did not reveal much, other than the name of the dump.
It just occurred to me that this might be standard SAP code. A case for SAP Support Portal then.
Or an interview/exam type of problem? A case for SDN Moderator then.
Thomas
2008 Oct 28 3:33 PM
2008 Oct 28 4:53 PM
Looks like 2 different people, working on the same support case.
This happens from time to time.
Cheers,
Julius
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |