‎2006 Aug 09 5:03 PM
Hi All,
I want to know how to use this BAPI:
BAPI_QUOTATION_CREATEFROMDATA in 4.6C
As iam getting the error:
E VP 112 Enter the value SOLD TO PARTY or SHIP TO PARTY.
And iam passing SOLD TO PARTY or SHIP TO PARTY values below.
=========================================
g_order_partner-partn_role = 'SH'.
g_order_partner-partn_numb = p_kunnr.
APPEND g_order_partner.
g_order_partner-partn_role = 'SP'.
g_order_partner-partn_numb = p_kunnr.
APPEND g_order_partner.
Any body having some clues on this.
Thanks a bunch.
Vas.
‎2006 Aug 09 5:07 PM
‎2006 Aug 09 5:11 PM
No ,
Iam passing the values to ORDER HEADER ,
ORDER ITEMS and ORDER PARTNERS .
Vas.
‎2006 Aug 09 5:12 PM
‎2006 Aug 09 8:05 PM
Hi Michael Malvey
Thanks for your good suggestion. Good Job.
Passing 'X' to CONVERT_PARVW_AUART solves the whole issue.
After that we get ORDER QTY decimal issue . But it is not a big thing. I resolved it.
Thanks a bunch.
Vas.
‎2006 Aug 09 8:49 PM
What you find in the FM is that if you pass the flag in it converts your partner functions from external (SH, SP, etc) to the internal values (WE, AG, etc). If you leave it blank it expects you to pass the internal values.
‎2006 Oct 10 1:39 PM
Hello,
I am having the same issue and i tried what was suggested and I still got the same error. In my case I am using we19 to post the IDoc. When i debug the code i notice that there is a value from structure FXVBPAKOM that is initialized to zero POSNR_LOW. I cant seem to be able to by pass this. Does anyone have any suggestions. thanks