This website is not affiliated with, sponsored by, or approved by SAP AG.

Coding in Logical Database

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Coding in Logical Database

Postby rpinxt » Fri Sep 11, 2015 3:37 am

Ok so I have a query based on a logical database.
I want to make an additional field and I have the code ready for it.

In a logical database you apparently always have to select a 'Node' in which you want to place the coding.
For me I chose BSIS as that is the main tabel for me in the logical database.

However my coding also requires a field from BKPF because the field (AWKEY) is not present in BSIS.
Now the code returns the error message :
"Field "BKPF-AWKEY" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement. ."

First off I find this strange because I have this field in my query sections but indeed it is in another node...but still it is in the query!
So what would be te best way??
I even move BKPF-AWKEY to the BSIS node but that doesn't help either.... :(
rpinxt
 
Posts: 146
Joined: Mon Jul 23, 2012 8:02 am

Re: Coding in Logical Database

Postby Gothmog » Fri Sep 11, 2015 7:07 am

You can look at the structure of the logical database in SE36.
Basically, at a node level, you have access to this node and the parent node(s) data, not the nodes lower in the hierarchy.
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Gothmog
 
Posts: 1941
Joined: Wed Sep 12, 2007 4:46 am
Location: Probably not home

Re: Coding in Logical Database

Postby rpinxt » Fri Sep 11, 2015 8:27 am

Ok thanks Gothmog.
Don't have access to SE36 and even the "power users" don't have access.
Could ask the mother companies IT guys but don't think it is necessary.

Bottom line your comment is that it is not always possible.
I know was able to do it by putting the code in the BKPF node.
But not sure if that will give performance delay as I am using mostly fields from BSIS.
rpinxt
 
Posts: 146
Joined: Mon Jul 23, 2012 8:02 am


Return to ABAP

Who is online

Users browsing this forum: No registered users and 7 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.