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

Similar Messages

  • 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

  • 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.

  • 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

  • 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 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.

  • Open purchase orders problem

    Hi all,
    I want to close all open purchase order . MEMASSPO transaction doesnt allow me to close partial open POS ie PO is of 10 QTY & I received 5 qty .Remaining  5 QTY. there are around 1000 PO's are like that .
    Going  into me22 & delivery completed tick, I can do it manually .but its very hectic due to large no of PO's. Can I write a BDC for that ? I have a doubt whether that BDC will work properly or not because In each PO line Item Nos are different. which item is received completly & which not this is also to be considered.
    Plz reply .
    Thanks in Advance.
    Atul

    Hi,
    you can uses BAPIs instead of BDC. You can get details of PO from BAPI BAPI_PO_GETDETAIL1 and then change it using BAPI_PO_CHANGE. Both BAPIs have table POITEM with field NO_MORE_GR. This field corresponds to your flag. So you can easily see which items has not this flag set and then easily set this flag.
    Cheers

  • Purchase Order Problem

    HI Experts,
      I have copied a purchase order form ZMEDRUCK from Medruck.  Modified according to the requirements of functional consultant without deleting a single element.  I have commented everything in the windows except /E - element lines.  Used subroutines to fetch some data and displayed.  Its working normally, but when enduser is trying to generate a PO with some JPY currency, it is not giving print preview nor print. 
    In the subroutine pool for calculating grand total I have used the following code.
    FORM freight TABLES   TA_INPUT STRUCTURE ITCSY
                            TA_OUTPUT STRUCTURE ITCSY.      "Structure
      DATA: TP_FREIGHT LIKE KONV-KAWRT,  " freight charges
            TP_CUSTOMS LIKE KONV-KAWRT,  " customs charges
            TP_EBELN   LIKE EKKO-EBELN,  " PO number
            TP_KNUMV   LIKE EKKO-KNUMV,  " document condition number
            TP_GTOTAL  TYPE P DECIMALS 2,  " grand total
            TP_TOTAL   LIKE KONV-KAWRT. " like konv-kawrt  " total before freight and customs.
      DATA: lv_grandtot(16),             " TYPE P DECIMALS 2,
                                       " lv_grandtot type konv-kawrt,
            tp_total1(16),
            tp_waers like ekko-waers.
      DATA : IT_KONV LIKE KONV OCCURS 0 WITH HEADER LINE. " for condition values.
      read table TA_INPUT with key 'EKKO-EBELN'.
      TP_EBELN = TA_INPUT-VALUE.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          INPUT  = TP_EBELN
        IMPORTING
          OUTPUT = TP_EBELN.
      READ TABLE TA_INPUT WITH KEY 'KOMK-FKWRT'.
    **without this function module, getting short dump while adding for grand total.
    **CONDENSE TA_INPUT-VALUE.
    *MOVE TA_INPUT-VALUE TO TP_TOTAL.
      CALL FUNCTION 'CATS_ITS_MAKE_STRING_NUMERICAL'
        EXPORTING
          INPUT_STRING  = TA_INPUT-VALUE
        IMPORTING
          VALUE         = TP_TOTAL
        EXCEPTIONS
          NOT_NUMERICAL = 1
          OTHERS        = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    READ TABLE TA_INPUT WITH KEY 'EKKO-WAERS'.
    tp_waers = ta_input-value.
    if tp_waers = 'JPY'.
    tp_total = tp_total * 10.
    endif.
    WRITE: TP_TOTAL TO TP_TOTAL1 CURRENCY 'JPY' LEFT-JUSTIFIED.
      SELECT SINGLE KNUMV FROM EKKO INTO TP_KNUMV WHERE EBELN = tp_ebeln.
      SELECT * FROM KONV INTO TABLE IT_KONV WHERE KNUMV = TP_KNUMV
                                          AND KSCHL IN ('FRB1' , 'ZOB1').
    *BREAK-POINT.
      LOOP AT IT_KONV.
        CASE IT_KONV-KSCHL.
          WHEN 'FRB1'.
            TP_FREIGHT = TP_FREIGHT + IT_KONV-KBETR.
          WHEN 'ZOB1'.
            TP_CUSTOMS = TP_CUSTOMS + IT_KONV-KBETR.
        ENDCASE.
      ENDLOOP.
    *******grand total.
    ***here if don't use function module CATS_ITS_MAKE_STRING_NUMERICAL, I get short dump.
      TP_GTOTAL = TP_TOTAL + TP_FREIGHT + TP_CUSTOMS.
    *WRITE TP_GTOTAL TO lv_grandtot CURRENCY tp_waers DECIMALS 2 LEFT-JUSTIFIED.
    WRITE TP_GTOTAL TO lv_grandtot CURRENCY tp_waers LEFT-JUSTIFIED.
    *move tp_gtotal to lv_grandtot.
      loop at TA_OUTPUT.
        case TA_OUTPUT-NAME.
          when 'TP_FREIGHT'.
            MOVE TP_FREIGHT TO TA_OUTPUT-VALUE  .
            CONDENSE TA_OUTPUT-VALUE.
            modify TA_OUTPUT.
          when 'TP_CUSTOMS'.
            MOVE TP_CUSTOMS TO TA_OUTPUT-VALUE  .
            CONDENSE TA_OUTPUT-VALUE.
            modify TA_OUTPUT.
          when 'TP_GTOTAL'.
            MOVE lv_grandtot TO TA_OUTPUT-VALUE  .
            CONDENSE TA_OUTPUT-VALUE.
            modify TA_OUTPUT.
        endcase.
      endloop.
    endform.                    "freight
    It is working well even with JPY currency, but this time when she was entering a material with JPY currency, neither preview is coming nor print.  In the status bar(in me21n) it shows error that a certain include is not available, but when I enter into script debugging mode, print preview is coming and grand total is 0, because of error in function module.  In the ABAP debugging mode, in the function module I have used, the sy-subrc is 1.  This is go-live issue and this problem has occurred in Prod server.  We could not stimulate the scene in Dev server.
    In Dev, I noticed that when ever I tick off in 'Ret PO' check box, the same problem is coming.
    Can any one help me with this problem.

    The table PO_AGENTS stores the buyers .
    To define a buyer, you need to define an employee (Purchasing super user > Setup > Personnel > Employees), then a Buyer (Purchasing super user > Setup>Personnel > Buyers)

  • 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.

  • 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

  • Sales order -  automatic creation of purchase order - problem on Credit Che

    Hello,
    We have a problem in sales order.
    For one item, we have an automatic creation of Purchase requisation, but we have to give manually the price in the purchase requisition.
    The problem is when we have give the price, the automatic credit check is executed, and the purchase requisition is not created if we block on this credit check.
    When the credit controller, released the Sales order (VKM1), the purchase is not created automatically because the field for the price in purchase requisition is empty and required.
    And when we come back to the sales order, we need to fill the value and the credit check is running a new time. .....
    and we have a loop.
    I have check in OSS Notes, and I not find a solution.
    How can we solve this problem
    Regards
    Jean-Claude Onderbeke

    Hello Buddi,
    It's impossible to change the price in PO, because the PO is not created.
    The problem is on the creation on the PR in the Sales Order.
    I'm not able to create the Purchase Requisition due to Credit Check, and I'm not able to make an automatic credit check because the value price in the PR is not filled automaticaly, and it's required.
    It's a loop known by SAP, but not solve.
    I hope that someone has found a solution to this strange behaviour.
    Regards
    Jean-Claude

  • Purchase Order Table's "Field Name required"

    Hi Experts,
    Can anybody tell me specific table names and filed names for "Invoice Quantity" and "Delivery Quantity" for Purchanse Orders?
    Thanks a lot.

    hi
    go to EKBE and  VBRP for GR Goods Receipt quantity and invoiced quantity
    and for Deliver quantity got to LIKP or LIPS
    hope this helps
    regards
    Aakash Banga

Maybe you are looking for

  • To relocate mail.log, mail.log_current file to specific folder

    Hi We have configured CommSuite 6 in single host. The output of “imsimta version”: Sun Java(tm) System Messaging Server 7.0-0.04 32bit (built Jun 20 2008) libimta.so 7.0-0.04 32bit (built 01:01:00, Jun 20 2008) Using /opt/sun/comms/messaging/config/i

  • Can someone make me a intro to my videos?

    hello, first of all let me start off by saying i don't need a professional i just want a intro for my world of warcraft videos, im making, i want to intro to be somewhat like this but with my character there is a picture of him below, i dont know wha

  • Wildly flickering pagesize with Scrollbar issues during Live View CS5.5

    DWCS5.5 keeps crashing on the system I am using on Windows 7 ultimate. The menu at the bottom of the preview pane (in split view) that allows you to select your page size keeps jumping back and forth rapidly and the scrollbar keeps "wiggling" like it

  • When routine will called in the include ZXRSRZZZ

    Hi, I created one virtual Characterstic, I wanted display constant value in the report for that Virtual characterstics, I included virtualcharacter in the rows I didn't assigned any variable to that characterstics. Do I need to assign any variable fo

  • Copy CSS missing from my PS CS6 Extended?

    Hi everyone I just upgraded my CS6 Design Premium (OS X 10.8.2), and I can't for the life of me find the 'Copy CSS' option? I have Photoshop CS6 Extended 13.0.3, and everything else works great, but no matter what I try, there's no Copy CSS option. A