I NEED TO FIND THE PURCHASE ORDER NO.
HAI ALL,
I NEED TO FIND THE PURCHASE ORDER NO.
I have MATNR (material no.), LIFNR (vendor no.), RDOC OR MBLNR (material doc.no). values of these in my internal table. Using this i need to find purchase order no. I HAVE TRIED WITH MSEG TABLE ,but purchase order no. is not stored there.
PL. tell me TABLE NAME OR HOW TO JOIN THA TABLES OR ANY VIEWS to find purchase order no.
If u need any clarification regarding my req. pl send mail to below address.
[email protected]
THANKS IN ADVANCE,
SENTHIL KUMAR
HAI,
THANKS FOR UR REPLY.
I am using 541 movement type, (which is used for subcontracting)
my req. is for 541 movement type in which table purchse order no. and mblnr(material doc. no.) are stored.
Thanks in advance
senthil kumar
Similar Messages
-
DMP ERROR When I am Finding the Purchase Order
Hello Experts,
I am Using SAP 8.8 PL 16
My Client Finding the Purchase Order that time .DMP Error Creating.
And Automatically SAP Application Doing Close
Please Help me About that Issue
Dixit PatelHi Gordon
I Created the New User and Check with that User
Also Removing All File in Temp Folder
But . DMP File is Creating
Thanks
Dixit Patel -
How to find the Purchase Orders from Sales Order number
Hi ...
Is there a way to write a query to find the Purchase orders
from the Sales Order number ....
I have notice the table POR9 (Purchase Order - base Document)
but it seems to be empty.
Could you please help me to figure this out,
Thank you very much
Kind Regards
Sanjayahi,
u did mistake in selecting the table
SELECT T0.DocNum FROM ORDR T0 for sales order
SELECT T0.DocNum FROM OPOR T0 for purchase order
how to find the table in SAP B1.
go to above menu view => system information. tick it(or select it)
then below status bar u can see the table and field name.
open the required form and just keep the mouse cursor on any field.
you can see the table and field name below.
hope now u can able to track the table name.
regards
sandip -
Find the purchase order from an article delivered to a customer ?
Hi friends;
How to identify the purchase order from an article delivered from stock to a sales order. I only have the customer order and material number. Are there standard report that could provide me with this information.
Thanks in advance for your helpThinks for your replay.
The stored quantities come from purchase orders.
There is no reservation. Simply a shipment for a sales order for an item that the quantity in inventory from purchase order. -
The purchase order cannot be created on Hold
Hello gurus,
I have a doubt, when I want to create a purchase order (transaction ME21N) adopting a purchase requisition, the button "Hold" dissapear.
Any reason why the button "Hold" is missing when adopt the purchase requisition to the purchase order?
I need to save the purchase order on Hold after the adopting, but, I cannot find the button.
Could you help me please a.s.a.p.?
Regards,
Sandra PalomoSee the info below:
Deactivate 'Hold' Function for Enjoy Purchase Order
Use
Application component: MM-PUR-PO-GUI
Function group: MEPO
The Business Add-In (BAdI) ME_HOLD_PO enables you to specify whether an
Enjoy purchase order can be put on hold or whether this function is to be
suppressed in accordance with your requirements.
In the standard system, this function is generally offered during the
creation of an Enjoy purchase order (transaction ME21N) and when a PO
that is on hold is changed (transaction ME22N).
Note
Enjoy purchase orders cannot be put on hold if any of the following
criteria apply:
o The PO contains service items
o The PO contains "third-party" items
o Commitment errors are involved
o Subsequent (period-end volume rebate) settlement is involved
Standard settings
o In the standard system the Business Add-In is not active.
o The BAdI is not filter-dependent.
o The BAdI cannot be used multiple times.
Example
You will find an example implementation under Goto -> Code Example.
In this example, the following behavior is defined:
In the case of stock transfers within a company code, the "Hold" function
is generally inactive. If an application object contains an error of any
kind, the function is likewise inactive. -
Need to find how to relate the purchase order table with account assignment
i need to reterieve the account assignment from the table bbp_pdacc, what is field or any tables that is between BBP_PDACC and Purchase order number or the purchase order items. I am working on the SRM system
Jacques-Antoine,
You can't directly translate a repeating node or element (such as an Item or a Project Task from the Accounting Coding Block of an Item) to a singular node or element.
The reason is that, though your use case may have the elements assumed to be the same for all items, this isn't necessarily the case, so ByDesign won't assume that you can use that kind of logic.
The simplest approach would be to do an On-Save at the Root node of the Purchase Order along the following lines:
this.projecttaskpo = this.Item.GetLast().ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID;
i wouldn't actually recommend this code.
You'd need validations for IsInitial, IsSet, and those kinds of functions.
i'd at least use some foreach loop to check that all the accounting coding blocks were for the same task, raise warnings if they weren't, etc. -
In MIGO, i need to see delivery dates from the purchase order
Is there a way to see in transaction MIGO, the delivery dates from the purchase order? I hope there is some exit or BADI or BAPI or .... to perform this copy function?
We have multi-line POs for the same material with staggered delivery dates and the Warehouse needs to know which PO line to receive against.when you enter the PO number in MIGO and hit enter, then you only get the items that can be received.
If you make sure that the PO items are created by ascending delivery date, then you can always take the first.
if you have the personal setting to display all items (even the already received ones), then you can take the first with a quantity proposal. already received items do not propose quantities.
I would ask purchasing to tell the vendor that he has to state the PO number along with the item number in all papers (delivery note, invoice). -
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 -
Need User Exit before the Purchase Order saved!!!
Hai All,
I am in search for User Exit before the Purchase Order gets saved.This User Exit should capture this generated Purchase Order and post it to the Destination System for further processing.
Can anyone help me to find this User Exit.
Thanks,
Ugandhar.<b></b><b></b>
Message was edited by: Ugandhar DomathotiCheck out this enchancement in smod <b>MM06E001</b>
in that EXIT_SAPLEINM_001
EXIT_SAPLEINM_002
may help you ....
regards
vijay -
How to find out the purchase order# giving the sales orde numer?
Hi Gurus,
how to find out the purchase order# giving the sales order# or material
with regards
thambehi
use va02-t.code
double lick on line item data--> click on order data tab.
there you can find the po details relavant to that sales oreder & the material.
Thanks & Regards,
krishna. -
Need to turn off Purchase Info records in the purchase order
Is there a way to turn off the Purchase Info records from appearing in the purchase orders? or atleast not update the Info records?
Kevin,
Please follow the below path in SPRO:
Material management-----Purchasing---environment Data-----Define default values for buyers
Here Remove the Info Record Update
Regards,
Manish -
Logic required to findout "Release To Date" of the Purchase order
Hi
We are developing a custom program to release purchase orders as per clients requirements. In that, in the output, we need to display the "Release To Date" of the purchase order. Consider the release codes are R1,R2& R3, and currently the PO is released by R1, then we need to show "Release To Date" as R1. Simillerly once R2 also released the PO, we need to show "R1 R2" in the Release To Date field. This you can see in the Release Tab of the PO.
Now we need to adopt the same logic in our custom program also. Which table i can find the release to date details. The latest release code of the PO also good enough to build the logic to findout the "Release To Date"
Any pointers would be of great help.
Thanks
Venkat.Hi Venkat,
Check up these tables
T16FC, T16FD, T16FG, V_T16FC
Regards,
Hareesha
If it's help's reward the pts -
How to extend Project Task in the Purchase Order header?
Hi everybody,
I am facing a problem I am sure is not so hard, but I cannot find my way through it.
So, my objective is to extend the Purchase Order Header with the Project Task ID.
I created the extension field first, as below:
But I just cannot find how to populate it automatically from the data in the Project Task field.
I tried a Relation in a BO extension going through the AccountingBlockAssignement, but it seems to not be functional.
I also tried to make a Reference to the extension field and created an Event After Modify like:
this.projecttaskpo = this.ExtensionForPO.content
The Project Task PO is my reference to the extension field created in the Cloud Solution.
And the ExtensionForPO is my relation to the TaskID:
import AP.Common.GDT;
import AP.Purchasing.Global as Purchasing;
import AP.ProjectManagement.Global as ProjectManagement;
import AP.IS.CodingBlock.Global as Coding;
[Extension] businessobject AP.Purchasing.Global:PurchaseOrder {
[Relation(Coding:AccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID)]
[Label("Project ID")] element ExtensionForPO : TaskID;
node Item {
I am pretty sure this is not so hard, but I can't figure how to do it.
The Task ID is in the Line Item so I do not understand why it could be so hard to add it in the Purchase Order Header.
Moreover, when I try to make the path directly from the PurchaseOrder, like:
PurchaseOrder.Item.ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID
It returns to me that the association between Item and ItemAccountingCodingBlockDistribution is not a node. I know that, but it would be perfect if I could directly go from the Purchase Order BO to the Project Reference and the Project Tasks. But I cannot do that.
Any help on this would be greatly appreciated as it is quite a recurring request from customers.
I could have a misunderstanding in the process of doing it, or even in the code as I am a pure development newbie, so I m open to all propositions.
Thank you all.
Have a nice day.
Jacques-AntoineJacques-Antoine,
You can't directly translate a repeating node or element (such as an Item or a Project Task from the Accounting Coding Block of an Item) to a singular node or element.
The reason is that, though your use case may have the elements assumed to be the same for all items, this isn't necessarily the case, so ByDesign won't assume that you can use that kind of logic.
The simplest approach would be to do an On-Save at the Root node of the Purchase Order along the following lines:
this.projecttaskpo = this.Item.GetLast().ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID;
i wouldn't actually recommend this code.
You'd need validations for IsInitial, IsSet, and those kinds of functions.
i'd at least use some foreach loop to check that all the accounting coding blocks were for the same task, raise warnings if they weren't, etc. -
Display the purchase order using plant & material in reports
Hi experts,
i wanna print purchase order based on plant and material. in the purchase order i need date(cretion date of po) , po item, po num ,quantity , available quantity.
i could not able to find the table in which date , quan & available quantity available .please tell me the table name.
thanks in advance,
regards,
srikanth.Hello Srikanth,
Please check the tables below:
MARA General Material Data
MARC Plant Data for Material
EKKO Purchasing Document Header
EKPO Purchasing Document Item
EKBE History per Purchasing Document
EKET Scheduling Agreement Schedule Lines
EKKN Account Assignment in Purchasing Document
For more table names please check the link below:
http://www.sap-img.com/materials/common-tables-used-by-sap-mm.htm
Hope that helps!
Regards,
Saba
Edited by: Saba Sayed on Feb 18, 2011 6:29 PM -
Material Statuses based on the Purchase order Document type
Hi Experts,
We need to maintain the Plant material status based on the purchase order document type.
Example - If I am using NB for normal purchase orders and ZB for STO procurement then, there should be a material status which should give warning message - 'do not use ' for ZB STO purchase orders and it should allow to create NB purchase orders for that same materials.
Please advise what are the possibilities?
Thanks
Regards
MMHi Gurus,
Thank you for your reply, Please find my replies below
@@ - Mallinath - We need this restrictions for some type of materials ( with specific Material types) which should not be procured through inter company STO process, buying plant should use the normal purchase. for other Material types they should be able to use the inter company STO process.
@@ DEV - We are already using the Spl. Procurement keys for inter company STO process.
Example - Material type ZXYX should not use the inter company STO process, but it should be allowed all other processes.
Please advise how we can control this process?
Thanks
Regards
Raja
Maybe you are looking for
-
Properties don't show up in the current viewbar filter
Hello, When clicking the Entity dimension on the current view bar, then applying the filter, there is only one property option to select (The ID property). Even though there are about 15 properties defined. This dimension processes fine, but it is
-
Few of the text in Tibetan language subtitle is not showing correctly
Dear frds, I am working on 2 hours project which consist of 3 language i.e. English, Russian and Tibetan. Both English and Russian is showing correct while importing in Encore DVD 2 but few of the text which is in Tibetan Subtitle is not showing corr
-
HT201342 what is the benefit to using @icloud for email
Just wondering what the benefit is to using @icloud.com vs @me.com?
-
CS3 Install w/ Snow Leopard
I can't get CS3 to install on my Mac w/ Snow Leopard. It'll start to run the installer script but then I get the message "Setup Error - contact support". Something to that effect. I also tried the trial dpownload of CS4 and get the same thing. Is the
-
Photomerge Exposure for Elements 11
I have had no success generating a new photo with Photomerge. I would go through the steps of finalizing a picture, but when I click done it is as if nothing ever happend, and no new file is generated. I tried this on two different computers with E