Add Bill to party number in ISA sales order

Hi Experts,
We got a requirement to add bill to party to the sales order.How can we do this?
Thanks in Advance.

Hi kausahl,
Thanks. I called the fm in the prepare method.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
EXPORTING
  IT_OPPORT_H                   =
  IT_LEAD_H                     =
  IT_ACTIVITY_H                 =
  IT_SALES                      =
  IT_PRICING                    =
  IT_PRICING_I                  =
  IT_PRIDOC                     =
  IT_ORGMAN                     =
  IT_SHIPPING                   =
  IT_ACTIVITY_I                 =
  IT_PRODUCT_I                  =
  IT_BATCH                      =
  IT_FINPROD_I                  =
  IT_STRUCT_I                   =
  IT_CONFIG                     =
  IT_PAYPLAN                    =
  IT_PAYPLAN_D                  =
  IT_CUSTOMER_H                 =
  IT_CUSTOMER_I                 =
  IT_SERVICE_H                  =
  IT_SERVICE_I                  =
  IT_SERVICE_ASSIGN             =
  IT_QUALIF                     =
  IT_APPOINTMENT                =
  IT_TEXT                       =
  IT_SCHEDLIN_I                 =
  IT_PARTNER                    =
  IT_SERVICE_OS                 =
  IT_REFOBJ                     =
  IT_SUBJECT                    =
  IT_CANCEL                     =
  IT_CANCEL_IR                  =
  IT_CANCEL_DATES               =
  IT_STATUS                     =
  IT_BILLPLAN                   =
  IT_BILLING                    =
  IT_ORDPRP_I                   =
  IT_ORDPRP_I_D                 =
  IT_ORDPRP_OBJL_I_D            =
  IT_CUMULATED_I                =
  IT_SERVICEPLAN_I              =
  IT_SERVICEPLAN_IE             =
  IT_PRICE_AGREEMENTS_BBP       =
  IT_PRICE_AGREEMENTS_CRM       =
  IT_CONFIG_FILTER              =
  IT_AC_ASSIGN                  =
  IT_SURVEY                     =
  IT_EXTENSION                  =
  IT_ACTIVE_SWITCH              =
IMPORTING
  ET_EXCEPTION                  =
CHANGING
  CT_ORDERADM_H                 =
  CT_ORDERADM_I                 =
  CT_INPUT_FIELDS               =
  CV_LOG_HANDLE                 =
  CT_PARTNER_ATTRIBUTES         =
  CT_DOC_FLOW                   =
EXCEPTIONS
  ERROR_OCCURRED                = 1
  DOCUMENT_LOCKED               = 2
  NO_CHANGE_ALLOWED             = 3
  NO_AUTHORITY                  = 4
  OTHERS                        = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
But how to give these i/p parameters according amit's post.i am little confude with that code.
can you pls tell me what parameters to pass?
Thanks in Advance

Similar Messages

  • Add bill-to party in billing due list

    hi,
    pls advice how to add bill-to party in billing due list
    thanks

    hi,
    I can confirm that there is a limitation to the selection criteria (like
    salesoffice) in these transactions, because (SD Index: Billing Initiator
    (VKDFS)) does not have such field.
    A solution for this requirement can look like this (example with
    sales office and sales group for RV60SBAT):
       add with an append the new field(s) on table VKDFS
        (take care about the customer name space ZZ*)
       fill the fields ZZVKBUR and ZZVKGRP with userexit LV05IF0V
    for Orders
           FORM USEREXIT_VKDFS_SORTKRI_SALES.
            VKDFS-ZZVKBUR = LVBAK-VKBUR.
            VKDFS-ZZVKGRP = LVBAK-VKGRP.
           ENDFORM.
    for Deliveries
           FORM USEREXIT_VKDFS_SORTKRI_DEL.
            VKDFS-ZZVKBUR = LLIKP-VKBUR.
            VKDFS-ZZVKGRP = LLIKP-VKGRP.
           ENDFORM.
       copy the report RV60SBAT in the customer name space and add
        the new fields as selection criteria
    get all customer numbers wich orders to be invoiced
          SELECT * FROM VKDFS WHERE FKTYP IN X_FKTYP
                              AND   VKORG = VKOR1
                              AND   FKDAT BETWEEN FKDAT AND FKDAB
                              AND   KUNNR IN X_KUNNR
                              AND   FKART IN X_FKART
                              AND   LLAND IN X_LLAND
                              AND   VBELN IN X_VBELN
                              AND   SORTKRI IN X_SORTK
          > ins               and   zzvkbur in vkbur
          > ins               and   zzvkgrp in vkgrp  .
    I hope this information can be of some help.
    Regards,
    Murali

  • How to find Ship to party number for a Sale doc.

    Hi,
    Currently, I have a sale doc number with type ZDR (Debit memo request). Could you please let me know how can I get the ship to party number for that document number.
    In General, Could you please show me how to get ship-to party number for a sale doc with all sale doc type ?
    Thanks,

    Hi Krishna,
    Your answer is correct, I just go to table VBPA pass the sale doc number & choose the partner function as ship to party, then I can get the ship-to-party ID.
    Hi Sandipsinh,
    The KUWEV is the customer master data view that is used in standard T-code. However It is not a table, therefore I can't get data from it.
    Hi  senya_1111,
    You know, with a sale order we have only one sold-to-party. However, we can have several corresponding ship-to-partys.
    Moreover, In table VBAK(Sale order header)  we just have sold-to-party not ship-to-party. That means we can get wrong value in case ship-to-party is not the same as sold-to-party.
    Overall, Thank all of you for your opinion.

  • PO number change in Sales Order.

    Hi,
    We created one sales  order. ( Here we given Sold to Party, Ship to party and PO number). After that we did partial delivery and Billing. We opened the sales order and removed the PO numer and saved for some reasons. Again we opened the sales order in change mode and given the same PO number as earlier. But system throwing the error like "Purchage order does not exist in the system".
    Can u please tell me what is the reason.
    Regards
    JYOTHI.

    Hi
    The P.O number in the sales order will be controlled in the configuration of document type in T code VOV8
    Kindly check there  for the field Check purchase order no
    Check for the message setting in OVAH t code for the message no V4115
    Regards
    Damu

  • How to send an e-mail to sold to party on creating a sales order?

    Hi
    Please tell me the procedure of configuration so that an email will be sent out to the sold-to party on creating the sales order.
    I've created the action profile by using order_messages. Also the transaction type: ISBB have been used.
    Still the mail is not going to the sold to party id.
    Thanks & Regards
    Neetu Makhloga

    or you can use ORDER_SAVE BADI . you can create new implementation for it. when sales order gets saved this implementation will be triggered. here you can get the guid of the transaction so you can use it if you want to read any details of transaction. you can place email code also here.  this is the sample code for sending email.
    send_request = cl_bcs=>create_persistent( ).
              document = cl_document_bcs=>create_document(
                                  i_type    = c_raw
                                  i_text    = l_mailtext
                                  i_subject = l_subject ).
              TRY.
                  lt_text = it_send1.
                  CALL METHOD document->add_attachment
                    EXPORTING
                      i_attachment_type    = c_attch_type
                      i_attachment_subject = c_attch_subject1
                      i_att_content_text   = lt_text.
                CATCH cx_document_bcs .
              ENDTRY.
    Add document to send request
              CALL METHOD send_request->set_document( document ).
    Get Recipient Object
              CLEAR l_recipient.
              l_recipient = wa_log-mes.
              recipient = cl_cam_address_bcs=>create_internet_address( l_recipient ).
              CALL METHOD send_request->add_recipient
                EXPORTING
                  i_recipient = recipient.
    Set that you don't need a Return Status E-mail
              CALL METHOD send_request->set_status_attributes
                EXPORTING
                  i_requested_status = c_status1
                  i_status_mail      = c_status1.
              CALL METHOD send_request->set_send_immediately( c_flagx ).
              CALL METHOD send_request->send( ).
              COMMIT WORK.

  • Add 2 buttons Release and Reject on Sales Order CRMD_BUS2000115 application

    Hi Experts,
    My Requirement is to add 2 button 'Release' and 'Reject' for Sales Order CRMD_BUS2000115 aplicaiotn using PCUI.
    Also provide the functionality...as
    1.Click On Release will change the status of seleceted order as "Released" i.e. to remove the Billing/Dleivery Blocks...And SAVE it.
    2. For "Reject"  change status as Rejected and Save it using standard "SAVE'' button.
    Can anybody would explain how should i proceed and where i have to code ??
    Or Source code or sample code?
    Can I call BAPI_TRANSACTION_COMMIT aftre changing it ??
    Thanks in Advance,
    Arjun Pawar.

    Hi Experts,
    I have added 2 buttons 'Release' and 'Reject' for Sales Order CRMD_BUS2000115 aplication using PCUI which provides the functionality...as
    1.Click On Release will change the status of seleceted order as "Released" i.e. to remove the Billing/Dleivery Blocks...And SAVE it. 2. For "Reject" change status as Rejected and Save it using "CRM_ORDER_SAVE" api followed COMMIT work. Functionality is working fine.
    But <b>I'm getting an error / explorer error " An error has occurred in this script page" ( the Error is : 'CAT Params' is undefined ) is coming as soon as query/click on "GO", carried out after the action performed like "Release/Reject"</b> on the sales order approval screen.
    Please, can anyone give an idea @ the cause of error ?? whether it is frame error ?? or else???
    And How to resolve it???
    Thanks,
    Arjun

  • Credit Card number entered CRM sales order is not appearing in R3 Sales ord

    Hi,
    We are entering our Sales orders in CRM which are gtting replicated to SAP R3,In the credit card scenario ,In some sales orders entered in CRM,where the Credit card numer has been entered,In some cases,the card numer is not appearing in R3 Sales order either in the overview screen or Payment card tab,due to ehich most of the times these cards fail authorization .
    Kindly let me know as to what could be the reasons as to why the card numer seen in CRM is not appearing in SAP R3,sales order?
    Appreciate your help on this.
    Regards
    Mohammed Roshan

    Hi All,
    Looking forward to your valuable inputs on this as to  how and why Credit Card number entered CRM sales order iwould not appear in R3 Sales order?
    Regards
    Mohammed Roshan

  • Number of times sales order./delivery blocked

    Hi,
    Do we have a report which gives details about number of times sales order/delivery blocked because of credit management.
    Or there is any work around for getting the same?
    I request you to kindly suggest your valuable inputs.
    Regards,
    Phani Prasad.

    Hi Balaji,
    Thanks for your reply.Please find the below example.
    Customer A was blocked for credit limit on 01.01.2011 and subsequently released using VKM3.
    Again the same customer was blocked on 02.01.2011 and once again released.
    How do I know the number of times Customer A was blocked and released for a given period.(2 times in the above example for that period).
    Please explain.
    Regards,
    Phani Prasad.

  • Third Party Process (PR through Sales Order)

    Hi all,
    I have to configure the third party scenario (PR through Sales order) for one of my client.
    So can anybody tell me what are all pre-requisite / settings from the configuration point of view as well as from the transaction point of view.
    Thanks
    Shubham

    Hi,
    here is some stuff regarding third party purchasing,
    may be it will use ful,
    u2022     The item category group (BANS) in the sales:sales org.data screen of the material master controls whether or not the material will always be a third party material.  In this case, the item category in the sales order will be defaulted to u201CTAS.u201D   If the material is also procured internally, then the item category group can be set to u201CNORM,u201D and the material can still be used for third-party processing if desired.
    u2022     The item category in the sales order (TAS) informs the system that      procurement data must be maintained for the order.  In addition, this item  category results in a purchase requisition being automatically created with its item   category defaulted (S).
    u2022     The purchase requisition is created as a result of a sales order.  For each schedule line (quantities for sales orders broken up by dates of delivery), a purchase requisition item is created, provided that the item category on the
    sales order is u201CTASu201D for third-party.  The purchase requisitions created can
    be viewed and even edited from the schedule line screen (Edit-
    Procurement  Details).
    u2022     Changes in quantities, dates and account assignments in the purchase order result in the automatic changing of the sales order.
    u2022     A desired vendor (informational field) can be specified in the sales order in the procurement data for the order.  In addition, a fixed vendor may be assigned in this data if known at the time of the sales order. This then becomes the supplier for the third-party items. If the vendor is not specified in the sales order, the purchase requisition goes through the normal source determination.
    u2022     The account assignment in the purchase requisition can be either the sales order (C), or aux. account assignments (X). 
    u2022     Once created, the third-party purchase requisition follows normal
    purchasing procedures.
    u2022     Customer delivery information is copied onto the purchase requisition from the sales procurement data.
    u2022     If you create delivery schedules or change quantities during the purchasing process, these automatically get copied back to the schedule lines on the
    sales order.
    The goods receipt indicator can be found in the purchase requisition which can be edited from the sales order (Click on Item line- Hit Schedule Lines button -Hit Purchase Requisition Button).  This indicator determines whether or not the customeru2019s goods receipts are monitored.  When the indicator is off, invoice verification is done against the purchase order quantity, and the delivery of goods to the customer is not input into the system
    chenna
    Edited by: lakshmi reddy on Oct 6, 2010 2:23 PM

  • How to create ship to party and sold to party for DC10 during sales order ?

    Hello all:
    When creating sales order for a material in VA01 with sales Org 1000,
    distribution channel 10, division 00
    The system does not give me any Ship to Party and Sold to Party with the above combination
    How to create ship to party and sold to party with the above combination (Plant 1000,
    sales org 1000, distribution channel 10, during creation of a sales order
    Ironically, when creating material master for a material with a material type KMAT, plant 1000
    sales org 1000, the only distribution channel is populating in the input help (F4) is 10
    For which no ship to party neither sold to party is maintained in sales order creation
    Thanks in Advance!!

    Dear Eshwer
    It is bcoz, the said account groups (Sold To Party and Ship To Party) are not created in the sales area 1000 / 10 / 00.
    To create a customer master, you have to go to XD01, select the Account Group, Company Code and the respective Sales Area and execute.  In the Customer Master, you have three tabs, viz.General Data where you have give address details of the customer, then in Control Data, you have to assign the respective Recon Account and in Sales Area Data, you have to maintain the customer's sales related details.  Once you give all these datas and save the data, a customer code will be displayed at the bottom.
    Now go to VA01, input the sale order type and the sales area and execute.
    thanks
    G. Lakshmipathi

  • Add the carrier description/name on a sales order

    On sales order in Tax tab when a carrier is selected, it´s only shown the field with carrier cod without his description/name.
    How can I add the carrier description/name on a sales order?

    Marcio,
    This should be simple.
    Save this SQL Code and attach it to the Transport Name User field /  any other field where you want the shipping name.
    SELECT T0.[TrnspName\] FROM  [dbo\].[OSHP\] T0 WHERE T0.[TrnspCode\] = $[ORDR.TrnspCode\]
    When I use $[ORDR.TrnspCode\] it refers to a field value on the form.  I am presuming this is the field you are using.  If your TrnspCode is in a different field.  From the View Menu click System Information.  This will enable you see the table and field information on the Status Bar
    Use this information instead of $[ORDR.TrnspCode\]
    Suda

  • Assignment number Field in sales order header

    Hi All,
    Can anyone let me know the ORDERS05 IDoc segment that corresponds to the Assignment number field in sales order header Accounting tab?
    I need to specify the assignment number while creating a new order through IDoc.
    Thanks.
    Regards,
    Riyaz

    Hi,
    Use transaction we60 to find the relevant documentation for your idoc type.
    regards,
    Jakub

  • How to get the ammendment sales order number and original sales order no?

    Hello sir's,
    Please tell me the table for ammendment(revised) sales order number and original sales order no.
    Thanks in advance,
    vikram

    Solved

  • Alpha Numeric number Ranges for Sales order Acording to sales office wise.

    Hi Experts,
             I have a Issue for genrating sales order numbers With Alpha Numeric Number Ranges for sales office wise Internaly . How can we get this is there any Userexits or badi for this . If Any one Come across this issue plz guide me.
       The Alpha characters should not change that will be sales office region code. only the Numeric numbers should change .
    Ex;   Abc-123000  to Abc-200000
    Regards,
    Ravi.

    This alpha-numeric format is not possible directly with SNRO settings.
    You need to opt for external number range, and in the exit of your respective transaction you need to takecare of this number generation explicitly by programming.
    http://www.sap-img.com/sap-sd/number-ranges-in-sales-order.htm
    any more inputs from experts are welcome..
    Hi,
    1. goto include MV45AFZZ and to user exit Save_document This form is called before COMMITand double click on FORM USEREXIT_SAVE_DOCUMENT.
    2.it will show the program MV45AF0B_BELEG_SICHERN from were this user exit is called, selcet the program and click on Display.
    3. you can use the enhancement point enhancement-point beleg_sichern_01 spots es_sapmv45a. just below the PERFORM USEREXIT_SAVE_DOCUMENT to call the badi method on_costing_component.
    regards.
    santhosh reddy
    Message was edited by:
            Santhosh Reddy
    Message was edited by:
            Santhosh Reddy

  • Changing Sold-to party on an open sales order deletes item text

    Hi,
    When changing the sold-to party on an open sales order document, all of the item text is deleted.  Is there a way to prevent this from happening, or is this standard?
    Thanks,
    Craig

    If u r wishing to change the sold to party for a particular item it means u r not selling that item to him. U cant have 2 different sold to parties  in a single sales order.. U can change other partner functions at sales order level but not sold to party partner function....
    U can assign reason for rejection to close this particular order and raise a fresh order in favor of the sold to party u wish to for that particular item...
    Message was edited by:
            srinivas rao

Maybe you are looking for