SRM Purchase order History Screen Modification
Hi All,
We have requirement to modify Purchase order's History table to modify. To be precise When User clicks on Purchase order details tab and go to Follow-on document at header tab There will be two option to view the follow-on document. One is graphical and other is Table view.
Standard SRM history tab you will get Purchase order number, Goods Receipt number both in SRM and backend system as well as status. Can over here we add Goods Receipt Quantity and Amount as well as Invoice Amount? We are using Extended Classic Scenario.
Please advise.
Thank you
Ritesh
Hi
Pl find the content of the notes.
Note 1524928 - History: Order of related document is not consistent.
Symptom
In some cases, when you go to the shopping cart item history, the system displays follow-on documents in a wrong order.
Other terms
History.
Reason and Prerequisites
Program Error.
Solution
Implement the attached correction instructions or apply the relevant Support Package.
If the note is not released , pl raise a OSS to get this note released.
Regards
velu
Similar Messages
-
Accounting document number display in purchase order history tab
Is it possible to display the accounting document number in the purchase order history tab? Currently it is displaying material document number for Good receipts and LIV (logistic invoice verification) document number for Invoice receipts against material document number colmn. We can get to the accounting document number by drilling into the LIV document number. We are looking for a way to display the accounting document number in the display screen of purchase order history tab instead of drilling down.
Is there an option to display accounting document number of the MIRO posting in ME23N , purchase order history tab?
Truly appreciate any help in this regard.Thanks for the response.
-
Mass display or print Purchase Order History
Instead of checking your Purchase Order History one at a time, you can now mass display or print them with this customized abap report.
Mass display or print Purchase Order History
You can request report by :
1. Change date
2. User Name
3. Purchase Order Number
4. Vendor Code
Written by : SAP Basis, ABAP Programming and Other IMG Stuff
http://www.sap-img.com
REPORT ZPOCHANGE LINE-SIZE 132 NO STANDARD PAGE HEADING
LINE-COUNT 065(001)
MESSAGE-ID VR.
TABLES: DD04T,
CDHDR,
CDPOS,
DD03L,
DD41V,
T685T,
VBPA,
TPART,
KONVC,
EKKO.
SELECT-OPTIONS: XUDATE FOR CDHDR-UDATE,
XNAME FOR CDHDR-USERNAME,
XEBELN FOR EKKO-EBELN,
XLIFNR FOR EKKO-LIFNR.
SELECTION-SCREEN SKIP.
TEXT-001 - Sorting Sequence
SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
PARAMETERS: SUDATE RADIOBUTTON GROUP R1,
SNAME RADIOBUTTON GROUP R1,
SOBID RADIOBUTTON GROUP R1.
SELECTION-SCREEN END OF BLOCK BLK1.
DATA: WFLAG,
WCHANGENR LIKE CDHDR-CHANGENR.
DATA: INDTEXT(60) TYPE C.
DATA: BEGIN OF ICDHDR OCCURS 50.
INCLUDE STRUCTURE CDHDR.
DATA: END OF ICDHDR.
DATA: BEGIN OF ICDSHW OCCURS 50.
INCLUDE STRUCTURE CDSHW.
DATA: END OF ICDSHW.
DATA: BEGIN OF EKKEY,
EBELN LIKE EKET-EBELN,
EBELP LIKE EKET-EBELP,
ETENR LIKE EKET-ETENR,
END OF EKKEY.
DATA: BEGIN OF ITAB OCCURS 50,
BEGIN OF EKKEY,
EBELN LIKE EKET-EBELN,
EBELP LIKE EKET-EBELP,
ETENR LIKE EKET-ETENR,
END OF EKKEY,
CHANGENR LIKE CDHDR-CHANGENR,
UDATE LIKE CDHDR-UDATE,
UTIME LIKE CDHDR-UTIME,
USERNAME LIKE CDHDR-USERNAME,
CHNGIND LIKE CDSHW-CHNGIND,
FTEXT LIKE CDSHW-FTEXT,
OUTLEN LIKE CDSHW-OUTLEN,
F_OLD LIKE CDSHW-F_OLD,
F_NEW LIKE CDSHW-F_NEW,
END OF ITAB.
DATA: OLD_OBJECTID LIKE CDHDR-OBJECTID.
FIELD-SYMBOLS: <F_OLD>, <F_NEW>.
SELECT * FROM EKKO WHERE EBELN IN XEBELN AND
LIFNR IN XLIFNR.
CLEAR CDHDR.
CLEAR CDPOS.
CDHDR-OBJECTCLAS = 'EINKBELEG'.
CDHDR-OBJECTID = EKKO-EBELN.
PERFORM GETCHGDOCS.
ENDSELECT.
IF SUDATE = 'X'.
SORT ITAB BY UDATE EKKEY-EBELN CHANGENR EKKEY-EBELP
EKKEY-ETENR.
ELSEIF SNAME = 'X'.
SORT ITAB BY USERNAME EKKEY-EBELN CHANGENR EKKEY-EBELP
EKKEY-ETENR.
ELSE.
SORT ITAB BY EKKEY-EBELN CHANGENR EKKEY-EBELP EKKEY-ETENR.
ENDIF.
LOOP AT ITAB.
CLEAR: INDTEXT, EKKEY.
CASE ITAB-CHNGIND.
WHEN 'U'.
INDTEXT(50) = ITAB-FTEXT.
INDTEXT+51 = TEXT-020.
CONDENSE INDTEXT.
WHEN 'D'.
INDTEXT = TEXT-021.
WHEN 'E'.
INDTEXT(5) = ITAB-FTEXT.
INDTEXT+51 = TEXT-021.
CONDENSE INDTEXT.
WHEN 'I'.
INDTEXT = TEXT-022.
ENDCASE.
RESERVE 4 LINES.
IF WCHANGENR NE ITAB-CHANGENR.
WCHANGENR = ITAB-CHANGENR.
EKKEY = ITAB-EKKEY.
WRITE:/ ITAB-UDATE UNDER 'Change Date',
ITAB-UTIME UNDER 'Time',
ITAB-USERNAME UNDER 'User Name',
ITAB-EKKEY-EBELN UNDER 'PO No',
ITAB-EKKEY-EBELP UNDER 'Item',
ITAB-EKKEY-ETENR UNDER 'Sch No',
INDTEXT UNDER 'Changes'.
ELSEIF ITAB-EKKEY NE EKKEY.
WRITE:/ ITAB-EKKEY-EBELP UNDER 'Item',
ITAB-EKKEY-ETENR UNDER 'Sch No',
INDTEXT UNDER 'Changes'.
ENDIF.
CASE ITAB-CHNGIND.
WHEN 'U'.
ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
ASSIGN ITAB-F_NEW(ITAB-OUTLEN) TO <F_NEW>.
WRITE: / TEXT-023 UNDER 'Changes',
<F_OLD>.
WRITE: / TEXT-024 UNDER 'Changes',
<F_NEW>.
WHEN 'E'.
ASSIGN ITAB-F_OLD(ITAB-OUTLEN) TO <F_OLD>.
WRITE: TEXT-023 UNDER 'Changes',
<F_OLD>.
ENDCASE.
SKIP.
ENDLOOP.
TOP-OF-PAGE.
WRITE:/ SY-DATUM,SY-UZEIT,
50 'P U R C H A S E O R D E R H I S T O R Y',
120 'Page', SY-PAGNO.
WRITE: / SY-REPID,
60 'Purchase Orders Changes'.
SKIP.
ULINE.
IF SUDATE = 'X'.
WRITE:/001 'Change Date',
014 'Time',
024 'User Name',
038 'PO No',
050 'Item',
057 'Sch No',
065 'Changes'.
ELSEIF SOBID = 'X'.
WRITE:/001 'PO No',
013 'Item',
020 'Sch No',
028 'Change Date',
041 'Time',
051 'User Name',
065 'Changes'.
ELSE.
WRITE:/001 'User Name',
015 'Change Date',
028 'Time',
038 'PO No',
050 'Item',
057 'Sch No',
065 'Changes'.
ENDIF.
ULINE.
FORM GETCHGDOCS.
CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
EXPORTING
DATE_OF_CHANGE = CDHDR-UDATE
OBJECTCLASS = CDHDR-OBJECTCLAS
OBJECTID = CDHDR-OBJECTID
TIME_OF_CHANGE = CDHDR-UTIME
USERNAME = CDHDR-USERNAME
TABLES
I_CDHDR = ICDHDR
EXCEPTIONS
NO_POSITION_FOUND = 1
OTHERS = 2.
CHECK SY-SUBRC EQ 0.
DELETE ICDHDR WHERE CHANGE_IND EQ 'I'.
CHECK NOT ICDHDR[] IS INITIAL.
LOOP AT ICDHDR.
CHECK ICDHDR-UDATE IN XUDATE.
CHECK ICDHDR-USERNAME IN XNAME.
CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
EXPORTING CHANGENUMBER = ICDHDR-CHANGENR
IMPORTING HEADER = CDHDR
TABLES EDITPOS = ICDSHW
EXCEPTIONS NO_POSITION_FOUND = 1
OTHERS = 2.
CHECK SY-SUBRC EQ 0.
LOOP AT ICDSHW.
CHECK ICDSHW-TEXT_CASE EQ SPACE.
MOVE-CORRESPONDING ICDSHW TO ITAB.
MOVE-CORRESPONDING ICDHDR TO ITAB.
MOVE ICDSHW-TABKEY+3 TO ITAB-EKKEY.
APPEND ITAB.
ENDLOOP.
ENDLOOP.
ENDFORM.
END OF PROGRAMHi,
copied from http://www.sap-img.com/mm001.htm -
Spro settings- Purchase order History
Hi,
In spro> MM> Purchasing-->Maintain Purchase Order History Categories.
can somebody help me out how it works and the concept.
I have maintained the entry there with Z- forwarding charges as long and short text.
I donot understand where is the link in the system, how system will understand for what my entry Z is meant for.
I tested the scenario but nothing happened in PO history with this my key. I have done MIGO and MIRO also. No update with my entry
pl help how to make this functionality work, I feel this stand alone entry will not work, there must be some link with this entry or standard enteries some where which make the system to understand this?
Edited by: Pallvi Dixit on May 7, 2008 5:18 PMIn this step, you can maintain the purchase order history categories. You
can change the short and long texts for existing PO history categories.
The SAP System controls the display of the PO history using PO history
categories.
SAP recommendation
You should work with the standard SAP System supplied. In this case, you
need take no action.
Activities
Maintain the PO history category texts according to your requirements.
Notes on transport
You transport number range objects as follows:
Choose Interval -> Transport in the accounting document Number Range
screen.
All intervals for the selected number range object are deleted in the
target system first. After the import, only the intervals you export are
present. The number statuses are imported with their values at the time
of export.
Dependent tables are not transported or converted. -
Status codes in Purchase Order Response screen
Hello,
I still relatively new to SRM and have a question on how the status codes on the purchase order response screen works.
Specifically what is the logic / selection criteria for "Variance in Purchase order Response"? My initial analysis is that this displays variance against the Original PO values rather than the current PO values if they have been updated to matched the POR.
Thanks
GaryThanks Ravi but I belive that we do not use SUS. Suppliers interface with SRM via a web portal.
Any suggestions where I can find detailed user / functional documentation on what each of the search parameters mean ?
Thanks again
Gary -
ME23N purchase order history - add new fields (not in layout)
Hello,
I would like to expand the layout of Purchase order history (ME23N).
I would like to add the field MKPF-BKTXT into the purchase order history for more information.
Who can help? - Thank you. - DietlindeHello,
You might have to enhance the column set of the layout..I am not sure if it could be done.. but that's the way to go.. You might want to confirm this from your technical team.
Good Luck!! -
Report to display "Purchase Order History"
Hi all,
Can any one solve my problem, i need to create a report on Purchase Order History. So can any one tell, from which infoprovider i can generate this report or is there any standard report for this in SAP BW.
Thanks in Advance,
Regards,
Ramakrishna Kamurthy
+91-9963101073Try with 0PUR_C01 and 0PUR_C03
Jayasudha -
Purchase Order History as a Report?
Hi,
I would like to follow the amounts of purchase orders, relevant goods receipt amounts and so on as shown in purchase order history on PO. But I need it as a report which could be seen as ALV type, and easily exported to excel.
Is there such a standart report that I could follow purchase order-goods receipt quantities?
Thanks in advance
Iremhi,
use MC$G - Puchasing values
And MC$I - Puchasing quantities
Or use ME87 - Aggregate PO history
Regards
Priyanka.P
Edited by: Priyanka Paltanwale on May 13, 2009 12:57 PM -
Payment document in purchase order history
hi friends,
Customer requirement is to add the payment document(F-53) in the purchase order history in me23n along with GR no. and Invoice no... Is it possible?
thank you
Edited by: SUJITH BABU KURIAN on Feb 5, 2010 3:39 PMHi,
No its not possible to update std. Purchase Order history tab with vendor payment which is done via FI.
Std. Purchase Order History will be updated only with MM component docs which has a reference to PO.
I think you may have to develop some custom reports to track the same.
Thanks & Regards, -
Purchase Order History Program - not working properly
Dear friends
i am developing purchase order history program in ALV,
which shows the report of purchase order status
i.e (fields as below).
document no
PO date
line item
material number
material name
purchase org
plant
purchase group
orderd quantity
ordered amount
delivered quantity
delivered amount
to be delivered quantity
to be delivered amount
invoice quantity
invoice amount
to be invoiced quantity
to be invoiced amount
how to test from me23n
open me23n
enter PO number
press status tab
you can get some fields for verification..
the problem is
i can get all the details correctly except delivered amount and to be delivered amount
it works fine in both ( material purchase order and service purchase order )
sometimes i am getting incorrect values in service purchase order specifically in delivered amount and to be delivered amount
why i am getting these incorrect values ??
only couple of POs generate these things.
i am getting these values from EKBE table and using proper filtration like movement type and etc...
if anyone can resolve ... would be appreciable
avirat.Hi,
for getting proper Po History you need to select PO's details from EKKO table and
Header details from CHANGEDOCUMENT_READ_HEADERS based on the details got from this FM pass
to the FM CHANGEDOCUMENT_READ_POSITIONS and get proper details.
This is the logic used by the standard program also to get the PO History.
Hope this helps.
Regards
Bikas -
Purchase Order history is not updated with Invoice number
Hello Experts ,
Please suggest some inputs/solution for my problem.
Scenarios is :
PO --> SO --> Invoice
I am creating the invoice with the medium EDI , when I click on Save button IDOC is generated with the message " IDoc 'xxxxxxxxxxxxx' was created and forwarded for transmission " and it showing the status as 03 i.e, The IDoc was sent to an R/3 System or an external program via a transactional RFC ...but the problem is if I got to the Purchase Order history Its not updated with the Invoice number.
What could be the problem , please suggest.Hi!
I'm not sure, in which process you link PO and SO. There are some different ways, which are totally different scenarios - if you need help here, describe more detailed.
Your invoice is probably only created with reference to SO, so check the invoice itself. In this case also the SO history should include the invoice.
Regards,
Christian -
Goods Receipt value in Purchase Order History
Hi Experts,
I raised a PO with Account Assignment category as "K" for 100 quantity with a value of 1000.
GR non-valuated option is ticked in "Delivery" tab in line items.
When posted a GR for 25 NUmbers the Purchase Order History is updated with "0,00" in Amount column.
If this is because of GR Non-valuated option used then please let me know where the amount with correct value is stored in Database tables.
Note: I have use only GR Non-valuated option.
I want to know where the correct value of the stock received is stored.
Regards,
Nani.Hi
By assigning K you will have 3 things in default unless uou change them manually. 1. Goods receipt , 2. GR Non-valuated, Invoice receipt.
When you do a GR then this account gets posted against the G/L you have assigned manually at PO or against the the acct. modifier VBR in OBYC, that is it is consumed directly. So you will not have any stock valuation like raw or other materials.
Now when you carry out Invoice verification you get the postings regularised against the acct assignment object(K) and the vendor outstanding/GR/IR account.
Once IV is done you can check the details of your posting.
Regards -
In Purchase order history is not showing the Reversal of goods price
Hello friends,
I have created a PO , for that i have done the GR and invoice. Now i want to reverse the goods using MType-102, for that i have created the credit memo .
I have done the reverse GR ,But in Purchase order history the For the GR reversed doc, its showing the price as 0.
Pl help me out .Hi,
If your forward 101 material document is with price and it is showing in PO history and your reverse 102 material document is not with price in PO history , check the accounting document of 102 and if it is with price , then PO history is not properly updated.also check table EKBE and if po history is not properly updated , check for a relevant note and apply.
Regards, -
Pass values to OAF search page (View Purchase Order History)
I need to call a OAF page from a PO Approval Notification. I need to call page View Purchase Order History (func:ICX_PO_REVISIONS).
I am able to create the URL (using function FND_RUN_FUNCTION.get_run_function_url) and when I click on the link it opens the page fine, but it’s a page that contains simple search region and I need to populate the Operating Unit and PO Number fields (I can easily get from the PO) of the search fields, this will allow the user to just click the go button.
Is it possible using the function FND_RUN_FUNCTION.get_run_function_url and passing parameters (field values) or setting the URL to JSP:/OA_HTML/OA.jsp?OAFunc=ICX_PO_REVISIONS&akRegionApplicationId=177&addBreadCrumb=Y&CorePO=Y and then passing the parameters?
How would you achieve this if possible, call the page and populate the search field values? It does not seem to work, I have been able to pass paramaters to an OAF page that does not contain a simple search region to return results.
Function paramaters:
FND_RUN_FUNCTION.get_run_function_url (
p_function_id => 3101,
p_resp_appl_id => 201,
p_resp_id => 50598, -- MS Purcahsing Superuser
p_security_group_id => 0,
p_parameters => 'PoNum=' || l_document_id || '&' || 'retainAM=Y' || '&' || 'addBreadCrumb=Y',
p_override_agent => NULL,
p_org_id => 101,
p_lang_code => NULL,
p_encryptParameters => FALSE);
Thanks,
ShaunWhat I found is there are 2 variables SiteName and SiteName1, if you use SiteName1 then it shows proper value as a site description. I replaced SiteName with SiteName1 and it works. This might help to all who are like me and trying Tutorial example.
I am not sure how many may have tried OAF - Tutorial examples. They are really complicated and not easy and in most cases they are not coming out in first try but if you really try then it will give lot of understanding. -
Hi..
Iam trying to display the Purchase order History using BAPI_PO_GETDETAIL function module... and my code is
data : i_ekko type table of ekko,
i_ekko_wa like line of i_ekko.
parameters : p_vendor like ekko-lifnr,
p_po like ekko-ebeln.
select * from ekko into corresponding fields of table i_ekko where lifnr = p_vendor and ebeln = p_po.
loop at i_ekko into i_ekko_wa.
CALL FUNCTION 'BAPI_PO_GETDETAIL'
EXPORTING
PURCHASEORDER = '4500017124'
ITEMS = 'X'
* ACCOUNT_ASSIGNMENT = ' '
* SCHEDULES = ' '
HISTORY = 'X'
* ITEM_TEXTS = ' '
* HEADER_TEXTS = ' '
* SERVICES = ' '
* CONFIRMATIONS = ' '
* SERVICE_TEXTS = ' '
* EXTENSIONS = ' '
* IMPORTING
* PO_HEADER =
* PO_ADDRESS =
* TABLES
* PO_HEADER_TEXTS =
* PO_ITEMS =
* PO_ITEM_ACCOUNT_ASSIGNMENT =
* PO_ITEM_SCHEDULES =
* PO_ITEM_CONFIRMATIONS =
* PO_ITEM_TEXTS =
* PO_ITEM_HISTORY =
* PO_ITEM_HISTORY_TOTALS =
* PO_ITEM_LIMITS =
* PO_ITEM_CONTRACT_LIMITS =
* PO_ITEM_SERVICES =
* PO_ITEM_SRV_ACCASS_VALUES =
* RETURN =
* PO_SERVICES_TEXTS =
* EXTENSIONOUT =
endloop.
Iam not getting the output ... It doesnt show errors..
Regards,
Abaper.where is the displaying PO code???
check your code once again...
look at this example...
report zbapi_1.
data: begin of i_poitem occurs 0.
include structure bapiekpo.
data: end of i_poitem.
parameters p_ebeln like ekko-ebeln default '4500012164'.
call function 'BAPI_PO_GETDETAIL'
exporting
purchaseorder = p_ebeln
ITEMS = 'X'
ACCOUNT_ASSIGNMENT = ' '
SCHEDULES = ' '
HISTORY = ' '
ITEM_TEXTS = ' '
HEADER_TEXTS = ' '
SERVICES = ' '
CONFIRMATIONS = ' '
SERVICE_TEXTS = ' '
EXTENSIONS = ' '
IMPORTING
PO_HEADER = PO_HEADER
PO_ADDRESS = PO_ADDRESS
tables
PO_HEADER_TEXTS = PO_HEADER_TEXTS
po_items = i_poitem.
PO_ITEM_ACCOUNT_ASSIGNMENT = PO_ITEM_ACCOUNT_ASSIGNMENT
PO_ITEM_SCHEDULES = PO_ITEM_SCHEDULES
PO_ITEM_CONFIRMATIONS = PO_ITEM_CONFIRMATIONS
PO_ITEM_TEXTS = PO_ITEM_TEXTS
PO_ITEM_HISTORY = PO_ITEM_HISTORY
PO_ITEM_HISTORY_TOTALS = PO_ITEM_HISTORY_TOTALS
PO_ITEM_LIMITS =
PO_ITEM_CONTRACT_LIMITS =
PO_ITEM_SERVICES =
PO_ITEM_SRV_ACCASS_VALUES =
RETURN =
PO_SERVICES_TEXTS = .
EXTENSIONOUT = EXTENSIONOUT
loop at i_poitem.
write :/ 'PONUMBER = ' , i_poitem-po_number color col_heading,
/ 'ITEM = ' , i_poitem-po_item,
/ 'MATERIAL NAME = ' , i_poitem-material,
/ 'MATERIAL = ' , i_poitem-pur_mat,
/ 'CHANGED ON = ', i_poitem-changed_on,
/ 'SHORT TEXT = ' , i_poitem-short_text,
/ 'COMPANY CODE = ' , i_poitem-co_code,
/ 'PLANT = ' , i_poitem-plant,
/ 'MATERIAL GROUP = ' , i_poitem-mat_grp,
/ 'QUANTITY = ' , i_poitem-quantity left-justified,
/ 'UNIT = ' , i_poitem-unit,
/ 'NET PRICE = ' , i_poitem-net_price left-justified.
uline.
endloop.
Edited by: Venkat Appikonda on Mar 7, 2009 11:57 AM
Maybe you are looking for
-
My iPad comes up with large writing ,and it takes ages to re,boot
My iPad comes up with big writing ,and the only way I can get the writing small again is to reboot my iPad it used to reboot fast but it is know taking along time,and I am worried one day it's not going reboot for me,please help. Kind Regards E
-
Lack of texts in hierarchy nodes and leafs for 0ORGUNIT
Hello experts! We have the BCT hierarchy 0ORGUNIT in BW exporting his time-dependent structure from R/3. Now, for some leafes and some nodes above the leaf we have no texts just see the key. Has someone an idea what the problem could be? In R/3 we ha
-
Export (not schedule) Webi as PDF
Hello, I found code snippets to export (not schedule) an existing Crystal Report to PDF. However, I could not find a similar code snippet or documentation for Webi. I would like to export an existing Webi instance (managed) to PDF. I do not want to s
-
Hi, the Pop Art effect in my Photo Booth doesn't show as it should. Instead of being the screen divided in four different quarters with different colours, there is just one quarter and the rest is plain yellow should I reinstall it?
-
How do I achieve shadow effect on common text ?
I have seen lately that several websites have normal text, but with a interesting shadow effect...how do I achieve it ? is it with css ? how ?