How to update purchase order when creating a new condition records
Hi,
We have the system configured so that whenever we update a condition record, a change pointer is generated. Then we the use of standard reports RMEBEIN4 and RMEBEIN, all open purchase order having that condition type is updated. However this only works when we update existing condition record. When we create a new condition record, this does not work even though the change pointer is created. Do the reports mentionned above works for the this case or another standard report that should be trigger.
Thank you for your help
hi,
May be this is working for the conditions already existing in the info record for the PO's. so when you have new condition record it updates only after you amend the PO with that condition and save it.
Kiran
Similar Messages
-
how do you shuffle the image order when creating a new slideshow in apterture 3? i would like to do this automatically when creating a new slideshow. i see how you do it with presets when you just play a slideshow, but i don't see an option to randomly shuffle the slide order when you create a new slideshow. i know you can sort it by different fields, but i want it to be random. thanks.
If you want to rearrange images in random order you can try an AppleScript:
retrieve a list of selected images from Aperture
shuffe the list properly
create an album in Aperture and add the images from the list to the album (make sure that the album set to be orederd manually)
Here is a sample script that shuffles the selected images and displays them in random order in Full Screen Mode:
on removeItem(ims, i)
-- remove the item at position "i" from a list ims
if ims is {} then return {}
if (length of ims is 1) then return {}
if i < 2 then return rest of ims
if (i = length of ims) then return (items 1 thru (i - 1) of ims)
if i > (length of ims) then return ims -- should be error?
return (items 1 thru (i - 1) of ims) & (items (i + 1) thru (length of ims) of ims)
end removeItem
on shuffle_items(ims)
-- shuffle the items of the list "ims" randomly
local numitems, ims_shuffled, nextrest, nextpick, i
set numitems to length of ims
if length of ims < 2 then return ims
set ims_shuffled to {}
set nextrest to ims
repeat until nextrest is {}
set i to (random number (numitems - 1)) + 1
set nextpick to item i of nextrest
set beginning of ims_shuffled to nextpick
set numitems to numitems - 1
set nextrest to removeItem(nextrest, i)
end repeat
return ims_shuffled
end shuffle_items
on shuffleIms()
-- retrieve the selected images from Aperture
-- and display them in random order in full screen mode
local imageSel, shuffled, i
tell application "Aperture"
activate
set imageSel to (get selection)
set shuffled to my shuffle_items(imageSel)
set fullscreen to true
if imageSel is {} then error "Please select some images."
repeat with i from 1 to count of shuffled
reveal {item i of shuffled}
delay 3 -- chnage that to the time you want
end repeat
set fullscreen to false
return shuffled
end tell
end shuffleIms
shuffleIms()
Some more code snippets to go from here:
To create an album:
tell library 1
if not (exists album "shuffledAlbum") then
make new album with properties {name:"shuffledAlbum", image version:shuffled}
end if
end tell
And to add the images from the shuffled list to the album:
repeat with i from 1 to count of shuffled
duplicate item i of shuffled to album "shuffledAlbum"
end repeat
Regards
Léonie -
Any event which is raised when we save Purchase order after creating a new?
Hi
I need to know any event which is raised whenever we save a purchase order after creating a new one. I know event 'change' of object type BUS2012 is raised whenever we change a PO. Please help in this regard.
Regards
SwetabhCreate event doesnt exist in BUS2012.check if custom business object exists for this by using 'where used list',probably it may have created event.
-
hi all,
i have a requirement like purchase order having 3 line items. using BAPI_PO_GETDETAIL1 I retreive 3 records in internal table. after that i want to update 3 records with 40 50 60 line items in same purchase order. how to do using bapi po change...
regards
sanjeev
Moderator Message: Basic and easily searchable question.
Edited by: kishan P on Nov 23, 2010 1:37 PMHi,
check this sample code:
http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
also there is a lot of stuff in SDN forum,
Daniel. -
How to disable pop up when creating a new document
I have published this form using InfoPath and whenever I click on New button it first shows me this pop up/ dropdown then it immediately redirect to the page where I fill the form. Everything is working fine but I want to disable this annoying pop
up.
ThanksHello Preetkamal110,
Do you have multiple content types and do you have the management of content types enabled?
Btw, this is a nice post on this dialog:
http://www.sharepointsharon.com/2013/06/sharepoint-2013-and-content-types/
- Dennis | Netherlands | Blog |
Twitter -
User Exit to Create Production Order when creating of Purchase Order
Hi Guru's,
I want to create the Production Order when creating the Purchase Order. i want to know is there any user exit exists for that??
My scenario is as follows.
we are converting the Purchase Requisition to the Purchase Order , while doing this we want to create the Production Order.. Is this possible??
If possible how can we do that???Please suggest me the possible solution.
Thanks in advance.
Thank you,
Adi.Teja,
My Scenario is as follows.
P1- Manufacturing Plant
P2 - WareHouse Plant (Procures Material from P1 using STO)
When we run the MRP in P2, it creates a Purchase Requisition, that Purc.Req is going to be convert as STO (Stock Transport Order) in P1 Plant.
When converting the Purchase Req to STO, we need to create a Production Order in P1 Plant.
we know that system will creae the Purchase Order only, is there any possibility that,For creating the Production Order is there any user Exit/BADI or any other procedure while creating the Purchase Order????
Thanks,
Adi. -
Can anyone give me user exit name for create/update purchase order partners
Hello guys
Can anyone gives me user exit name for create/update purchase order partners?
Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N) by using user exit.hi,
check these exits.
Transaction Code - ME21N Create Purchase Order
Enhancement/ Business Add-in Description
Enhancement
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number -
How can I prevent any use to update Purchase order if status was "Approval"
I have some users can update any purchasing order update after "Approval"
Please I would any Purchasing oracle module expert to Assist me to get way to solve problem.
How can I prevent any use to update Purchase order if status was "Approval"?
Further Information :
Oracle Allpication Release : 11.5.9
Oracle Purchasing Module.
Oracle Data Base: 11i
Khaled,Try writing a personalization on the PO screen that adds the following condition to the where clause
"and authorization_status !='APPROVED'
However, I will be careful with a blanket restriction like this. There are situations when you need to modify an existing PO. So you should code some exceptions for this rule.
Hope this helps,
Sandeep Gandhi -
Need to change delivery date in purchase order when it is created by ME59
Hi Gurus,
Purchase orders are created using Transaction ME59 where we give the Purchase Requistion. The delivery date in the PO will be same as the delivery date of PR. According to my requirement i need to change the date of PO while the time of its creation. could you please suggest me all the user exits to do this...Check with badi ME_PROCESS_PO_CUST method PROCESS_HEADER - method SET_DATA
-
Update Purchase Order number.(Link GL to PO)
Hi all,
Currently i am using the below query for one of our report(R12). However there is a need to update Purchase Order Number .Could anyone please help on how to link GL to PO and provide the updated query.The query is as follows.
SELECT gjl.je_line_num,
gjl.code_combination_id,
SUM(NVL(GJL.accounted_dr, 0)) AS Accounted_DR,
SUM(NVL(GJL.accounted_cr, 0)) AS Accounted_CR,
( SUM(NVL(GJL.accounted_dr, 0)) - SUM(NVL(GJL.accounted_cr, 0)) ) AS Accounted_Balance,
gjb.actual_flag,
NULL AS "Check Number",
gjb.name AS "Batch Name",
TO_CHAR(gjh.currency_conversion_date, 'DD-Mon-YYYY') currency_conversion_date,
ROUND(gjh.CURRENCY_CONVERSION_RATE,4) CURRENCY_CONVERSION_RATE,
gjh.currency_conversion_type,
NULL AS Document_Number,
SUM(NVL(GJL.entered_dr, 0)) AS Entered_DR,
SUM(NVL(GJL.entered_cr, 0)) AS Entered_CR,
( SUM(NVL(GJL.entered_dr, 0)) - SUM(NVL(GJL.entered_cr, 0)) ) AS Entered_Balance,
gcc.segment1
|| '.'
|| gcc.segment2
|| '.'
|| gcc.segment3
|| '.'
|| gcc.segment4
|| '.'
||gcc.segment5
|| '.'
|| gcc.segment6
|| '.'
|| gcc.segment7
|| '.'
|| gcc.segment8 "Account Code",
gl.currency_code AS "Ledger Currency",
gjh.name AS "Header Name",
gjl.description AS "Journal Line Description",
NULL AS party_name,
NULL AS party_id,
GJH.period_name,
TO_CHAR(gjh.POSTED_DATE, 'DD-Mon-YYYY') POSTED_DATE,
NULL AS "Purchase Invoice Number",
NULL AS "AP Invoice Line Description",
NULL AS "Sales Invoice Number",
gcc.segment1 Company ,
gcc.segment2 Account,
DECODE(gcc.segment2,NULL,'',apps.gl_flexfields_pkg.get_description_sql(gcc.chart_of_accounts_id,2,gcc.segment2)) AS "Seg2 Desc",
gcc.segment3 AS "Business Model",
gcc.segment4 Region,
gcc.segment5 AS "Cost Profit Center",
gcc.segment6 AS "Product Group",
gcc.segment7 AS "Related Company",
gcc.segment8 AS "Reserve",
gjl.status AS "Journal Line Status",
GL.name AS "LEDGER NAME",
GJH.currency_code,
GJH.je_category je_cat_f,
GJCT.user_je_category_name je_category,
GJH.je_source,
NULL AS "Sales_order" ,
NULL AS "Purchase Order Number"
FROM APPS.gl_je_headers gjh,
APPS.gl_je_batches gjb,
APPS.gl_ledgers gl,
APPS.gl_je_lines gjl,
APPS.gl_code_combinations gcc,
(SELECT je_category_name,
user_je_category_name
FROM APPS.GL_JE_CATEGORIES_TL
WHERE language='E'
) GJCT
WHERE gjh.je_from_sla_flag IS NULL
--AND gjh.EXTERNAL_REFERENCE IS NULL
AND gjb.je_batch_id = gjh.je_batch_id
AND gjh.ledger_id = gl.ledger_id
AND gjh.je_header_id = gjl.je_header_id
AND gcc.code_combination_id = gjl.code_combination_id
AND GJH.JE_CATEGORY = GJCT.je_category_name(+)
AND GL.name NOT IN('NL ABX RepCorp USD (EUR)')
GROUP BY gjl.je_line_num,
gjl.code_combination_id,
gjb.actual_flag,
gjb.name,
gjh.currency_conversion_date,
ROUND(gjh.CURRENCY_CONVERSION_RATE,4),
gjh.currency_conversion_type,
gcc.segment1
|| '.'
|| gcc.segment2
|| '.'
|| gcc.segment3
|| '.'
|| gcc.segment4
|| '.'
||gcc.segment5
|| '.'
|| gcc.segment6
|| '.'
|| gcc.segment7
|| '.'
|| gcc.segment8,
gl.currency_code,
gjh.name,
gjl.description,
gjb.je_batch_id,
gjb.status,
gjb.posted_date,
gjb.description,
gl.name,
gjh.name,
GJH.period_name,
gjh.posted_date,
gcc.segment1,
gcc.segment2,
gcc.segment3,
gcc.segment4,
gcc.segment5,
gcc.segment6,
gcc.segment7,
gcc.segment8,
GL.name,
gjl.status,
GJH.je_category,
GJCT.user_je_category_name,
GJH.je_source,
GJH.currency_code,
DECODE(gcc.segment2,NULL,'',apps.gl_flexfields_pkg.get_description_sql(gcc.chart_of_accounts_id,2,gcc.segment2))Finally Resolved the problem by writing 2 exits.
one exit 'EXIT_SAPLVEDB_007' for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX. if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
2nd exit for updating the purchase order number.
I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number. so to update ship-to party's purchase order number it is going to that screen.
so I have used that thing to update purchase order number in sold-to party's purchase order number.
so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata. Then it is worked.
This is the solution I found in my time.
Any way it is solved. Hope it will be helpful for others who will get this problem. -
Update Purchase order number in Sales order item level from inbound ORDCHG iDoc
Hi Gurus,
I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
Which exit I need to use? where to update? Can you please help.
Thank you in advance.
Regards,
SanFinally Resolved the problem by writing 2 exits.
one exit 'EXIT_SAPLVEDB_007' for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX. if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
2nd exit for updating the purchase order number.
I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number. so to update ship-to party's purchase order number it is going to that screen.
so I have used that thing to update purchase order number in sold-to party's purchase order number.
so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata. Then it is worked.
This is the solution I found in my time.
Any way it is solved. Hope it will be helpful for others who will get this problem. -
Updating Purchase Order data in VBKD table
Hello,
We are trying to update Purchase order data in VBKD table for Sales Order at Item level. When sales Order is created, VBKD has a default record with VBELN = 'sales order number' and Item = '00000'. We want to update BSTKD_E field with Purchase order number for VBELN= 'sales order number' and Item = '00010'.
We wrote our logic in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_MOVE_FIELDS_TO_VBKD in MV50AFZZ to append new entries in XVBKD with VBELN= 'sales order number' and Item = '00010'. But in this case Sales order is not created with UPDATE TERMINATED message. We are not sure if we can append a new record in XVBKD.
wa_xvbkd = xvbkd.
wa_xvbkd-posnr = wa_xvbap-posnr. "00010
wa_xvbkd-bstkd_e = vbkd-bstkd. "PO no
wa_xvbkd-posex_e = wa_xvbap-posnr. "Purch. order item no
wa_xvbkd-updkz = C_I.
APPEND wa_xvbkd TO xvbkd.
CLEAR wa_xvbkd.
Please advice the suitable way to have a Purchase Order item level data in Sales Order.
Thanks
RohitHi,
You can try these FM to update info record.
ME_DB_UPDATE_INFORECORDS
ME_UPDATE_INFORECORD
ME_UPDATE_INFORECORD_COND
ME_UPDATE_INFORECORD_PD
Check the sample code on BAPI_PO_CHANGE
http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
Regards,
Shiva Kumar -
Unable to update purchase order after partial delivery
bold Issue:
After upgrading from v2005 > v2007:
1) We created a PO with two different purchase items :
row 1: 10 pcs Item x
row 2: 15 pcs item Y
2) create a Goods Receipt PO based on the PO row 2 (15 pcs Item Y) so this row will be closed in the PO.
3) after saving the GRPO item Y is set as a non purchase item (deselected the tick box "Purchase Item" on the Item master), because the supplier will not be able to deliver this item again.
4) After changing item Y, we want to update the amount of Item X to for example 11 (instead of 10). This item is still a purchase item > while updating the PO the following error appears:
[Purchase Order - Rows - Item No.][line: 2] , 'The item is not a purchase item (2)' [Message 131-10]
In v2005 it was possible to follow the above procedure, however since the upgrade of v2007 the error appears.
The problem is that that it happens very often that the suppliers change the items, so they cannot be delivered anymore.
bold Below the response of SAP Support:
Line: -
Yes, I understand what you mean that the item you want to deliver is the other item PQ which is still a purchase item. However, the system does the checking based on document level, and not filtering only per Open rows. Hence, even if the item for B8 is fully closed, the system still detects that there is a non-purchase item in an open document (B8).
In order to update the other item PQ, please set the item B8 back to Purchase Item. Once the Sales Order is updated, you may update B8 again to Non Purchase.
If the possibility of using the 'Active/Inactive' button is not possible, another workaround is to use a User Define Field to flag the item. For example, you can set it as 'Y', when the supplier stopp ed selling the item. Then, in the Item Search window, you can filter the records to group those items that are set as 'Y' and the rest as 'N'. Only those 'N' items can be used when placing orders.
As an added procedure, you can generate an approval procedure that will be triggered when an item that is set as 'Y' in the User Defined field is added in the Purchase Order. When the approval is trig gered, the user can then re-verify the items added and make the necessary changes before saving the purchase document.
I hope the above workaround is suitable. I agree with the expected logic, but per Note937297, the stock status of an item is not meant to be changed after documents are added in the system. It seems a limitation in the current system.
Line: -
bold Solution:
The system should check if the open row can be delivered, since it still is a purchase item.
The provided workarounds are not an option for our customer, so we are looking forward to a positive reaction!
Kind regards,
CharlotteUnable to update purchase order after partial delivery
Issue:
After upgrading from v2005 > v2007:
1) We created a PO with two different purchase items :
row 1: 10 pcs Item x
row 2: 15 pcs item Y
2) create a Goods Receipt PO based on the PO row 2 (15 pcs Item Y) so this row will be closed in the PO.
3) after saving the GRPO item Y is set as a non purchase item (deselected the tick box "Purchase Item" on the Item master), because the supplier will not be able to deliver this item again.
4) After changing item Y, we want to update the amount of Item X to for example 11 (instead of 10). This item is still a purchase item > while updating the PO the following error appears:
[Purchase Order - Rows - Item No.][line: 2] , 'The item is not a purchase item (2)' [Message 131-10]
In v2005 it was possible to follow the above procedure, however since the upgrade of v2007 the error appears.
The problem is that that it happens very often that the suppliers change the items, so they cannot be delivered anymore.
Below the response of SAP Support:
Yes, I understand what you mean that the item you want to deliver is the other item PQ which is still a purchase item. However, the system does the checking based on document level, and not filtering only per Open rows. Hence, even if the item for B8 is fully closed, the system still detects that there is a non-purchase item in an open document (B8).
In order to update the other item PQ, please set the item B8 back to Purchase Item. Once the Sales Order is updated, you may update B8 again to Non Purchase.
If the possibility of using the 'Active/Inactive' button is not possible, another workaround is to use a User Define Field to flag the item. For example, you can set it as 'Y', when the supplier stopp ed selling the item. Then, in the Item Search window, you can filter the records to group those items that are set as 'Y' and the rest as 'N'. Only those 'N' items can be used when placing orders.
As an added procedure, you can generate an approval procedure that will be triggered when an item that is set as 'Y' in the User Defined field is added in the Purchase Order. When the approval is trig gered, the user can then re-verify the items added and make the necessary changes before saving the purchase document.
I hope the above workaround is suitable. I agree with the expected logic, but per Note937297, the stock status of an item is not meant to be changed after documents are added in the system. It seems a limitation in the current system.
Solution:
The system should check if the open row can be delivered, since it still is a purchase item.
The provided workarounds are not an option for our customer, so we are looking forward to a positive reaction!
Kind regards,
Charlotte -
How implement Auto Purchase Order in Transportation Cost Settlement
Hi,Experts,
When Settling the Transportation Cost,I must create PO manually.Can anybody tell me How implement Auto Purchase Order in Transportation Cost Settlement?
Thanks for a lot.
Donald LoDear Donald,
Please go through this SAP link it will help you about Shipment cost settlement process in the transportation.
http://help.sap.com/saphelp_47x200/helpdata/en/93/74413b546011d1a7020000e829fd11/frameset.htm
I hope it will help you,
Regards,
Murali. -
Update purchase Order using offline file
Hi Experts
How to create and update purchase Order using offline file. How to execute offline API from program in batch ?Hi Experts
How to create and update purchase Order using offline file. How to execute offline API from program in batch ?
Maybe you are looking for
-
Getting position of data after selecting
Hi All, Need help regarding this... Say I have a select statement that selects data from it and orders it in some fashion... Ex: The list of top 5 earners in a organisation i.e SELECT ename,sal FROM EMP WHERE sal >(SELECT AVG(sal) FROM EMP) AND ROWNU
-
Need help in loading Data file
I am new to HFM. I am trying one example and try to load data file. But i am getting error saying period July is invalid. Do i have to follow certain steps before loading data file. Sample file !Column_Order = Scenario, Year, Period, View, Entity, Va
-
ORA-03113 error when using Oracle 9i with Mapx 5.0
Hello, I am using Personal Oracle 9i Release 2 with Mapx5.0 on Delphi. Accessing the layers using tab files also as server layers.., and commonly using the method of Mapx Layer.SearchAtPoint Search is done on region, line as well as on point objects.
-
Is there a way to transfer my texts from my old Droid2 to my new Droid2?
I have a new Droid2 (side note... I replaced a damaged Droid2 - recommend getting a cover for your Droid... I dropped my sans cover... and the glass now has a big spider web crack in it) What I want to know is there a way to transfer my texts from my
-
Hi Gurus, I will be getting the IDOCS from an external system which is also on SAP. What I need to do is to get these IDOCS which are called Erroreneous IDOCS. From the IDOC numbers I am able to see the message types and idoc types and data in the se