Purchase order archived long back. User wants to retrieve specific POs.
Purchase order archived long back in 2004.
These POs are not displayed in ME23n and ME2l.
User wants to retrieve specific list of POs and make them displayed in ME23n & ME2l.
Is there way to retrieve only selected (say 100 specific Purchase orders or Purchase order from specific Company code) purchase orders?
Kindly guide me.
Thanks & Best Regards,
Mohan
Hi Steeve,
Thanks for the information.
When I execute ME82, I get a window with "Archive Administration: Select Files for Read Program"
and list as below,
000943 26.08.2006 all EKKOs older than 720 days
000557 01.01.2005 all EKKOs older than 720 days
000512 09.10.2004 all EKKOs older than 720 days
000458 29.06.2004 SD_EKKO - archiving run file
000434 28.05.2004 SD_EKKO - archiving run - job cancelled, files de
000294 18.11.2000
000291 16.11.2000
000276 14.10.2000
000267 16.09.2000
000261 09.09.2000
Can I click, process and proceed? Would this create any problem?
Kindly inform.
Thanks & Best Regards,
Mohan
Similar Messages
-
STANDARD PURCHASE ORDER에 대한 ARCHIVE DATA 읽는법
제품 : MFG_PO
작성날짜 : 2005-11-08
STANDARD PURCHASE ORDER에 대한 ARCHIVE DATA 읽는법
==================================================
PURPOSE
Standard Purchase Order에 대한 archive data 읽는법을 알고 이를 issue
해결에 사용할 수 있다.
(R11 ~ R11i)
Explanation
Standard PO no 125가 생성되고, 이 PO는 하나의 line,shipment,distribution
을 가지고 있다고 가정한다.
User가 이 PO를 approve 했고 status는 'Approved' 상태라고 가정한다.
또한 Standard PO document type이 'Archive on Approve'로 setting 되어 있
다고 가정한다.
아래는 Tables에서 data가 어떻게 보이는지를 보여준다...
PO_HEADERS_ALL:
PO_HEADER_ID SEGMENT1 REVISION_NUM
888 125 0
PO_HEADERS_ARCHIVE_ALL:
PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
888 0 Y
PO_LINES_ARCHIVE_ALL:
PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
888 777 1 0 Y
PO_LINE_LOCATIONS_ARCHIVE_ALL:
PO_LINE_LOCATION_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
555 777 1 0 Y
PO_DISTRIBUTIONS_ARCHIVE_ALL:
PO_DIST.ID PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
222 888 777 1 0 Y
이때 PO에 새로운 line을 추가하고 approve를 한다.
관련된 tables의 변화를 볼 수 있다.
PO_HEADERS_ALL:
PO_HEADER_ID SEGMENT1 REVISION_NUM
888 125 1 <- because we added a line
PO_HEADERS_ARCHIVE_ALL:
PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
888 0 N
888 1 Y <-- latest rev on the header is now 1
PO_LINES_ARCHIVE_ALL:
PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
888 777 1 0 Y <--note line 1 didn't change
888 778 2 1 Y <--note line 2 was created in rev 1
PO_LINE_LOCATIONS_ARCHIVE_ALL :
PO_LINE_LOCATION_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
555 777 1 0 Y
556 778 2 1 Y <--note line 2 was inserted
PO_DISTRIBUTIONS_ARCHIVE_ALL:
PO_DIST.ID PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
222 888 777 1 0 Y
223 888 778 2 1 Y <--note line 2 was inserted
PO header만 변경 후 approve를 한다.
PO_HEADERS_ALL과 PO_HEADERS_ARCHIVE_ALL tables 만 유일하게 영향을 받을 것이다.
PO_HEADERS_ALL:
PO_HEADER_ID SEGMENT1 REVISION_NUM
888 125 2
PO_HEADERS_ARCHIVE_ALL:
PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
888 0 N
888 1 N
888 2 Y
Line1의 수량을 변경한다. shipment나 distribution은 변경하지 않는다.
PO_HEADERS_ALL:
PO_HEADER_ID SEGMENT1 REVISION_NUM
888 125 3
PO_HEADERS_ARCHIVE_ALL:
PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
888 0 N
888 1 N
888 2 N
888 3 Y
PO_LINES_ARCHIVE_ALL:
PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
888 777 1 0 N <---latest ext flag
change to N
888 777 1 3 Y <--this row inserted rev num matches header revision in which change was made.
Lower rev for this line had latest external flag changed to N.
888 778 2 1 Y <--no changes
All other tables do not change.
PO line에 세번째 line을 추가 후 다시 approve를 한다.
PO_HEADERS_ALL:
PO_HEADER_ID SEGMENT1 REVISION_NUM
888 125 4
PO_HEADERS_ARCHIVE_ALL:
PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
888 0 N
888 1 N
888 2 N
888 3 N
888 4 Y
PO_LINES_ARCHIVE_ALL:
PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
888 777 1 0 N <---didn't change
888 777 1 3 Y <---didn't change
888 778 2 1 Y <---didn't change
888 779 3 4 Y <--line 3 added to lines archive.
PO_LINE_LOCATIONS_ARCHIVE_ALL:
PO_LINE_LOCATION_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
555 777 1 0 Y
556 778 2 1 Y
557 779 3 4 Y<--line 3 added to archive.
PO_DISTRIBUTIONS_ARCHIVE_ALL:
PO_DIST.ID PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
222 888 777 1 0 Y
223 888 778 2 1 Y
224 888 779 3 4 Y<--line 3 added to archive.
마지막 test로 2번째 line의 distribution 정보를 변경 후 PO를 다시 approve한다.
PO_HEADERS_ALL:
PO_HEADER_ID SEGMENT1 REVISION_NUM
888 125 5
PO_HEADERS_ARCHIVE_ALL:
PO_HEADER_ID REVISION_NUM LATEST_EXTERNAL_FLAG
888 0 N
888 1 N
888 2 N
888 3 N
888 4 N
888 5 Y
PO_LINES_ARCHIVE_ALL:
PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM LATEST_EXTERNAL_FLAG
888 777 1 0 N <---didn't change
888 777 1 3 Y <---didn't change
888 778 2 1 N <--latest ext flag when to N
888 778 2 5 .Y <--row inserted & latest ext flag set to Y
888 779 3 4 Y <---didn't change
PO_DISTRIBUTIONS_ARCHIVE_ALL:
PO_DIST.ID PO_HEADER_ID PO_LINE_ID LINE_NUM REVISION_NUM
LATEST_EXTERNAL_FLAG
222 888 777 1 0 Y
223 888 778 2 1 N <--latest ext flag set to N
223 888 778 2 5 Y
224 888 779 3 4 Y
Reference Documents
Note 251537.1the error might be that you are just executing programs and you dont know the correct chain.
Better you do archiving always from SARA transaction
there you enter the object MM_EKKO and hit enter.
You get a button for each step.
first you usually have a preprocessing step which sets the deletion indicators
next step is the write step. you always have to check the log and the spool file to be certain that you had written records to an archive. A bigger archiving step may write several archives depending on the customizing of file size.
In the delete step you have to select from against which archive you want delete the records from the table.
SAP checks then if the archive can be read and deletes the corresponding tables entries in EKKO and EKPO and all other related tables.
Depending on customizing the Delete step can be an automatic executed step when the write job has finished, and does not need to be executed manually.
after the deletion you usually store the archive somewhere.
The administer button can give you info about the archive run and files that were created and the status. -
BAPI_GOODSMVT_CREATE giving error purchase order is locked by user
I am calling multiple times BAPI_GOODSMVT_CREATE for same Purchase order to post goods receipt.
first goods receipt created successfully but second one has given the error the Purchase order is lockecd by USER 'XXXX' .
i am calling 'BAPI_TRANSACTION_COMMIT after each BAPI BAPI_GOODSMVT_CREATE.
i tried with passing parameter WAIT = 'X' in 'BAPI_TRANSACTION_COMMIT. then also getting same error message.
please any one tell me the solutionHi
1. Check all the call is handled the release function(JCO.releaseClient(client)) for each call.
2. And check in finally
finally {
try {
if (client != null) {
JCO.removeClientPool(SID);
JCO.releaseClient(client);
if(client.isAlive()){
client.disconnect();
JCO.releaseClient(client); }
} catch (JCO.Exception ex) { }
Kind Regards
Mukesh -
Hi to all experts,
pls.help me of this requrement i need to get a table of long text of purchase order item long text .
can anybody know where long text will saved .
Regards ,
Kiran.Here is an example.
report zrich_0001 .
data: name type thead-tdname.
data: lines type table of tline with header line.
parameters: p_ebeln type ekko-ebeln,
p_ebelp type ekpo-ebelp.
concatenate p_ebeln p_ebelp into name.
call function 'READ_TEXT'
exporting
id = 'F01'
language = sy-langu
name = name
object = 'EKPO'
tables
lines = lines
exceptions
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
others = 8.
loop at lines.
write:/ lines.
endloop.
Regards.
Rich Heilman -
Change MOT in purchase order using CIF Inbound user exit
Hello APO Experts,
Objective is to change start date of purchase order ( date at source location) in APO based on some date in R3.
Planning to bring R3 date using CIF Outboud user exit( CIFPUR01) in R3 and then further requirement is to a) calculate lead time in inbound user exit ( APOCF006) of purchase order in APO b) compare it with lead time of all available Means of Transport in that particular TLane and select one MOT say XX which matches that lead time c) Next part is to change existing MOT in the Purchase order and replace it with the new XX MOT.
For part c....I am wondering how can we change existing MOT in purchase order and replace it with a new one.Can it be achieved by the user exit APOCF006 in APO or something else is required.
Will appreciate your quick reply on this issue.
Thanks
Best RegardsHi Nilesh
We have a similar requirement. I know its way long for you to remember but i would appreciate if you could share what did you do to achieve this.
Thanks
Abhishek Rai -
Purchase order output determination thru User exit
Hi,
We are trying to find a way to determine the output for PO while creation (me21n) or modification (me22n).
We do not want to maintain output condition records for each fax/print/email etc..cases.
Can we do below thru a user exit or any other method ?
While creating PO, an OA partner will be chosen, so instead of maintaining the output condition records,
- user exit can access to OA's vendor master record and read Standard Comm.Method in Address section.
- according to comm.method, the PO message should be determined..
i.e: if comm.method is Fax, then message should be sent to OA thru Fax.
can this be done thru an exit ?
Thanks and Regards,
OcalHi Stefan,
The steps are as follows:
Output of Purchase Order
1. Condition Table
SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
Select:
Purchasing Doc. Type,
Purch. Organization,
Vendor
2. Access Sequences
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
3. Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
*4. Message Determination Schemas*
4.1. Message Determination Schemas
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
4.2. Assign Schema to Purchase Order
SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
5. Partner Roles per Message Type
SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
6. Condition Record
Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
Now you create PO (ME21N) and save it. Go to ME22N and print the PO by giving output type.
Reward me if it helpful
ASHOK -
How to consider the Purchase Orders in Long Term Planning
Hi All,
I wanted to include the Purchase Orders of Finished Material in Long Term Planning.
I have selected the check box "Long-term planning: include firmed issues and receipts" in the Planning Scenario but after LTP run system is not considering the Purchase Orders of Finished Materials for Planning.
Regards,
Shailendra
Edited by: Shailendra Hadkar on Apr 5, 2010 12:41 PMDear,
Could you please explain usage of purchase orders for Finished product?
Regards,
SAP CONS -
Hi,
I am trying to archive Purchase orders.
The object used MM_EKKO
I have used the SAP standard program RM06EW47 to write the data.
At the time of deleting the write data by program RM06ED47 it says that select an archive file.
What might be the error.the error might be that you are just executing programs and you dont know the correct chain.
Better you do archiving always from SARA transaction
there you enter the object MM_EKKO and hit enter.
You get a button for each step.
first you usually have a preprocessing step which sets the deletion indicators
next step is the write step. you always have to check the log and the spool file to be certain that you had written records to an archive. A bigger archiving step may write several archives depending on the customizing of file size.
In the delete step you have to select from against which archive you want delete the records from the table.
SAP checks then if the archive can be read and deletes the corresponding tables entries in EKKO and EKPO and all other related tables.
Depending on customizing the Delete step can be an automatic executed step when the write job has finished, and does not need to be executed manually.
after the deletion you usually store the archive somewhere.
The administer button can give you info about the archive run and files that were created and the status. -
Purchase orders and requisitions - R12 user interfaces
Hi,
I see that the purchase order can be registered in the system by two different interfaces (I'm running R12.1.1): Using Oracle forms (Navigation path: Purchasing Super user: -> Purchase orders -> Purchase orders) and using Java html pages (Navigation path: Purchasing Super user: ->Buyer workspace ->Orders).
I have two questions:
1. The second option (using java pages) is not documented in the usersguide. Is it fully in production or they are still developing it? Why there are two different interfaces for the same purpose?
2. I see that from Java pages interface I can only see requisitions, but I cannot enter new ones (Navigation path: Purchasing Super user: ->Buyer workspace ->Requisitions). Should I enable somewhere this or the requisition is not developed using Java pages interface?
Thank you993322 wrote:
Hi,
I see that the purchase order can be registered in the system by two different interfaces (I'm running R12.1.1): Using Oracle forms (Navigation path: Purchasing Super user: -> Purchase orders -> Purchase orders) and using Java html pages (Navigation path: Purchasing Super user: ->Buyer workspace ->Orders).
I have two questions:
1. The second option (using java pages) is not documented in the usersguide. Is it fully in production or they are still developing it? Why there are two different interfaces for the same purpose?
2. I see that from Java pages interface I can only see requisitions, but I cannot enter new ones (Navigation path: Purchasing Super user: ->Buyer workspace ->Requisitions). Should I enable somewhere this or the requisition is not developed using Java pages interface?
Thank you
http://docs.oracle.com/cd/E18727_01/doc.121/e13410/T446883T443956.htm
http://www.apps2fusion.com/training_demo/puneetk/Professional-Buyer-Work-Center.pdf
HTH
Mahendra -
Unit Price Field is in-active on a Purchase Order for a Normal User
Hi All,
One of my A/P user is unable to enter price on a Purchase Order as the PO Unit Price field is inactive. I have given this user full authorization on PO and activated the unit price field from form settings as well but as such nothing is happening. Can anybody tell me how to get it activated.
BR+Naveed Jameel wrote:
<<Hi All,
One of my A/P user is unable to enter price on a Purchase Order as the PO Unit Price field is inactive. I have given this user full authorization on PO and activated the unit price field from form settings as well but as such nothing is happening. Can anybody tell me how to get it activated.>>+
Hello Naveed,
Have you given read only or full authorisation to the price list group associated with the price list used for your BOM?
KR
Murielle -
Workflow: purchase order created approve defferent users
hi friends,
i am creaed purchase order throw workflow. under that based on release stategy released and cancelld working fine. but our client requirement is two defferent release codes is customising one release code <=1000 is approved (current user), and another release code is =>1000 is approved (another user). so please give me a valuable suggestions.
advance thanks you.
Regards,
Bikshu.Hi,
Based on the release strategy for PO, you can set the agents in config. SPRO - Materials Management - Purchasing - Purchase Order - Release Procedure for Purchase Order - Define Release Procedures for PO's - Workflow.
Here, based on the release group and release code, you can set the approval agents. This method can be used if your approval agents are fixed and known. If it has to be calculated at runtime, then you have to use other methods and rules.
Ensure that you have made an entry of 1 in the Workflow column for the appropriate release group and release code under SPRO - Materials Management - Purchasing - Purchase Order - Release Procedure for Purchase Order - Define Release Procedures for PO's - Release code.
In you step in the workflow, leave the agents as blank when you adopt this method.
Cheers,
Satish
Edited by: Satish Kumar R on Oct 13, 2008 1:55 AM -
Purchase Order Document limit to user
Hi All,
My requirement is to limit a user such that user should not raise any purchase orders whose document total exceeding Rs. 5000.
I need a functionality without using Approval procedures.
Thankyou.To prevent entering PO for more the 5000 for specific users (in the code with id=2,3) you can use this code in SBO_SP_TransactionNotification stored procedure:
IF @transaction_type IN ('A','U') AND @object_type = '22'
BEGIN
if exists (Select DocTotal from [dbo].[OPOR] T0 where T0.DocTotal > 5000
AND T0.Usersign in (2,3)
AND T0.DocEntry=@list_of_cols_val_tab_del)
begin
SELECT @error = 1, @error_message = 'You should not make more then 5000 !'
end
END -
Purchase order increase limitation for user
Hi Experts
How can increase the purchase order limitation for the perticular user
which transaction code have to be run to change the purchase limitation
Regards
PirozHi
Thread closed, I got it
Thanks -
Deletion of Purchase order iems brings back the requirement to sourcing
Hi,
A purchase order is created from sourcing cockpit. When the PO item is deleted, the requirement is appearing back in sourcing cockpit.
I understand it as a standard functionality.
Can I know where I can verify my understanding in SAP HELP?
VasuHi Vasudevarao,
I don't know if we have it fully documented in the SAP help yet, however I can assure you your assumption is correct, this is the desired outcome.
There might be various reasons to delete a PO. But that does not automatically make the requirement invalid, the deleted PO was based on.
If this was helpful please reward points. If not, please let me know anyway.
Thank you and best regards,
Andreas -
ITunes purchased when restored from back-up wants me to authorise each one
Original pc 'died' - hard disk error but I managed to back-up my ITunes libraries to an external drive. I have copied the contents to my new laptop but they are not appearing on my ITunes library (similar to HUGGYUK previous problem). When I attempt to play the music which I had already paid Apple for on my old pc, it keeps asking me to 'authorise' each item. I then attempt to sign in and it does not recognise my sign-in although I can use this sign-in to access the ITunes store. So I now have 'bought and paid for' 1100 records approx which I cannot use.
Help,pleaseTaking the first issue. If you copied the iTunes folder from your old PC onto the external disk, and you had all your tracks in the iTunes Media folder in the iTunes folder, then it should be very simple.
In order to check if things will work - that is to say this is a test not the answer.
Plug in your external drive. Then hold down the shift key and start iTunes. Keep holding the shift key until you are prompted to choose a library. Navigate to the iTunes folder on the external drive and choose iTunes Library.itl.
If you do this, do you get your old library back as it was on the old PC?
You can switch back to your internal drive again by repeating the shift key start and choosing iTunes Library.itl in the iTunes folder on the internal drive.
On the authorisation issue, did you try the things I suggest adn if so what was the result?
Tracks bough from the iTunes store some time ago were DRM protected so the PC needs to be authorised to play them. The tracks will be Protected AAC files if you look on the general tab in Get Info and the files will have the extension .m4p.
More recent purchases are not DRM protected and will show as Purchased AAC audio file.
Maybe you are looking for
-
Audio and video out of sync after capture from Canon
Help for a newbie please? I have a Canon XHA1S and have a problem after capturing HD video. After capturing a 40 minute clip, the audio and video are out of sync. Seems like there is about a 3 second difference. The entire clip is like that in t
-
Mapping: accessing XI's client number at runtime
Hi <experts> Is there a way to access XI installation specific stuff like e.g. client number at mapping runtime ?? Example: XI is client 100 in dev, 200 in qa and 300 in prod. Need to read that client number at runtime in a mapping program.
-
Multiple Reciver and Reciver Determination Condition is not working
Hi, My Message is look like this . <?xml version="1.0" encoding="UTF-8"?> <dataroot generated=""> <ChartOfAccounts> <glAcctNo>300000</glAcctNo> <COA>CAUS</COA> <acct_grp>SAKO</acct_grp> <shortText>short text</short
-
Hi all, It seems that all example code found online to use VISA to write to GPIB will send string (command and data). I wonder if this is how it design or we can change that to use binary data instead? Now to send 100 8-bit data (ranged from 100 to
-
I am trying to duplicate a display for training pilots. The display is a 14hi x 25wide grid. The font is 'Letter Gothic MT Bold'. Each character has equal widths and fits perfectly in the grid, which is what I need. I also need the same font 3 points