Unable to update the header Pricing Condition of Customer Quotation
Hi Friends,
I am trying to change the Customer Quotaion using the 'BAPI_CUSTOMERQUOTATION_CHANGE'.
I am able to update the Header details and item details,but When it comes to pricing Conditions the Following errors I am getting
000000: Operations with Conditions of type F not allowed(ZZHD).
as it is a Header pricing Condition, I am passing Item number as 000000,even I tried to Comment and see,but the same issue.
Following is are the pricing Condition details that I am passing to BAPI.
CLEAR: wa_quote_condition_in,
wa_quote_condition_inx.
wa_quote_condition_in-itm_number = '000000'.
wa_quote_condition_inx-itm_number = '000000'.
wa_quote_condition_in-COND_COUNT = '01'.
wa_quote_condition_inx-COND_COUNT = '01'.
wa_quote_condition_in-cond_type = 'ZZHD'.
wa_quote_condition_inx-cond_type = 'ZZHD'.
wa_quote_condition_inx-updateflag = 'U'.
lv_zzhd = ( ls_nd_payment-transport_charg / 10 ).
wa_quote_condition_in-cond_value = lv_zzhd.
wa_quote_condition_inx-cond_value = 'X'.
APPEND: wa_quote_condition_in TO it_quote_condition_in,
wa_quote_condition_inx TO it_quote_condition_inx.
CLEAR: wa_quote_condition_in,
wa_quote_condition_inx.
Please help in tracing the above issue.
Regards,
Xavier.P
Edited by: Xavier on Sep 7, 2011 10:59 AM
Edited by: Xavier on Sep 7, 2011 11:00 AM
Hi prasad,
Please find the you will find 'condition type paramter in the structers bapicond, bapicondx.
data :it_quote_condition_in TYPE TABLE OF bapicond,
wa_quote_condition_in TYPE bapicond,
it_quote_condition_inx TYPE TABLE OF bapicondx,
wa_quote_condition_inx TYPE bapicondx.
CALL FUNCTION 'BAPI_CUSTOMERQUOTATION_CHANGE'
EXPORTING
salesdocument = ls_nd_payment-vbeln
quotation_header_in = wa_header
quotation_header_inx = wa_header_inx
simulation = 'X'
BEHAVE_WHEN_ERROR =
INT_NUMBER_ASSIGNMENT =
logic_switch = wa_logic_switch
NO_STATUS_BUF_INIT = ' '
TABLES
return = it_bapiret2
quotation_item_in = it_order_items
quotation_item_inx = it_order_items_inx
partners = it_partners
PARTNERCHANGES =
PARTNERADDRESSES =
conditions_in = it_quote_condition_in
conditions_inx = it_quote_condition_inx
QUOTATION_CFGS_REF =
QUOTATION_CFGS_INST =
QUOTATION_CFGS_PART_OF =
QUOTATION_CFGS_VALUE =
QUOTATION_CFGS_BLOB =
QUOTATION_CFGS_VK =
QUOTATION_CFGS_REFINST =
schedule_lines = it_order_schedule
schedule_linesx = it_order_schedule_inx
quotation_text = it_texts
QUOTATION_KEYS =
EXTENSIONIN =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Regards,
Xavier.P
Similar Messages
-
Sales Order Header Pricing Conditions
Hi All,
I am using BAPISDORDER_GETDETAILEDLIST function module to get the pricing conditions. I am able to see Item Pricing Conditions in the ORDER_CONDITIONS_OUT table but not able to find the Header Pricing Conditions.
Please let me know how to fetch header pricing conditions. Is there any other FM which can do it?
Thanks
JitHello,
Try these FM's.
SD_SALES_HEADER_READ
SD_SALES_ITEM_TABLES_READ
SD_SALES_PRICING_INFORMATION
MRM_DBTAB_KONV_READ
RV_KONV_SELECT
Please check out the Function module RV_INVOICE_DOCUMENT_READ.
Here you need to pass on the invoice no. In the output it shall give you details in invoice header and item levels, price, document status. You will get the net amount as well as the tax. Then you need to add the net amount and the tax to get the total amount
Regards,
Vasanth -
Header Pricing Condition -- Can I attach rotuine..
Hi,
I want to attach routine for the header pricing condition (instead of manual) to fetch the price from ztable then the price
has to be equally distribute to item level/
Is this possible? can i attach a rotuine to Header condition?
LaxmanHi,
The price for this Header condition is stored in classification field of material master.
Example..
We created charactersitc called deductables,and
attached this characterstic to the class of material. finally we given value of 100 usd in the material master classification tab.
So when I attach a routine (say 602) to ZDED (header discount condition), it has to go to the material master and find this 100 usd and equally distribute to all line item.
My direct questions is
Is SAP header condition will work if I attach a routine (altenative calcualtion type)?
If yes, once i identify the value of 100 USD how to pass to header level condition rate?
Need advice -
Header Pricing conditions in BAPI function module
I am using BAPI function module BAPI_SALESDOCU_CREATEFROMDATA1 to create sales orders through program.
It is working fine with item level pricing conditions.
But my requirement is ... I need to update few pricing conditon types in item level and one in header level.
Could you please help me where I need to pass header pricing conditions. Please help me.
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
SALESDOCUMENT = SALESDOCUMENT
SALES_HEADER_IN = SALES_HEADER_IN
SALES_HEADER_INX =
SENDER =
BINARY_RELATIONSHIPTYPE = 'VORL'
INT_NUMBER_ASSIGNMENT = ' '
IMPORTING
SALESDOCUMENT_EX = SALESDOCUMENT_EX
TABLES
RETURN = RETURN
SALES_ITEMS_IN = SALES_ITEMS_IN
SALES_ITEMS_INX =
SALES_PARTNERS = SALES_PARTNERS
SALES_SCHEDULES_IN = SALES_SCHEDULES_IN
SALES_SCHEDULES_INX =
SALES_CONDITIONS_IN = SALES_CONDITIONS_IN.
SALES_CFGS_REF =
SALES_CFGS_INST =
SALES_CFGS_PART_OF =
SALES_CFGS_VALUE =
SALES_CFGS_BLOB =
SALES_CCARD =
KEY_TABLE =
Thanks in advance.
RaghuIf the correct configuration allows for manual entry of the condition type you want to populate, You can map your value using
' ORDER_CONDITIONS_IN' . If item level map line number, cond step number of the condition type in your pricing procedure, your condition type you are using, condition value you are sending into the system, currency, and cond unit. If it is a header condition, then send in 000000 as the item number. You can also consider using BAPI_SALESORDER_CREATEFROMDAT2 -
Change header pricing condition in sales order
Hi,
I have an requirement in VA01 and VA02 to automatically edit one header pricing condition. The user can able to change the value of that condition type in header not in items . Does anyone know what user exit I can use for this requirement.
ThanksHi Sunil,
Plealse find below 2 methods to change header pricing conditions in sales order.
1.Goto SE38, give prog name as MV45AFZZ and in that write logic under USEREXIT_PRICING_PREPARE_TKOMK . (OR)
2) The same can be done by creating a Alt Calculation type routine through VOFM and writng the logic in the routine, which will then be assigned to the pricing procedure in the condition type which will automatically calculate the condition.
Try with the options mentioned above..
Regards,
KK -
I was in Singapore when I created this Apple ID and payment information. Now I am have shifted to India and I am unable to update the Country and Payment related information. When I click on country no option comes up. Can somebody suggst anything?
Hi Peyush!
You may want to try changing the country associated to your Apple ID from your iOS device. I have an article for you here that I believe will help you change the country for your signed in Apple ID:
iOS: Changing the signed-in iTunes Store Apple ID account
http://support.apple.com/kb/ht1311
Specifically, this is the section of the article you will want to pay attention to:
Change your iTunes Store country
Sign in to the account for the iTunes Store region you'd like to use. Tap Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region.
Follow the onscreen process to change your region, agree to the terms and conditions for the region if necessary, and then change your billing information.
Thanks for using the Apple Support Communities. Have a good one!
-Braden -
Header pricing condition types
Hi,
In a purchase order header pricing condition types are appearing twice .
Ex: JCDB 254
JCDB 20
JCV1 345
JCV1 30.
first condition type (ex: JCDB 254) is calculated on net price
second cond type (ex: JCDB 20) is calculated on handling charge.
Only for this particular PO we face this problem.
How the pricing condition types are calculating twice?
regards,
sathyaIf I am not mistaken, this is a Purchasing question.
Please post to correct forum.
Regards -
Billing header pricing condition value
Hi,
I have requirment to display billing header pricing condition value. I have check using first go to Vbrk then find Knumv field,go to KONV and find all condition record value.
But in KONV there are only Items condition record SO how to find header. please replyHi ,
Instead of KONV, get the header condition value from KONH
regards,
santosh -
Header Pricing Condition (SD)
Hello,
We have a header pricing condition type both applicable to header and line items. When manually putting an amount on the header, it automatically distributes the amount on the line items proportionally.
When running in batch or IDoc via requirement routines (or any VOFM routines), how can I populate the header amount so that it will distribute the amount automatically also on the line items?
I normally do this on the line item level by modifying XKWERT on a requirement routine but I cannot get it to to work when the target is a header pricing condition.
Please help me if you have any ideas.
Thanks in advance,
Johnwhich include? i think you forgot to include the name of the include
-
User exit to add header pricing condition in sales order
Hi experts,
I have an urgent requirement in VA01/VA02 to automatically add a header pricing condition and rate (Kanban charges) for a certain type of Sales order (Kanban Sales order). Does anyone know what user exit I can use for this requirement? Also, the additional header pricing condition should be included in the net value for the item.
Thanks!HI Leo
To add a condition price for a condition type, this has to be assigned in the <b>pricing procedure</b>. For each condition type in a pricing procedure, we will have <b>access sequences</b>. If we follow this approch, the price is automatically extracted basing on the access sequences when condition records are maintained. For this, no coding is required and everything can be done by configuration by Functional consultant.
Naren is right to point out on the same.
If you need to change the price for a particular condition which already exists, you can go by <b>pricing routines</b>. Go through transaction <b>VOFM</b> for the same.
I advice you to discuss with your functional consultant and understand the requirement and then go for modifying accordingly.
Kind Regards
Eswar -
Is there any way to update the new pricing automatically?
Hi,
with reference to the below link i have some queries
Re: is there any way to update the new pricing automatically?
i din understand the below point mentioned in the thread
You see this option is changes sales order(VA02), item pricing, update tab at the bottom.
can u pls explain ?
Thanks in advance.Hi,
First of all it is not at all possible that you have added something to user exit for sales order and that is affecting billing.
While billing try
USEREXIT_PRICING_PREPARE_TKOMP
instead of USEREXIT_PRICING_PREPARE_TKOMK.
Also, you need to sit with the SD functional person to check and decide upon what config is to be adopted in copy controls for pricing type. In case you wish to do everything through the user exit then std controls need to be set in a way that whatever is in sales order should come up in billing, inclusive of manual conditions unchanged.
In case of short dump issues, the code is not written at the right place. Before your code write
break-point
which will give you an idea of what is happening at runtime while creating billing document in debugging mode.
Hope this helps.
Regards,
Amit -
Unable to update the VAT_CODE column through supplier sites API
Hi,
I'm unable to update the vat code column of the ap_supplier_sites_all table using the ap_vendor_pub_pkg.update_vendor_site API.Oracle application instance 12.1.3 and OS linux.Please find the code below.I'm able to update other feilds,but not the vat_code.Please help on this.
Thanks,
Abhilash
CREATE OR REPLACE PACKAGE BODY APPS.xx_wo172304_test
AS
PROCEDURE xx_vat_wo172304 (
errbuf OUT VARCHAR2
, retcode OUT VARCHAR2
IS
CURSOR cur_vat
IS
SELECT site.*
FROM apps.ap_suppliers supp, apps.ap_supplier_sites_all site
WHERE site.vat_code IN
('CZ OEUS 20', 'CZ OEUZ 20', 'CZ OJCD 20', 'CZ OT20', 'CZ-20-EDC', 'OEUS20', 'OEUZ20', 'OPP20E'
, 'OS20', 'OT20')
AND supp.vendor_id = site.vendor_id
AND site.org_id IN (608, 1508, 2396, 2397)
AND site.vendor_site_id =68154;
l_vendor_site_rec ap_vendor_pub_pkg.r_vendor_site_rec_type;
l_vat_code ap_supplier_sites_all.VAT_CODE%TYPE;
l_vendor_site_id ap_supplier_sites_all.vendor_site_id%TYPE;
x_return_status VARCHAR2 (100) := NULL;
x_msg_data VARCHAR2 (1000) := NULL;
x_msg_count NUMBER := NULL;
l_error_reason VARCHAR2 (2000) := NULL;
l_user_id number := FND_GLOBAL.USER_ID;
l_last_update_login number := FND_GLOBAL.LOGIN_ID;
l_program_application_id number := FND_GLOBAL.prog_appl_id;
l_program_id number := FND_GLOBAL.conc_program_id;
l_request_id number := FND_GLOBAL.conc_request_id;
BEGIN
-- mo_global.init ('SQLAP');
FOR rec_vat IN cur_vat LOOP
IF rec_vat.org_id = 608 THEN
IF rec_vat.vat_code = 'OEUS20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS21';
ELSIF rec_vat.vat_code = 'OEUZ20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ21';
ELSIF rec_vat.vat_code = 'OPP20E' THEN
l_vendor_site_rec.vat_code := 'CZ OPP21E';
ELSIF rec_vat.vat_code = 'OS20' THEN
l_vendor_site_rec.vat_code := 'CZ OS21';
ELSIF rec_vat.vat_code = 'OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OS21';
END IF;
ELSIF rec_vat.org_id = 1508 THEN
IF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD21';
ELSIF rec_vat.vat_code = 'CZ OEUS 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS21';
ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
END IF;
ELSIF rec_vat.org_id = 2396 THEN
IF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD 21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
l_vendor_site_rec.vat_code := 'CZ-21-EDC';
END IF;
ELSIF rec_vat.org_id = 2397 THEN
IF rec_vat.vat_code = 'CZ OEUS 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS 21';
ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD 21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
l_vendor_site_rec.vat_code := 'CZ-21-EDC';
END IF;
END IF;
l_vendor_site_id := rec_vat.vendor_site_id;
l_vendor_site_rec.org_id := rec_vat.org_id;
l_vendor_site_rec.vendor_id := rec_vat.vendor_id;
--l_vendor_site_rec.vendor_site_code:='318581-MOR. KRU';
l_vendor_site_rec.rfq_only_site_flag := 'Y';
-- l_vendor_site_rec.last_update_date := SYSDATE;
l_vendor_site_rec.last_updated_by := 1134; MARTIN.ROUNDS
-- DBMS_OUTPUT.put_line ('VAT CODE:' || l_vendor_site_rec.vat_code);
--DBMS_OUTPUT.put_line ('Vendor Site Id:' || l_vendor_site_id);
fnd_file.put_line (fnd_file.LOG
, 'VAT CODE:' || l_vendor_site_rec.vat_code
fnd_file.put_line (fnd_file.LOG
, 'Vendor ID:' || rec_vat.vendor_id
fnd_file.put_line (fnd_file.LOG
, 'Vendor Site Id:' || l_vendor_site_id
fnd_file.put_line (fnd_file.LOG
, 'RFQ ONLY SITE FLAG:' || l_vendor_site_rec.rfq_only_site_flag
ap_vendor_pub_pkg.update_vendor_site (p_api_version => 1
, x_return_status => x_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
, p_vendor_site_rec => l_vendor_site_rec
, p_vendor_site_id => l_vendor_site_id
); --p_calling_prog IN VARCHAR2 DEFAULT 'NOT ISETUP'
-- pos_vendor_pub_pkg.update_vendor_site (p_vendor_site_rec => l_vendor_site_rec
-- , x_return_status => x_return_status
-- , x_msg_count => x_msg_count
-- , x_msg_data => x_msg_data
-- ap_vendor_sites_pkg.update_row(
-- p_vendor_site_rec => l_vendor_site_rec,
-- p_last_update_date => sysdate,
-- p_last_updated_by => l_user_id,
-- p_last_update_login => l_last_update_login,
-- p_request_id => l_request_id ,
-- p_program_application_id => l_program_application_id,
-- p_program_id => l_program_id,
-- p_program_update_date => sysdate,
-- p_vendor_site_id => l_vendor_site_id);
fnd_file.put_line (fnd_file.LOG
, 'Return Status:' || x_return_status
IF x_return_status <> fnd_api.g_ret_sts_success THEN
IF x_msg_count >= 1 THEN
FOR i IN 1 .. x_msg_count LOOP
IF l_error_reason IS NULL THEN
l_error_reason :=
l_error_reason
|| ','
|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
, 1
, 255
|| SQLERRM;
ELSE
l_error_reason :=
l_error_reason
|| ','
|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
, 1
, 255
|| SQLERRM;
END IF;
--DBMS_OUTPUT.put_line ('Supplier Site API Error-' || l_error_reason);
fnd_file.put_line (fnd_file.LOG
, 'Supplier Site API Error-' || l_error_reason
END LOOP;
END IF;
ELSIF x_return_status='S' THEN
--DBMS_OUTPUT.put_line ('Supplier Site API Success-' || l_error_reason);
fnd_file.put_line (fnd_file.LOG
, 'Supplier Site API Success-' || l_error_reason
END IF;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
--DBMS_OUTPUT.put_line ('Error-' || SQLERRM);
fnd_file.put_line (fnd_file.LOG
, 'Error-' || SQLERRM
END xx_vat_wo172304;
END xx_wo172304_test;Hi,
I'm unable to update the vat code column of the ap_supplier_sites_all table using the ap_vendor_pub_pkg.update_vendor_site API.Oracle application instance 12.1.3 and OS linux.Please find the code below.I'm able to update other feilds,but not the vat_code.Please help on this.
Thanks,
Abhilash
CREATE OR REPLACE PACKAGE BODY APPS.xx_wo172304_test
AS
PROCEDURE xx_vat_wo172304 (
errbuf OUT VARCHAR2
, retcode OUT VARCHAR2
IS
CURSOR cur_vat
IS
SELECT site.*
FROM apps.ap_suppliers supp, apps.ap_supplier_sites_all site
WHERE site.vat_code IN
('CZ OEUS 20', 'CZ OEUZ 20', 'CZ OJCD 20', 'CZ OT20', 'CZ-20-EDC', 'OEUS20', 'OEUZ20', 'OPP20E'
, 'OS20', 'OT20')
AND supp.vendor_id = site.vendor_id
AND site.org_id IN (608, 1508, 2396, 2397)
AND site.vendor_site_id =68154;
l_vendor_site_rec ap_vendor_pub_pkg.r_vendor_site_rec_type;
l_vat_code ap_supplier_sites_all.VAT_CODE%TYPE;
l_vendor_site_id ap_supplier_sites_all.vendor_site_id%TYPE;
x_return_status VARCHAR2 (100) := NULL;
x_msg_data VARCHAR2 (1000) := NULL;
x_msg_count NUMBER := NULL;
l_error_reason VARCHAR2 (2000) := NULL;
l_user_id number := FND_GLOBAL.USER_ID;
l_last_update_login number := FND_GLOBAL.LOGIN_ID;
l_program_application_id number := FND_GLOBAL.prog_appl_id;
l_program_id number := FND_GLOBAL.conc_program_id;
l_request_id number := FND_GLOBAL.conc_request_id;
BEGIN
-- mo_global.init ('SQLAP');
FOR rec_vat IN cur_vat LOOP
IF rec_vat.org_id = 608 THEN
IF rec_vat.vat_code = 'OEUS20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS21';
ELSIF rec_vat.vat_code = 'OEUZ20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ21';
ELSIF rec_vat.vat_code = 'OPP20E' THEN
l_vendor_site_rec.vat_code := 'CZ OPP21E';
ELSIF rec_vat.vat_code = 'OS20' THEN
l_vendor_site_rec.vat_code := 'CZ OS21';
ELSIF rec_vat.vat_code = 'OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OS21';
END IF;
ELSIF rec_vat.org_id = 1508 THEN
IF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD21';
ELSIF rec_vat.vat_code = 'CZ OEUS 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS21';
ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
END IF;
ELSIF rec_vat.org_id = 2396 THEN
IF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD 21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
l_vendor_site_rec.vat_code := 'CZ-21-EDC';
END IF;
ELSIF rec_vat.org_id = 2397 THEN
IF rec_vat.vat_code = 'CZ OEUS 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUS 21';
ELSIF rec_vat.vat_code = 'CZ OEUZ 20' THEN
l_vendor_site_rec.vat_code := 'CZ OEUZ 21';
ELSIF rec_vat.vat_code = 'CZ OJCD 20' THEN
l_vendor_site_rec.vat_code := 'CZ OJCD 21';
ELSIF rec_vat.vat_code = 'CZ OT20' THEN
l_vendor_site_rec.vat_code := 'CZ OT21';
ELSIF rec_vat.vat_code = 'CZ-20-EDC' THEN
l_vendor_site_rec.vat_code := 'CZ-21-EDC';
END IF;
END IF;
l_vendor_site_id := rec_vat.vendor_site_id;
l_vendor_site_rec.org_id := rec_vat.org_id;
l_vendor_site_rec.vendor_id := rec_vat.vendor_id;
--l_vendor_site_rec.vendor_site_code:='318581-MOR. KRU';
l_vendor_site_rec.rfq_only_site_flag := 'Y';
-- l_vendor_site_rec.last_update_date := SYSDATE;
l_vendor_site_rec.last_updated_by := 1134; MARTIN.ROUNDS
-- DBMS_OUTPUT.put_line ('VAT CODE:' || l_vendor_site_rec.vat_code);
--DBMS_OUTPUT.put_line ('Vendor Site Id:' || l_vendor_site_id);
fnd_file.put_line (fnd_file.LOG
, 'VAT CODE:' || l_vendor_site_rec.vat_code
fnd_file.put_line (fnd_file.LOG
, 'Vendor ID:' || rec_vat.vendor_id
fnd_file.put_line (fnd_file.LOG
, 'Vendor Site Id:' || l_vendor_site_id
fnd_file.put_line (fnd_file.LOG
, 'RFQ ONLY SITE FLAG:' || l_vendor_site_rec.rfq_only_site_flag
ap_vendor_pub_pkg.update_vendor_site (p_api_version => 1
, x_return_status => x_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
, p_vendor_site_rec => l_vendor_site_rec
, p_vendor_site_id => l_vendor_site_id
); --p_calling_prog IN VARCHAR2 DEFAULT 'NOT ISETUP'
-- pos_vendor_pub_pkg.update_vendor_site (p_vendor_site_rec => l_vendor_site_rec
-- , x_return_status => x_return_status
-- , x_msg_count => x_msg_count
-- , x_msg_data => x_msg_data
-- ap_vendor_sites_pkg.update_row(
-- p_vendor_site_rec => l_vendor_site_rec,
-- p_last_update_date => sysdate,
-- p_last_updated_by => l_user_id,
-- p_last_update_login => l_last_update_login,
-- p_request_id => l_request_id ,
-- p_program_application_id => l_program_application_id,
-- p_program_id => l_program_id,
-- p_program_update_date => sysdate,
-- p_vendor_site_id => l_vendor_site_id);
fnd_file.put_line (fnd_file.LOG
, 'Return Status:' || x_return_status
IF x_return_status <> fnd_api.g_ret_sts_success THEN
IF x_msg_count >= 1 THEN
FOR i IN 1 .. x_msg_count LOOP
IF l_error_reason IS NULL THEN
l_error_reason :=
l_error_reason
|| ','
|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
, 1
, 255
|| SQLERRM;
ELSE
l_error_reason :=
l_error_reason
|| ','
|| SUBSTR (fnd_msg_pub.get (p_encoded => fnd_api.g_false)
, 1
, 255
|| SQLERRM;
END IF;
--DBMS_OUTPUT.put_line ('Supplier Site API Error-' || l_error_reason);
fnd_file.put_line (fnd_file.LOG
, 'Supplier Site API Error-' || l_error_reason
END LOOP;
END IF;
ELSIF x_return_status='S' THEN
--DBMS_OUTPUT.put_line ('Supplier Site API Success-' || l_error_reason);
fnd_file.put_line (fnd_file.LOG
, 'Supplier Site API Success-' || l_error_reason
END IF;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS THEN
--DBMS_OUTPUT.put_line ('Error-' || SQLERRM);
fnd_file.put_line (fnd_file.LOG
, 'Error-' || SQLERRM
END xx_vat_wo172304;
END xx_wo172304_test; -
How to handle the different pricing conditions changes in BI.
Dear Friends
can any one send me Regarding
How to handle the different pricing conditions changes in BI.
Thanks & Regards
RamanaHi,
Take a look at the 0sd_o06 ODS and 2lis_13_vdkon datasource for sales billing conditions.
http://help.sap.com/saphelp_nw70/helpdata/EN/36/8188408bc0bb4de10000000a1550b0/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/EN/7f/0f8c4037fba62be10000000a1550b0/frameset.htm
Regards. -
I am unable to update the newest version of itunes because I need to update my Mac OS X to version 10.6 or later but my computer keeps telling me that I do not have any updates available. I am currently running version 10.5.8
You need to buy 10.6 on DVD.
(74703) -
ORA-27047: unable to read the header block of file
My Windows 2003 crashed which was running Oracle XE.
I installed Oracle XE on Windows XP on another machine.
I coped my D:\oracle\XE10g\oradata folder of Win2003 to the same location in WinXP machine.
When I start the database in WinXP using SQLPLUS i get the following message
SQL> startup
ORACLE instance started.
Total System Global Area 146800640 bytes
Fixed Size 1286220 bytes
Variable Size 62918580 bytes
Database Buffers 79691776 bytes
Redo Buffers 2904064 bytes
ORA-00205: error in identifying control file, check alert log for more info
I my D:\oracle\XE10g\app\oracle\admin\XE\bdump\alert_xe I found following errors
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
starting up 4 shared server(s) ...
Oracle Data Guard is not available in this edition of Oracle.
Wed Apr 25 18:38:36 2007
ALTER DATABASE MOUNT
Wed Apr 25 18:38:36 2007
ORA-00202: control file: 'D:\ORACLE\XE10G\ORADATA\XE\CONTROL.DBF'
ORA-27047: unable to read the header block of file
OSD-04001: invalid logical block size (OS 2800189884)
Wed Apr 25 18:38:36 2007
ORA-205 signalled during: ALTER DATABASE MOUNT...
ORA-00202: control file: 'D:\ORACLE\XE10G\ORADATA\XE\CONTROL.DBF'
ORA-27047: unable to read the header block of file
OSD-04001: invalid logical block size (OS 2800189884)
Please help.
Regards,
ZulqarnainTry to install win 2003 server software, do the fresh installation of oracle software, now copy the datafiles and controlfiles to same locations as you did on winxp.
get back to us, if still not out of the woods. I still doubt that a simple restore would do the trick, since you doing it across different platforms, might be I can be wrong, but this is what I personally feel, you not able to start the database on winxp.
hare krishna
Alok
Maybe you are looking for
-
I have a macbook that I bought second hand. The mac has a dual boot system with bootcamp on one side and snow leopard on the other. I would like to be able to hook to a larger hdmi monitor so that in both systems I could see better since on the leo
-
Hello Friends We are using 7 types of Purchase Orders and net price is updating for all type of purchase orders except one which is the PO type is FP (Using exclusively for foreign material procurement). I have observed in table u201CEIPAu201D - Orde
-
3D Objekte aus Photoshop CC 2014 in After Effects CC 2014
Hallo, ich hätte eine kurze Frage zum hin und her von 3D Objekten in CC 2014: Ich habe mir in Photoshop einen Planeten erstellt, 3D Kugel mit eigener Textur, alles easy. Den wollte ich nun wie gewohnt in After Effects importieren und animieren - und
-
[SOLVED] kde 4.8.4?
Hi All, Just installed Arch and really like it. I was reading in the forums that people are running KDE 4.8.4, and it appears to be in the repos, however, when I do an about in any KDE app, it shows 4.8.3. How can I get 4.8.4? Thanks! Joe Last edited
-
Is there comparable software to HP Gallery for Windows 8?