XI - Closing request for each new coming file

Hi all,
I will receive files from XI system to BW (csv files).
I have a scenario like this; each new file that has been received by Bw system (pushed by XI) has to be exactly one request in PSA.
That means one file will be one request in PSA.
There shouldn't be a case where two newly received file went to the same psa request.
As I know, we can close a request based on the row number, size or time. But i need to close this request after each file receive in BW.
Thanks in advance.
Regards
Ozan

Hi,
        You can try one thing, in your proxy method of interface class through SPROXY transaction. Read in data from XI in different packages with code as mentioned below.
**** INSERT IMPLEMENTATION HERE **** ***
DATA: l_text TYPE string,
        l_s_data TYPE LINE OF 'YOUR WEBSERVICE NAME'
        l_t_data TYPE 'YOUR WEBSERVICE NAME'.
FIELD-SYMBOLS <l_line> LIKE LINE OF input-data-item.
Divide the data and transfer it to PSA with some identifier*
  LOOP AT input-data-item ASSIGNING <l_line>.
    MOVE-CORRESPONDING <l_line> TO l_s_data. 
    APPEND l_s_data TO l_t_data.
   Append l_s_data to l_p_data.
ENDLOOP.
Sent it to the DataSource/PSA
  CALL FUNCTION 'Remote Function Module'
    EXPORTING
      data           = l_t_data
    EXCEPTIONS
      internal_error = 1
      OTHERS         = 2.
  IF sy-subrc NE 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4 INTO l_text.
    RAISE EXCEPTION TYPE zbudcx___BIC__CQZPI_AUS0000300
    EXPORTING text = l_text.
  ENDIF.
I hope, this works.
Regards,
Harpal

Similar Messages

  • The operation can't be completed because some items had to be skipped. For each item, choose File Get Info, make sure "Locked" is deselected, and then check t

    The following error comes up when I try to install the updated Firefox:
    "The operation can’t be completed because some items had to be skipped. For each item, choose File > Get Info, make sure “Locked” is deselected, and then check the Sharing & Permissions section. When you are sure the items are unlocked and not designated as Read Only or No Access, try again."
    When I follow the instructions in the error message, it shows that my user name has read and write access. There are a couple other items that are read only. I tried to change this to read and write, but the Sharing and Permissions options are greyed out and will not let me change them. What is the work around for this? I would really like to install the new firefox.
    Thanks.

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default('''This will NOT delete profile info such as bookmarks and history'''):
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • HTTPService request for each View inside a ViewStack

    Can someone point me in the right direction to have a
    httpservice request for each view inside my viewstack?
    <mx:ViewStack id="views">
    <mx:Canvas id="view0">
    </mx:Canvas>
    <mx:Canvas id="view1">
    </mx:Canvas>
    </mx:ViewStack>
    Can someone whip together a quick example or just point me in
    the right direction?
    Thanks

    Ahh, don't do that.
    Use a central HTTPService instance, and use AsyncToken to
    keep track of which result goes where. Some code snippets below.
    Tracy
    Sample code using HTTPService, e4x, handler function to
    populate a list item.
    Also shows usage of AsyncToken.
    The DataGrid tag:
    <mx:DataGrid id="dg" dataProvider="{_xlcMyListData}"
    .../>
    The HTTPService tag:
    <mx:HTTPService id="service" resultFormat="e4x"
    result="onResult(event)" fault="..../>
    Script block declaration:
    import mx.rpc.Events.ResultEvent;
    [Bindable]private var _xlcMyListData:XMLListCollection;
    Invoke send:
    var oRequest:Object = new Object();
    oRequest.Arg1 = "value1";
    var callToken:AsyncToken = service.send(oRequest);
    token.callId = "myQuery1";
    Result Handler function:
    private function onResult(oEvent:ResultEvent):void {
    var xmlResult:XML = XML(event.result); //converts result
    Object to XML. can also use "as" operator
    var xlMyListData:XMLList = xmlResult.myListData; //depends
    on xml format, is row data
    _xlcMyListData = new XMLListCollection(xlMyListData); //wrap
    the XMLList in a collection
    trace(_xlcMyListData.toXMLString()); //so you can see
    exactly how to specify dataField or build labelFunction
    var callToken:AsyncToken = oEvent.token;
    var sCallId = callToken.callId; //"myQuery1"
    switch(sCallId) {
    case "myQuery1":
    doQuery2();
    break;
    }//onResult

  • How to write a code for  open new txt file in swing

    hai all,
    now i do one project in java.that project's GUI is Swing. But i don't known swing (basic).So how to write a code for open new txt file and "Open window " in menu item on swing.that means when i click the "New" on menu that time open a new txt file. open also like that type.
    plz give me that code ! very urgent
    Advance Thanks !
    RSK

    Swing Tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/index.html
    Since you don't know the basic of swing read the tutorial, it is for your own good because it is useless if we provide you with a code you don't even understand and how it works.
    If you want a menu read the tutorial about using menus and for opening a file read using JFileChooser.
    note: don't use the word urgent because it implies that your problem is more important than others.

  • SQLEXEC on each new trail file or just on replicat start to capture current FILESEQNO?

    Dear community,
    I need to capture fileseqno of the trail file that replicat is processing. But I only need to capture it once without overhead of adding fileseqno column to target tables.
    I clearly understand that using colmap ( usedefaults, FILESEQNO = @GETENV ("RECORD", "FILESEQNO") ) inserts fileseqno value for every record captured from logs, but what I'm trying to accomplish is to react on the event of changing fileseqno number while replicat is running.
    Following application logic I actually only need to capture fileseqno of the first trail, that is processed by replicat.
    What I've tried so far is using following parameters for replicat (given two tables to be replicated):
    table m.EventHead,
    sqlexec( id set_first_seq_no1, spname pk_replication_accounting.set_first_seq_no, params( a_fileseqno = @GETENV( "GGFILEHEADER", "FILESEQNO" ) ), afterfilter ),
    filter (@coltest( set_first_seq_no1.a_fileseqno, NULL ) or @coltest( set_first_seq_no1.a_fileseqno, MISSING ) or @coltest( set_first_seq_no1.a_fileseqno, INVALID ) ),
    eventactions( ignore record );
    table m.EventTail,
    sqlexec( id set_first_seq_no2, spname pk_replication_accounting.set_first_seq_no, params( a_fileseqno = @GETENV( "GGFILEHEADER", "FILESEQNO" ) ), afterfilter ),
    filter (@coltest( set_first_seq_no2.a_fileseqno, NULL ) or @coltest( set_first_seq_no2.a_fileseqno, MISSING ) or @coltest( set_first_seq_no2.a_fileseqno, INVALID ) ),
    eventactions( ignore record );
    pk_replication_accounting.set_first_seq_no is defined within package as
    procedure set_first_seq_no( a_fileseqno in out pls_integer );
    With filter clause I've tried to instruct GG to perform SQLEXEC only for the first record captured for every table, but with no success. Stored procedure is fired multiple times upon every record in trail file.
    As far as I understand standalone SQLEXEC is not capable of obtaining value of @GETENV( "GGFILEHEADER", "FILESEQNO" ), though I have not tried it yet.
    Another way, that I see, is to instruct extract to add one fake record for every new trail file and then to process it within map clause with SQLEXEC. For example if SOURCEISTABLE had per table effect, then we could get our single record for every trail using dual table:
    sourceistable
    table dual;
    Still I don't know how to achieve required behavior.
    Please help, if you know some workarounds.

    Managed to capture current fileseqno for every replicat start with following parameters:
    ignoreupdatebefores
    map m.EventHead, target gg.tmp_gg_dummy, handlecollisions, colmap ( id = @GETENV ("RECORD", "FILERBA") )
    sqlexec( id set_first_seq_no1, spname pk_replication_accounting.set_first_seq_no, params(a_fileseqno = @GETENV( "GGFILEHEADER", "FILESEQNO" ) ), afterfilter ),
    filter (@getenv( "STATS", "TABLE", "GG.TMP_GG_DUMMY", "DML" ) = 0), insertallrecords;
    map m.EventTail, target gg.tmp_gg_dummy, handlecollisions, colmap ( id = @GETENV ("RECORD", "FILERBA") )
    sqlexec( id set_first_seq_no2, spname pk_replication_accounting.set_first_seq_no, params(a_fileseqno = @GETENV( "GGFILEHEADER", "FILESEQNO" ) ), afterfilter ),
    filter (@getenv( "STATS", "TABLE", "GG.TMP_GG_DUMMY", "DML" ) = 0), insertallrecords;
    tmp_gg_dummy is defined as the following:
    create global temporary table gg.tmp_gg_dummy ( id number( 14, 0 ) ) on commit delete rows;
    alter table gg.tmp_gg_dummy add constraint tmp_gg_dummy_pk primary key ( id );
    Procedure is fired only once per every replicat start and report file shows the following:
    From Table m.EventHead to GG.TMP_GG_DUMMY:
      Stored procedure set_first_seq_no1:
             attempts:         0
           successful:         0
    From Table m.EventTail to GG.TMP_GG_DUMMY:
           #                   inserts:         0
           #                   updates:         1
           #                   deletes:         0
           #                  discards:         0
      Stored procedure set_first_seq_no2:
             attempts:         1
           successful:         1
    though original mapping from m.EventTail has
    inserts:   
    69
    updates:   
    21
    befores:   
    21
    deletes:    
    0
    discards:    
    0

  • Guest WLAN need to re-authenticate for each new tab

    Hi,
    We installed recently a new WLC 2504 with 22 AP's.
    We use web authentication for the guest WLAN.
    The porblem is : users can login and authenticate but whenever the open a new webbrowser tab they need to re-authenticate again.
    And this for each new tab they open.
    Anybody knows how to solve this?

    No, the user shouldn't have to reauthenticate for every tab they open, once the clients entry is built in the MSCB they should stay in a RUN state until either the reauth timer or the user idle timer expire.
    First I'd upgrade to 7.0.220.0 and see if that resolves the issue.  If it doens't get a TAC case open.
    Steve

  • I installed LR 4 on apple lap top os x 10.7. since i was afraid to lose pics i first loaded into i-photo an then exported into LR on a previously opened catalog. for each new export procedure was repeated. now there are plenty of catalogs and LR cannot fi

    i installed LR 4 on apple lap top os x 10.7. since i was afraid to lose pics i first loaded into i-photo an then exported into LR on a previously opened catalog. for each new export procedure was repeated. now there are plenty of catalogs and LR cannot find some in LR. what now? answer in german or english. hobbymaler

    i installed LR 4 on apple lap top os x 10.7. since i was afraid to lose pics i first loaded into i-photo an then exported into LR on a previously opened catalog. for each new export procedure was repeated. now there are plenty of catalogs and LR cannot find some in LR. what now? answer in german or english. hobbymaler

  • I could not remember my apple ID password so I made a request for a new one. When I received the email with the link on resetting my password it was addressed to John Ohare. My name is not John Ohare. Does this mean someone is hacked my iCloud account?

    I could not remember my apple ID password so I made a request for a new one. When I received the email with the link on resetting my password it was addressed to John Ohare. My name is not John Ohare. Does this mean someone has hacked my iCloud account?

    Hello Corinne Craven,
    Thank you for using Apple Support Communities!
    You can update the name on your Apple ID here:
    Appleid.apple.com
    If you suspect unauthorized access to your apple ID I would normally recommend resetting your password, but you have already done this.
    Here is some information about 2 step verification which is another level of security for your account.
    Apple ID: Frequently asked questions about two-step verification for Apple ID
    http://support.apple.com/kb/HT5570
    Be sure to read all the information in the article if you choose to use two-step verification.
    Take care,
    Sterling

  • Premiere project opened - closed sequences and generating new peak files

    Hey guys,
    I'm working on a big project, which resides on our Drobo. I have been sorting clips and working in sequences for the last couple days now. All media was loaded fine, and peak files were generated.
    When I went to open the project this morning, all of the sequences I had been working on (accept for one) had been closed, instead of opening up like how I left them. Further, Premiere is now generating new audio peak files for the project, which is taking forever. Finally, it took 25 minutes to load all of the clips (about 800 or so). They finally finished loading, but I can't start working until the peak files are finished. All in all, i've been at work for 1 hour and still can't work.
    Basically, why didn't Premiere open the project as I left it last night? Closed sequences, slow load time, generating new peak files?
    I'm working with footage from RED, Sony FS700, GH4, and GoPro.
    My system:
    Creative Cloud
    Premiere Pro  8.0.1
    Windows 7 (64 bit)
    Intel 3770k
    Quadro k4000
    16 gb ram
    256 gb SSD (System)
    256 gb SSD (Render files)
    5.39 TB Drobo via USB 3.0
    Thanks,
    Dan

    >Drobo via USB 3.0
    Did you by any chance unplug/replug your USB drive?
    Have you gone into Windows and "locked" the drive letter?

  • Closing Stock For Each Period in Inventory Infocube

    Hello Guru's,
    Can we have closing stock of each material  for entire period in Invnetory Infocube ? or through any logic or transformation routine can we create this keyfigure  at infocube level ?
    I know that to get Closing Stock  ( Opening Stock + Goods Receipt - Goods Issue), we have to have Opening Stock as well for each month. in 0IC_C03 infocube, we only have Goods Receipt Qty and Goods Issue Qty keyfigures. We don't have Opening Stock and Closing Stock keyfigures as those are calculation which works during run time of query but still we want to have this information at Infocube Level.
    Do please let me know your thought as i appreciate your help in advance.
    Regards,
    Komik Shah

    hi,
    I will check that t code.
    thanks and regards,
    Devina

  • Mapping issue: FCC: Idoc for each record in file

    Hi,
    I have file to Idoc scenario.
    I receive csv file with multiple records.
    The requirement is to create an Idoc for each record.
    For eg.
    source file
    A1,B1,C1
    A2,B2,C2
    A3,B3,C3
    After FCC
    <MT>
    <TRANS>
    <ROW>
    <A>A1</A>
    <B>B1</B>
    <C>C1</C>
    </ROW>
    <ROW>
    <A>A2</A>
    <B>B2</B>
    <C>C2</C>
    </ROW>
    <ROW>
    <A>A3</A>
    <B>B3</B>
    <C>C3</C>
    </ROW>
    </TRANS>
    <MT>
    I have first tested it with only 1 record to test end to end connectivity. It works as expected and Idoc is posted to target system.
    Now when I am trying to send multiple records, I am getting some issues.
    Below are the steps that I have taken to process multiple records:
    1. Changed the cardinality of ROW (child of RecordSet) from 1 to Unbounded.
    2. Changed the occurance of Idoc to Unbounded.
    3. Mapped ROW to Idoc root.
    I have tested the mapping in IR and it generates multiple IDOCs.
    When I send the test file, it fails with error Tag found instead of tag IDOC BEGIN=
    I can see the xml message created with multiple ROWs in XI by File adapter in sxmb_moni.
    When I do Test Configuration in ID, with the XML message extracted from sxmbmoni, the result that I got was:_
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1></ns0:Message1></ns0:Messages>
    This means that idoc was not created while mapping.
    But the same sample message works OK in IR!
    Pls help where I have missed.
    Regards,
    Anirudh.

    Sudhir,
    Thanks for your response.
    FCC is working fine. I have taken the XML message in XI created after FCC from csv sample message.
    I have tested this message in IR by placing it between
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
    </ns0:Message1>
    </ns0:Message>
    It is working fine and Idocs are created in mapping in IR.
    But the same sample message is creating below output ID!
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge"><ns0:Message1></ns0:Message1></ns0:Messages>
    Regards,
    Anirudh.

  • How do I browse my hotmail e-mail messages (while zoomed in) without having to scroll down for each new e-mail (after pressing up arrow for next message)?

    In other words, I want to be able to change the default starting scroll position from 'top' to 'bottom' or customize this to 'somewhere in between' so that I don't have to scroll down before reading each new e-mail message.

    Have you tried Firefox's zoom feature? Font size and zoom - increase the size of web pages
    You can "zoom" all sites using this add-on: [https://addons.mozilla.org/en-US/firefox/addon/2592/ NoSquint]. After setting your global zoom level, you can still fine-tune the zoom on individual sites.
    After installing NoSquint, click the % on the Add-on Bar to call up site preferences, then click the Global Settings button, then the Zooming tab.
    If you don't have the Add-on Bar displayed, you can right-click the new tab button ("+") or a blank area of the tab bar to the right of it and choose Add-on Bar from the shortcut menu.
    You can experiment with sizes larger than 125%, but I wouldn't go much higher than 150% unless you have a large high-resolution monitor.
    If there are particular sites that still present a problem, feel free to post their URLs.
    You can find more information about the zoom features Firefox offers in these articles:
    [[Text zoom]] - For zooming text only
    [[Page zoom]] - For zooming the whole page (including images etc.)

  • Do I have to add a new contact for each new phone number?

    I just got my phone and I'm adding in my contact manually. I don't see multiple spots for multiple phone numbers for one person? Do I have add a new contact for each phone number a person has? (I.e. One for their home number, one for their work number, one for their cell number).
    Thanks!

    No.
    There is no reason to have a default number of phone number entries that may not all be used and the same for email addresses.
    When manually entering contact info, after entering the first number for a contact, a new phone number entry is made available directly below.

  • Can i make a sequence to create a record number for each new record

    Does anybody know if a field can be inserted to or a feature turned on to create a automatic numbering system for each incoming record

    It's easier if you don't. You can do what you want using a template, but it will require some scripting. It's also easier to do than describe, but I'll try. Begin by creating the fields on a page in the locations you want, insert this page to the document, as the first page for example. You can then replace it with a blank page, which will leave the form fields behind. Then make this page a template and hide it. You can then run a script from the interactive JavaScript console that spawns the hidden template on the first page as an overlay, extracts the page that now has fields as a new document, and repeat for the rest of the pages. Here are links to documentation of some of the scripting that will be involved:
    template.spawn: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.1216.html
    doc.extractPages: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.465.html
    The process for making a page a template through Acrobat's UI depends on what version you're using, but it can be doen programmatically too: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.451.html

  • Need to run Adobe Customization Wizard every time for each new reader update?

    Hi there,
    This should be a simple question...
    Do I need to run Adobe Customization Wizard every time on each new incremental reader update, or just once per major revision (e.g. Reader 9, Reader X)?

    This question hasn't been answered because it would be better asked in the enterprise deployment forum. The Wiz is an ent deployment tool and only is used for initial deployments in most cases. You use it to customize the installer and the product when it's first installed. You could use it for any install, but that is a less common scenario.
    Usually, you customize the first version you install and then just apply updates as they are released.
    HTH.
    Ben

Maybe you are looking for

  • How can I save a jpeg? Cntrl-click on does not work as it did in version 2

    In Firefox 2 I could hold down the Control key and click on an image to open a window with a "Save as" choice. Then I could name the image and chose a location to save it to. In Firefox 3, the window opens as before but the "Save as" choice does noth

  • How do I configure 128 channels of DIO and 128 channels of Analog output with the availabili​ty of 3 pci slots

    I have only 3 slots of PCI or 4 slots of ISA bus, I want to configure with the minimum possible modules to attain 128 channels of DIO and 128 channels of analog output. This is inturn fed to the PCM (Pulse code Modulator). The cards will be placed in

  • Possible to link an e-mail button to a signature box?

    LiveCycle Designer 8.2.1, Adobe Pro 9.3.2, Win XP. I'd like to create a form with an e-mail submit button that would cc the recipient of a signature box.  In other words, when a person clicks to sign a signature box, then clicks an "e-mail submit" bu

  • Download error v551

    Hello this is my first jar file... wooohooo Everything works on my pc... on all the emulators-and the motorola launchpad. However after creating the .wml file and uploading to the server... When I go to download the file I get a progress bar that loc

  • Select single & select upto n row .

    Hi, Can anyone tell me the actual difference between select single & select upto n rows . which has the good performance . Can anyone send a sample code for that.