Using ISM_SALES_ORDER_CHANGE in exit

Hi all,
I am making an enhancement in EXIT_SAPLJF60_011 (SAP MEDIA) in where I modify registries of table JKKD using the FM ISM_SALES_ORDER_CHANGE during the billing (JF01). the problem is that the modification is not possible since during the billing the order this blocked. any idea?  Thanks in advance
Regards
Joshee.

Hi,
You need to pass BAPIPARNRC-PARTN_ROLE = 'LF' AND BAPIPARNRC-P_NUMB_OLD = 'the old value'             BAPIPARNRC-P_NUMB_NEW = 'THE NEW VALUE'
BAPIPARNRC-DOCUMENT = 'Sales order no.'
BAPIPARNRC-UPDATEFLAG = 'U'
BAPIPARNRC-ITM_NUMBER = '000000'
BAPIPARNRC-REFOBJTYPE = 'THE BUSINESS OBJECT'.
Apart from this, you also need to pass in the header BAPI BAPISDH1 values of Sales org, div & distribution channel.
Best regards,
Prashant

Similar Messages

  • How to use a customer exit in WebI

    Hi expert,
    I read from official SAP document that customer exit variable are supported within WebI query.
    I created an universe based on a query bex. In this query I use a variable exit for 0calmonth2.
    Within the WebI universe I don't see any variable.
    How can I use/build a customer exit variable in my WebI query?
    System feature: BO 3.1
    Many Thanks.
    Claudia

    Hi,
    I havethe same issue, even though I place the user exit variable in Filter section, its not working as expected in WEBI/crystal.
    the variable that i have created will assign default value as sysdate.its working fine BW.
    Are there any extra settings at BEX/BW level which have to be set before using user/sap exit variables in webi/crystal?
    How should the user/customer exit variables be defined in order to get them carried properly to webi or crystal, I mean what should be the properties set for these variables?

  • How do I...Mimic Replacement Path with Query using Customer Variable Exits?

    Hello SDN:
    We are on BW 3.5 SP16.
    We are currently using a replacement path Query(RP) with variables
    to populate a variable in another Query(T).
    The problem we are having is with performance.
    The entry of variables in replacement path Query(RP) is optional (This is necessary there cannot be required values)
    When results from Replacement Path Query are small performance is fine. (e.g. 10 seconds)
    When results from Replacement path query are large performance suffers. (e.g. 1+ minutes)
    Users are free to leave the replacement path variables empty resulting in a large set of data to be replaced. This is the worst performance case.
    We would like to discover a way to conditionally execute the replacement path query. That is if users do not enter values for the replacement Query(RP) variables do not execute the replacement path query(RP).
    Does anyone know if this is possible within reason and in customer exit space?
    We have reviewed the situation from all angles and the requirement for the replacement path FUNCTIONALITY and the freedom for the user to leave variable values blank remains.
    I've been searching and reading SDN and SAP notes for about a week and do not find threads which address this situation.
    We are also exploring Customer variable exits to mimic replacement path functionality
    (different topic subject="How do I...Mimic Replacement Path with Query using Customer Variable Exits?")
    Any help will be appreciated
    Many thanks
    David Schuh

    My appologies-I posted this message with the wrong subject. I will repost it with appropriate subject.
    dave schuh

  • What is the use of at-exit in mudule pool

    hi
    what is the use of at-exit in mudule pool. what is the use when we keep the function type as 'E' for a function code

    AT EXIT-COMMAND lets you call a module before the system executes the automatic fields checks.
    Automatic field checks can be avoided through AT EXIT-COMMAND, which works exactly the same way as CANCEL works from standard tool bar.  In the R/3 screen, if your want to quit the processing of that particular screen without entering the mandatory fields then user can click the CANCEL button, same functionality can be incorporated in the user defined transaction by usine AT EXIT-COMMAND.  This module can be called before the system executes the automatic field checks.
    Code for AT EXIT-COMMAND in flow logic and in module pool program can be written as follows.
    In Flow Logic:
    PROCESS AFTER INPUT.
    MODULE EXIT AT EXIT-COMAND.
    In Module Pool Program:
    MODULE EXIT.
    case okcode.
    when 'EXIT'.
    leave to screen 0.
    ENDMODULE.
    To achieve this kind of functinality, the pushbutton or menu item should be assigned a function type 'E' (Exit).  It tells the system to process this particular module before carrying out any field checks.
    Rewards if useful.

  • Use of Customer Exit - IP Wad Input ready Query

    Hi All,
    Can anyone confirm if we can use a customer exit variable(populates a SEQ number) be used in a input layout on IP>>WAD application.
    In my case it displays the seq number in the header area,but displays the "No rows or cols displayed because the axis not input readyu".
    We applied the note  SAP Note 1337901 - Query not ready for input if there is an empty results set;
    But had little luck;
    When I remove the exit variable it works fine as long it is drill-down in the rows;
    Any help would be apreciated.
    Thanks
    Rao

    My Exit variable works fine,and generates the sequence in WAD/BEX..
    The problem I have is when I include teh exit var on the query/filter of the agg lvl;
    The Wad screen displays the generated seq number in the header area, but turns the input grid  OFF.
    Thanks
    Rao

  • Can we add additional fields in work center creation using any user exit ?

    Hi,
    is there any user exit using which we can have some tab and fields such that we can add/ update the equipment to wotk center in CR01 ?
    regards,
    madhu kiran

    hi,
    requirement is can i get the additional fields like equipment and asset in the work center creation ?
    i would like to maintain these against a work center
    and  using any user exit can i add additional fields ?
    regards,
    madhu kiran

  • When we use ZBW220 Function Exit   EXIT_SAPLRSAP_001& what meant for .

    Hi,
    When we use ZBW220 Function Exit   EXIT_SAPLRSAP_001& what meant for
    EXIT_SAPLRSAP_001
    EXIT_SAPLRSAP_002
    EXIT_SAPLRSAP_003
    EXIT_SAPLRSAP_004
    Regards,
    Anand Mehrotra.

    Hi Anand,
    ZBW220 is the project defined in your system to activate the componenets which include enhancement code for data sources.
    Check the link below to know more on this topic.
    http://help.sap.com/saphelp_nw04s/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/frameset.htm
    Regards,
    Sunmit.

  • Using 2 field exits in 1 screen

    Hi,
    Is it possible to use 2 field exits in only one screen? i have activated 2 field exits for the POS tab of MM42. What happened was the other field exit doesn't work anymore. The new one works just fine.
    What is the reason behind this?
    Thanks!

    Hi,
    Yes you can do it.
    Regs,
    Venkat Ramanan

  • As01 transaction using substitution user exit populate classificaion

    Hi all,
    I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
    I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
    For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
    The present rule U210 is not working for classification key.
    Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
    regards
    Rajani Yeluri

    In the user exit documentation,  it doesn't say anything about this exit being used for validation, therefore,  it probably shouldn't be used as a validation routine, especially if its not being trigger at every PAI. 
    <i>FU EXIT_SAPLAISA_001
    Short text
    Assign Inventory Number
    Functionality
    Using this user exit, it is possible to assign an inventory number when you create a new asset master record.
    Notes
    In the user exit, it is absolutely forbidden to use a statement that leads to an update or removal of database changes. Examples of such statements are:
    'Commit Work' , 'Rollback Work' or call of function module 'DB_COMMIT'.
    Parameter
    I_ANLA
    E_INVNR
    Exceptions
    Function group
    XAIS</i>
    Regards,
    Rich Heilman

  • How to use/activate user exits

    Hi all,
    i wish to use user exit COZF0001...
    however i have no experience how to do it.  do i need an ABAPer or other consultant to do it or can i just activate it and make it work with minimal instructions?
    kindly give procedure/overview how to activate/use user exits.
    thanks in advance

    Hi Ramesh,
    Go to transaction CMOD . Create a project called ZVA01. Choose the Enhancement assign radio button and press the Change button. In the first column enter COZF0001.
    Note that an enhancement can only be used in 1 project. If the enhancement is already in use, and error message will be displayed
    Click on  Save . Go to Components. You can now see that enhancement uses the user exit EXIT_SAPLCOZF_001.  Double click on the exit and add your code.
    Activate the include program. Go back to CMOD and activate the project.
    -- Shivaji

  • Bapi enhancement using user/customer exits

    It is necessary to have access to all calls and purchase orders to be able to maintain the control of the ERS procedure centrally in the TBB system for the functionality u201CBestellselektionu201D [purchase order selection],. Without delay, all necessary purchase order and call data is provided for the table 'ERS'  u201Crealtimeu201D via the interface from SRM. It must be ensured that this table is always filled for SRM scopes synchronous with the SAP standard tables (EKKO, purchase order header data, EKPO purchase order item data, EKAN vendor address, EKPA partner roles etc.). For this purpose, efforts are made to load this table during each creation or change of a purchase order. On the ERP side, the u201EBAPI_PO_CREATE1u201C, which is called by SRM via RFC in the ERP, serves the purpose of creating purchase orders. The BAPI_PO_CHANGE is used for changes in the purchase orders. These BAPIs can be enhanced by the Customer exits EXIT_SAPL2012_003 respective EXIT_SAPL2012_004. With the help of the exits, a function module is called, which then provides the customer-specific fields of the table 'ERS'
    i want to enhance bapi using customer /user exit
    so how shall i proceed with this requirement ??
    how sahll i code the include for this req???
    i m using the functions ::
    1] EXIT_SAPL2012_003
    2] EXIT_SAPL2012_004
    so how can i enhance the bapi using user exits..
    I want to transfer the data from SRM system to TBB system with the customizzed table filled with this data at ERP ie TBB side .. so plz reply how shall i proceed ???

    Thanks Naresh, it helped...
    Can you please help on the below:
    1. For outbound Sales order IDoc- CRMXIF_ORDER_SAVE_M01,need BADIs for modification of the IDoc before it gets generated.
    2. Need program to generate output as outbound IDoc- CRMXIF_ORDER_SAVE_M01  for sales order conformation/acknowledgement.
    3. Need a BADI after the EDI Sales order is saved.
    Thanks in advance
    Vijay

  • Runtime error in MIRO while using User/Screen exit

    Hello,
    I have implemented an exit in ABAP for MIRO which when transported to Quality server through runtime error.
    I have used EXIT (SMOD) : LFDCB001 which contains FM -> EXIT_SAPLFDCB_001 and include -> ZXM08U31. In this exit I have written my code to disable Inv. Party field. This field exist in Details Tab in Miro Transaction.
    Location of the field: MIRO -> Details (tab) -> Inv. Party (Field)
    Code written in include ZXM08U31 is:
    LOOP AT SCREEN.
      IF screen-name = 'INVFO-LIFRE'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
    This exit is assigned to a project in CMOD and I tested the same in Development system. It is working perfectly.
    Now I transported the TR (Includes program ZXM08U31 and Customer enhancement projects ZMIRO). Now when I run MIRO in quality server it triggers the my logic and then through runtime error.
    Runtime error says:
    Short text
        Dynpro does not exist
    Error analysis
        The system attempted to use dynpro 0400 in program "SAPLXM08".
        This dynpro does not exist.
    I agree that screen 400 does not exists in program for MIRO but it does not exists in development system as well. So if the runtime error is valid in QEC server then why not in DEV server. And when it can run successfully in DEV server why cant it run in QEC server.
    Hope I have explained all the things in detail.
    Please provide me the solution since user can bombard anytime for the MIRO dump everytime in QEC.
    Regards,
    Harjeet Grover

    Hi Harjeet,
    Reason of your Dump is that the enhancement "LFDCB001" which you used contains one Function module exit "EXIT_SAPLFDCB_001" and another one screen exit in calling screen  "SAPLFDCB" number 0150.
    So when you activate your project these above mentioned both components were activated.
    So when you execute transaction SAP looks for called screen "SAPLXM08" No-0400 but as you havn't created and program go for DUMP.
    Solution - Just Create called screen  "SAPLXM08" No-0400 and activate.
    Thanks,
    Vijay

  • Using JOptionPane to exit program & Using toString method

    Hello,
    In my program I have to use a toString method below
    public String toString(Hw1NCBEmployee[] e)
            String returnMe = String.format(getStoreName() + "\n" + getStoreAddress() + "\n" + getCityState() +  "\nYou have " + getEmpCount() + "employee(s)");
            return returnMe;
    }Now, at first, when I initially tested my code, it was working just fine, printing out the right way
    Point is -- now that Im practically finished with my program, and am going back and running it - calling the toString method gives me the address rather than the information . . . Can anyone help me with this issue??
    Also, Im using JOptionPane to display everything, but -- at first, it worked fine, then (around the same time I started having the above problem) it stopped exiting the do-while loop:
    while(go)
                 int option = JOptionPane.showConfirmDialog(null, "Do you want to enter employee information?", "Welcome!", JOptionPane.YES_NO_OPTION);
                     if(option == JOptionPane.NO_OPTION)
                        go = false;  //exit loop
            

    ncjb wrote:
    well, for the toString - I have to print out the info inside the array -- am I right in thinking that the only way to do this is to pass in the array ??If the array is part of the class then there is no need to pass it as a parameter. If it is being passed in from outside the class then I have to question your design. Why should class X being formatting data that is not a representation of itself?
    and i have 2 other files that go with this program . . . I just want to know if there is a way to make sure that when the user presses the NO option, it will exit the loop -- the piece of code you see if apart of an entire method (not long) -- do you want me to include this??You read that link I provided REAL quick!

  • Populate and display internal table results using search help exit...

    I have copied F4IF_SHLP_EXIT_EXAMPLE and made changes. I want this search help exit to populate and display contents related to 'FIELD1' when the user enters a specific value for it in the search help screen, meaning when the user restricts the search by that value.  For field2, field3, field4, field5, field6, field7, and field8 I am using a custom view.
    Following is the code:
    TYPES:  BEGIN OF t_search,
                   field2 TYPE field2,
                   field3 TYPE field3,
                   field4 TYPE field4,
                   field5 TYPE field5,
                   field6 TYPE field6,
                   field7 TYPE field7,
                   field8 TYPE field8,
                   field1 TYPE field1,
                END OF t_search.
      DATA: it_itab TYPE TABLE OF t_search,
            wa TYPE t_search,
         wa_selopt TYPE ddshselopt,
            wa_fielddescr TYPE dfies.
    ranges: r_field1 for std_table1-field1
    STEP SELECT    (Select values)
        FREE: r_field1.
    **Get the value entered for FIELD1 in search help
        LOOP AT shlp-selopt INTO wa_selopt.
          CASE wa_selopt-shlpfield.
            WHEN 'FIELD1'.
              r_field1-sign = wa_selopt-sign.
              r_field1-option = wa_selopt-option.
              r_field1-low = wa_selopt-low.
              r_field1-high = wa_selopt-high.
              APPEND r_field1.
              CLEAR: r_field1.
          ENDCASE.
        ENDLOOP.
    **Select 'ID' and 'FIELD1' from table into lt_itab
        SELECT id field1
              INTO TABLE lt_itab
                FROM std_table1
                  WHERE field1 IN r_field1.
        IF sy-subrc = 0.
    **Now, based on the particular IDs from lt_itab, I need to select other values
    from other tables which also have 'ID' as the key.
           SELECT std_table2~field2
                std_table2~field3
                std_table3~field4
                std_table3~field5
                std_table3~field6
                std_table4~field7
                std_table4~field8
                std_table1~field1
              INTO CORRESPONDING FIELDS OF TABLE it_itab
              FROM std_table2
                         INNER JOIN std_table3 ON
                                std_table3mandt = std_table2mandt AND
                                std_table3id = std_table2id
                         INNER JOIN std_table4 ON
                                std_table4mandt = std_table2mandt AND
                                std_table4id = std_table2id
                         INNER JOIN std_table1 ON
                                std_table1mandt = std_table2mandt AND                                           std_table1id = std_table2id
              WHERE
                    std_table1~field1 IN r_field1.
    'id' is common in all the std_tables --> std_table1, std_table2, std_table3, std_table4.
    STEP DISP     (Display values)
    **Then I need to gather all the results in my internal table it_itab and display
    in search help results for the value of FIELD1 entered by the user in the search help.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
          EXPORTING
            parameter   = 'FIELD1'
            fieldname   = 'FIELD1'                          
          TABLES
            shlp_tab    = shlp_tab                                   
            record_tab  = record_tab
            source_tab  = it_itab
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
    I am not getting all the data in my internal table and wanted to know if there is anyting wrong in my select statement.
    Any guidance will be appreciated and awarded appropriate points.
    Thanks.

    the webdynpro fieldname and the search help input parameter name were made same.

  • Can you use iTunes without exiting Keynote?

    I am using keynote to do presentations for kids and it is not a fixed structure for each one.We change between slides regulary and is there a way to embed music into a group of slides 4 or 5 slides without the embeded music for those slides interfering with music embeded in other slides of the presentation.Is there a way to use I Tunes without having to exit keynote,is there a shortcut for I Tunes to be used with keynote.
    Message was edited by: DRAGON 235

    Welcome to the forum!
    1. With KN, you can either have music on one slide or on a whole presentation, but not defined for a group of slides within a larger presentation. The work-around for achieving the effect of the latter is to make each group of slides for which you want continuous music into a separate presentation, and connect the presentations using hyperlinks. When doing this, it's best to open all the presentations before beginning, so there's no lag going from one presentation to the next.
    2. You probably already know that iTunes can play music while a KN presentation is being run, so that's not your question/problem. You probably want to control iTunes while running a presentation. AFAIK, that can't be done seamlessly, because in presentation mode KN monopolizes the whole screen. You can come close to this by using Spaces or Exposé, but, as I said, it's far from seamless or elegant. (To try this, you've got to "Enable Exposé and Spaces" under KN's Slideshow Preferences). If you're versed in AppleScript or Automator, that might help, too, but I'm not, so I can't say more.

Maybe you are looking for

  • How to update PHP, MySQL or Apache

    The Mac OS X 10.6.2 system does not include the latest versions of PHP, MySQL or Apache. What is the recommended update procedure for PHP, MySQL or Apache: a) automatically by Mac OS X system (is this possible?) or b) manually by the administrator (a

  • HT4623 ipad stuck with a connect to itunes sign but it won't update when connected because it says content is full

    ipad stuck with a connect to itunes sign but it won't update when connected because it says content is full

  • Dynamic HTML link in webdb

    I want to create a link from a drawing name in a report to a drawing file. The link is made up of a drawing name and revision which are columns on the report. Is it possible to do this with WebDB? Example: drawing number = 001-1234-25 revision = A HT

  • InDesign Object Libraries and DPS

    Hello, I'm familiar with InDesign object libraries' capability to make easily reusable objects and elements. What I'm wondering: if I create objects and elements in a Library to be reused across various pages and across multiple articles in my portfo

  • SMD Agent Upgradw

    Hi, We are in the process of configuring the SMD. We have recently upgraded our Solman from SP15 to SP20. and more over satellite systems are also upgraded from Netweaver 7.0 to 7.1 and ECC to ECC 6.0 EHP4. Out SMDs are running in 700 in all the mana