FMS  in Purchase Order

Dear Expert,
In Purchase Order,   i created a UDF for quantity in Service Type invoice as U_Qty_Service
i want the total in Total(LC) column like
U_Qty_Service   *   Unit Price    =  Total(LC)
        2                       1000               2000
i tried with this FMS
SELECT $[$38.14.Number] * $[POR1.U_Qty_Service.Number]
It is giving me as 0 in the Total(LC) column.
U_Qty_Service   *   Unit Price    =  Total(LC)
        2                       1000                  0 
Thanks with Regards,
Dwarak

Hi Dwarak......
Try this......
Select (Select $[$39.14.Number])*(Select $[$39.U_Qty_Service.Number])
Or
Select (Select $[POR1.Price.Number])*(Select $[POR1.U_Qty_Service.Number])
Both of the above will help you......
Regards,
Rahul

Similar Messages

  • FMS Query for Purchase Order

    Hi,
    I want to FMS Query for Purchase Order.
    I want to display the weight * price in one user define field.
    Please suggest me

    Hi Tushar.......
    Try this.......
    declare @var1_wt as varchar(255)
    declare @var2_Pr as varchar(255)
    declare @var3 as float
    declare @var4 as float
    set @var1_wt=$[$38.58.0]
    set @var2_Pr=$[$38.14.0]
    set @var3=cast( substring(replace(@var1_wt,',',''),0,len(replace(@var1_wt,',',''))-1) as float)
    set @var4=cast(substring(replace(@var2_Pr,',',''),0,len(replace(@var2_Pr,',',''))-3) as float)
    select @var3 * @var4
    Regards,
    Rahul

  • Purchase order and sales order table name

    hi al,
    i want to know purchase order and sales order table name in abap.
    thanks
    varun
    Moderator message: please do some own research, this should not take too long.
    Edited by: Thomas Zloch on Jan 27, 2012

    Hi Sunrag......
    If your PO is linked with SO. Then you can fetch customer name easily by FMS in PO.
    From there you ca gte the Customer Name into your PLD and it wont hang also.....
    Regards,
    Rahul

  • Cannot switch base units on Goods Receipt PO copied from Purchase Order

    Hi,
    I am wondering if there is a simple trick or setting for this or if we have to use a UDF/FMS...
    When using Uom for sales and purchasing, you cannot switch between Yes and No for base units on the target document(GRPO) when copying a PO to GRPO.
    For example, enter a purchase order selecting 'No' for base units and enter quantity 1 for item with Uom case(25 pcs in a case). 25 are ordered. If the warehouse receives 23 instead of a full case from the supplier,  they want to be able to enter 23 on the GRPO(copied from PO). They don't want the warehouse staff calculating what percentage to put in for quantity (23/25 = 0.92),  they would just like them to use the drop down box and change the base units to Yes and receive the quantity 23 units.
    Any suggestions?

    Hi,
    How often this would happen?  If it is very frequent, my suggestion would be considering it when you create PO.  You know, if you could change that option, the link between PO and GRPO will be broken.  It is not recommended.
    Thanks,
    Gordon

  • Service purchase order with quantity

    Hi all,
    Is it possible to create a service purchase order with quantity ?
    Our client is using sap b1 2005b pl39.
    Expecting you all valuable reply.
    Jeyakanthan

    Hi, Jeyakanthan,
    I guess there are 2 ways out for this:
    1. Define the Service as an item ...i.e. create aitem master for it.Then you can define the quantities for it.
    2. Use a UDF in the service type document as quantity and put a FMS to calculate the qty.
    Nagesh

  • Form settings in Purchase order form

    When designing my purchase order u201Cform settingsu201D, I canu2019t seem to find how to show the u201Cwarehouse nameu201D NOT the u201Cwarehouse codeu201D in the u201Cship to - nameu201D field?  Can you pls assist.

    Only warehouse code is available in PO form setting.  If you need warehouse name, you have to create row level UDF.  Then use FMS to bring in the name.
    Thanks,
    Gordon

  • Regarding Linking Customer Name in Purchase Order PLD

    Dear Experts,
    I need to show the Customer Name in Purchase Order PLD. Purchase Order's base document is Sales Order.  Eventhough i mapped the sales order table and customer name in the Purchase PLD, the system is hanging and coming slowly like some 1234 blank pages.
    How to show the same ?
    Pl help, Thanks
    Regards
    Sundaram

    Hi Sunrag......
    If your PO is linked with SO. Then you can fetch customer name easily by FMS in PO.
    From there you ca gte the Customer Name into your PLD and it wont hang also.....
    Regards,
    Rahul

  • GR Based INV flag set on Purchase Order

    Hello,
    We are on SRM 5.5 and R3 ECC 6.0 classic scenario. We want to swihtch off the GR Based Invoice flag which is maintained in de vendor master. Vendor has no info record or contract. When creating a PO directly in R3 the flag is also disabled on the PO. However, when we create a shopping cart, the system automatically creates the purchase req and when the purchaser creates the Purchase order the GR Based Inv. flag is set again ? Can anybody let me know how this is possible ?
    Thanks as eve for your help.
    Antoinette

    Hi Antoinette Stork,
    Here is the way we have achieved. I am not an ABAPer and hence providing you more concepts than code.
    01)  A custom program is written and is scheduled on hourly basis as a back ground job.
    02)  This program is executed after the BBP_VENDOR_SYNC is executed as a background job as well.
    03)  BBP_VENDOR_SYNC will bring the updates and new vendors from the R/3 back end.
    04)  This will bring the vendors with the confirmation flag set on SRM (no corresponding field exists on the R/3 side vendor master) and also will check the GR based invoice verification flag on (the corresponding field exists on the ECC vendor master).
    05)  After 15 minutes the custom program will read the BUT000 table for the total number of vendors changed or created between two successive jobs.
    06)  Then query on the VENMAP table to get the GUIDs of the corresponding vendors.
    07)  Within the custom program use the FMs
         BBP_BUPA_FRG0060_CHANGE  and
         BAPI_TRANSACTION_COMMIT
    to set the flags for
          goodsrec_confex = ' '  and
          GR_BASEDIV
    Sorry for being unable to provide you the code dump.  This is working perfectly fine for us.
    Also, we have used the badi "BBP_ECS_PO_OUT_BADI"  with the method "BBP_B46B_PO_OUTBOUND"  as a safety net as our invoice processing is two way match and we do not absolutely want the flags to be set to the R/3 PO.
      DATA: ls_bapi_poitem TYPE bbps_if_bapimepoitem_pi.
    Loop through the item details that gets passed to Backend*
      LOOP AT ct_bapi_poitem INTO ls_bapi_poitem.
    Clear the GR and GR-Based Invoice Verification Indicator.*
        CLEAR : ls_bapi_poitem-gr_ind,
                ls_bapi_poitem-gr_basediv.
        MODIFY ct_bapi_poitem FROM ls_bapi_poitem
               TRANSPORTING gr_ind gr_basediv.
      ENDLOOP.
    ENDMETHOD.
    Hope this helps,
    DV

  • The row in Purchase order documents cannot be closed.

    I try to close a row in Purchase Order by using the Right Click -> Close Row option, or from the Data menu.
    When I click on the 'Update' button, the following Error massage  appear: Document rows cannot be closed concurrently with the other document modification you have made. The row cannot be closed.
    Using SAP Business One 2007 A (8.00.241)  SP: 01  PL: 14  HOTFIX1
    Please advice the solution to solve this problem.

    Hi.......
    Do you have any kind of SP Transaction notification for Autoupdation?
    Please mention here because such things happen due to the FMS or SPs applied to the DB.....
    Also please check this thread......
    Document rows Cannot be closed concurrently - Purchase Orders
    Documents rows cannot be closed concurrently with the other document modify
    Regards,
    Rahul
    Edited by: RAHUL MOUNDEKAR on Aug 8, 2011 9:44 AM

  • Is it Possible in Purchase Order that putting the BOM, all the components ?

    Is it Possible in Purchase Order that putting the BOM, all the components of that particular ges populated in the Rowt ? This is necessary to select single - single items is PO..
    We are also using MRP and Forecast. We want to use this method in case of placing URGENT Purchase Order without considering WH stock + PO ordered + ....................
    What kind of Query we would write , that  putting the BOM in the UDF, the componenets get populated in Purchase Order...
    Please give complete query.................

    The query I have provided earlier needs to be set in the ItemCode field at the row level and not on your User field at the header.
    The query below (same as earlier with the addition of the user field name - please verify) will show the Child Items of the BOM item who code you have entered at the Header level in your UDF.
    SELECT T0.Code FROM [dbo\].[ITT1\] T0 WHERE T0.Father = $\[OPOR.U_BOMNAME]
    This will not automatically fire but the user has to first enter the Vendor Code and then enter the U_BOMName and then in the Item code field press Shift+F2 which will fire the above query FMS displaying the child Items for this BOM.
    Suda

  • Payment by letter of Credit against Purchase order

    When we are purchasing from Foreign Vendors , we need to open a Letter
    of credit (LC) .
    Depending on the terms of Purchase order , Vendor will discount it /get
    payment from Bank on submitting LC and other necessary documents.
    Vendor's Bank, at appropriate Time will send the same to Customer's Bank
    How to mapped this scenario in SAP-MM and FI .
    Activities required to be updated against Purchase order :
    (1) Payment Terms : 100 % against LC on delivery
    (2) History should reflect LC opened - Date and Bank Name which
    Vendor has suggested, our company's Bank Name
    (3) LC discounted details
    (4) LC payment due date to our company Bank - as Procurement needs
    to inform to Finance for this.
    Any help will be highly appreciated.
    Thanks and Best Regards,

    When we are purchasing from Foreign Vendors , we need to open a Letter
    of credit (LC) .
    Depending on the terms of Purchase order , Vendor will discount it /get
    payment from Bank on submitting LC and other necessary documents.
    Vendor's Bank, at appropriate Time will send the same to Customer's Bank
    How to mapped this scenario in SAP-MM and FI .
    Activities required to be updated against Purchase order :
    (1) Payment Terms : 100 % against LC on delivery
    (2) History should reflect LC opened - Date and Bank Name which
    Vendor has suggested, our company's Bank Name
    (3) LC discounted details
    (4) LC payment due date to our company Bank - as Procurement needs
    to inform to Finance for this.
    Any help will be highly appreciated.
    Thanks and Best Regards,

  • Purchase order to payment

    my client requirement is status of the po till payment i want to generate a sap query any body pls guide me purchase order ->down payment ->goods reciept-> invoice verification -> vendor payment
    i want to generate this report vendor wise as well as the material and po
    pls give me indetails tables and fields
    advance thanks for kind reply

    hi,
    Seelct EKBE u2013 EBELN, LIFNR
    Where EKEB- BUKRS Eq (Company Code entered in the selection screen)
               EKBE u2013 BEDAT Eq (Purchasing Document Date entered in the selection screen)
    Select all EKBE u2013 EBELN  in to EKBE 
    Invoice and GRN Document Number: - 
             Select EKEB-BELNR, BUDAT, DMBTR, WRBTR, WAERS
                         Where  EKBE u2013 EBELN   Eq  EBELN Entered in the selection screen
                                     EKBE u2013 GJAHR Eq  GJAHR Entered in the selection screen
                                     EKBE u2013 BUDAT  Eq  BUDAT Entered in the selection screen
                           EKBE u2013 VGABE  Eq  1 (Goods Receipt) (in case of Invoice GRN)
                                     EKBE u2013 VGABE  Eq  2 (Invoice Receipt) (in case of Invoice MIRO)
             Eenter all EKBE u2013 BELNR into BKPF and select BKPF- BELENR, WAERS
                                    BKPF - BUKRS Eq  BUKRS Entered in the selection screen
                                    BKPF u2013 GJAHR Eq  EKBE - GJAHR
                                    BKPF u2013 BUDAT  Eq EKBE - BUDAT 
                                    BKPF u2013 AWKEY Eq  EKBE u2013 BELNR + GJAHR
             Eenter all BKPF u2013 BELNR into BSEG and select BSEG u2013 BELENR, DMBTR
                                   BSEG - BUKRS   Eq  BKPF - BUKRS 
                                   BSEG u2013 GJAHR  Eq  BKPF - GJAHR
                                   BSEG u2013 BUDAT  Eq  EKBE - BUDAT 
                                   BSEG- BELNR    Eq  BKPF u2013 BELNR
    For Payment Document  Select  BSEG u2013 AUGBL
                                     Where BSEG- BELNR    Eq  BKPF u2013 BELNR
                                                BSEG - BUKRS   Eq  BKPF - BUKRS 
                                                BSEG u2013 GJAHR  Eq  BKPF - GJAHR
                                                BSEG u2013 BUDAT  Eq  EKBE - BUDAT 
    Eenter all BSEG u2013 AUGBL into BSEG and select BSEG u2013 BELENR, DMBTR ,
    Where BSEG u2013 BELNR Eq BSEG - BSEG u2013 AUGBL
    For Advance Payment Document  Select  BKPF u2013 BELNR, WAERS and KURSF
                         Where BKPF - BUKRS Eq  BUKRS Entered in the selection screen
                                    BKPF u2013 GJAHR Eq  EKBE - GJAHR
                                    BKPF u2013 BUDAT Eq EKBE - BUDAT 
                                    BKPF u2013 TCODE Eq FBA7 and FBA6
    Enter all BKPF u2013 BELNR into BSEG and select BSEG u2013 BELENR, DMBTR ,
                                     Where BSEG- BELNR    Eq BKPF u2013 BELNR
                                                BSEG - BUKRS   Eq BKPF - BUKRS 
                                                BSEG u2013 GJAHR Eq  BKPF - GJAHR
    Reagrds,
    Rama Mohan

  • Purchase order and message details

    Hi gurus,
    We have a requirement of generating a report of how the purchase orders are being sent to vendor.
    Is there any table or tables that stores information of a purchase order number and how the message (output type) has been processed to vendor like through what medium it has been sent to vendor.
    Example Purchase order 3456 was sent to vendor through fax.
                   Purchase order 4563 was sent to vendor through paper.
                  Purchase order 7865 was sent to vendor through EDI.
    The transmission medium by which it has been sent to vendor need to be captured by purchasing document.
    So gurus, if anyone can advise me of table or relating tables that i can write a query or request abapers to write a custom report, that would be great.
    Thanks in advance,
    Kind regards,
    Gopio.

    Hi,
    All the CONDITION RECORD details like MESSAGE, DESPATCH TIME & LANGUAGE are available in NACH table
    Goto SE16  for NACH and enter the DOCUMENT CONDITION and get te details
    hope it is helpful
    thanks,
    santosh

  • Purchase Order Report

    When Iam trying to take Purchase Order report,
    Fields in PO Report are as follows:
    Posting date, Purchase Order number,Vendor Name, Item Name, Qty, Unit Price, Total Price, & Status.
    For eg:
    PO Num 100 contains 5 Items, Out of which Goods Receipt PO has been raised for 3 Items. and Goods Receipt PO for remaining 2 items have not been raised.
    In this case PO status is OPEN.
    When iam generating PO Report, It shows Status for all the Items are OPEN. bcoz status for the PO is OPEN.
    I want the report to show the status is Closed for the Items for which Goods Receipt PO has been raised. and similarly status must be OPEN for the items for which Goods Receipt PO has not raised. ( PO number is same ).
    Your answers will be very helpfull.
    Thankyou.

    Hi,
           I have created a Column in Purchase Order Screen and i have given two options by name Open/Close.
    I have Created new field by going into......................      Path: ToolsUserdefined FieldsManage User defined fieldsmarketing documentsrows.
    And i have selected check box  set valid values for fields  and i have given Open and Close Options.
    This is effecting in new Purchase Orders which iam creating from now. But it is not reflecting in Purchase docs which i have created earlier.
    So Please let me know what to be done inorder to reflect this change in all Purchase Order Doc's.
    Your Answers will be very much helpfull.
    Thankyou.

  • Open Purchase Order UPload Using the BAPI 's

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

    i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out  using the BAIP's for upload the PO, i need sample code for this ........
    Thanks & Regards
    Raghu
    <u>Field Name     Field Description                              Type     Length</u>
    <b>EBELN             Purchasing Document Number                         CHAR     010          X
    BUKRS             Company Code                                                     CHAR    004     MN10     C
    EKORG             Purchasing Organization                              CHAR     004     MN00     C
    EKGRP             Purchasing group                              CHAR     003          X
    BSART             Order type (Purchasing)                              CHAR     004          X
    LIFNR             Account Number of Vendor or Creditor                    CHAR     010          X
    BEDAT             Purchase Order Date                              DATS     010          X
    ZTERM             Terms of payment key                              CHAR     004          X
    WAERS             Currency Key                                   CUKY     005          X
    INCO1             Incoterms (part 1)                              CHAR     003          X
    INCO2             Incoterms (part 2)                              CHAR     028          X</b>
    EBELP             Item Number of Purchasing Document                    NUMC     005          X
    EMATN             Material number                                   CHAR     018          X
    WERKS             Plant                                        CHAR     004          X
    LGORT             Storage location                              CHAR     004          X
    EPSTP             Item category in purchasing document                    CHAR     001          X
    KNTTP             Account assignment category                         CHAR     001          X
    EINDT             Item delivery date                              DATS     010          X
    MENGE            "Purchase order quantity (direct input, transfer of POs)"     CHAR     013          X
    MEINS            Order unit                                   UNIT     003          X
    NETPR            "Net price: Document currency (direct input, transfer of"     CHAR     011          X
    PEINH            "Price unit (direct input, transfer of POs)"               CHAR     005          X
    BPRME            Order Price Unit (Purchasing)                         UNIT     003          X
    BPUMZ            Numerator: Conversion OPUn into OUn (direct input of POs          CHAR     005          X
    BPUMN            Denominator: Conversion OPUn into OUn (direct input of P          CHAR     005          X
    SAKTO            Cost element                                   CHAR     010          X
    KOSTL              Cost Center                                   CHAR     010          X
    VBELN          Sales and Distribution Document Number                    CHAR     010          X
    VBELP          Sales document item                              NUMC     006          X
    WEMPF          Goods recipient                                   CHAR     012          X
    WEBTH          "Amount in local currency (direct input, transfer of POs)"     CHAR     013          X
    WEBTF          "Amount in document currency (direct input, transfer of P"     CHAR     013          X
    WEREF          Flag for treatment of GR/IR (direct input of POs)          CHAR     001          X
    SPINF          Indicator: Update info record                         CHAR     001          X
    WEPOS          Goods Receipt Indicator                              CHAR     001          X
    REPOS          Invoice receipt indicator                         CHAR     001          X

Maybe you are looking for

  • How to Create a PDF from PageprocessorComponent on fly

    Hi Friends, Can any one please explain me how to design a PDF and open it in new window from PageProcessorComponent. I am using HTMLB tags in JSP. when user clicks on "Create PDF" button in JSP then i have to get the data from backend (data will be s

  • Opening an editable hyperlink in a new window

    Hi, Is there a way to open the editable hyperlink present in the text/paragraph in new window(without opening in the pdf window)? The hyperlink can also be a floating text field. Is there a way to refer href property of the <a> tag present in the tex

  • Is there a way to autoscroll the timeline?

    Whenever the playhead reaches the right hand side of the timeline, the only way to keep it on screen is to manually drag the timeline to the left. I find this very annoying. Am I missing something here? Alternatively can I keep the playhead stationar

  • Cannot read threads on discussion or elsewhere on the internet with Lion

    Text in sites, and on these forums is all 'A''s in little squares. Nothing can be read. Lion is taking over and I don't know how to fix it. Sometimes, like posting this, I can read my own post, but in other apps also, like InDesign, the lettering is

  • Raw photos and jpg in photos

    Hi I recently switched to the brand new Photos app, now I found my first major problem. I usually shoot in RAW and Jpeg on my camera, when I import these to the photos app I get an icon with a J (believe this tells me there is the raw and jpg file) b