cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi_quotation_createfromdata2

Former Member
0 Likes
2,555

Hi,

I am creating Quotation by BAPI_QUOTATION_CREATEFROMDATA2 with reference to inquiry .

Quotation is creating successfully but the status of inquiry does not change.( ie status of inquiry still remains A (rather than C) after creating quotation)

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Likes

Hi Venkateswaran ,

Yes I have  already  mentioned these field in  BAPISDHD1

QUOTATION_HEADER_IN-REF_DOC          = ITEM_INQUIRY.

QUOTATION_HEADER_IN-REFDOC_CAT   =  'A'.

venkateswaran_k
Active Contributor
0 Likes

ITEM_INQUIRY - is it has the document number of Inquiry?

Please recheck - is it with leading 0...  that is using conversion_alpha_input....

regards,

Venkat

Former Member
0 Likes

it is inquiry number not document number of inquiry .and I have  checked  it with  leading zero but resulting the same.

venkateswaran_k
Active Contributor
0 Likes

Hi Ankita,

I would like to see your BAPI Header field assignments.

Did  you take care of this fields.. in BAPISDHD1

1. REF_DOC_L - Reference document number  (your inquiry number) 

2. REFDOC_CAT - Reference document category (Inquiry type)

Kindly update

Regards,

Venkat

Former Member
0 Likes

This message was moderated.

former_member188827
Active Contributor
0 Likes

Try using BAPI_CUSTOMERINQUIRY_CHANGE to update inquiry status.

Regards

Former Member
0 Likes

my problem dint solve yet . please help me out

Former Member
0 Likes

Hi,

please follow below mentioned link

http://scn.sap.com/thread/1273330

Regards

Tejas

Former Member
0 Likes

Hi Tejas  ,

Thanks for reply ,  I my concern is when I am creating Inquiry by BAPI_INQUIRY_CREATEFROMDATA

it status should be 'A' but when I would create Quotation by this inquiry it's status should be 'C' .Similarly  ,  when Quotation created by BAPI_QUOTATION_CREATEFROMDATA2 it's status should be 'A' and when create SO by this  Quotation it's status should be changed as 'C'.