Pls help I have Bapi error response scenario

Hi  Experts,
     I am working ona scenario.
Sender will drop the required file on XI directory and XI will pull the file and map it with the BAPI u2013 and crate time entries in SAP HR. If errors are encountered during the process they are returned to the client in a report or as erroneous file.
1) sender will FTP the file to XI directory
2) XI will send the file after validation with BAPI for time entry creation in SAP R/3.
3) If there is an error encountered XI will get an error response from BAPI
*4) The erroneous file is sent to XI directory for client to view*
I have to write this error files on the Xi directory.
*How will I capure the error response from BAPI. as we are interested only for failure messages and not the sucessful messages. How we filter the mesages in XI, we want to capyure only failed messages.*
Please help me out wz this.
Thanks

Hello,
Your situation it is quite common task so refer to this step-by-step wiki:
File-RFC-File(Without BPM)
http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without+BPM)
What concerns that you want receive only response with error this is also not problem. In all BAPI function you can find response code which differ for successful and unsuccessful processing. So only you need to do it is filter data in you scenario with ERROR response code, you can do this in condition section of receiver determination.
And if you want you can adjust two response streams in XI, one for successfull processing and another one for error (also with filtering).
BR,
Dzmitry

Similar Messages

  • Pls help me in sending sequential responses for the different commands.

    Hi all
    pls help me in  sending sequential responses for the different commands. For example,i have to send the response1 for command1 then again host wll send the some other command ,say command 2  after receiving response 1,then again i have to respond to the corresponding command.i m using the pci-6221 card not tradition DAQcard.
    regards,
    nitin

    Hi,
    you need to be more specific. What is your setup?
    Obviously, what you need is a command parser. Look this article for the basics. I know it is meant for RT but the concept is there.
    Not sure it will help with so few infos: http://zone.ni.com/devzone/conceptd.nsf/webmain/CD63FD0F746B17A686256F090065F572
    Dai
    Dai
    LV 7.1 - WIN XP - RT - FP

  • I have an error -5000 when I try to record in GarageBand..I urgen need help, I have an error -5000 when I try to record in GarageBand..I urgen need help

    I have an error -5000 when I try to record in GarageBand V10,02..I urgen need help, I have an error -5000 when I try to record in GarageBand..
    I just reinstal OSX 10,9,2 marveiks and downdload the GB.. but when I try to record, the error ocurr
    I urgen need help
    thanks

    This is probably one of the files that is required by the template you are using.
    These files are inside the iWeb app. Control click the iWeb app icon and select "Show package contents".
    You need to dig down through the folders and files to find what you want...
    Contents/Resources/da.lproj/Templates/
    If the file is missing you would need to re install the iWeb app...
    http://www.iwebformusicians.com/iWeb/iWeb-Tips.html

  • HT1212 i have forgotten my password of itunes, i have taken backup of contacts but is unable to restore . pls help i have my important data in back up

    Dear Sir,
    I have forgotten my password of itunes, i have taken backup of contacts but is unable to restore . pls help i have my important data in back up.
    Waiting for reply
    Thanks

    Encrypted backup?
    Read here:
    http://support.apple.com/kb/TS5162
    If the backup you're trying to restore from is encrypted, you will not be able to use that backup if you can't remember the encrypted backup passcode.
    If on a Mac, & you elected to save the passcode to your Keychain, you can recover the passcode from your Keychain. Otherwise, your backup data is unrecoverable.
    While you can continue to sync/backup, if you can't remember it & want to remove it, you'll have to delete your existing backups, & restore your phone as a new device.
    You delete your existing backups here: iTunes>Preferences>Devices.

  • I have a huge black dust patch on my screen and support staff isn't helping. Pls help, i have a huge black dust patch on my screen and support staff isn't helping. Pls help

    i have a huge black dust patch on my screen and support staff isn't helping. Pls help, i have a huge black dust patch on my screen and support staff isn't helping. Pls help

    Bring it in to have it looked at.
    Or take a photo and use the advanced editor of the board to upload the image using the camera icon on the toolbar.

  • Pls help me above this error

    hi,
    sap gurus,last five days i have one  error,pls anybody give solution.when i try to post p.order related asset accounting above message coming
    "pur.order item 00010 still contains faulty account assignment item 10 acc.assmt  1"
       "G/L  account  200143 cannot be used(please correct)msg no-me045"
    *in the same scenario i try to post f-90 above msg error coming*   
           "asset js01  is  in complete,check the asset.msg no-aap0184"
       pls  anybody give solution  on this error.
    Thanks & Regards
    sri

    First of all, if the asset is incomplete, this has to be corrected. Use transaction AUVA to analyze the asset.
    Please note that if the cost center field in the account assignment is optional and it is suppressed in G/L account field the error message ME045 is displayed.  This is because the systems checks if the fields are required by both and decision is made based on the requirement and if data is present. Therefore if one is optional and the other is suppressed the message ME045 will be displayed.  Therefore, maintain the GL account cost center field as optional.
    I hope this helps you.
    Sven

  • I receive an error when trying to convert PDF to word.  Pls help, I have a paid acct.

    I receive an error when trying to convert PDF to word.  Can someone advise on how to resolve?

    "an error" really doesn't tell us much.
    Assuming that you use the ExportPDF online service, I suggest that you Contact Customer Care - click on the Still need help? button to chat or talk with an agent.
    [topic moved to ExportPDF forum]

  • Pls help. unknown source position error. returnvalue == -12

    Hi,
     i have encouter a problem during debugging external Dll. some of times i receive a error. unknown source position. library function error( return value == -12) out of memory.
    however,  after you pressing continue in popup windowns . program can continue without any error .   so do someone recognize this error. ?
    B.R
    gerry
    Attachments:
    outofmemory.jpg ‏119 KB

    Gerry,
    Its difficult to say much without more information,  but when I have encountered this problem while debugging a dll, the program flow halts at the function returning the error.  Default behavior in CVI 2010 environment I believe is to break on library errors.  This can be verified/set in the Run->Break on->Library errors menu setting.  Also important, both the calling application AND the .dll must have been built in debug mode.  If that is true, and the "break on Library errors" mode is checked, when the program is executed, program flow will halt at the first occurrence of a library error, with a description in the Run-Time Errors box.  If the error is thrown within the .dll, then you will see execution stop there. 
    Once this happens, you can right click on the offending function to open the function panel, and use the built in help to determine what -12 means.
    If you need further help, please provide more information about the problem
    Regard,
    Ryk

  • Pls Help. DS5.1p1 errors PR_Accept() failed, error -5971 (Process open FD t

    Hi all,
    I install iplanet Directory Server5.1p1 on Solaris 8. These errors fill full in my error log files
    "PR_Accept() failed, error -5971 (Process open FD table is full.)"
    I use idsktune tool and detect i face the problem file descripton. I have increase to 4096 ( in /etc/system file and ulimit -n 4096), but these errors still exist in my error logs.
    Who know this prolem, pls give us a solution to fix this errors
    Thank alot
    Best Regards

    Hi!
    To increase the FDs available for DS, edit the Configuration --> Performance Settings and increase the no. of FDs available for DS. please check if you havent done this.
    I faced the similar problem. Increased the system limit(/etc/system) and DS setting, but was still recieving the error message time to time, which disappears automatically, when FDs get freed. The server is quite a busy LDAP server.
    Can someone comment how can i see the actual Fd utilisation on a Solaris 8 system.
    I have been checking like:
    ls -l /procs/fd | wc -l
    and by:
    ls -l /procs/pid-of-slapd/fd | wc -l
    But always find the Fds in use to be quite lesser than the limit specified 4096.
    Thanks for sharing.
    Cheers!
    VIvek

  • Need help, I have an error message "not enough storage"  for icloud and it will not let me do anything

    Need help... getting an error message "not enough storage" for icloud and it will not let me get passed the message

    See if this helps.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.

  • Pls help i have to give this assighment

    1. Construct a class ReverseContent, which makes a copy of the input file.
    Read each line in the file and print the line in the reverse order in the copied file.
    If the file is blank give an error message that the input file is blank.
    2. Construct a class FileCreation, which takes NAME & Some String value from User. Then creates a file
    with name as <NAME>_<TODAY_DATETIME in the format 20070905163004> and write the string value the user has given to the file.
    Once it is written successfully, as a next method parse the file and read the file content and print it to the console
    3. Construct a program WordCount, which counts number of chars, words and lines of the text file. Space is      
    counted as a character. Empty rows are counted as lines. "Word" will represent a string. Method Character.isLetter(char ch) might be useful? Look at the java.lang.Character from Java API documentation!
    4 Write and run a Java program that enters an 8-digit string for a birthdate from the keyboard. The first                
    two digits in the string are the month of birth, the next two are the day and the remaining four are the year. The Java program should squeeze out these substrings and display it on the screen as follows:
         month of birth:
         day of birth:
         year of birth:
         Also display the input date of birth in the format 4th September 2007
         Try to add exception handling for the case if the month and day are out of range.
    5. Write a text file counter.dat which contains the integer 0. Then write a Java application that reads
    this file and increments the integer by one. Then the new integer is written back to the file counter.dat . This means every time we open and close the file the integer number is incremented by 1.
    6. Write a Java application using two for loops to produce the following pattern of asterisks.
    7. Read in three integers of data type long from the keyboard. Then add the three numbers. Type convert
    the sum to data type double and divide by 3.0 (data type double ) to find the arithmetic mean.
    pls provide codes/ideas ASAP

    hi,
    >>Construct a class ReverseContent, which makes a copy of the input file.
    Read each line in the file and print the line in the reverse order in the copied file. Solution to this problem:
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    public class ReverseContent {
        /** Creates a new instance of ReverseContent */
        public ReverseContent() {
        public static void main(String args[])
            FileInputStream fin=null;
            FileOutputStream fout=null;
            try {
                if(!(args.length>=2))
                    System.out.println("run as: java ReverseContent sourcefilepath destinationfilepath");
                    return;
                fin=new FileInputStream(args[0]);
                fout=new FileOutputStream(args[1]);
                int temp=0;
                String content="";
                while((temp=fin.read())!=-1)
                   content+=String.valueOf((char)temp) ;
                fin.close();
                content=content.trim();
                StringBuffer sbuf=new StringBuffer(content);
                sbuf.reverse();
                content=sbuf.toString();
                fout.write(content.getBytes());
                fout.flush();
                fout.close();
            } catch (FileNotFoundException ex) {
                ex.printStackTrace();
            catch(IOException ex){
                ex.printStackTrace();
            finally
                try {
                    if(fin!=null)
                        fin.close();
                    if(fout!=null)
                        fout.close();
                } catch (IOException ex) {
                    ex.printStackTrace();
    }

  • Pls help, (Access is denied) error when file upload to a local directory

    Hi, I've been stuck on this for the past few days and I am quite new at developing web application.
    Here is the problem that I am having, I don't know why it keeps on saying "access is denied" when I can see that the file is uploaded to the directory. I am developing a JSP page file upload using Jakarta Fileupload v1.2. However, every time when I try to upload a file to a local path (e:\temp) on the server I keep getting this problem. I even try looking into the server.policy file on glassfish but no luck, your help is appreciated thanks
    Here's the log after file upload, note: I can see the file being uploaded in the e:\temp but why does it keep telling me the error?
    I'm using netbean 5.5.1 and glassfish v2
    Initializing Sun's JavaServer Faces implementation (1.2_04-b10-p01) for context '/TestReport'
    java.io.FileNotFoundException: e:\temp (Access is denied)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    at org.apache.commons.fileupload.disk.DiskFileItem.write(DiskFileItem.java:390)
    at org.apache.jsp.ProcessFileUpload_jsp._jspService(ProcessFileUpload_jsp.java:83)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:80)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:818)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:818)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:258)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:189)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:81)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:193)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:611)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:558)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1067)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:255)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:549)
    at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:790)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:248)
    at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:199)
    at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:345)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:93)

    Hi, I've been stuck on this for the past few days and
    I am quite new at developing web application.
    Here is the problem that I am having, I don't know
    why it keeps on saying "access is denied" when I can
    see that the file is uploaded to the directory. I am
    developing a JSP page file upload using Jakarta
    Fileupload v1.2. However, every time when I try to
    upload a file to a local path (e:\temp)Hi there,
    Typically in a Web Container, applications are deployed to a folder called webapps (this is the case in Tomcat, I'm not sure about Glassfish)
    So the directory structure is something like C:/Tomcat/webapps/MyApplication/other folders......
    When you upload a file , you normally can upload it only to a folder under your application and not to a folder outside the application.
    First you can try to upload the file to a folder under the webapp and not outside the webapp, once you get that to work --- then internally in the Servlet you can write code to save the file to any directory on the server, but the Servlet must be located on the server.

  • I have iphone 5. Have no sound and home button is not working pls help., I have iphone 5. Have no sound and home button is not working pls help.

    My iphone 5 has just stopped giving any sound no ringtones, no key clicking or button sounds nothing at all. And the home button has stopped working. Has anyone heard of software 6.1.4 being corrupt Im just updating software at the moment to 7.1. If anyone can offer a pieace of advise would be much appreciated.
    MANY THANKS
    JAY

    The iPhone warranty is not international and as you purchased in
    Malaysia the warranty is only valid in Malaysia
    You could try taking to an iPhone Authorised service provider
    in India but there have been many similar posts to yours
    and I am not aware  of them assisting  with an iPhone from
    outside India

  • HT4061 somebody help anybody pls help i have an ipad 2 in recovery mode and i have tried restoring it but its has not worked for a month plus now

    my ipad just keep seeing the cable pointing to the itunes logo what should i do

    Have you been through recovery mode?  If not, place your device into recovery mode as described here.  You may have to try this more than once to succeed.
    http://support.apple.com/kb/HT1808
    If you have been through this, take your device in to an Authorized Apple Service Center.

  • Hi frnds this is the code for dynamic creation of users in plsql but these statements r not executing so pls help me for this error

    DECLARE
    n NUMBER;
    BEGIN
    n:=1;
    WHILE(n<=10)
    LOOP
    CREATE user EM||n IDENTIFIED BY KLU;
    GRANT CREATE SESSION,GRANT ANY PRIVILEGE TO EM||n;
    COMMIT;
    n:=n+1;
    END LOOP;
    END;

    Hi,
         Here is the dynamic query for creating user and to give grants to user,
    DECLARE
       n         NUMBER;
       cr_user   VARCHAR2 (300);
       gr_user   VARCHAR2 (300);
    BEGIN
       n := 1;
       WHILE (n <= 10)
       LOOP
          cr_user := 'CREATE user EM' || n || ' IDENTIFIED BY KLU';
          gr_user := 'GRANT CREATE SESSION,GRANT ANY PRIVILEGE TO EM' || n || '';
          EXECUTE IMMEDIATE cr_user;
          EXECUTE IMMEDIATE gr_user;
          n := n + 1;
       END LOOP;
    END;
    Edited: Removed When OTHERS Exception Handling from Code.
    Cheers!

Maybe you are looking for

  • How to drop multiple tables in one statement

    I could used to run the below syntax to drop multiple tables in MS SQL, but it doesn't work in Oracle seems like, I am using free Oracle SQL Developer. Not a big deal but wanna know if this can be done. Thanks, DROP TABLE A, B, C, D, F

  • BPM "Fork" step question

    Concerning  fork step : Here is the documentation : You use a fork () when you want to continue a process in branches that are independent of each other, for example, to communicate with two systems that are independent of each other. The branches of

  • Special discount after exceeding particular sales value

    Hi all, I have a query on configuring special discount after exceeding particular sales value. Our company has introduced 10 new products and if any customer buys those products for Rs.50,000 per month, then any of those products are sold at a specia

  • How to configure PI for Central SLD ?

    HI Guys, we have installed PI 7.0 NW2004s SR2 and now we need to configure the syatem as Central SLD.  can any body breifly explain how to do this ? any help would be really appreciated Thanks, srini

  • Received email but it has no content

    So, I checked my email today, got some new mail in on a couple of different accounts. I click on the email and there is no content. Nothing. I check the other account, same thing, but it is only in a few recent emails. I check the mail via webmail an