Application Development and Automation 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: 
Read only

create quotation using EXCEL attachment

Former Member
0 Likes
529

Hi I am using bapi BAPI_QUOTATION_CREATEFROMDATA2 to create quotation. I am uploading item data using EXCEL via Portal(EP).problem is that if EXCEL contain incorrect entries then it is giving error message only for 1 line(first) items. I think it is standard when we create Quot. using VA21. My requirment is that when we upload form excel after when we try to create quotation using Enterprice Portal then it should display all line items error message with line number. like

As standard BAPI return message format.i.e. Material ABCD is incorrect. So please replay what logic should i Add.

I already use manully check for material ,Date , Price but how can I add these message in standard logic.

Thanks in advance

2 REPLIES 2
Read only

Former Member
0 Likes
405

There should be error_table (internal table) in the standard RFC, you may need to enhance it by populating all the required data, like with all error messages.

Read only

Former Member
0 Likes
405

done