Purchased order table for closed POs
Hi All,
My client wants to build a query to show the open quantity and value for all GR and IR based POs. They do not want to use the standard report ME2L, ME2N, ME2M etc..Pls let me know if anyone has built the similar query. I have joint EKPO, EKET which gives me the scheduled and recvd qty and its value. To show the difference of these two quantities as open qty, I have added an additional column and put a formula to calculate the difference (i.e EKET-MENGE - EKET-WEMNG). This is working fine for GR based PO. But the problem im facing with is IR based PO. Since the query pulls the qty from EKET and EKET will have 0 qty for IR based PO, in this case the query is showing all schedu;ed qty as open qty which is wrong.
I would really appreciate if someone can advise me the best way to work on this issue. Also pls let me know if there is any table that shows PO status whether its open/closed so i can join that table as well.
Thanks,
Maya
Thank you Pankaj for quick response.
I believe delivery completion indicator would work only for GR based PO.
I used EKBE as well. But it does not seem to work fine. When I use EKBE, it brings both GR and IR qty for each line item. And also if there are multiple GR and IR, the formula calculates the difference for all lines which is not showing the correct open qty.
Any other thoughts ?
Thank you,
Maya
Similar Messages
-
Purchase order table for Release
Dear All Expert,
Is there any table for PO where I can find out the release indicator and who made relase, etc.
Thanks & B.Rgds
Bishnu
05/07You can find the release indicator in EKKO field "FRGSK" and information about who released in table CDHDR by passing Object "EINKBELEG" and Object value as the PO number . . from CDHDR you will get the change document number , TCODE used for release "ME29N" and the user name. YOu cna pass the chnage document number to CDPOS table to get releease status as well.
Regards
Raviraj -
There is still a purchase order commitment for WBS
Hi All,
We need to close whole project while closing I am getting the attached error.
There is still a purchase order commitment for WBS
Additional Information or Comments: = I have checked and closed all purchases order commitment. But still the project shows the below error .
Edited by: nandhasapfi on Sep 22, 2011 10:52 AMHello,
This message is being output correctly as the AuC still has
values against it.
These values must be cleared before you can close the WBS element.
Please do a FUL settlement against the WBS element to clear
these values and then try to set the CLSD status again.
There are two ways to 'clean' the AuC, so that you can deactivate it
and close the wbs element:
1. Post a manual retirement of the AuC to clean it.
2. Create a new AuC and use it for all the differences in the final
settlement.
I hope this helps,
regards
Ray -
I Need interactive report to list the purchase orders details for a vendor
I Need interactive report to list the purchase orders details for a vendor that has interactive drill down options to give the detail of vendor from vendor master.
Hi
see this sample report
this is Customer wise sales orders
just make similar report just using LFA1, EKKO and EKPO tables instead of KNA1,VBAK,VBAP
REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
HEADING.
*TABLES DECLARATION
TABLES : KNA1, VBAK, VBAP.
*SELECT OPTIONS
SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
*INITIALIZATION
INITIALIZATION.
CUST_NO-LOW = '01'.
CUST_NO-HIGH = '5000'.
CUST_NO-SIGN = 'I'.
CUST_NO-OPTION = 'BT'.
APPEND CUST_NO.
*SELECTION SCREEN VALIDATION
AT SELECTION-SCREEN ON CUST_NO.
LOOP AT SCREEN.
IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
MESSAGE E001(ZTJ1).
ENDIF.
ENDLOOP.
*BASIC LIST SELECTION
START-OF-SELECTION.
SELECT KUNNR NAME1 ORT01 LAND1 INTO
(KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
FROM KNA1
WHERE KUNNR IN CUST_NO.
WRITE:/1 SY-VLINE,
KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
KNA1-NAME1 UNDER 'NAME',
61 SY-VLINE,
KNA1-ORT01 UNDER 'CITY',
86 SY-VLINE,
KNA1-LAND1 UNDER 'COUNTRY',
103 SY-VLINE.
HIDE: KNA1-KUNNR.
ENDSELECT.
ULINE.
*SECONDARY LIST ACCESS
AT user-command.
IF SY-UCOMM = 'IONE'.
PERFORM SALES_ORD.
ENDIF.
IF SY-UCOMM = 'ITWO'.
PERFORM ITEM_DET.
ENDIF.
*TOP OF PAGE
TOP-OF-PAGE.
FORMAT COLOR 1.
WRITE : 'CUSTOMER DETAILS'.
FORMAT COLOR 1 OFF.
ULINE.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'NAME',
61 SY-VLINE,
63 'CITY',
86 SY-VLINE,
88 'COUNTRY',
103 SY-VLINE.
ULINE.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR SECONDARY LISTS
TOP-OF-PAGE DURING LINE-SELECTION.
*TOP OF PAGE FOR 1ST SECONDARY LIST
IF SY-UCOMM = 'IONE'.
ULINE.
FORMAT COLOR 1.
WRITE : 'SALES ORDER DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'SALES ORDER NO.',
40 SY-VLINE,
42 'DATE',
60 SY-VLINE,
62 'CREATOR',
85 SY-VLINE,
87 'DOC DATE',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR 2ND SECONDARY LIST
IF SY-UCOMM = 'ITWO'.
ULINE.
FORMAT COLOR 1.
WRITE : 'ITEM DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'SALES ORDER NO.',
40 SY-VLINE,
42 'SALES ITEM NO.',
60 SY-VLINE,
62 'ORDER QUANTITY',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*END OF PAGE
END-OF-PAGE.
ULINE.
WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
SY-PAGNO.
SKIP.
*& Form SALES_ORD
*& FIRST SECONDARY LIST FORM
FORM SALES_ORD .
SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
(VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
FROM VBAK
WHERE KUNNR = KNA1-KUNNR.
WRITE:/1 SY-VLINE,
VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
40 SY-VLINE,
VBAK-ERDAT UNDER 'DATE',
60 SY-VLINE,
VBAK-ERNAM UNDER 'CREATOR',
85 SY-VLINE,
VBAK-AUDAT UNDER 'DOC DATE',
103 SY-VLINE.
HIDE : VBAK-VBELN.
ENDSELECT.
ULINE.
ENDFORM. " SALES_ORD
*& Form ITEM_DET
*& SECOND SECONDARY LIST FORM
FORM ITEM_DET .
SELECT VBELN POSNR KWMENG INTO
(VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
FROM VBAP
WHERE VBELN = VBAK-VBELN.
WRITE : /1 SY-VLINE,
VBAP-VBELN UNDER 'SALES ORDER NO.',
40 SY-VLINE,
VBAP-POSNR UNDER 'SALES ITEM NO.',
60 SY-VLINE,
VBAP-KWMENG UNDER 'ORDER QUANTITY',
103 SY-VLINE.
ENDSELECT.
ULINE.
ENDFORM. " ITEM_DET
REPORT demo_list_at_pf.
START-OF-SELECTION.
WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
AT pf5.
PERFORM out.
AT pf6.
PERFORM out.
AT pf7.
PERFORM out.
AT pf8.
PERFORM out.
FORM out.
WRITE: 'Secondary List by PF-Key Selection',
/ 'SY-LSIND =', sy-lsind,
/ 'SY-UCOMM =', sy-ucomm.
ENDFORM.
After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
Secondary List by PF-Key Selection
SY-LSIND = 14
SY-UCOMM = PF06
Example for AT USER-COMMAND.
REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
START-OF-SELECTION.
WRITE: 'Basic List',
/ 'SY-LSIND:', sy-lsind.
TOP-OF-PAGE.
WRITE 'Top-of-Page'.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-pfkey.
WHEN 'TEST'.
WRITE 'Self-defined GUI for Function Codes'.
ULINE.
ENDCASE.
AT LINE-SELECTION.
SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
PERFORM out.
sy-lsind = sy-lsind - 1.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'FC1'.
PERFORM out.
WRITE / 'Button FUN 1 was pressed'.
WHEN 'FC2'.
PERFORM out.
WRITE / 'Button FUN 2 was pressed'.
WHEN 'FC3'.
PERFORM out.
WRITE / 'Button FUN 3 was pressed'.
WHEN 'FC4'.
PERFORM out.
WRITE / 'Button FUN 4 was pressed'.
WHEN 'FC5'.
PERFORM out.
WRITE / 'Button FUN 5 was pressed'.
ENDCASE.
sy-lsind = sy-lsind - 1.
FORM out.
WRITE: 'Secondary List',
/ 'SY-LSIND:', sy-lsind,
/ 'SY-PFKEY:', sy-pfkey.
ENDFORM.
When you run the program, the system displays the following basic list with a the page header defined in the program:
You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
Regards
Anji -
Hi,
I am trying to change the columns in the table control of the purchase order screen (ME21N) but cant seem to able to do it,
To be more detailed I clicked on the "Configuration" button of the table control, clicked on "Administrator" and made the fields "plant/MEPO1211-WERKS" and "storage location/MEPO1211-RESLO" visible ( unchecked the fields ) but the table control does not change, I have activated the changes even created a new variant for the settings but no changes are seen, I have tried to make the other fields visible/invisible but no changes are seen.
Help is greatly appreciated.
ThanksPlease check out the following note.....
SAP Note No. 120901 22.08.2005 Page 1
Number 120901
Version 5 from 08.06.2001
Status Released for Customer
Set on 07.06.2001
Language EN
Master language DE
Short text Hiding of columns by table control is not possible
Responsible SAP AG
Component MM-PUR
Purchasing
Long text
Symptom
Using the table control configuration, you are unable to hide the
columns on the overview screens of the purchasing documents (purchase
requisition, purchase order, request for quotation, outline agreement).
Additional key words
ME21, ME51, ME41, ME31, ME31K, ME31L, ME21N, ME22N, ME23N, OMF4
Cause and prerequisites
The hiding of fields was and still is controlled by Customizing.Here,
you can - with the help of the field selection key - make fields
invisible (for example, for a particular document type). This setting
overrides the individual table control setting.
Solution
It is currently not possible to hide columns selectively for each user.
Instead, SAP recommends that you shift the columns you do not require in
the table control to the far right and save this setting.
If this was helpful, please award points accordingly . Thanks.
Regards,
Rich Heilman -
Plant transfers and purchasing orders tracing for movement type 301-310
Hi ,
When we do material transfer from plant to plant( MVT 301-310) it creates the material documents in MSEG. What's the table or the best way to find the purchase order details for the material documents created in MSEG or the materials used during transfers?
I appreciate your response
Thanks
ReddyHi ,
Go to table EKKO , put purchase Doc category ( must be different for Plant Transfers ) and also try out Supplying Vendor and Customer Fields..
VAT Registration no can also be part of your selection..
Please have a look at EKKO fields available and make your appropriate selections..
Regards
Sarada -
Report including open purchase order quantity for one storage location
Hello gurus,
I am looking for a report giving me the total/available stock and the open purchase order quantity for all materials stored in a certain storage location.
I.e. like this:
Plant 0001, storage loc. 01
Material stock open purchase order quantity
100000 200 pcs. 50pcs.
Is there such a report in SAP standard?
Thanks
AliciahI
U want the report like this ,
MAterial stock availablein storage location and with Open PO quantity for the same material.???
This report u can get in 2 different transaction . the n u can combine and create one custom transaction .
One is for materil stock in storage location is MB52 or MB5B
THen ME2N for open PO quantity for that material. -
Hi ,
My requirement is to make Z table for closing stock.
As ours is a pharma firm and we have implemented SAP in Aug 2008.
Now for closing stk we are using S033 and MSEG table to get opening stk
SELECT SUM( mzubb ) SUM( magbb ) INTO (w_dr_menge , w_cr_menge)
FROM s033
WHERE sptag < so_fkdat-low
AND werks = werks
AND matnr = matnr.
w_opening_balance = w_dr_menge - w_cr_menge.
and for closing stk = opening stk - sale + receive.
Now the problem is when we want to retrieve data for closing stk for last month ,it is checking all the records since Aug 2008 for opening stk and it is taking too much time to retrieve data.
Can anyone plz suggest any alternative for thsi problem.
I will really appriciate your help.
Regards,
ArchanaHi
done this before. for sure you will experience an performance problem in your current setup. what we did is we create a program that calculates the ending inventory of the month then beginning inventory of the following month we are executing this in every end of the month. In that case when we need to access the previous month the ztable must be use. make sure that your program can do rerun of the ending and beginning of stock because there are chances of previous posting of reversals.
Thanks,
Best regards,
Etrafanob -
Purchase order number for each postings with FBL3N
Hello
With tcode FBL3N, I need to get all the postings on expenses accounts. Additionally it is possible to get more information on the postings from the orginal paper invoice. It shall be also more convenient to get the purchase order number walk trhough SAP with it. Then is it possible to get the purchase order number for each postings with FBL3N?
thanks for inputs
sbHello,
Could you please add field BSEG-EBELN as a special field in FBL3N (from
menu path Settings -> Special fields).
Then, select the Purchase order field again from "Change Layout"
(Ctrl+F8). Now this field is available for display variants, it has the
technical name 1-U_EBELN and the description 'Purchase Document'.
The other field has the same description but as technical name
'1-EBELN'. When you create a display variant be aware that you select
1-U_EBELN and not 1-EBELN.
*******Please also refer to attached notes 215798 and 984305.
Best regards, Hana -
Restrict print out of Purchase order only for Production system
Hi,
I want to restrict print out of Purchase order only for Production system, don't want to take it in devep or quality.
is there any identifier to find the system is production or development.
can anyone tell me how to restrict it,
is there any function module, not based on client system.
Thanx in advance
KesavHi Kesavarathinam Vaidyalingam ,
yes, I also use thomas' suggestion using
t000-cccategory = 'P'.
to determine productive client.
Just one small hint: I found this condition as true in a test system: The admin had done a system copy to create a fresh test client - but forgot (or did not see a good reason) to change t000-cccategory = 'P. to t000-cccategory = 'T'.
Regards,
Clemens -
Output error in purchase order 3000000002 for output medium PRN
Hello,
I got this error message:
'Output error in purchase order 3000000002 for output medium PRN'
Regards,
LinaHi
<b>Please go through this -></b>
To set Output type,check the foll path:
SPRO->supplier relationship management-> SRM Server->Cross application basic setting->set output action and output format
See the foll link for more details:
http://help.sap.com/saphelp_srm50/helpdata/en/91/41faf2c220e84c9002a4ae4cc1906a/frameset.htm
Look for BADI "BBP_SEND_MEDIUM_MODE ".
<b>Related notes:</b>
Note 1028388 - User settings for output medium is not saved.
Note 885593 - SRM 5.0 SP02: Incorrect output medium and change impossible
Do let me know.
Regards
- Atul -
Purchase order approvals for Negative amount
Hello All,
Want your assistance on the above mentioned topic.
We have a business requirement to have Purchase order approvals for Negative amount. I understand from the Below SAR that JD Edwards 9.1 doesn't support PO approvals on Negative amount
Bug 11022294 : APPROVAL ROUTES FOR DEBIT MEMO - SAR: 8940968
Appreciate if you can suggest best practice or workaround to meet this requirement.
Thanks & Regards
Nikhil M. Pawar.Dear Ashutosh,
Couple of points from my side. We have a similar scenario at a client where I am working. In construction, there are three stages.
a) Practical Completion
b) Partial Completion and
c) Final Completion.
In the case above, you are not deducting an amount from existing PO, you would be applying a penalty on the Vendor for Failure for not meeting the Practical/Final Completion Certificate requirements. Based on the legal understanding, usually the penalty may vary above and beyond of 10% of value of work not done/ delivered. (This is company to company)
So we establish that the scenario above is not a case for PO, but for Penalty. Now penalty in construction business again is of three types (My understanding again from experiences)
a) Time/Schedule based penalty - Levied on vendor due to delays (Ranging for 100 SAR/ Day to 400 SAR/Day - if you are in Saudi)
b) Cost/ Quantity Based penalty - Deviation from Standard Plan/ over consumption against budgeted quantity in Bill of Ladding
c) KPI/ Quality Based Penalty - This can be a levied for number for reasons, including non completion of agreed deliverable in Contract. (This can be even 150% of contract value)
Now, penalty is a revenue to the Organization so this needs to be accounted differently. You apply a Penalty against a PO and create a Debit memo and show the penalty as revenue in the books. This cannot be done if this is entered as a PO.
So, my point is, you need a customization to capture the penalty and apply it against the PO and account it as a debit memo in Finance side.
Please let me know your thoughts, I will be glad to hear if I need to be corrected.
Rgds,
Abhi -
Error : Purchase Order Response for Service items Different
Hi ,
We are getting Error : Purchase Order Response for Service items Different , when creating the PO in SRM 5.0. what must be the reason ?
Thanks & Regards,Problem solved
-
Purchase order process for utilities, rent etc
Hi,
Could anyone explain me the purchase order process for rent, consultancy services, other facility sevices, insurance etc.
Thanks and regards
Aparnahttp://www.sap-img.com/materials/account-assignment.htm
-
No active purchase order item for shipment cost
Hi,
When I'm entering a shipment cost document for a shipment using Vi01, I'm getting an information like "No active purchase order item for shipment cost", When I check in the service procurement tab there is no purchasing document and entry sheet found.
Please let me know what is causing the problem and what needs to be done to resolve this
Regards,
AshwinHi,
Does your shipment document contains any stage?This problem might be because of this reason.
Regards,
Sumit
Maybe you are looking for
-
How to Hide buttons in HCM forms
Hi Experts, In "Transfer" forms, with out filling mandatory fields if I press button "Check and Send" then I get a extra button called "Continue". When I click on "Continue" it takes me to the next page without asking me to fill mandatory fields. Her
-
Hi, i wonder to know if it's possible to de-attach keys of the new apple keyboard. I need it to transform the stadard QWERTY keyboard to a DVORAK one. Thank you very much Simone
-
Do we have BED,CESS & ECESS Values in Export Invoice
Hi Experts Since the conditions maintained of BED,CESS and ECESS are statistical in case of export pricing procedure. Do we have the values displayed of BED,CESS & ECESS when we create export invoice. If yes, please let me know what can be the reason
-
I tried the customer service number. It was a third party vendor and they gave me a direct number for ADOBE which was no longer valid in my area. This was abt $95. with tax.
-
Is anyone else having problems with game apps when they download them to the iPad 3
My daughters games tend to not it the screen and none of them have sound? They are preschool games that are doing this. My apps sem fine do far