04-25-2007 10:30 AM
Hi ,
I am using LDB VAV In my report ,
My code is like this ,
Report ZLDB.
Nodes : VBAK .
GET VBAK.
WRITE : VBAK-VBELN .
Output comes Ok .
But how to use PUT Statement ?
04-25-2007 10:32 AM
Hi,
No need to write PUT statement by yiou.
IN LDB it is already written.
When you use GET it invokes that PUT statement in the LDB.
reward if useful
regards,
ANJI
04-25-2007 10:35 AM
Hi Anji Reddy,
I don't think the GET statement invokes the PUT...statement. Correct me If i'm wrong.
04-25-2007 10:33 AM
Hi Sankar,
The GET.......statement gets called from the corresponding PUT...statement in the database program of the LDB.
04-25-2007 10:33 AM
How can i get the data from the lower nodes inter linking the upper nodes ?
04-25-2007 10:35 AM
04-25-2007 10:35 AM
Hi Sankar,
while you are using BDC, you don't need to explicitly write PUT statement when u use GET statement in your program.
Because when u write GET <node>. it goes to LDB and fetches the data and gets into node's work area (structure VBAK in your case).
so you can directly use the write statement as u have done without explicitly using PUT statement.
It has no relation like GET invokes Put statement or anything like that.
<b>Reward Points if helpful,</b>
Regards,
Tejas
04-25-2007 10:35 AM
Hi
What ever nodes you have u can get the data from ldb in the same way as you gave for the parent node.
Eg: Nodes: VBAP.
write:/ VBAP-vblen.
Regards
Haritha.