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

problem with quotation

Former Member
0 Likes
2,787

hi,

i have created quotation using bapi BAPI_QUOTATION_CREATEFROMDATA .<u><i><b>Can u please tell how see quotation data which i have created for customers</b></i></u>.tell me bapi name.

regards

Guru

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,502

Hi Gurvulu,

You can use the <b>BAPI_QUOTATION_GETDETAILBOS</b> for getting the data.

Just give the Quotation No. in the Import Parameter of the BAPI.

Regards,

Arun Sambargi.

20 REPLIES 20
Read only

Former Member
0 Likes
2,503

Hi Gurvulu,

You can use the <b>BAPI_QUOTATION_GETDETAILBOS</b> for getting the data.

Just give the Quotation No. in the Import Parameter of the BAPI.

Regards,

Arun Sambargi.

Read only

0 Likes
2,502

hi Arun,

i have tried with BAPI_QUOTATION_GETDETAILBOS ,But i am getting error like --->Function module BAPI_QUOTATION_GETDETAILBOS doed not exist. can u please tell me any another bapi name.

regards

Guru

Read only

0 Likes
2,502

in SE37 enter BAPI_QUOTATION_* and F4. There is probably one with a name similar to getdetailbos.

Read only

0 Likes
2,502

Hi Neil,

i have tried but i did not find anything like-->BAPI_QUOTATION_GETDETAILBOS. please help me to do this.

regards

Guru

Read only

Former Member
0 Likes
2,502

Hi,

These are the list of BAPI's for Quotation present in my version. I think none of the other except <b>BAPI_QUOTATION_GETDETAILBOS</b> can be used for displaying.

If you want to see the quotaion you have created goto transaction VA23(Display) and VA22(Change).

I think none of the other BAPI's for quotation can get us the data created.


2031                           Business Object Quotation                                              
BAPI_CUSTOMERQUOTATION_CHANGE  Change Customer Quotation                                              
BAPI_QUOTATION_CREATEFROMDATA  Customer quotation: Create customer quotation                          
BAPI_QUOTATION_CREATEFROMDATA2 Customer Quotation: Create Customer Quotation                                                                                
2031001                        Cust. Qtn w. BOS (Subtype BUS2031001)                                  
BAPI_QUOTATION_CHANGEBOS       Change Customer Quotation with BOS                                     
BAPI_QUOTATION_CREATEBOS       Create Customer Quotation with BOS                                     
BAPI_QUOTATION_GETDETAILBOS    Display Customer Quotation with BOS                                                                                
CRMA                           Sales Documents                                                        
BAPI_QUOTATION_PROXY_CREATE    Proxy BAPI for Quotation Upload in SFA Context: Create                 


Regards,

Arun Sambargi.

Read only

Former Member
0 Likes
2,502

HI,

Check this <b>BAPI_SALESORDER_GETSTATUS</b>.

You wont get the complete details but I think it may be of use to you.

Regards,

Arun Sambargi.

Read only

0 Likes
2,502

hi,

i am javaprogrammer(JCO) .my requirement is to show quotation data which i have created for customer.

regards

Guru

Read only

0 Likes
2,502

WHAT DATA IS IT YOU WANT? sOME OF IT IS already RETURnED BY THE BAPI YOU ARE USING.

eg, SALESDOCUMENT contains the document number of the quotation. Table ORDER_ITEMS_OUT holds all the individual item data. Here's all the export and tables used by the bapi:

*" EXPORTING

*" VALUE(SALESDOCUMENT) LIKE BAPIVBELN-VBELN

*" VALUE(SOLD_TO_PARTY) LIKE BAPISOLDTO

*" STRUCTURE BAPISOLDTO

*" VALUE(SHIP_TO_PARTY) LIKE BAPISHIPTO

*" STRUCTURE BAPISHIPTO

*" VALUE(BILLING_PARTY) LIKE BAPIPAYER

*" STRUCTURE BAPIPAYER

*" VALUE(RETURN) LIKE BAPIRETURN1 STRUCTURE BAPIRETURN1

*" TABLES

*" ORDER_ITEMS_IN STRUCTURE BAPIITEMIN

*" ORDER_PARTNERS STRUCTURE BAPIPARTNR

*" ORDER_ITEMS_OUT STRUCTURE BAPIITEMEX

*" ORDER_CFGS_REF STRUCTURE BAPICUCFG

*" ORDER_CFGS_INST STRUCTURE BAPICUINS

*" ORDER_CFGS_PART_OF STRUCTURE BAPICUPRT

*" ORDER_CFGS_VALUE STRUCTURE BAPICUVAL

Read only

0 Likes
2,502

hi,

i have create quotation using BAPI_QUOTATION_CREATEFROMDATA. i have got the salesdoc .but in ORDER_ITEMS_OUT it is showing <u><i><b>netvalue</b></i></u> as "0000000000".How to get price of material which i have created.

regards

Guru

Read only

Former Member
0 Likes
2,502

Hi Guru,

You have to pass the NET value. I think your not passing the net value for Item Level details.

In ORDER_ITEMS_IN pass the values for these fields.


COND_TYPE	KSCHA	CHAR	4	0	Condition type
COND_VALUE	KBETR	CURR	11	2	Rate (condition amount or percentage)

Example code:

Pass these also in ORDER_ITEMS_IN while calling the BAPI.


    it_ORDER_ITEMS_IN-cond_type  =  'PN00'.  "Net Value
    it_ORDER_ITEMS_IN-cond_value  =  '10.00'.

Regards,

Arun Samabrgi.

Read only

0 Likes
2,502

hi,

i want to know the meaning of quotation. <b><i>in my view quotation means ,customer will ask about quotation for particular items then we will create quotation order for him with material price.</i></b>. <u><i><b>if it is correct means i should not set net value for materials</b></i></u> .

please tell if it is not correct.

regards

Guru

Read only

0 Likes
2,502

Hi Guru,

This is the order of documents which are originated in a normal purchase cycle.

Initially Request For Qoutation RFQ is sent by the customer to prospective vendors(suppliers).

Then the Vendor sends the Quotation.

Quotation

Contains a vendor's prices and conditions and is the basis for vendor selection.

After the customer decides a vendor he sends a purchase order to the vendor asking for goods.

Purchase order (PO)

The buying entity’s(customer) request or instruction to a vendor (supplier) to supply certain materials or render/perform certain services/works.

Once the vendor receives the Purchase order from the Customer the vendor creates a Sales Order.

Sales Order contains

Customer and material information

Pricing conditions for each item

Delivery dates and quantities

Shipping information

Billing information

For more details refer.

For your situation,

in my view quotation means ,customer will ask about quotation for particular items then we will create quotation order for him with material price.. if it is correct means i should not set net value for materials

This will depend on the company poliices and the customer policies. Normally when you create a Quotation order using <b>VA21</b> the Quotaion Order is not complete until you specify a Net Price(Can check this while saving the QO, it will ask to edit the Document for completeing it).

Regards,

Arun Sambargi.

Read only

0 Likes
2,502

hi Arun,

which bapi i can use for----> <i>(Initially Request For Qoutation RFQ is sent by the customer to prospective vendors(suppliers)</i>

which bapi i can use for<b>----->(Contains a vendor's prices and conditions and is the basis for vendor selection.

)</b>

which bapi i can use for<b>----->(<b></b>After the customer decides a vendor he sends a purchase order to the vendor asking for goods.)

<i></i>

which bapi i can use for<b>----->([<b></b>Purchase order (PO)

The buying entity’s(customer) request or instruction to a vendor (supplier) to supply certain materials or render/perform certain services/works.)

pls tell me

regards

Guru

<i></i>

Read only

0 Likes
2,502

hi Arun,

for setting the price in quotation order first i have to know the material price ,so i have to know the material price .<u><i><b>but i do not know how to get material price for a particular material please help me to do this</b></i></u>

did u get my problem

regards

Guru

Read only

0 Likes
2,502

Hi Guru,

If the Materials are maintained the prices will be automatically pupulated. You only need to give the Net Price.

Goto transaction VA21, create one Item Level Material(valid one).

Then in Menu Bar.. <b>GOTO==>Items==>Conditions</b>

Here you will find all the billing details(populated automatically).

Regards,

Arun Samabrgi

Read only

0 Likes
2,502

HI,

i am gettinG ERROR like<u><i> No Item category avilable(Table T184 QT VERP) .</i></u>

regards

Guru

Read only

0 Likes
2,502

Hi,

If the Material has been assigned a valid Item Category, then it will be automatically populated.

Just press F4 in the Item Category and choose which you can use.

Regards,

Arun S.

Read only

0 Likes
2,502

Hi Arun ,

i am new to sapgui.

can u please tell to how to go to item category and how to chose category for materila .(<u><i><b>Now i am in Create Quotation Screen)</b></i></u>

regards

Guru

Read only

0 Likes
2,502

Hi,

<i><b>in Create Quotation Screen</b></i>

You have something called as <b>All Items</b> in that enter a Material, Order Quantity...

Now press ENTER.

Values will be automatically populated.

If not press F4 in Item Category and enter the relevant details.

Now save the QO.

If not complete it will ask you to complete the QO.

Edit it then save the QO.

Regards,

Arun S.

Read only

0 Likes
2,502

hi Arun,

i have done what u have said but it is giving same error(No item category avialable).

regards

Guru