04-06-2006 9:07 AM
Hi all,
I am working on a research project on implementing Multi-agents into a SAP R/3 system using abap.
I am new to abap and want to know a few things.
I have taken a small business transaction of creating a sales inquiry.
I am trying to display VBAK table using selection-screen statments. for eg:
tables: VBAK.
selection-screen begin of line.
selection-screen comment (33) text-001.
parameters: 001 like VBAK-VBELN.
selection-screen comment (33) text-002.
parameters: 002 like VBAK-vkorg.
selection-screen end of line.
it is giving me error which says: the field "002" cannot be changed. -
<b>Please let me know if this is the right approach to access the tables and insert data into them.</b>
Thanks,
Apurv.
04-06-2006 9:13 AM
Jawle,
Give some name to the parameters and that error will not come.
Something like p_vbeln.
Regards,
Ravi
Note : Please mark the helpful answers
04-06-2006 9:13 AM
Jawle,
Give some name to the parameters and that error will not come.
Something like p_vbeln.
Regards,
Ravi
Note : Please mark the helpful answers
04-06-2006 9:16 AM
Jawle,
That was about the parameter.
You can use SELECT statements to fetch the data into internal tables. <b> You should never update / insert / delete of the tables in SAP.</b> There are some BAPI's that will be provided, you should do any updation only using those.
Regards,
Ravi
04-06-2006 9:18 AM
Thanks Ravi,
Is there any BAPI documentation from where I can implement those for the updation of data base?
04-06-2006 9:29 AM
Jawle,
Go to the BAPI transaction and choose SALES and DISTRIBUTION and under that you will be able to see the functions / BAPI pertiaining each business object.
Regards,
Ravi
Note : Please mark the helpful answers
04-06-2006 9:42 AM