How to handle discontinuing operations from BCS?

Hi All,
I would like to find out how BCS handle scenario on 'Discontinuing operations' so that information pertaining to discontinuing operations and continuing operations can be clearly distinguish in Income statement and Cash Flow report.
Thanks in advance.
Regards,
Jasmine

Jasmine,
I mean an infoobject that plays the role of a flag. For example it might be CHAR 1 or NUMC 1 infoobject. If it's value EQ to 0 or not set - it's usual operation. If its = 1 (or -1) - then it's discontinued.
In the report you'll place usual items into report twice, restricting them by 0 in one case (usual operations) and by 1 in another set of values (discontinued operations).
Certainly your feeder system should supply the amount of this flag.
In general, I think a separate set of items Iwithout a flag infoobject) for discontinued operations is preferrable.

Similar Messages

  • How to delete an operation from order using the bapi

    Can somebody please tell me how to delete an operation from order using the bapi
    BAPI_ALM_ORDER_MAINTAIN.
    Following was the test data for the BAPI.
    000000 OPERATION DELETE 0000040052810070
    000000 SAVE 0000040052810070
    Even I tried entering the operation table. The BAPI control ends fine, but when I check the order using IW32, the operation still exists.
    So, can you please tell me where Iam going wrong.

    Hi Subash Mohanvel,
    Check bapireturn parameter of the bapi BAPI_ALM_ORDER_MAINTAIN after execution of the code , and if there is no error message in the return table then call bapi_Transaction_commit.
    Unless you call this database saving of the records/values will not get reflected in the system.
    Hope that helps.
    Regards
    Kapadia
    ***Assigning points is the way to say thanks in SDN.***

  • How to handle outdated packages from repo by own hand ?

    Hi
    I would like to have packages that I use frequently to be fresh - for example - Krusader is 1.70.0 in arch but there is pretty stable beta - 1.80.0beta2 the same thing with gmpc/libmpd/qtcurve-kde3|gtk2 - these packages are outdated. My question is how to handle this in good way ? I mean make PKGBUILDs in /var/aur/local but what if package in repo will be updated ? I simply don't want to wait for these packages because I've chosed ARCH for no outdated packages but now I see there are some... Anyone have a good advice for me ? Now when I make my own PKGBUILDs of these packages with every pacman -Syu I get error: package-name is newer than package in [repo] bla bla bla

    try one of the aur build script proggies, they compare the aur to the current in the repositories I think? 
    Have you tried putting the packages like krusader on the ignorepkg list in pacman.conf?

  • How to run update operation from MBO

    I need to update the data from MBO update operation.
    but can you guide me for input how to set the personalised key.
    Regard
    Ali

    You have to set the PKs from program. Follow the below steps:
    Create a new key on the screen where custom menu item is created. Click on screen > Keys>Add. Ex. key name "CustomKey".
    From the properties of the menu item created, map the PK with the key created (ie.CustomKey ).
    Write the below code inside custombeforesubmit method inside custom,js file
    hwc.customBeforeSubmit = function(screenKey, actionName, dataMessageToSend) {
         if(screenKey =="Details_Screen" &&      actionName=="menuItemCallbackTimeSheetMBOCallUpdateQuery " ){
           var myNewValue1 = new MessageValue();
           myNewValue1.setKey("CustomKey");
           myNewValue1.setValue(""+value);//Value you got from screen
           myNewValue1.setType("TEXT");
           var mvc = dataMessageToSend.getValues();
           if( mvc ) {
           mvc.add( myNewValue1.getKey(), myNewValue1 );
    Midhun VP

  • How to execute commit operation from an ADF button?

    Hi,
    I am using Jdeveloper 11.1.1.3.0. I have an application and need to customize the application by adding a form. I added the Form and I need to do a commit when they press the SAVE button in that page. the action listener for that SAVE button invokes a method and I don't want to change that code because it handles lots of other stuffs. I need to add the commit to the SAVE button. Is it possible to call the ${bindings.commit.execute} in the javascript when they press the SAVE button or using any other listener to invoke a method in the backing bean.
    Thanks
    SR

    You can add the binding to the commit operation to your page and then call this from the backing bean where your current save logic exist.
    See: http://blogs.oracle.com/shay/2010/04/doing_two_declarative_operatio.html

  • How to handle two operations on same infotype in SAP_PA backend service?

    I have a requirement where I need to design the process either create or change the record of a child in infotype 0021.
    The SAP_PA does not allow multiple operations on same infotype. It would be great if someone can give me an idea as to how this scenario can be handled.

    Hi,
    You can add the following code in on approve method to show popup to the user,
    IF req_edit IS NOT BOUND. " gloabl attribute in impl class of the view
        REFRESH lt_buttons.
        lss_button-id  = 'btnyes'.
        lss_button-text = 'YES'.
        lss_button-on_click = 'YES'.
        APPEND lss_button TO lt_buttons.
        CLEAR lss_button.
        lss_button-id  = 'btnno'.
        lss_button-text = 'NO'.
        lss_button-on_click = 'NO'.
        APPEND lss_button TO lt_buttons.
        CLEAR lss_button.
        CALL METHOD comp_controller->window_manager->create_popup_2_confirm
          EXPORTING
            iv_title          = 'ATTENTION'
            iv_text           = 'Are you sure you want to edit this document?'
            iv_btncombination = '99'
            iv_custombuttons  = lt_buttons
          RECEIVING
            rv_result         = req_edit.
        req_edit->set_on_close_event( iv_event_name = 'EDIT' iv_view = me ). "#EC NOTEXT
        req_edit->open( ).
        RETURN.
      ELSE.
        lr_node ?= req_edit->get_context_node( 'OUTPUTNODE' ).
        lv_outbound = lr_node->get_event_name( ).
    *  CLEAR ptc_pricing_status.
    *    lv_outbound = req_edit->get_fired_outbound_plug( ).
        IF lv_outbound = 'YES'.
    you can use the submit report code here and you can al the validations here
        ELSE. " No
    if user clicks no nothing to do..
        ENDIF.
        CLEAR req_edit.
      ENDIF.
    Best Regards,
    Dharmakasi.

  • How to handle Lov event from Advanced Table

    hi all,
    I have requirement like I need to return 5 items from lov RN and need to bind them with curresponding 5 coloumns in advanced table which is diplaying fine,
    but once clicked on 'Add New Row' button values from the privious row is getting null/disappearing. All the items in advanced table are binded with proper view Attribute.
    Please let me know why it is behaving so? and kindly give the solution also how can I handle this.

    Hi,
    The columns on which you are returning the values must be messageStyledTexts Right??
    If yes, then you should know that read only fields are not able to hold values and hence the lov mappings gets lost when you click on Add New Row button.
    To avoid this.
    For 5 columns, create 5 form Values and bind the same View Attribute to them as to the columns.
    Now in the LOV also create 5 mappings for form values same as you have created for table columns.
    This way it should work.
    Thanks,
    Gaurav

  • How to kill export operation from AAS console?

    Hi,
    There is a data export running from AAS console. It was by mistake selected to take all data. We then tried to 1. cancel it 2. kill the session from console. 3.logoff the session. The status is now terminating and the total request time is almost 13 hours. How do I end it.
    We are running 9203 planning&Essbase

    If the export has gone beyond a certain stage, i think killing the session from AAS has no effect on it.
    We had a similar issue similar time back and i had to become desperate enough to stop it after the export had crossed > 30 GB.Being desperate, i did try the MAXL option with alter system kill request. In the end we really had to kill the esssvr process from the server. Having done this, we had stopped and started our apps and they were atleast back online.
    This is probably the worst option but if you do become desperate to stop it, i guess this is an option.

  • How to handle multiple requests from single client??

    hi all
    I wrote a client server program to handle requests from client.I have 2 types of requests, one is to submit comments to the server other is to view comments on the server.I have tested the app and it works fine for either of them(independently) but they don't work both together i.e when i submit a comment and view it,it's stuck and when i close the program it gives SocketException :Connection reset.
    on client side:
    My request is just a string
    on the server side:
    I check the string and give the client what it wants.
    I want to know if there's any other way to send requests other than passing it as a string.
    I can post my code if needed.
    thanks,
    Sree

    Here is my client code,minimized it to the extent possible and it might give some compilation problems since i didn't include all the functions needed but i think you should be able to get an idea if i'm doing something wrong.
    Can give you my server code if needed.
    import java.io.BufferedReader;
    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.Socket;
    import java.net.UnknownHostException;
    import javax.swing.JButton;
    public class Test {
         JButton submit_button;
         JButton view_button;
         Socket client;
          JButton get_submit_button() {
                   if (submit_button == null) {
                        submit_button = new JButton();
                        submit_button.setText("Submit");
                        submit_button.addActionListener(new java.awt.event.ActionListener() {
                             public void actionPerformed(java.awt.event.ActionEvent e) {
                                  send_comments_to_server();
                   return submit_button;
               Socket check_client_connection(){
                   String host = "C001192097";     //server host name
                   if(client == null || client.isClosed()){
                    try {
                         client  = new Socket(host, 4321);
                    }catch (UnknownHostException exception){
                         System.err.println(host + ": unknown host.");
                    catch (IOException exception){
                         System.err.println("I/O error with " + host);
                   return client;
              void send_comments_to_server(){
                    try
                         Socket client = check_client_connection();
                         DataOutputStream output_stream = new DataOutputStream(client.getOutputStream());
                         BufferedReader stream_input = new BufferedReader(new InputStreamReader(client.getInputStream()));
                         String comment_report = "comments";
                         Comments comment = new Comments();
                         User_Data user_data = new User_Data(); //function that returns client details such as host name and stuff
                         String user_info = "User Name: "+user_data.user_name+" "+"Host Name: "+user_data.host_name+" "+"Domain Name: "+ user_data.domain_name;
                         comment.user_info = user_info;
                         comment.summary = comment_report;
                         comment.comments = "passing comments";
                         String report = user_info+" "+comment_report+" ";
                         output_stream.writeBytes(report+"\n");
    //                     output_stream.close();
    //                     stream_input.close();
    //                     client.close();
                    }catch(IOException e){
                         e.printStackTrace();
              void receive_comments_from_server(){
                   String line;
                   StringBuffer comments = new StringBuffer();
                   try
                         Socket client = check_client_connection();
                         DataOutputStream output_stream = new DataOutputStream(client.getOutputStream());
                         BufferedReader stream_input = new BufferedReader(new InputStreamReader(client.getInputStream()));
                         String msg = "view comments";
                         output_stream.writeBytes(msg);
                         System.out.println("waiting for response");
                             while((line = stream_input.readLine()) != null){
                                  comments.append(line);
                              System.out.println("Comments from server "+comments);     
                        } catch (IOException e) {
                             e.printStackTrace();
              JButton get_view_button() {
                   if (view_button == null) {
                        view_button = new JButton();
                        view_button.setText("View Comments");
                        view_button.addActionListener(new java.awt.event.ActionListener() {
                             public void actionPerformed(java.awt.event.ActionEvent e) {
                                  System.out.println("request sent");
                                  receive_comments_from_server();
                   return view_button;
    }thanks
    Sree

  • How to handle FTP request in Servlet

    Hi,
    can anyone tell me how to handle FTP operations in Servlet? I mean to ask whether we can handle FTP request in Servlet.
    Thanks
    Subs

    Your servlet should extend from GenericServlet and not HttpServlet to handle ftp requests.

  • How to handle multiple reports with single hyperlink parameter

    Please suggest in my drill down report
    i have two reports linked with one hyperlink
    parameter, how to handle this?
    please suggest for popup window with sample solution.
    for example
    report A--->B--->Chosse Report c or D
    based on parameter hyperlink at report B.
    Thanks in advance
    Raj

    Yes U R correct, that
    I'm using srw.set_hyperlink in plsql format trigger
    to open other reports , now the problem is
    how to carry over the hyperlink parameter to popup window
    and allow user to choose any reports based on the
    parameter value.
    for example
    report A (Sales person summmary report)
    |
    | (choose sales person drilled to orders report B)
    |
    B (report has the hyperlink on order no)
    |
    |
    C,D,E (many reports based on order no
    customer,order details,pending items
    to be shipped)
    Now how to handle the situation from b to c,d,e
    I suggest use hyperlink at B to open popup to show
    reports C,D,E with the order no has parameter.
    please suggest for javascript to open popup window
    for reports c,d,e.
    Thanks
    Raj

  • How to handle exception thrown in standard bo method in the workflow design

    Hi Experts
        how to handle exception thrown from standard bo method in the workflow design. For example, bo BUS2032, METHOD confirm. If the user cancel it, it will throw exception. In the workflow, how to catch this exception and add corresponding steps in the workflow.

    @jrockman li
    Try to implement the logic that what ever you are performing in the BO mehtod in a FM and in the FM you have tab with name EXECPTIONS define the execption in that tab.Now in the BO method you call this FM  and if the exception occurs by using RAISE you can raise the exception in the FM and based on the number of exceptions your sy-subrc value will be set
    so when sys-subrc is not eq 0 then pass a value back t the workflow container., I think this will work.
    a sample Snippet for understanding purpose
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        filename         = <path>
        filetype         = 'ASC'
      IMPORTING
        filelength       = lv_len
      TABLES
        data_tab         = l_txt_tab
      EXCEPTIONS
        file_write_error = 1          " If this Exception occurs
        invalid_type     = 2
        no_authority     = 3
        unknown_error    = 4
        OTHERS           = 10.
    CASE sy-subrc.
      WHEN 1. " SY-SUBRC value will be 1 then,
          " Pass or set the value back to the workflow conatiner element
    ENDCASE.

  • How to handle multiple soap operations from XI ?

    Hi Experts,
    I am sap xi guy and we need to handle a webservcie which has multiple operations. any body can guide how to handle this ?
    In xi soap receiver adapter we have an option going only for a single soap action ? can sap handle rpc style format of webservice ? what is meant by rpc
    any help would be really appreciated
    Thanks,
    srini

    Hi Srinivas,
    Please refer to this article on how to handle the soap action. Hope this will help you understanding the soap action mistery.
    http://www.oreillynet.com/xml/blog/2002/11/unraveling_the_mystery_of_soap.html
    Regards
    Sumit Bhutani

  • Gain/loss from discontinued operation

    1.Once the consolidation Unit is full divested(100%), how the revenue after discontinued period will be accounted. Because the consolidation unit is fully disposed off to external group. If the earlier holding was having Minority Interest , do we have to provide the minority interest for income from discontinued operation.
    2.Can the reclassification function can be used in this context.
    3.How can we facilitate the report on income from discontinued operation. Can we maintain in the company/profit center the period in which divested so that we can know the generate the report for the income from discontinued operation with reference to the data of full divesture.

    Here's my understanding of how the divestiture works.
    Cons Group A
    - Parent A
    - Sub B
    Parent A owns sub B starting in 2006.  In 6/2007, Parent A divests Sub B.
    In the GL, Parent A books a Gain/Loss from the sale of their company.  In BCS, the system will calculate a gain/loss from divestiture as part of the total divestiture activity in the COI.  If we have a gain of -10, BCS will book a loss as +10 @ PL30 in Cons Group A.
    From an unconsolidated perspective, you are correctly showing the gain on the parents books.  At a consolidated perspective, you are still showing the Jan - June income statement from the sub until the end of the year.  BCS has offset the "unconsolidated gain" with a "consolidated loss" to prevent double counting the income.
    At the end of the year, the parent's gain will roll forward into the prior year earnings.  The "consolidated loss" would offset into retained earnings and go away.  Now you only have the prior year gain sitting in the parents surplus on a go-forward basis.
    Looking at the postings by BCS, I think it might help to have the divestiture gain & loss going to the same account in the COI config.  An the Gain booked in the parent on an unconsolidated GL basis needs to go to this account as well for everything to offset cleanly.
    That's what I see the system posting...let me know if I'm missing something...can't hurt to have more documentation here!
    Chris

  • Need help on how to handle zip & text/csv as a resposne payload from Concur RestWebservice

    Hi All,
    We are getting zip(if there are multiple files) and test/csv(single file) as a response payload from the concur rest API and need your help on how to handle in NWBPM and SAP PO.
    Zip response coming in response looks like below -
    PKÀ˜F7extract_attendee_detail_p0600908soav_20150424022159.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKÀ˜F2extract_CES_SAE_v3_p0600908soav_20150424022148.txts� rt©1204Õ50Ñ52©1¨©1ãåPKå늟PKÀ˜Fzà
    Text/csv response looks like below -
    Extract|2015-24-40|20|0
    Need you help on how to handle the zip content response.
    Also need help on how to handle when text/csv response comes and when zip response comes.
    As per the scenario, there are 4 calls to be made and we are using NWBPM and in the last call the actual respons (text/csv or zip) will come.
    Please provide your inputs.
    Thanks
    Narayanareddy B

    Hi Aaron,
    Thanks for your reply.
    I tried with Payload zip bean and the java mapping as mentioned in the response mapping of OM.
    Payload zip bean - Zip  zip.mode  unzip
    I am getting the error below in the receiver rest channel -
    "Transmitting the message using connection JPR failed, due to: com.sap.aii.af.lib.mp.module.ModuleException: Zip: error occured during processing: java.util.zip.ZipException: invalid stored block lengths"
    Java Mapping - used the java mapping in the response of Operation mapping
    Here also i am seeing the same error in the channel log as it is synchronous step and the message got cancelled.
    "Transmitting the message using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: Mapping failed in runtimeApplication mapping program com/equalize/xpi/esr/mapping/java/UnzipAndAttach throws a stream transformation exception: Exception: invalid stored block lengths"
    The below is the response i am seeing and is it proper zip response payload(any encryption) , kindly advise.
    PKâE�F:ws_extract_attendee_detail_p0600908soav_20150424083413.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKâE�F5ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtíTß��@~oÒÿ�÷Fº»ìV}ëòCÏz Qljß8ÜöL�`N�ùão8�Ò«�´M�Ü@�awvçûfgÇùâϤå#Ttï0Ø�B�²·olÇ�£[4Ï](L�]«�ÑbÀôÁÒc�0ÀÏdAªÙТ¨Ìû�Êv¡�b¤eJA%��=Þ7Í>PÚ=í2��7ò[�¼¡=q/°¶�*ø)
    K|<`BgÉÔºÜWs[§J�&Ñ:Ìá:´�ç«�RÐv�ÚÅAD'\�ÁtR²*DP3gî:B@JëhU�Ò'¬�ùQ\�È\D{·O×±JS\ï�-ò�¸�Þ²êó�{Å¡2®â,MmÉù XAzßüBn&®Sl-§�l¶A�×ú½³ÙFI®0¿©Ú¯¤�oT�iV²RÀJ��¼«`õ»�í Ûéwa#�àpY�««óq)U°JaøÁA�ûì>Ù³üHåÒe¾�7��Ð/§£u°Nzã÷ç4×·èãþ�¾}õ0ÙµYÄ�+J��eX\�E±ïsR%®yÜÕðsªáÚ$qÚÎÇ�Û$^%1¸AF*ý¶VÑêxÏZÏ¢U½T~Ñ®ØkW5ç×®õ¿w5¬zò:oN»�ô���íø÷úÛÙ=¬å�[ôÚ�þmczPKhÏ��i PKâE�Fzà@Æ:ws_extract_attendee_detail_p0600908soav_20150424083413.txtPKâE�FhÏ��i 5�ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtPKËö
    Thanks
    Narayanareddy B

Maybe you are looking for

  • Error in calling External web service from soa suite 11.1.1.3

    Hi I am getting following error while calling external web service...... ####<Jan 20, 2011 6:54:26 PM IST> <Warning> <oracle.integration.platform> <in-mum-adina05> <soa_server1> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-t

  • SET PRINTER TRAY AT RUN TIME

    HELO EVERY BODY I HAVE TWO REPORTS I WANT TO PRINT FIRST REPORT FROM UPPER TRAY AND SECOND REPORT FROM LOWER TRAY HO CAN I DO THIS? SECOND PROBLUM IS I CREATE A REPORT ON LEGAL PAPER WHEN I RUN THIS REPORT IT WILL TAKE DEFAUT PAPER SIZE OF PRINTER WH

  • Mail stops importing messages after 32 messages - HELP

    Everytime I try and get my mail it downloads the messgaes but when it gets to the magic 32nd email it gets hung up. I veen deleted the suspicious email on the server and still when it gets to 32 it gets stuck. I tried entourage and it gets the messag

  • Error when signing into Elements 10

    After I sign into Elements 10, this is the message box that immediately pops up:  "Photoshop.com services are currently unavailable.  Please try again later or check your network connections.  Error 400."  I have looked all over Photoshop.com to see

  • Saving ALV Report tree to pdf

    Is it possible to save ALV Report Tree to pdf for all versions (old & new) of SAP? If yes, then what is the way to save the ALV tree to pdf in different versions, which also includes BW & APO systems? The ALV tree also includes some hotspots, if that