Need Purchase order entry time field

Hi,
I need to know the table and field of the purchase order created time.
I found the purchase order creation date field(AEDAT)from EKKO Table. But unable to locate the time field. ( I need to put the timestamp logic). So, i require the time field.
Waiting for ur answers....
Regards,
Rahul

Hi ,
Thank u for ur replies.
I am using ME21N Transaction.
My program extracts Open STO's(Stock Transport Orders) only.
( It doesn't pick up changed/delivered).
It is scheduling hourly basis, So, My requirement is to put timestamp, so that we can extract Open STO's from last successful job run. For this i need time field,
Is there any other option to achieve my requirement. If so, please let me know.
In CDHDR table it is capturing changed order time, but i require creation time. So. I think that table i can't use..
Waiting for ur answers...
Thanks in advance.
Regards,
Rahul

Similar Messages

  • Need to track Purchase order creation time

    Is there anyway to to track purchase order creation time to approve the PO within 4 hours.
    Regards,
    Pradeep

    Hi,
    In SE16 or SE16N put the PO no and find the field AEDAT which is creation date of the PO.To know the time browse the table CDHDR .in the object value put the PO No. and in Transaction put ME21n ,you will get the time also.
    Dhruba
    Message was edited by:
            Dhruba Charan Behera

  • How to add Purchase Order entry using B1WS?

    Hi,
    I have implemented B1WS in DI server, I am trying to add purchase order entry, but after adding it via B1WS, I am not able to find entry in SAP;
    My code using B1WS:
    public void SAPPurchaseOrder(string _SID)
                _PIService = new PurchaseInvoicesService();
                Document doc = new Document();
                doc.Address ="ab";
                doc.AgentCode = "ab";
                doc.BaseAmountSCSpecified = false;
                doc.CardCode = "VEND7";
                doc.CardName = "Baker & Taylor";
                doc.DocDate = DateTime.Now.Date;
                doc.CreationDate = DateTime.Now.Date;
                doc.DocType = DocumentDocType.dDocument_Items;
                doc.DocumentStatus = DocumentDocumentStatus.bost_Open;
                doc.BaseAmount = 100000;
                doc.DocCurrency = "USD";
                MsgHeader msgHeader = new MsgHeader();
                msgHeader.SessionID = _SID;
                msgHeader.ServiceName = MsgHeaderServiceName.PurchaseInvoicesService;
                msgHeader.ServiceNameSpecified = true;
                _PIService.MsgHeaderValue = msgHeader;
                _PIService.Add(doc);
    Also, I found error while I have use "ADD FUNCTION" as;
    can not empty list of tables, doc1, doc3 and doc10
    Please suggest me a proper entry flow or code to implement.
    Thank you.
    Piyush
    (Rob IT team - Parabox Media Group)

    Hello,
    Just like DI API, you need add doc lines to purcahse order, here is a sample to add a purchase order.
    Public Function Add() As DocumentParams
                Dim myPOParams As DocumentParams = Nothing
                Try               
                    ' Create Input parameters
                    Dim poDoc As Document = New Document
                    poDoc.DocDueDate = Date.Now
                    poDoc.CardCode = "V10000"
                    Dim docLine1 As DocumentDocumentLine = New DocumentDocumentLine
                    docLine1.ItemCode = "A00001"
                    docLine1.Quantity = 1
                    docLine1.TaxCode = "NY"
                    poDoc.DocumentLines = Array.CreateInstance(docLine1.GetType(), 2)
                    poDoc.DocumentLines.SetValue(docLine1, 0)
                    Dim docLine2 As DocumentDocumentLine = New DocumentDocumentLine
                    docLine2.ItemCode = "A00002"
                    docLine2.Quantity = 1
                    docLine2.TaxCode = "NY"
                    poDoc.DocumentLines.SetValue(docLine2, 1)
                    ' Create Service
                    myPOService = New PurchaseOrdersService
                    ' Create Header
                    Dim msgHeader As MsgHeader = New MsgHeader()
                    msgHeader.SessionID = GlbData.sessionID
                    msgHeader.ServiceName = MsgHeaderServiceName.PurchaseOrdersService
                    msgHeader.ServiceNameSpecified = True
                    myPOService.MsgHeaderValue = msgHeader
                    ' Call command with output return
                    myPOParams = myPOService.Add(poDoc)
                    MsgBox("Purhcase Order added: " + myPOParams.DocEntry.ToString(), MsgBoxStyle.DefaultButton2)
                Catch ex As System.Exception
                    MsgBox(ex.Message, MsgBoxStyle.DefaultButton2)
                End Try
                Return myPOParams
            End Function
    Kind Regards
    -Yatsea

  • Purchase Order released date field and table name

    Hi,
    Please tell me the  Purchase Order released date field and table name.
    Regards
    Deepak

    Hi,
    Table : EKKO.
    Fields : FRGKE,FRGZU.
    You can get release date of PO from CDHDR  table.
    give object value as your po number and check.dont forget to give leading zeros.
    The udate will be date field and transaction will be me29n for relaesed po.

  • Formatted Search - Purchase Order Lines, Price Field

    Hello Experts,
    I have wrote this formatted search for Purchase Order Lines, Price Field
    The problem is that i gets 0...
    What is wrong in it?....
    select
    case
    when T2.[ItemCode] Like N'u05D7u05DC%%' AND U_Thickness >= 1 AND U_Thickness <=3 then U_Contour*2.17
    end
    FROM OITM T0
    INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode
    INNER JOIN POR1 T2 ON T0.ItemCode = T2.ItemCode
    WHERE T2.itemcode = $[$38.1.0[
    Thank You,
    Meital

    Hi.....
    Try this
    select
    case
    when T2.[ItemCode] Like N'u05D7u05DC%%' AND U_Thickness >= 1 AND U_Thickness <=3 then U_Contour*2.17
    end
    FROM OITM T0
    INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode
    INNER JOIN POR1 T2 ON T0.ItemCode = T2.ItemCode
    WHERE T2.itemcode = $[$38.1.0]
    Regards,
    Rahul

  • Duplicate Purchase Order with all fields.

    Hi,
    I need a method to Duplicate a Purchase Order with ALL the fields. I tryed with a SendKey("^D") method but the new instance not copy the IC data. Looking for a better method, I read about the option to Save as XML the selected purchase, but I don't know what is the procedure to load the "clone instance" stored in the XML into the SBO Form with a new DocEntry.
    Anyone knows the better path to do this?
    Thanks in advance.
    Oscar Sanchez Montaner

    Hi Oscar,
    The XML method is fine. You export the original PO to an XML file. You can then use XSLT or a .NET XMLDataDocument object (or similar method if you are using another development environment) to remove the values in the DocNum, DocEntry and any other nodes you don't want to clone (eg DocDate). You can then load this back in to SBO using the GetBusinessObjectFromXML method of the Company object. Personally, I like the XSLT method because it's easy to do and very easy to amend without recompiling your addon (eg if you create new UDFs then you can quickly amend the XLST file to include or exclude these fields).
    Kind Regards,
    Owen

  • Purchase order with time limit

    My client need some details that,
    1) they want to create one new material
    2) for that material they want to create a purchase order
    3) the purchase order must not exceed a total quantity 10nos   for certain period i.e the user could not post a purchase order more than 10nos for the time period specified.
    4)after completing the time period the user can post a purchase order as per the requirement
    plz help me how to solve the issue
    Raghu

    Hi Raghu,
    You can create Quantity contract for the required time period with Qty=10nos. in ME31K. Release PO against the contract. This will solve your problem
    Regards,
    Baskar

  • Purchase Order item customer fields

    I have the following scenario:
    - I need to save some customer fields in Purchase Order item, when it is generated through the Shopping Cart (EBP).
    - When EBP will generate a PO in backend (R/3), it calls B470_PO_CREATE function module and inside it calls BAPI_PO_CREATE1 in R/3. This call does not use extensionin parameter.
    - I have all the values in PO_ITEMS parameters. (an append structure in bapi_mepoitem).
    - Trying to solve this, I think I have to use EXIT_SAPL2012_001 to create the extensionin parameter.
    - Anyone else has this problem?
    - How can I create the extensionin parameter? Is it only necessary to add 'BAPI_TE_MEPOITEM' and 'BAPI_TE_MEPOITEMX'?
    - Do you have an example?
    Thank you!

    Hi
    You have to extend CI_EKPODBX with the same fieldnames with type BAPIUPDATE (in SE11), and then while passing the EXTENSIONIN to the bapi, you have to flag those. Like the following:
    DATA: wa_extensionin TYPE BAPIPAREX,
    wa_BAPIPAREX TYPE BAPIPAREX,
    wa_BAPI_TE_MEPOITEM TYPE BAPI_TE_MEPOITEM,
    wa_BAPI_TE_MEPOITEMX TYPE BAPI_TE_MEPOITEMX.
    wa_BAPI_TE_MEPOITEM-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEM-ZZZ_FIELD1 = <z-field value>.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEM'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEM.
    APPEND wa_BAPIPAREX TO extensionin.
    wa_BAPI_TE_MEPOITEMX-po_item = <PO Line No.>.
    wa_BAPI_TE_MEPOITEMX-ZZZ_FIELD1 = 'X'.
    wa_BAPIPAREX-STRUCTURE = 'BAPI_TE_MEPOITEMX'.
    wa_BAPIPAREX-VALUEPART1 = wa_BAPI_TE_MEPOITEMX.
    APPEND wa_BAPIPAREX TO extensionin.
    This will work. Please let me know if it does not.
    See related links ->
    Re: BAPI_PO_CREATE1 and EXTENSIONIN structure
    Re: Passing custom fields to BAPI
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: BAPI_PO_CHANGE
    Yann i need ur help..
    Re: Custom field values are not being transfered to the backend system
    Problem in populating userfields in PO using BAPI_PO_CREATE1
    Re: Implement ME_PROCESS_PO_CUST-Urgently!
    Re: Purchase Order (BAPI_PO_CREATE! --> EXTENSIONIN)
    Re: How to use BAPI extensions?
    Re: BAPI_PO_CREATE1 user fields not saving on EKPO
    BAPI_PO_CREATE1 - EXIT_SAPL2012_001
    Do let me know.
    Regards
    - Atul

  • How to implement Change pointers for Purchase order - ME22N - Custom Fields

    Hi Experts,
    Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
    I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
    Everything is working fine according to my requirement.
    All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
    1.How to implement change pointers for custom fields.
    2.Can we maintain - Change Document - for custom fields at data element level?
    P.S. - I have browsed many previous - forums before posting a new discussion.
    please share your inputs...
    explaining how to create/implement - change pointers for custom fields will help me .
    Regards,
    Karthik Rali.

    Hi,
    To maintain Change Document for custom field:
    1. Check if "Change document" checkbox is set in data element.
    2. Find Change Document Object for transaction.
       You can use SQL trace - ST05.
       Look there for line with table CDHDR and statement insert values
       (for example for transaction KA02 Change Document Object is KSTAR)
    3. Regenerate update program for this Change Document Object in transaction SCDO
    Change documents for z-fields schould be generated.
    I am not sure about change pointers but they are configured somehow in BD61 and BD50.

  • Purchase order problem about field MMHIPO_MAINLIST-DMBTR

    Hi Gurus
    I am doing functional analysis for a sap query.
    I know purchase order number , and i need to know sap table where is field amount in local currency in two cases
    Goods receipt and Ivoice receipt.
    I find this information on transaction ME23N using this path : purchase order,purchase order history,invoice receipt, details.
    The field is MMHIPO_MAINLIST-DMBTR,but DMBTR is a structure .
    Can you tell me what are tables that have these fields?
    thanks for your help
    Best Regards

    Hi
    Get the Goods reciept, Invoice reciept history for the PO in EKBE table,To find the Amount in LC for GR/IR
    Goods reciept-Table-MSEG,Field- DMBTR
    Invoice receipt- Table-BSEG,Field- DMBTR
    Regards
    Sandeep

  • Transfer Purchase Order - Error message "Field selection ZTR not defined"

    Hi all,
    I've customized a new transfer purchase order type : TRA.
    When I go to ME21N and choose TRA type, SAP displays this error message :
    "Field selection ZTR not defined
    Message no. ME028
    The field selection required by the system is not defined in table 162.
    Further processing is currently not possible."
    How can I fix that please ?
    Regards,
    Bahia.

    Hello,
    Check in IMG - MM - Purchasing - Purchase order -define screen layout - Check any field selction ZTR has been configured. And also check in Purchasing - purchase order - define document types - your PO doc type has reference to field selection group ZTR - if yes change it..
    Regards
    Mahesh Naik

  • Remove Planned Purchase Order from Type field on Purchase Order form.

    Have requirement to remove Planned Purchase Order from LOV on purchase order form in 11.5.10.2. Tried to disable the Planned Purchase Order document type but Disable field isn't updatable. How can I remove Planned Purchase Order from LOV?

    You can modify list of values in a form with CUSTOM.pll.

  • Purchase Order creation TIME

    Hello all,
    Anybody knows how do I find the creation time of a PO ? in Table EKKO I can find the creation DATE but not the TIME.
    THanks,
    Isaac

    Hi
    table CDHDR
    and the objectclass 'EINKBELEG' is for purchasing order
    Regards
    Shafiat G.

  • Adding a custom tab in Purchase Order with two fields - ME21N

    Hello Experts,
    My requirement is to add a custom tab with two fields in purchase order at header level.
    The BADI ME_PROCESS_PO_CUST is alreday implemented previously as there was one custom tab added previously in header.
    The structure  CI_EKKODB already have the custom fields for the enhancement done earlier.
    Now to add my additional tab how should i proceed ....should i put my additional fields in the same structure and write my code in same BADI.....will there be any impact on already done enhanecement.
    Please suggest in achieving this functionality.
    Thanks,
    Naveen

    Hi,
    Check this [wiki|http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29], it tells you how to do with an example for item data.
    Regards,
    Eduardo

  • Purchase order output-quantity field

    This is a smartform program for Purchase order..the Requirement is
    when the qty is without decimal places then it should be printed without decimal places on PO printout. E.g. if PO contains 10 EA then 10 EA should be printed and not 10.00 EA. Similarly if 10.5 KG is in PO then 10.5 KG should printed on the printout.
    eg: 100.000 EA that is to be printed as 100 EA
        123.458 kg that is to be printed as 123.46 kg
        234.000 EA that is to be printed as 234 EA
        2.00    KG that is to be printed as 2   kg

    Hi Experts,
    Excel file contains 1000 records when i upload excel using alsm_excel_to_internal_table it is taking 100 records only....
    could u please help me for this....i have given as shown below
    call function'alsm_excel_to_internal_table'
        exporting
          filename                = p_file
          i_begin_col             = '1'
          i_begin_row             = '2'
          i_end_col               = '8'
          i_end_row               = '500'
        tables
          intern                  = itab_xl_itab
        exceptions
          inconsistent_parameters = 1
          upload_ole              = 2
          others                 = 3.
    regards
    Dileep

Maybe you are looking for

  • K7N2 Delta ILSR blown?

    I have K7N2 Delta-ILSR. I wanted to use the dolby digital out put of the board and since I didnt have a S-Bracket I decided to hook a wire onto the pin and connect that to a rca cable which goes to my decoder. I used the board like this with no probl

  • HP 2575 will NOT print in Colour

    Hello, I have an HP 2575 All-in-One printer,originally it printed OK,but,it was printing more in colour than black/white,even any text,somehow,I played in the setup and managed to print ONLY in black/white,now,I can't print anything in colour,I've re

  • What is use of Reference object in BW

    Hi All, I have a small doubt about use of Reference object.Since reference object uses same database table of referenced object and also we can not load data in this.Only loaded data in Referenced object will be available in newly created reference o

  • Error when entering 2 words, first/last name

    here's my code: public static void main(String[] args) {         Scanner scan = new Scanner(System.in);         int choice, status;         String nm = "";         double[] exams = new double[3];         boolean newStudent = true;         System.out.

  • Setting up multiple email accounts on multiple .mac accounts

    There are three of us in the household, all with our own .mac accounts (created off of one master account) and our own usernames on this computer. I have set up multiple email accounts and am having trouble getting those accounts organized into Mail.