How can a new button Event open sales order

CRM WEB UI issue.
On assignment Block there is a New button , on New button Event i have to open sales order .
Please help me.
Thanks in advance .
Kumar6

Hi Kumar,
Whenever you got any requirement then find out on Web UI how they have done it. As now you want to show sales order then first find out Component name for Sales order.
So Go to transaction u2018CRM_UIu2019. Chose u2018SalesProu2019 as a Role.  In Navigation Bar click on u2018Sales Cycleu2019  and in Second level link there is u2018Sales Orderu2019. Click on it. Check  it is a screen you want on your button click.
If yes then you need to find its Technical Data (details). So click inside Work Area and press u2018F2u2019 key.
Then you will get UI component name, View name , Context name, Role key, etc. So you have to pick that UI Component name and give it in Transaction Code  u2018CMP_WD_BSPWBu2019.
Now Go To  u2018Run Time Repositoryu2019 , In Component Interface They have created u2018Component Interfaceu2019 that you need to call in your Button click event. If you donu2019t know use of u2018Component Interfaceu2019 then first read it else its good for you.
Well next time when you will write any Question, In Subject write it in One line so that all can see in list and answer you quickly.
Thanks,
Durgesh Pagar.

Similar Messages

  • New Report for Opens Sales order and P.O from Plant and S.Loc

    Dear Gurus
    We have repory requiement for Open sales order and P.O to deliver from particular plant and S.Loc.
    If you have already developed this kiond of report help me inthis case.
    Thanks
    ramki

    closed

  • How to insert new schedule line in Sales order using BAPI

    Hi All,
    I am using the below code to add a new line in the schedules line of a existing sales order.But i am not getting the extra line after running the report.
    Kindly guide me in how to achieve this.
    thanks and regards
    shilpa
    REPORT  Z_VA32_EDI1.
    data: v_vbeln type BAPIVBELN-VBELN,
          wa_order_header type BAPISDH1X,
          i_sch_line type standard table of BAPISCHDL with header line,
          i_sch  type standard table of BAPISCHDLX with header line,
          i_return type standard table of BAPIRET2 with header line.
    v_vbeln = '0030001227'.
    wa_order_header-UPDATEFLAG = 'U'.
    i_sch-ITM_NUMBER = '000010'.
    i_sch-UPDATEFLAG  = 'I'.
    i_sch-REQ_DATE  = 'X'.
    i_sch-REL_TYPE = 'X'.
    i_sch-PLAN_SCHED_TYPE = 'X'.
    i_sch-REQ_QTY     = 'X'.
    append i_Sch.
    i_sch_line-ITM_NUMBER = '000010'.
    i_sch_line-REQ_DATE  = '20080127'.
    i_sch_line-REL_TYPE = '2'.
    i_sch_line-PLAN_SCHED_TYPE = '2'.
    i_sch_line-REQ_QTY     = '65'.
    append i_Sch_line.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument               = v_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = wa_order_header
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
      tables
        return                      = i_Return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
       SCHEDULE_LINES              = i_sch_line[]
       SCHEDULE_LINESX             = i_sch[]
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
      NFMETALLITMS                =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'.
    write: 'Done'.

    hi,
    pass the values 'x' to the bellow structure for all the fields that u want use and provide the item no ,schedule line no.
    SCHEDULE_LINESX

  • How can i limit the quantity in sales order

    Dear sd gurus
    how can i restrict no of items in sales order? ex:sales
    order has been created for 10 items and all the 10 items
    quantity should be 72 not more than that and system should
    not allow to enter the quantity.where we can configure for
    this.
    thank s
    venu
    Please search the forums before posting - see [rules of engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]. You have been warned before about this. 
    Edited by: Ian Kehoe on Mar 5, 2012 5:31 PM

    Hello,
    I believe your requirement is possible in SAP Standard.
    You will have to go for ABAP Development & apply a Exit in Sales Order.
    You can use Program MV45AFZZ & apply ehtier userexit_field_modification or userexit_move_field_to_vbak or userexit_read_document or userexit_save_document
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • How to add new condition record to sales order items

    Hello All,
    I have requirement to add to new condition record to get more discount on the item during sales order processing based on some conditions. In user exit SAVE_DOCUMENT_PREPARE , I am populating an internal with items for which additional discounts are required. So want to add condition record to those items to get additional discount.
    I know that in VOFM routines we can modify the existing condition record value but not sure what is the best place to append new condtion record to conditions table.
    Thanks,
    Suman

    Hi suman,
                   As which conditions you want or whatever logic you want for to write for applying the conditions you need to make changes at two includes and one FM by using Implicit Enhancement
    1) MV45AFZZ
    2)RV61AFZB
    3) FM name i am not remembering you can debug and find out.
    Regards,
    Shahezad

  • How can I get more detail information ( Sales Order ) of Reduction of PIR??

    Hi Experts,
    In our company,our customer want to see more information about the reduction process for the planned independent requirements.
    That means for example:
    First we create 150 pc planned independent requirement for material "ABC".Then we create a sales order for material "ABC" for 20 pc.After that we do the delivery for this sales order,post the goods issue. So after the outbound delivery, the  planned independent requirement for material "ABC" will reduced to 130 pc.
    Although in TCODE:OMP4,we have active history is updated when planned independent requirements are reduced by a goods movement. So in MD73 we can see the withdrawal quantity 20 pc for this planned independent requirements.And in md63 we also can see the withdrawal quantity (20 pc) for this schedule lines.
    But we can not see the detail information about the withdrawal quantity!!
    We can not directly know this withdrawal quantity is caused by which sales order???The sales order number???
    So I want to ask how can I directly see the detail information about the reduction of planned independent requirements??
    That means how can I directly know  this withdrawal quantity is caused by which sales order???The sales order number???
    Thanks for any reply!!!

    Dear Liu,
    check the material document posted in T Code MB51 for 601 movement.
    Here you can get the details regarding the customer,and check for the same material,customer combination in T Code VA05.
    Check and revert back.
    Regards
    Mangalraj.S

  • How can we remove an unwanted # in sales order texts created using a bapiFM

    Hi,
    i've written the following code which splits the record fetched from apllication server and moves it into a workarea.
    CONSTANTS:c_sep VALUE cl_abap_char_utilities=>horizontal_tab, "for separation
    SPLIT wa_tab1-rec1 AT c_sep INTO wa_inf_itm-inf_vbeln
                                           wa_inf_itm-itm_number
                                           wa_inf_itm-material
                                           wa_inf_itm-req_qty
                                           wa_inf_itm-uom
                                           wa_inf_itm-amount_pr00
                                           wa_inf_itm-amount_pi02
                                           wa_inf_itm-amount_mwst
                                           wa_inf_itm-amount_vprs
                                           wa_inf_itm-currency
                                           wa_inf_itm-text.
    Here c_sep will have a value '#' instead of 'space' in Flatfile from application server.
    The field 'wa_inf_itm-text' though it doesnot contain any value in debugging, when the sales order is created using FM 'BAPI_SALESORDER_CREATE_FROM_DAT2' the item texts are having a # character at the end of the text if it has any text(when checked in va03--sales order item text) or if it doesnot contain any text ,then also # character is seen in texts.
    Thanks & Regards,
    Prasad Reddy.

    hi
    use
    Replace all occurrence of '#' with space from .......
    I think it will solve ur problem.
    Rewards with point if helpful.
    Regards
    Santosh.

  • How to count List of open sales orders?

    HI Gurus,
    Client requ: List of no of open sales orders?
    I used T.code: VA05, given date range as desired and selected radio button as OPEN SALES ORDERS. I got huge list of sales orders with line item wise. say for example in a sales order 100 line items, in the report i got line item wise. But client wants no of open sales orders ony, not by line item wise. So I converted into XLS and did it.
    Is there any way to find out no of open sales orders thru Table. (Like sales orders created - go to SE 16 (VBAK) , you get no of sales orders created)
    Please suggest me way out to find the same.
    Thanks a lot in advance.
    Regards,
    Vamsi.

    Hi,
    I can recommend you another solution (is what I'm doing usually ...) - I'm extracting the data in Excel and here I can do anything anything I want with the data (in your case I will run a pivot table on the resulting table with the sales orders no)
    In this case (transaction VA05) option to extract data using XXL Viewer from ALV grid was deactivated; I really don't know what was the reason ...
    You can still use the second option - to use Excel In-place. For this, after running your report go to Settings -> Layouts -> Current ... (in the menu).
    Go to "View" page.
    Here select "Excel" option.
    A list of available excel templates should be displayed (if they are made available by your basis).
    Select one of them and press OK.
    If everything is OK you should see your report open directly in your GUI as Excel.
    I hope this will help you,
    Valentin

  • How to create open sales order using BAPI....?

    Hi Guru's,
    please help me how to create open sales order and which BAPI i have to use for open sales order.
    please provide any program logic related to this or step by step process.....
    that would be helpful to me.
    thanks in advance...
    Srinivas....

    Hi sreenu,
    Open PO or Open sales order means that the complete cycle is not complete. That means the Sales order is not completely delievered or is not billed or is not paid for. Only once the cycle is completed the order status shows as complete untill then its Open.
    You can use VA05 to find open sales orders.
    Similarlry open PO's are those PO's whos inbound delivery is not complete or whos goods receipt is not complete and whos payment is not done to the vendor
    U cannot directly find the open PO and open SO from any table.
    That u have to calculate from the status of the PO and SO and then check wheteher that is complete or not.
    U have table VBUP for SO status.Check out the fields in that table
    pls see the below link.
    http://abaplovers.blogspot.com/2008/02/bapi-sales-order-create-code.html
    http://msdn.microsoft.com/en-us/library/cc185190.aspx
    thjanks
    karthik

  • Hi guru's i want to dovelope smart form how can we give form name for sales

    hi guru's i want to dovelope smart form how can we give form name for sales order  plz help me  ...

    Hi,
    If u want to assign the form to Standard sales order, The, this form in the NACE.
    and the, Run from va02/03.
    Reward Points,
    Vamsi.

  • Check open sales order

    Dear All,
           As you know, we can use VA05  to check open sales order , but it just can check material by material. How can i check open sales order by different materials in the same time?
          Thanks in advance!

    hi ,
    go to VA05 without putting material ( min requirement : Organisational data ) .
    after going inside , select varient , move 'Material' from "hidded field to left' and copy.
    go to filter criteria and move 'Material ' from right to left and copy , you will get a range for material input , put your material to be viewed and enter .
    your problem will be solved.
    reward if helpful.
    saravanan

  • Update open sales order values. - Update rule.

    Hi
    In library below information given for the updation of open sales order value in infostructure. Can any one please explaing how can we configure below two rules.
    An update rule describes the set up of the open sales order value, i.e., the open sales order quantity. The second update rule describes the reduction of open sales order value, i.e., the open sales order quantity by the corresponding deliveries.
    http://help.sap.com/saphelp_47x200/helpdata/en/96/dfec3410b5f563e10000009b38f83b/frameset.htm
    Path: LIS - SIS - How the key figures are calculated - open sales order value.
    Thanks in advance.
    Raj.

    Any inputs please.....

  • Open sales orders for FD32

    Hi all,
    As everyone must be knowing in FD32 we can see Sales value ( Open sales orders + Open deliveries).
    For one of my customers i can see an amount in open sales orders field, but i could not find the SO in VA05 report.
    Can anyone help me to find list of Open sales orders which are reflected in FD32 sales value field.
    Thanks all.
    Rajesh

    Dear Rajesh sandbhor ,
    First please check whether there is any value in FD32>Extras>Sales Value.
    If YES, then Instead of going for VA05, in fd32, go to environment>sales and distribution documents>open orders.
    Please check and revert back if there is any issues.
    Thanks & Regards,
    Hegal K Charles

  • Open sales orders completing options

    Hi all,
    VA05 sales order status report,please find below,
    1. Manual option for setting the status of sales order to Completed
    2. Tolerance % setting to order quantity, like if we have set 5 % as tolerance,if complete delivery is done with 5 % difference, the sales order status should be updated as Completed
    Kilnle let know how we can maintain the above

    Hi all,
    Further to thread,
    How can we change the status of sales orders to be as completed,even the completed delivery is not completed for the order quantity,in VA05
    And also Can we maintain tolerence % for order quantity,i.e with that diff. qnty if delivery completed,the order status status should appear a completed in VA05.

  • Where is Open Sales Order Value coming in Credit Master sheet?

    We have a customer whose credit exposure is below credit limit. I'm in Customer Credit Management overview screen and I ran Credit Master sheet report (for this CMR) under Environment -> Reporting -> Credit Master Sheet.
    I see value in Receivables and Open Sales Order Value which sums up to Credit Exposure Value. I'm wondering which sales orders are considered to calculate open sales order value?
    I ran different order reports like VA05 and some custom reports available, but I could not find a direct report that matches the open sales order value.
    I manually compared Open Sales orders based on Horizon date, the value that I'm arriving is kind of close of Open Sales Order Value in Credit master sheet report.
    Update rule used is 000012 in automatic credit control screen.
    Please let me know if there is an easiest way to find data behind Open Sales Order Value in Credit master sheet report.
    Appreciate any help!

    . I'm wondering which sales orders are considered to calculate open sales order value?
    Those customer orders which are relevant for credit limit. Please let me know if you are talking about something different?
    I ran different order reports like VA05 and some custom reports available, but I could not find a direct report that matches the open sales order value
    .You can not compare the VA05 open sales order report with FD32 open sales order report.
    You can find out the open order values of Credit manangement(FD32) in S066 table.
    Please let me know if there is an easiest way to find data behind Open Sales Order Value in Credit master sheet report.
    For open sales order you can find out  in S066 table and sales values in KNKK table

Maybe you are looking for