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

Program Generation Error

Former Member
0 Likes
3,527

Hi friens,

I am trying to use the BAPI or function module for displaying the Quotation which is created in VA23 transaction.

BAPI_QUOTATION_GETDETAILBOS/BS01_QUOTATION_GETDETAIL,When I am trying to use one of these,and I am trying to

place break point at line CALL FUNCTION 'BS01_SALESDOCUMENT_GETDETAIL' .

I am getting a message saying 'THE MAIN PROGRAM SAPLBOS01' must be generated.if I run without placing the Break point,I am getting the dump as 'Syntax error in program "SAPLBOS01 ".

but SAPLBOS01 is a standard program.

Please help in solving the issue,so that I can use BAPi or function module for displaying the quotation.

Regards,

Xavier.P

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,473

Hi

Check which the sintax error in SAPLBOS01 is and then check some SAP notes

Max

11 REPLIES 11
Read only

Former Member
0 Likes
2,474

Hi

Check which the sintax error in SAPLBOS01 is and then check some SAP notes

Max

Read only

0 Likes
2,473

Thanks Max for replying.

I have checked the program SAPLBOS01,there is an include LBOS01TOP,in that include it is gving an error,saying

'No component exists with the name "/SAPBOQ/MITEM" ,but I do not know which SAP Note check for this problem.

Could you please help me on this?

Regards,

Xavier.P

Read only

0 Likes
2,473

Hi

I've have the same dump in my system,

/SAPBOQ/ seems to be a prefix for the object of a particular component (solution) of SAP and I suppose it's not installed in you system...so are you sure you have to use those BAPI?

Max

Read only

0 Likes
2,473

Hi max,

in the include /SAPBOQ/BOS_LBOS01TOP,the field /SAPBOQ/MITEM is refering to a filed,/SAPBOQ/MITEM,

, in the table ASMD/SAPBOQ/MITEM which is not existing.

is there any other BAPI for Displaying the quotation?

BS01_SALESDOCUMENT_GETDETAIL is called in Both the above mentioned BAPI and FUnction module.

Regards,

Xavier.P.

Edited by: Xavier on Sep 1, 2011 11:22 AM

Edited by: Xavier on Sep 1, 2011 11:25 AM

Read only

0 Likes
2,473

Hi

Try to use fm SD_SELECT_SALES_DOCUMENTS or you need to write the code for selection by yourself

Max

Read only

0 Likes
2,473

Yes Max,the FM SD_SELECT_SALES_DOCUMENTS,I don't think that it will solve my purpose.

I also need item lines,schedule lines Quotation header details,if possible Pricing conditions etc.

We are checking for SAP Notes.If that is not sucessful then we may have to go for coding.

Regards,

Xavier.P

Read only

0 Likes
2,473

Yes

I believe you need to extract by yourself

You can't use the BAPI BAPI_QUOTATION_GETDETAILBOS, BS01_QUOTATION_GETDETAIL, because a component is missing in your system

Max

Read only

0 Likes
2,473

"/SAPBOQ/MITEM" indicates an object in third-party development namespace, e.g., "/SAPBOQ/" is assigned to some organization that writes stuff that is delivered with the SAP system. Chances are what you're using is specially designed for some Industry Solution package which you have not implemented, or some other SAP-bolt on not in use at your installation.

Depending upon your needs, you might be able to use existing FM, perhaps SD_SALES_DOCUMENT_PREFETCH or

RV_DOCUMENT_PRINT_VIEW.

Read only

0 Likes
2,473

Dave,

we are planning to raise a SAP Note.will it solve our issue?

Regards,

Xavier.P.

Read only

0 Likes
2,473

Hi,

These objects are internally released by SAP and are not the customers. If you raise an OSS, I think the SAP will not support us.

Please check the attributes of the objects, Internally released 25.06.2001.

Try to find some other FM or BAPIs

Shiva

Read only

matt
Active Contributor
0 Likes
2,473

"/SAPBOQ/MITEM" indicates an object in third-party development namespace, ...

This is not correct. /.../ does indicate a separate namespace, but it may well be owned by SAP. For example, in BW, /BIC/ is the namespace for many customer BW objects.