Consignment fill up sales order

Hi Gurus,
I have a requirement where in I need to create a consignment fill up sales order from a service order.
What function modules or BAPI's i need to use to populate data to sales order from service order and then create/change a sales order. Also how do we link the sales order created to service order?
Please help.
Thanks,
Das

Please help. Do any one know about this?
Thanks,
Das

Similar Messages

  • WBS and Profit Segment fileds should be filled at Sales Order item level

    Hi,
    When i create a Sales order I want to save both PA Segment and WBS Element fields in Account Assignment tab at item level.
    By default Profit.Segment is filled beacuse COPA is already activated in this system, when i try to enter WBS element in Account Assignment Tab at line item level Profit.Segment field grayed out.
    Is it possible to input both the fields WBS element (VBAP-PS_PSP_PNR) and COPA Profitability Segment Number (VBAP-PAOBJNR)
    Thanks,
    Fract

    This is SAP system standar behaviour.
    note # 729381 under item 6:

  • Sales group not filled form sales order header in PGI accounting Document

    Hi all,
    we are creating a sales order . when sold to and ship to is entered the sales group at the header level is fetched from the customer master automatically.
    Now after changing the sales group,different from customer master,the sales order got saved as usual with a warning mesaage 'sales group is diiferent from customer master'.
    After doing PGI and billing , the sales group fetched in billing document is same as that of sales order header,but when good issue delievry document is displayed , in accounting document of the material document (ie. in FB03),the sales group in profit segment tab is getting filled from customer master.
    Now the requirement is to fetch the sales group from sales order header instead of customer master.

    hi
    check your copy control settings and change if required

  • Filling the Sales Order Header - Source for filling the dropdown boxes

    Hi,
    I am trying to design the User Interface for Creation of sales order using the WebDynpro's. I want to know, what are all those BAPI's i need to use to fill the following drop down boxes.
    1. Order Type
    2. Sales Organization
    3. Distribution Channel
    4. Division
    As i am new to ABAP., and i am from Java background, i dont know much about the BAPIs used to get the above data.
    Could anyone let me know the source to fill those dropdown boxes. Thanks in advance.
    Thanks,
    Raghavendra

    Ah,my bad.
    Hmmm,i haven't found a BAPI's for filling all your dropdown-boxes with the valid values.
    What about using the FM "RFC_READ_TABLE" to read the values for your drowdown-boxes.(only if you don't want to write a Z*-Function).
    For examlpe for the dropdownbox "Sales Orgs",you can can start this FM for the table TVKOT.
    Is that a possilbe solution for you?
    Greetings
    Frank Brackmann

  • Customer consignment stock to sales order stock

    Hi all,
    my customer has done sales orders with movement type 631 which is for consignment. Actually he has to do normal delivery process.He has completed all the billing invoice documents also.
    Now the stock is showing as consignment stock. How to issue these stocks for normal delivery process without cancelling the documents.
    regards
    anup

    hi,
    thanks for quick response. It is not possible to make 632 movement through mb1b.
    in 413 k IT TAKES ONLY VENDOR STOCK
    REGARDS
    anup

  • Proforma Invoice for Consignment Fill-up

    Hi,
    Everytime there is a delivery out from my company, we need to submit a proforma invoice to custom.
    Now we plan to implement the Consignment but we facing a problem. After we created the transcations for consignment fill-up (sales order type KB and its delivery order), we want to create the proforma invoice (F8) based on the delivery order but an error occured as below:
    "80008164 000010 Item category LF KBN cannot be invoiced with billing type F8."
    Is this message telling that consignment fill-up transaction can't use as reference to create a proforma invoice?
    Is there any configuration that I need to do to allow the creation of proforma invoice based on the consignment fill-up transaction?
    Thank you.

    Hi Aaron,
    You can have a Proforma Invoice for Consignment Fill-up. For this use the following path:
    IMG> Sales and Distribution> Sales> Sales Documents> Sales Document Item--> Define Item Categories. Here select the Item Category KBN and select option "D" for Billing Relevance field and  "X" for Pricing field (seen in the Business Data option).
    Also maintain Copy control between the Delivery type & Billing type using T-code VTFL. Here ensure Copying requirement as 009(DlvRel.pro forma hdr) at Header level. And at Item level select Item category as "KBN" with Copying requirements as 010(DlvRel.pro forma itm), Billing Qty as "B" and Pricing Type as per your requirement.
    Hope this helps you.
    REWARD if it helps you!!
    Regards,
    Ajinkya

  • PO Number Check on an Inter-Company Consignment Fill-up Order

    Hi Gurus,
    I am working on an Inter-Company Consignment Fillup Scenario. When i create an order in CRM the order is error free. Upon replication i get an error. The error message is
    Purchase order "TEST PO" does not exist in the system (see long text) (Notification E V1 583) - TEST PO is the PO entered.
    The requirement is to enter any PO and ECC should not check if a Purchase Order exists for the PO entered in ECC.
    This was working before we applied support packs in our environment 10 days back.
    Well we do not create orders in ECC, if i try to create one in ECC the error is
    Purchase order Test PO does not exist in the system
    Message no. V1583
    Diagnosis
    You are creating an order for a consolidated company and must eliminate internal business volume. For this reason, the system tries to determine if the related purchase order exists. This is not the case, however.
    Procedure
    Enter the relevant purchase order number
    Thanks,
    Kiran AV

    <b>Consignment Cycle:</b>
    1. Consignment fill up:
    Sales document type is KB
    Item category KBN
    schedule line category 1
    In this step, you are not invoicing the customer. document flow is sales order -
    delivery item category. It will not be relevant for billing and pricing because you are not charging money for these goods in this step.
    In schedule line category, you will set movement type 631 & set for availability check and TOR.
    2. Consignment Issue.
    Once the customer informed you that he used all the goods or partial goods then you will create consignment issue for used goods.
    Sales document: KE
    Item category: KEN
    schedule line category: C0 or C1
    Here you are invoicing the customer(because he used the goods). you are assigning the delivery document and billing document to the sales document.
    In item category, you are setting relevant for billing, pricing, special stock.
    In schedule line category, your setting is 633 movement type, relevant for availability check & TOR.
    3. Consignment Return:
    Customer found that some goods are damaged or he not able to sold the goods he want to send it back. that you are creating this document.
    Sales document type: KR
    Item category: KRN
    You will assign delivery document and billing to sales document. you will create return order, return delivery, return billing.
    Your setting item category relevant for billing, returns, pricing, special stock.
    Your setting schedule line item category: 634 movement type, NO availability NO TOR.
    4. Consignment Pick up:
    Even if you create the consignment return the goods are not come to direct to your plant. For that you need to create consignment pick up. here the owner ship is not changing so you do not need to create billing.
    Assign return delivery to sales document type.
    Sales document: KA
    Item category: KAN
    Regards,
    Rajesh Banka

  • Consignment Fill-up

    Hi,
    In consignment fill up, how to configure  the process so that a customer will not get unlimited quantities of material.  Since this transaction is not billable, credit check will not take place here.
    Thanks
    Prasad

    1. Consignment fill up:
    Sales document type is KB
    Item category KBN
    schedule line category 1
    In this step, you are not invoicing the customer. document flow is sales order -
    delivery item category. It will not be relevant for billing and pricing because you are not charging money for these goods in this step.
    In schedule line category, you will set movement type 631 & set for availability check and TOR.
    2. Consignment Issue.
    Once the customer informed you that he used all the goods or partial goods then you will create consignment issue for used goods.
    Sales document: KE
    Item category: KEN
    schedule line category: C0 or C1
    Here you are invoicing the customer(because he used the goods). you are assigning the delivery document and billing document to the sales document.
    In item category, you are setting relevant for billing, pricing, special stock.
    In schedule line category, your setting is 633 movement type, relevant for availability check & TOR.
    3. Consignment Return:
    Customer found that some goods are damaged or he not able to sold the goods he want to send it back. that you are creating this document.
    Sales document type: KR
    Item category: KRN
    You will assign delivery document and billing to sales document. you will create return order, return delivery, return billing.
    Your setting item category relevant for billing, returns, pricing, special stock.
    Your setting schedule line item category: 634 movement type, NO availability NO TOR.
    4. Consignment Pick up:
    Even if you create the consignment return the goods are not come to direct to your plant. For that you need to create consignment pick up. here the owner ship is not changing so you do not need to create billing.
    Assign return delivery to sales document type.
    Sales document: KA
    Item category: KAN

  • Consignment Fill Up Error

    All,
    Please help in below mentioned problem on Consignment Fill up Doc...
    I have created the sales document for Consignment Fill up as CF.
    Created an Item Category for the Same purpose as VBN.
    Assigned them together using VOV4. with item group as norm.
    Assigned the "CF" to Sales Area.
    Defined a Schedule Line category as VO.
    Define the Assign Schedule line settings as below:
    Item Cat VBN  -
    MRP Type KD -
    Schedule Line VO
    Defined the Material with MRP Type as KD and item group as NORM.
    Availability check have been defined as KP in material.
    Now when i am creating the order then error is coming that item category does not exist. Could u all please let me know where my settings have gone wrong
    Thank you in advance,
    Regards
    Vipin

    <b>Consignment Cycle:</b>
    1. Consignment fill up:
    Sales document type is KB
    Item category KBN
    schedule line category 1
    In this step, you are not invoicing the customer. document flow is sales order -
    delivery item category. It will not be relevant for billing and pricing because you are not charging money for these goods in this step.
    In schedule line category, you will set movement type 631 & set for availability check and TOR.
    2. Consignment Issue.
    Once the customer informed you that he used all the goods or partial goods then you will create consignment issue for used goods.
    Sales document: KE
    Item category: KEN
    schedule line category: C0 or C1
    Here you are invoicing the customer(because he used the goods). you are assigning the delivery document and billing document to the sales document.
    In item category, you are setting relevant for billing, pricing, special stock.
    In schedule line category, your setting is 633 movement type, relevant for availability check & TOR.
    3. Consignment Return:
    Customer found that some goods are damaged or he not able to sold the goods he want to send it back. that you are creating this document.
    Sales document type: KR
    Item category: KRN
    You will assign delivery document and billing to sales document. you will create return order, return delivery, return billing.
    Your setting item category relevant for billing, returns, pricing, special stock.
    Your setting schedule line item category: 634 movement type, NO availability NO TOR.
    4. Consignment Pick up:
    Even if you create the consignment return the goods are not come to direct to your plant. For that you need to create consignment pick up. here the owner ship is not changing so you do not need to create billing.
    Assign return delivery to sales document type.
    Sales document: KA
    Item category: KAN
    Regards,
    Rajesh Banka

  • Automate Consignment fill up

    Hi to all,
    I have to do the enhancement for automate consgment fill up while doing the Goods Issue. I wanted to knw the exits or BADI for the same. Where can i see the sale document type KB and which screen it is?I am new to the sales flow. can anybody help regaridng this.
    thnks
    Yerukala setty

    1. Consignment fill up:
    Sales document type is KB
    Item category KBN
    schedule line category 1
    In this step, you are not invoicing the customer. document flow is sales order -
    delivery item category. It will not be relevant for billing and pricing because you are not charging money for these goods in this step.
    In schedule line category, you will set movement type 631 & set for availability check and TOR.
    2. Consignment Issue.
    Once the customer informed you that he used all the goods or partial goods then you will create consignment issue for used goods.
    Sales document: KE
    Item category: KEN
    schedule line category: C0 or C1
    Here you are invoicing the customer(because he used the goods). you are assigning the delivery document and billing document to the sales document.
    In item category, you are setting relevant for billing, pricing, special stock.
    In schedule line category, your setting is 633 movement type, relevant for availability check & TOR.
    3. Consignment Return:
    Customer found that some goods are damaged or he not able to sold the goods he want to send it back. that you are creating this document.
    Sales document type: KR
    Item category: KRN
    You will assign delivery document and billing to sales document. you will create return order, return delivery, return billing.
    Your setting item category relevant for billing, returns, pricing, special stock.
    Your setting schedule line item category: 634 movement type, NO availability NO TOR.
    4. Consignment Pick up:
    Even if you create the consignment return the goods are not come to direct to your plant. For that you need to create consignment pick up. here the owner ship is not changing so you do not need to create billing.
    Assign return delivery to sales document type.
    Sales document: KA
    Item category: KAN

  • Urgent...Consignment fill up error

    Dear All,
    I am new to the area of consignment. I am implementing consignment process from scratch.
    I tried creating a Consignment fill up and got the following error. Please advise me in detail
    ERROR: Consignment orders must be created from notifications.
    Sanjay

    Dear sanjay
    As you would be aware the standard order type for consignment fill up is KB and I am sure, your order type also is KB.  So go to VOV8, select the order type KB and check whether for the field "Reference Mandatory" is selected.  If so, remove that check and save.  Now retry the process.
    Meanwhile, as an additional information, ensure that you have configured as follows
    The consignment process in SAP standard consist of four small processes: 
    Consignment fillup (send materials to customer consignment). 
    Here you have a consignment fillup order and a consignment fillup delivery. 
    Consignment issue (issue materials from customer consignment to the customer). 
    Here you have a consignment issue order, consignment issue delivery and a consignment issue invoice. (the flow is very similar to a normal OR flow, but the materials are issued from the consignment stock instead of plant stock unrestricted). 
    Consignment return (return materials from customer ownership to customer consignment). 
    Here you have a consignment return order, consignment return delivery and a consignment return invoice. (the flow is very similar to a normal RE flow, but the materials are returned to the consignment stock instead of plant stock returns). 
    Consignment pickup (pickup consignment stock and move it to plant stock). 
    Here you have a consignment pickup order and a consignment pickup delivery. 
    Note that in consignment fillup and consignment pickup there are no invoices since there is no change of ownership for the materials. 
    How to perform a consignment order?
    In consignment orders you are allowing the stock to sit in your customer location. Once he informs that he used the stock you will invoice him. If he returns the stock you will accept the stock to take it back.
    It is defined in 4 steps.
    1. Consignment fill up: 
    Sales document type is KB
    Item category KBN
    shedule line category E1
    In this step, you are not invoicing the customer. document flow is sales order -
    delivery item category. It will not be relevent for billing and pricing because you are not charging money for these goods in this step.
    In schedule line category, you will set movement type 631 & set for availability check and TOR.
    2. Consignment Issue.
    Once the customer informed you that he used all the goods or partial goods then you will create consignment issue for used goods.
    Sales document: KE
    Item category: KEN
    shedule line category: C0 or C1
    Here you are invoicing the customer(because he used the goods). you are assigning the delivery documnt and billing document to the sales document.
    In item category, you are setting relevent for billing, pricing, special stock.
    In schedule line category, your setting is 633 movement type, relevent for availability check & TOR.
    3. Consignment Return:
    Customer found that some goods are damaged or he not able to sold the goods he want to send it back. that you are creating this document.
    Sales document type: KR
    Item category: KRN
    Shedule line category: D0
    You will assign delivery document and billing to sales document. you will create return order, return delivery, return billing.
    Your setting item category relevent for billing, returns, pricing, special stock.
    Your setting schedule line item category: 634 movement type, NO availability NO TOR.
    4. Consignment Pick up:
    Even if you create the consignment return the goods are not come to direct to your plant. For that you need to create consignment pick up. here the owner ship is not changing so you do not need to create billing.
    Assign retrun delivery to sales document type.
    Sales document: KA
    Item category: KAN
    schedule line category: F0 & F1
    Your setting item category relevent for returns. any shedule line category relevent for 632 movement type, MRP, availability check, delivery.
    Now you check your plant stock. Stock will increase
    thanks
    G. Lakshmipathi

  • Goods mOvement in consignment Fill-Up

    Dear friends,
    I have a business requirement like this...When I complete PGI in Consinment fillup the goods automatically flows to unrestricted site of customers place....with the Mov type 631...I want these goods to go to Quality Inspection site automatically & later i can move these to Unrestricted area for selling...
    How can I do this....pls guide...
    points assured
    Krishna.C

    Dear Krishna,
    Consignment Sales Process in SAP :
    The consignment process in SAP standard consist of four small processes: 
    Consignment fillup (send materials to customer consignment). 
    Here you have a consignment fillup order and a consignment fillup delivery. 
    Consignment issue (issue materials from customer consignment to the customer). 
    Here you have a consignment issue order, consignment issue delivery and a consignment issue invoice. (the flow is very similar to a normal OR flow, but the materials are issued from the consignment stock instead of plant stock unrestricted). 
    Consignment return (return materials from customer ownership to customer consignment). 
    Here you have a consignment return order, consignment return delivery and a consignment return invoice. (the flow is very similar to a normal RE flow, but the materials are returned to the consignment stock instead of plant stock returns). 
    Consignment pickup (pickup consignment stock and move it to plant stock). 
    Here you have a consignment pickup order and a consignment pickup delivery. 
    Note that in consignment fillup and consignment pickup there are no invoices since there is no change of ownership for the materials. 
    How to perform a consignment order?
    In consignment orders you are allowing the stock to sit in your customer location. Once he informs that he used the stock you will invoice him. If he returns the stock you will accept the stock to take it back.
    It is defined in 4 steps.
    1. Consignment fill up: 
    Sales document type is KB
    Item category KBN
    shedule line category E1
    In this step, you are not invoicing the customer. document flow is sales order -
    delivery item category. It will not be relevent for billing and pricing because you are not charging money for these goods in this step.
    In schedule line category, you will set movement type 631 & set for availability check and TOR.
    2. Consignment Issue.
    Once the customer informed you that he used all the goods or partial goods then you will create consignment issue for used goods.
    Sales document: KE
    Item category: KEN
    shedule line category: C0 or C1
    Here you are invoicing the customer(because he used the goods). you are assigning the delivery documnt and billing document to the sales document.
    In item category, you are setting relevent for billing, pricing, special stock.
    In schedule line category, your setting is 633 movement type, relevent for availability check & TOR.
    3. Consignment Return:
    Customer found that some goods are damaged or he not able to sold the goods he want to send it back. that you are creating this document.
    Sales document type: KR
    Item category: KRN
    Shedule line category: D0
    You will assign delivery document and billing to sales document. you will create return order, return delivery, return billing.
    Your setting item category relevent for billing, returns, pricing, special stock.
    Your setting schedule line item category: 634 movement type, NO availability NO TOR.
    4. Consignment Pick up:
    Even if you create the consignment return the goods are not come to direct to your plant. For that you need to create consignment pick up. here the owner ship is not changing so you do not need to create billing.
    Assign retrun delivery to sales document type.
    Sales document: KA
    Item category: KAN
    schedule line category: F0 & F1
    Your setting item category relevent for returns. any shedule line category relevent for 632 movement type, MRP, availability check, delivery.
    Now you check your plant stock. Stock will increase.
    I will suggest you to visit  http://sap-img.com/sap-sd.htm. It will give you the overview of SAP SD module.
    Moreover there is a separate section of FAQs with answers which will help you in great deal.
    Hope this helps you.
    Do award points if you found them useful.
    Regards,
    Rakesh

  • Open Sales order/PO template required

    Hi Oracle Gurus,
    Can anyone provide me open sales orders /open purchase orders spread sheet template for data migration.
    If i provide this template to client, they fill open sales orders/ purchase orders in the excel format, later we migrate to production instance, please provide to [email protected]
    Regards
    Anil Yadiki

    Hi
    This is the logic (include LV05TFOF):
          IF LVBUK-LFGSK = ' '.
            CHECK VBCOM-VBOFF = ' ' OR
                   LVBUK-GBSTK = 'A' OR LVBUK-GBSTK = 'B'.
            LVBMTV-STATUS = LVBUK-GBSTK.
            FELDNAME = 'GBSTK'.
          ELSE.
            IF LVBUK-LFGSK = 'C'.
              CHECK VBCOM-VBOFF = ' ' OR
                     LVBUK-GBSTK = 'A' OR LVBUK-GBSTK = 'B'.
              LVBMTV-STATUS = LVBUK-GBSTK.
              FELDNAME = 'GBSTK'.
            ELSE.
              CHECK VBCOM-VBOFF = ' ' OR
                     LVBUK-LFGSK = 'A' OR LVBUK-LFGSK = 'B'.
              LVBMTV-STATUS = LVBUK-LFGSK.
              FELDNAME = 'LFGSK'.
            ENDIF.
          ENDIF.
    Max

  • Error: Can't Add a New Sales Order: -10  Exchange rate not updated,

    Hi,
    I'm trying to add several Sales Orders contained in a XML document, whose root element corresponds to the Sales Person created that XML. Anyway, after I fill a Sales Order Document Object with the info in the XML and try to add it the following error appears: "Exchange rate not updated  [RDR1.U_Desc4][line: 2] , 'USD'" Which is strange because this company handles most of its transactions in MXP Currency. I will post the piece of Code that fills the object hoping it helps:
    For Each xndSalesOrder In xmlSalesOrder.Item("SalesMan").ChildNodes
                    oSalesOrder = Me.Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
                    oSalesOrder.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
                    With xndSalesOrder.Item("HEADER")
                        oSalesOrder.CardCode = .Item("Deudor").InnerText
                        oSalesOrder.DocDate = DateTime.Parse(.Item("FechaCont").InnerText, Nothing)
                        oSalesOrder.DocDueDate = DateTime.Parse(.Item("FechaEnt").InnerText, Nothing)
                        oSalesOrder.Comments = .Item("Observaciones").InnerText
                        oSalesOrder.DocRate = 11
                        oSalesOrder.DocCurrency = "MXP"
                        'oSalesOrder.ContactPersonCode = .Item("Contacto").InnerText
                        'User Fields
                        oSalesOrder.UserFields.Fields.Item("U_RefOV").Value = _
                            xndSalesOrder.Attributes.Item(0).InnerText
                        oSalesOrder.UserFields.Fields.Item("U_Referencia2").Value = .Item("Referencia").InnerText
                        oSalesOrder.UserFields.Fields.Item("U_FechaReferencia").Value = _
                            DateTime.Parse(.Item("FechaReferencia").InnerText, Nothing)
                    End With
                    With xndSalesOrder.Item("LINEAS")
                        For Each xndLinea In .ChildNodes
                            If intContLineas >= 1 Then                             oSalesOrder.Lines.Add()
                            End If
                            oSalesOrder.Lines.ItemCode = xndLinea.Item("Articulo").InnerText
                            oSalesOrder.Lines.Quantity = CDbl(xndLinea.Item("Cantidad").InnerText)
                            oSalesOrder.Lines.Price = CDbl(xndLinea.Item("Precio").InnerText)
                            oSalesOrder.Lines.TaxCode = xndLinea.Item("Impuesto").InnerText
                            oSalesOrder.Lines.DiscountPercent = CDbl(xndLinea.Item("DescuentoTotal").InnerText)
                            oSalesOrder.Lines.SalesPersonCode = xmlSalesOrder.Item("SalesMan").Attributes.Item(0).InnerText
                            oSalesOrder.Lines.Currency = "MXP"
                            'User Fields
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Promocion").Value = _
                                xndLinea.Item("AplicaProm").InnerText 'Valores posibles: Si, No
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc1").Value = _
                                CInt(xndLinea.Item("Descuento1").InnerText)
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc2").Value = _
                                CInt(xndLinea.Item("Descuento2").InnerText)
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc3").Value = _
                                CInt(xndLinea.Item("Descuento3").InnerText)
                            'If xndLinea.Item("AplicaProm").InnerText = "Si" Then
                            oSalesOrder.Lines.UserFields.Fields.Item("U_Desc4").Value = _
                                CInt(xndLinea.Item("Descuento4").InnerText) 'This is the UDF that's giving me problems!!!
                            'End If
                            intContLineas += 1
                        Next
                       If oSalesOrder.Add() <> 0 Then
                            Me.Company.GetLastError(intErrorAdd, sErrMsgAdd)
                            If (0 <> intErrorAdd) Then
                                FillLog("Sales Order Error: " & CStr(intErrorAdd) & "," & sErrMsgAdd)
                            End If
                            xmlLogSalesOrder.Item
                        End If
                    End With
                Next
    If you look at the code I've even tried the solution of hardcoding the DocRate and the Currency as seen in a similar post about the DTW.
    Sorry if code is in Spanglish, its quite late around here. I hope you can help me because it's kind of an urgent matter and I can't seem to find a solution for it.
    Other useful data: SAP BO 2005 Patch 4.
    Thanks in advance...
    Alfredo Gargari

    Hi Alfredo,
    Have you tried to add the same salesorder by hand, I think you wil first get a form with exchange rates.
    I think you should add a check to your program to check for an update currency rate (the sbobob function GetCurrencyRate does this for you).
    GetCurrencyRate MethodDescription
    Returns a Recordset object that contains the currency rate for a specified date and currency code.
    See Currency Bobs sample.
    Syntax
    Public Function GetCurrencyRate( _
       ByVal Currency As String, _
       ByVal Date As Date _
    ) As Recordset
    Parameters
    Currency
    Specifies the currency code.
    Date
    Specifies the date for the currency exchange rate.
    Return Type
    A Recordset object that contains one field named CurrencyRate that holds the rate value.
    SAP Business One returns 0 if the system cannot find the exchange rate.
    Regards,
    Ad

  • How to add a field in sales order

    Dear All,
    First I created a ZTable in which there are 15 fields exist then I append structure in ZVBAP which contain only one field from this ZTable. Now I place this field in the Subscreen 8459 of Sales Order under "Additional Data B" by using access key. Also i have Access to edit the module MV45AFZZ.
    Then I wote the code in the
    FORM userexit_save_document_prepare.
    IF XVBAP-ZZSPENR = ''.
    MESSAGE 'SPECIFICATION NO. IS NOT SPECIFIED' TYPE 'E'.
    ELSE.
    VBAP-ZZSPENR = ZSPEC-ZSPENR.
    ENDIF.
    ENDFORM.    
    so that while saving it Checks that field in screen and then if it has value then save it to in the VBAP Table.
    I think I have to write the code into the module
    FORM userexit_move_field_to_vbap.
    VBAP-zzfield = xxxx-zzfield2.
    *{   INSERT         ID3K908846                                        1
      DATA: zlgort LIKE vbap-lgort.
      IF vbap-pstyv EQ 'ZWP'.
        CHECK vbap-lgort IS INITIAL.
        GET PARAMETER ID 'LAG' FIELD zlgort.
        vbap-lgort = zlgort.
      ENDIF.
    *}   INSERT
    WA_XVBAP-ZZSPENR = xvbap-zzspenr.  "but this line gives * me error cause I have to move the screen fields into  * the VBAP Table. So that after this it checks in internal table XVBAP that the field ZZSPENR has value or not ?
    ENDFORM.
    But when I checks XVBAP TAble it shows all entries that I fill in Sales Order except ZZSPENR (My  Field)
    Thanks in advance.
    Regards.
    Adams.
    Helpful answer will be appretiated.

    hi Amams
    check this link
    Adding Fields to Sales order
    i think it may give u some idea
    Regards,
    Naveen

Maybe you are looking for

  • War Files And Their Deployment and Redeployment

    Howdy I have a WAR file that a developer gave me which I deployed on a Linux box no problem. Now I would like to add a jsp file and custom tag to this application. This is what I tried: I turned the war file into a zip file extracted the contents and

  • Getting an error message TypeError: Components.classes['@softage.ru/skype/SkypeFfExtension;1'] is undefined

    on starting up i get this message TypeError: Components.classes['@softage.ru/skype/SkypeFfExtension;1'] is undefined i have also got other warnings from adobe issue 10 when i try to view anything

  • Few Bugs here ..

    In General its a welcome upgrade for me . performance seems to be better on L8. but there's always bugs with new releases , its a norm as far as i'm concerned. 1. with every single Logic 7 song opened in L8 i got Logics cpu monitor maxing out . in fa

  • "Owner's Music" source on iTunes???

    I just bought a new PowerBook from an Apple Store and when I went to iTunes, the library had a source called "Owner's Music." There are over a thousand songs in this folder/source, and it has an "eject" icon next to it like an iPod has when it is plu

  • Adobe 0181074276 Antwort

    Hallo lieber Support, das ist schon ein altes Thema und möchte die Antwort von Ihrem Support nochmal aufgreifen , da das Problem immer noch besteht. Entweder ist das eine MS WIndows XP Problem oder eine Adobe problem. Auf jeden Fall kann ich zwei Ado