Table For Purchase Order Version Number and Version Created Date
Dear Sir,
Whenever we make any change in Purchase Order , then a new Version Number along with Created Date is assigned . In Me23n the Version Number and It's Created date is also displayed ( at PO Header Level) .
We request you to kindly guide us as which Table is required to be reffered to get the Version Number and Version Created date for the Purchase Order .
With Thanks and Rgds
Sonia
Hi
Check in EKKO - Purchase order header
EKPO - Purchase order item
CDHDR
CHPOS
Regards
Ram
Edited by: Parasuram M on Sep 16, 2009 11:59 AM
Similar Messages
-
Tables for purchase order history
what r the tables for purchase order history.
thanks in advanceHi Srinivas,
Check out the link for detail PP module and tables.
http://www.sap-img.com/sap-pp.htm
Hope this helps.
Manish -
Class for Purchase order item components and Production order components
I'm looking for a some classes. I'm very new to objects, so I could be searching for them incorrectly.
The first class I'm looking for is a purchase order class that contains the item components. I've looked at CL_PO_ITEM_HANDLE_MM and CL_PO_HEADER_HANDLE_MM. I couldn't find components as a part of either of the classes.
The second one I'm looking for is not as critical. It is for the components for a production order. I have a function module: BAPI_PRODORD_GET_DETAIL that gets the components for the order. However, to take advantage of objects - I read somewhere - that if possible I should avoid calling a function module.
Any help that you could give would be greatly appreciated.
Thank you!
MichelleHello Michelle
I do not think there are already classes available on ERP 6.0 for reading production order (yet I might be wrong...). However, regarding purchase order you are already on the right track.
*& Report ZUS_SDN_OO_READ_PO
*& Thread: Class for Purchase order item components and Production order components
*& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1206523"></a>
"& NOTE: Coding adapted from BAPI_PO_GETDETAIL1
REPORT zus_sdn_oo_read_po.
TYPE-POOLS: abap, mmpur.
PARAMETER:
p_ebeln TYPE ebeln DEFAULT '3000000045'.
DATA: gs_document TYPE mepo_document,
go_po TYPE REF TO cl_po_header_handle_mm,
gs_header TYPE mepoheader,
gd_tcode TYPE sy-tcode,
gd_result TYPE mmpur_bool.
data: gt_items type PURCHASE_ORDER_ITEMS,
gs_itm type PURCHASE_ORDER_ITEM,
gs_item type mepoitem.
START-OF-SELECTION.
* prepare creation of PO instance
gs_document-doc_type = 'F'.
gs_document-process = mmpur_po_process.
gs_document-trtyp = 'A'. " anz. => display
gs_document-doc_key(10) = p_ebeln.
* object creation and initialization
** l_ebeln = purchaseorder.
CREATE OBJECT go_po.
CALL METHOD go_po->po_initialize( im_document = gs_document ).
CALL METHOD go_po->set_po_number( im_po_number = p_ebeln ).
CALL METHOD go_po->set_state( cl_po_header_handle_mm=>c_available ).
* read purchase order from database
gd_tcode = 'ME23N'.
CALL METHOD go_po->po_read
EXPORTING
im_tcode = gd_tcode
im_trtyp = gs_document-trtyp
im_aktyp = gs_document-trtyp
im_po_number = p_ebeln
im_document = gs_document
IMPORTING
ex_result = gd_result.
* there was a problem in reading the PO
IF ( gd_result EQ mmpur_no ).
** l_messages = l_handler->get_list_for_bapi( ).
** PERFORM return TABLES l_messages return
** poitem poschedule poaccount.
** CALL METHOD l_po->po_close( ).
ELSE.
gs_header = go_po->if_purchase_order_mm~get_data( ).
WRITE: / gs_header-ebeln,
gs_header-bukrs,
gs_header-bsart,
gs_header-lifnr.
ENDIF.
gt_items = go_po->if_purchase_order_mm~get_items( ).
LOOP AT gt_items INTO gs_itm.
gs_item = gs_itm-item->get_data( ).
write: / gs_item-ebelp,
gs_item-matnr,
gs_item-menge.
ENDLOOP.
END-OF-SELECTION.
Regards
Uwe -
Table for purchase order status
Hello friends,
There's a tab STATUS in purchase order (tcoe ME21N).
I can't find a table which contains theses statuses.
Anybody knows what's the table for purchase orders status ??
Regards,
BahiaHi
PO status is stored in Structure not in the table.
Please use the List displays to get the information like ME2N,ME2L, ME2M, ME2K etc
You can also get the information from the table EKKO, EKPO, EKET,EKBE
Hope it helps
thanks/karthik -
No goods receipt possible for purchase order message number# M7036
Hello,
We are working in 4.7C , Created the scheduling agreements, with Shipping notification(Inbound delivery) .
Created the Scheduling agreement on 25.09.2009 and created the schedule line one same day with date 25.09.2009, (time column Blank).
So in Practice for Goods receipt we are using MB0A t code for GR,(not using MIGO)..while MB0A..iam going to make GR with ref to Shipping notification then system will through below given message.
No goods receipt possible for purchase order
5500001447 0001
Message no. M7036
tried every thing but unable get. shar your views
Regards
Sapman manHi
If you use Shipping notification then you have to create inbound delivery VL31n and do the PGR in inbound delivery VL32N itself.
Incase of scheduling agreement schedule lines you have to make sure the following
1) Schedule line delivery date shoud be todays date or in the past
2) Schedule must be released by using message type based on the type of schedule ( Normal, JIT or forecast)
Hope it helps
Thanks/Karthik -
IDOC Types for Purchase Orders, Vendor Master and Goods Receipt
Hello All,
Can any have idea about the IDOC Types that can be used for triggering when the actions creation/change/deletion on Purchase Orders or Vendor Master or Goods Receipt is performed?
Please let me know the names of IDOC Type, Process Codes, message type... and all the other required information...
Thanks in Advance,
Kumar.Hello Ferry,
Thanks again for the IDOC Types. I have another question. Can we use those IDOC types for creating/changing/deletion of Purchase orders or Vendor Master or Goods Receipt happens? I mean can we configure in such a way that when ever there is a change or deletion of PO or VM or GR happens?
I have got to know about the IDOC PORDCH01 which can be used for Purchase Order. Can u suggest me which can be used for PO's?
Regards,
Phani.
Message was edited by:
Sivapuram Phani Kumar -
WBS Element and Service No Link Table for Purchase Order document
Hi Experts,
We are Facing 1 Problem for finding link between
WBS Element and Service No for corresponding Purchase Order document . Please Suggest me to find Related tables for Project system Module .
Thanks and Regards
BalaNarasimman.MHi,
The link will be in MM table, not PS table. Try EKKN.
Regards -
Table for Purchase Order and Non Purchase order history
Hi,
Could you please share me the table name for getting the Purchase order history and Non purchase order history because this is a client requirent.
I have gone through this tables but not getting exact data i.e. EKPO,EKKO,EKNE...
please share with me the exact Table name to get all the Purchase order history and not purchase order history..
Thanks in advanceHi Mallikarjun,
Where did you find the non po info?
Thanks,
Neha -
Getting Price from KONV table for Purchase Order
Hi All,
I have to use the KONV table to get the Net Price for the Purchase Order Line Item. I am confused over the field KONV-KBETR because for Currency 'JPY' it shown a wrong figure. This is how I read the KONV table;
SELECT SINGLE KBETR
INTO ITAB-KBETR
FROM KONV
WHERE KNUMV = EKKO-KNUMV and
KPOSN = EKPO-EBELP and
KSCHL IN ('PBXX', 'PB00').
The Correct figure should be 3,000 but it shows 30. For all other currencies it works fine. What should I do to arrive at 3,000 simply I could always multiply KONV-KBETR by 100. But this would affect for other currencies.
Thanks,
Kishanhi sri , check this
SELECT SINGLE kbetr INTO i_konpc-kbetr
FROM konp
WHERE knumh EQ -knumh AND
kappl EQ -kappl AND
kschl EQ -kschl AND
loevm_ko NE 'X'.
remember in pricing u need to exclude the deleted line items ..
loevm_ko ne 'X' this is very important ..
may be u need put a converting factor for JPN
regards,
Vijay -
Allocation table for Purchase Order
Hi there,
Could you please advise me what should I do with my issue?
When trying to create allocation table: Purchase Order Reference, got message 'No data corresponding to selection exists'
Please tell me detail the step that I need to do.
Greatly thank you for your help.
Kind Regards,
2tea
Edited by: 2tea on Aug 12, 2008 9:50 PM
Please ignore this posting, problem solved. Thanks.u cn acess po history from info record for a vendor material
in tc me12
and there by using f1 help and technical info u can get the table name and the field
as po history is stored in the inforecord -
Table for Purchase Order statuses.
Hi
I want to know which table and fields indicate purchase order header and item statuses.
This is to know if GR IR for item is done and if there is partial GR and partial IR for item.
I want to know from table field directly rather than getting quantities from EKET and EKBE and then compare with EKET-MENGE.
Thanks !
Edited by: SMujumdar on Oct 21, 2010 1:58 AMHi,
How about TRC:MB5S. The report can add P/O quantity by setting of layout.
If you want make abap, Please check FM: BAPI_PO_GETDETAIL.
Regards,
Gaito -
Status table for purchase orders
Hi experts,
When a purchase order is accepted by someone it changes its status. Is there any table that i can select from it to obtain the worker who changed the status of a purchase order?
Thank you all,
Artur.hi,
Try to check the table EKBE (History per Purchasing Document).
and also check CDPOS and CDHDR table
I guess her you find the all the required details -
Is there any table for relation between batch number and valuation type ?
hi,
I would like to know where i can find relation between batch number and valuation type ?
thank you and Best regards
FernandHello
MCHA -
Table for purchase order history
Hi All,
I am working on Import PO. I have created PO and I have done MIRO for planned delivery costs now when I am checking in EKBE table its not getting updated but I am able to see the same documents in PO history.
Please tell me in which table planned delivery costs sit.
Thanks in advance.
Pavanhi,
Check EKBZ with the PO history category as DCGR
Regards
Merwyn -
No goods receipt possible for purchase order Number and Item number.
Hello experts,
When I create a Goods Reciept with reference to Purchase Order using BAPI_GOODSMVT_CREATE, the following error message appears.
No goods receipt possible for purchase order <PO number> <line item number>.
But the GR is getting created manually using Transaction MIGO for the same PO number.
I found some blogs to check for deletion indicator and Movement type and quantity, when I searched SDN for the same Issue.
In my case
1.deletion indicator is not set for the Purchase order line items
2.And Movement type is 101
3.And gm_code is 01.
Could anyone please suggest me, what else could be the reason for this error?Here is the code what i have written.
f_gmvt_header-pstng_date = sy-datum.
f_gmvt_header-doc_date = sy-datum.
f_gmvt_header-pr_uname = sy-uname.
f_gmvt_header-ref_doc_no = p_ebeln.
f_goodsmvt_code_tmp = '01'.
* Looping the PO details.
CLEAR: gf_item,f_gmvt_item.
LOOP AT gt_item INTO gf_item.
* fill the bapi item structure details
f_gmvt_item-material = gf_item-material.
f_gmvt_item-plant = gf_sbms-werks.
f_gmvt_item-stge_loc = '0001'.
f_gmvt_item-move_type = '101'.
f_gmvt_item-po_number = p_ebeln.
f_gmvt_item-po_item = gf_item-po_item.
f_gmvt_item-entry_qnt = gf_item-quantity.
f_gmvt_item-entry_uom = 'PC'.
f_gmvt_item-entry_uom_iso = 'PCE'.
f_gmvt_item-po_pr_qnt = gf_item-quantity.
f_gmvt_item-orderpr_un = 'PC'.
f_gmvt_item-orderpr_un_iso = 'PCE'.
f_gmvt_item-no_more_gr = 'X'.
f_gmvt_item-ref_doc = p_ebeln.
f_gmvt_item-prod_date = sy-datum.
f_gmvt_item-mvt_ind = 'B'.
f_gmvt_item-move_reas = '101'.
f_gmvt_item-vendor = gf_lfm1-lifnr.
APPEND f_gmvt_item TO t_gmvt_item.
CLEAR f_gmvt_item.
ENDLOOP.
* cALL THE bapi fm FOR gr POSTING
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = f_gmvt_header
goodsmvt_code = f_goodsmvt_code_tmp
* TESTRUN = ' '
* GOODSMVT_REF_EWM =
IMPORTING
goodsmvt_headret = f_gmvt_headret
* MATERIALDOCUMENT =
* MATDOCUMENTYEAR =
TABLES
goodsmvt_item = t_gmvt_item
* GOODSMVT_SERIALNUMBER =
return = t_return
* GOODSMVT_SERV_PART_DATA =
* EXTENSIONIN =
IF sy-subrc = 0.
* For commit the changes use BAPI_TRANSACTION_COMMIT FM.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
* MOVE: f_GMVT_HEADRET-MAT_DOC TO WA_DET-MBLNR,
* f_GMVT_HEADRET-DOC_YEAR TO WA_DET-MJAHR,
* f_GMVT_HEADER-REF_DOC_NO TO WA_DET-EBELN.
* APPEND WA_DET TO IT_DET.
* CLEAR WA_DET.
ENDIF.
Maybe you are looking for
-
Can I use USB 3 with my 2.8Ghz Quad-core
I have an early 2008, 2.8 GHz Quad-Core Intel Xeon Mac Pro, can I use USB3 Devices with it?
-
Hello all. Newbie here, asking if it is possible for a user to change/replace background images through Contribute CS3 that are called by CSS stylesheet? All images are setup this way and I don't want to have to use tables just so they can be able to
-
Redirecting popup windows to embed window
I'm working on embedding javafx inside 3d engine. I'm using EmbeddedWindow/HostInterface route used by JFXPanel and it works perfectly for most of the cases. Unfortunately, popup windows (right click, top menu, choice box etc) are giving some trouble
-
Laserwriter Pro 630, Mountain Lion, and Macbook Pro
Hi, I have a very old Laserwriter Pro 630 that I use for simple inexpensive proofing. On my old system (G4 Tower w/Leopard), it was connected via an ethernet hub. I'm now the proud owner of a Macbook Pro Retina (with no ethernet port), and I can't fi
-
Serialize IDOCs PI to SAP Backend
HI, I need to serialize IDocs thats PI send to a sap backend system. rigth now we have one CC with max connection = 1 but it is not enough. but something is not clear at all for me. I need to send IDocs with QoS EOIO so, i asume that checking the par