Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Inquiry

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

Thanks Ravi,

Is there any BAPI documentation from where I can implement those for the updation of data base?

0 Kudos

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

0 Kudos

points assigned

thanks,

Apurv.