Documente Academic
Documente Profesional
Documente Cultură
1 of 8
https://archive.sap.com/discussions/thread/3367906
10/31/2016 5:31 PM
2 of 8
https://archive.sap.com/discussions/thread/3367906
Hi experts,
I don't know if some of you already faced the issue that I am .
I am developping a code in a transformation start routine, and I am getting the follwing error:
The weird part, i don't have any field named Data.I am using an And statement in my code as following:
enterprise_data_warehousing/business_warehouse
amine lamkaissi
May 31, 2013 at 11:23 AM
0 Likes
10/31/2016 5:31 PM
3 of 8
https://archive.sap.com/discussions/thread/3367906
Correct Answer
Yasemin ULUTURK
Hi Amine,
Maybe you can write the where condition in an if statement such as:
Loop at source_package into wa_source_package.
if wa_source_package-gl_account = wa_tablesource-gl_account and ....
...
endif.
Yasemin...
2
Helpful Answer by
Hendrik Brandes
M Tibollo
Yasemin ULUTURK
Hendrik Brandes
CH Raman
John Lang
Tibollo
Helpful Answer
Yasemin ULUTURK
replied
Hi Amine,
I am not sure but it may be due to gl_account and profit_ctr.
10/31/2016 5:31 PM
4 of 8
https://archive.sap.com/discussions/thread/3367906
amine lamkaissi
replied
May 31, 2013 at 12:31 PM
Hi Yasemin,
I tried your proposal, now i am getting the following
error:
E:Field specification missing
Thanks.
Amine
0
Correct Answer
Yasemin ULUTURK
replied
May 31, 2013 at 13:52 PM
Hi Amine,
Maybe you can write the where condition in
an if statement such as:
Loop at source_package into
wa_source_package.
if wa_source_package-gl_account =
wa_tablesource-gl_account and ....
...
endif.
10/31/2016 5:31 PM
5 of 8
https://archive.sap.com/discussions/thread/3367906
endif.
Yasemin...
2
Helpful Answer
Hendrik Brandes
replied
Hello Amine,
do you have a DATA field "wa_tablesource" defined with field gl_account
defined?
Perhaps, you can send the startroutine code. I think a correct data declaration is
missed.
Second:
use
LOOP AT source_package ASSIGNING <source_fields>
...
ENDLOOP
when working with 7.x startroutines. Performes better and is declared by default.
Kind regards,
Hendrik
0
amine lamkaissi
replied
May 31, 2013 at 12:23 PM
10/31/2016 5:31 PM
6 of 8
https://archive.sap.com/discussions/thread/3367906
Helpful Answer
Hendrik Brandes
replied
May 31, 2013 at 12:49 PM
Helpful Answer
M Tibollo
replied
this is incorrect
10/31/2016 5:31 PM
7 of 8
https://archive.sap.com/discussions/thread/3367906
this is incorrect
abaping. you're comparing what with what in your where statement. Reflect on
that.
BR,
M.
0
kalpana korrapati
replied
May 31, 2013 at 12:35 PM
satish singh
replied
Hi Amine,
Can you please share what is the type of your structure R_ZPCFROM and what
values are in .
Is it a range.?
1
amine lamkaissi
replied
May 31, 2013 at 16:17 PM
Hi Satish,
Here my decelaration part, in fact it's a range:
DATA : r_zfuncfrom TYPE RANGE OF /bic/pzsplit-
10/31/2016 5:31 PM
8 of 8
https://archive.sap.com/discussions/thread/3367906
amine lamkaissi
replied
Hi again,
10/31/2016 5:31 PM