01-08-2007 6:00 PM
Can anyone tell me how to have a primary key for structure as well as make one field mandatory.
Bharat
01-08-2007 6:01 PM
Hi,
Structure doesn't have primary key..Only database tables can have primary key field..Are you talking about database tables..
Thanks,
Naren
01-08-2007 6:01 PM
Hi,
Structure doesn't have primary key..Only database tables can have primary key field..Are you talking about database tables..
Thanks,
Naren
01-08-2007 6:03 PM
No,
I got a specification where they say primary key, what does it mean for me in regard to internal table!
regards,
Bharat
01-08-2007 6:05 PM
internal table primary key means a lot...it is used for various purposes...say u have one more internal table...
then....loop at itab.
read table itab2 with key <primaryfield> = itab-<primaryfield>.
endloop.
even while writing select statements the primary keys can be used in case of using for all entries....
01-08-2007 6:10 PM
Ramesh
what does it mean for me during select from a table in case they say it required.
Bharat
01-08-2007 7:10 PM
You can relation two table by their Primary Key...For example...
<b>BVAK</b> --> <i>VBELN</i>
<b>BVAP</b> --> <i>VBELN</i> --> <i>POSNR</i>
You can choose all related documents from VBAP reading the table using the Primary Key VBELN.
Greetings,
Blag.
01-09-2007 7:26 PM
Hi all,
Thanks for replies.
I think there is some problem with functional specs.
Regards,
Bharat
01-09-2007 7:26 PM
Hi all,
Thanks for replies.
I think there is some problem with functional specs.
Regards,
Bharat