N1 SPS TIP : Using Public API to get information from N1SPS

Hello Sathish,
thanks for the nice blog http://blogs.sun.com/sunnydays/entry/n1_sps_tip_using_public
Can I use the output formatter (-o raw) like in the cli?
I tried this an got an:
com.sun.n1.sps.client.IllegalArgumentsException: Illegal argument to command pe.p.lo. (024116)In our special case I am interest in more detailed output if a plan fails and in the java API I got only 'None' as result. I know in cr_clij (jython) I have to use execStr and can capture the output in a stream.
Thanks
Carsten

The below query will meet your requirement, but payment amount won't matches with some cases see below .
1) Check Payment/EFT Payment for more than one invoice we will pay that time invoice amount is
not equal to payment amount, Payment amount is greater than Invoice Amount.  This will be controlled in Report level.
if you develop report using this query, there you can control this issue.
SELECT aia.vendor_id, aps.vendor_name, aia.invoice_id, aia.invoice_num,
       aia.invoice_date, aia.invoice_currency_code, aia.payment_currency_code,
       aia.invoice_amount, aia.amount_paid, aia.payment_method_lookup_code,
       aia.payment_method_code, aia.SOURCE, aia.invoice_type_lookup_code,
       aia.voucher_num, aca.amount payment, aca.bank_account_name,
       aca.check_id, aca.check_number, aca.currency_code,
       aca.payment_method_lookup_code, aipa.accrual_posted_flag,
       aipa.cash_posted_flag, aipa.posted_flag
  FROM ap_invoices_all aia,
       ap_checks_all aca,
       ap_invoice_payments_all aipa,
       ap_suppliers aps
WHERE aia.invoice_id = aipa.invoice_id
   AND aca.check_id = aipa.check_id
   AND aia.vendor_id = aps.vendor_id
if it's meet your requirement pls check the Correct/Helpful Answer for your question.
you can modify this query here and there as per your required fields.
Thanks
Hari

Similar Messages

  • Creating Job material using public API from WIP

    Take the entered component part number and search in the WIP job material requirements. This should use a WIP API. If the material is found, increment the quantity. If material is not found, create the job material using public API. (Provide WIP API details)
    The java object, oracle.apps.csd.schema.server .CsdHvWipJobPvtEO is a wrapper to call WIP API. This should be used to create material requirements is this the procedure to create job material Req.
    from OAF how we have to create Job material transaction

    Hi Pat,
    What is your SBO version? I've seen several cases in which the login/connection procedure (both in the client and via DI API) has become much slower after upgrading to SBO 2005.
    Do you experience the same slowness when connecting via DI API in a non-WebService setting?
    I would not recommend using DI API in a web service context in the first place. DI Server would give you a much more robust, stable and scalable infrastructure to build upon.
    Henry

  • Connectoriviews to get information from db system using connector framework

    Hi,
    How to Develop Connector iviews to get information from DB system by using Connection Framework API?
    please give one example to dev connector iviews to get info from db system uisng connector frame work api.
    if any body know please help
    Thanks,
    Sid

    Hi,
      For any external database like oracle or sql, you can use JDBC Connector iView.
    [Creating iViews for Databases (JDBC)|http://help.sap.com/saphelp_nw04/helpdata/en/f5/eb516b0e6a11d7b84900047582c9f7/frameset.htm]
    If you want to use SAP DB, then you can go for SAP connector iView
    [Creating iViews over Enterprise Applications and Databases|http://help.sap.com/saphelp_nw04/helpdata/en/f5/eb51610e6a11d7b84900047582c9f7/frameset.htm]
    For other iViews based on SAP systems.
    [Running the System Landscape Wizard|http://help.sap.com/saphelp_nw04/helpdata/en/1f/bddf3d48b05d5ae10000000a11405a/frameset.htm]
    Check this thread for an example.
    Creating JDBC System in SAP EP For SQL Server 2005
    Regards,
    Harini S

  • Can i set my iPhone 4 as a new phone then use iCloud to get information from before restoring the phone?

    Can i set my iPhone 4 as a new phone then use iCloud to get information from before restoring the phone? I've restored my iPhone 4 thru iTunes and now trying to set it up using iCloud but it says 'no back ups available'.
    I was upgrading my OS system thru iTunes but the plug on my macbook came out and battery ran flat half way thru. This jammed my iPhone 4.
    I think it's to do with the OS system. That if i take it to the previous OS system it might work. But since i'm in phone set up mode i can't get into general setting to change it back.
    So can i set it up as a new phone and then use icloud to restore info? Or shld i set it up thru iTunes and then iCloud (but since it jammed half way thru upgrading and i've restored i don't think iTunes has any of my previous info)? Or is there something else i can do?

    No. You can set up as a new device or restore from iCloud or iTunes. It looks like you backed up with iTunes, so you can't restore with iCloud. To backup your device in iCloud, go to Settings > iCloud and activate it

  • Question for get information from https site with socket.

    I had tried to send a HTTP request with socket like :
    POST http://xxx.xxx..xxx/bbs/bbsadd.php?blockid=119&title=Hello&content=Hello&clid=101&Ok=OK&s_no=0&mood=1 HTTP/1.0\r\n\r\n"
    Just like this way , I could get some information or submit any message to http site like that .
    But that was not success to get some information for visited https ( like Yahoo ) use the same way .
    I had read some document about the https protocl I knew that had to need SSL for validate .
    But what should I do as a socket program ?
    package sailing;
    import java.net.*;
    import javax.net.ssl.*;
    import java.io.*;
    public class ReceiveMail
         //private Socket toYahoo;
         private SSLSocket toYahoo;
         private SSLSocketFactory factory;
         private BufferedReader read;
         private DataOutputStream write;
         private String login;
         public ReceiveMail(String userName,String userPassword)
              try
                        //this.toYahoo=new Socket("202.43.216.165",80);
                        this.factory=(SSLSocketFactory)SSLSocketFactory.getDefault();
                        this.toYahoo=(SSLSocket)this.factory.createSocket("202.43.216.165",443);
                        //this.login="POST https://edit.bjs.yahoo.com/config/login?.src=ym&login="+userName+"&passwd="+userPassword+" HTTP/1.0\r\n\r\n";
                        this.login="POST https://edit.bjs.yahoo.com/config/login?.src=ym&login="+userName+"&passwd="+userPassword+" HTTP/1.0\r\n\r\n";
                        byte[] makeBytes=this.login.getBytes();
                        this.write=new DataOutputStream(this.toYahoo.getOutputStream());
                        this.write.write(makeBytes,0,makeBytes.length);
                        this.write.flush();
                        this.read=new BufferedReader(new InputStreamReader(this.toYahoo.getInputStream()));
                        String readRes="";
                        String webFileCode="";
                        while((readRes=this.read.readLine())!=null)
                             webFileCode+=readRes;
                        System.out.println(webFileCode);     
              catch(IOException e)
                   System.out.println(e);
         public static void main(String args[])
              new ReceiveMail("sailing","sailing");
    }================================
    If this program perform successful , I think it will print code that login Yahoo Mail success .
    But I just could get an error code .................
    Why?

    Hi,
    According to your post, my understanding is that you wanted to get information from multiple lists once a user was selected.
    There is no out of the box way to accomplish this with SharePoint.
    As a workaround, I recommend to create a list to store the user names. Then you can create relationships between lists using the browser UI. Once you select the user name in the parent list, the associated items will be displayed in the child lists.
    Here are two great articles for you to take a look at:
    http://office.microsoft.com/en-in/sharepoint-server-help/create-list-relationships-by-using-unique-and-lookup-columns-HA101729901.aspx#_Toc270607416
    http://msdn.microsoft.com/en-us/library/ff394632.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to get information from Oracle's views

    Hi,
    I need to get information from Oracle's views about:
    * in which table's column is set index
    * what type of index is on this column
    * name of a trigger which exist on a table
    * type of trigger (before, after etc)
    * trigger status (enable, disable)
    Thanks for help.

    Hi..
    One of the best way to know which views to use is doing select * from dict where table_name like 'xxx';
    For example in your case you needed to know about the indexes and triggers so
    SQL> select * from dictionary where table_name like 'DBA_IND%';
    TABLE_NAME                     COMMENTS
    DBA_INDEXES                    Description for all indexes in the database
    *DBA_IND_COLUMNS                COLUMNs comprising INDEXes on all TABLEs and CLUSTERs*
    DBA_IND_EXPRESSIONS            FUNCTIONAL INDEX EXPRESSIONs on all TABLES and CLUSTERS
    DBA_INDEXTYPES                 All indextypes
    DBA_INDEXTYPE_COMMENTS         Comments for user-defined indextypes
    DBA_INDEXTYPE_ARRAYTYPES       All array types specified by the indextype
    DBA_INDEXTYPE_OPERATORS        All indextype operators
    DBA_IND_PARTITIONS
    DBA_IND_SUBPARTITIONS
    DBA_IND_STATISTICS             Optimizer statistics for all indexes in the database
    10 rows selected.
    SQL> select * from dictionary where table_name like 'DBA_TRI%';
    TABLE_NAME                     COMMENTS
    DBA_TRIGGERS                   All triggers in the database
    DBA_TRIGGER_COLS               Column usage in all triggers
    Reading the comments you can know which view to use, then  describe the view and use what you need

  • How to get information from my laptop to my ipad

    I`m new on I-pad
    How to get information from my laptop to my ipad
    Saludos
    Josè Montero

    Heres some Apple Support tips on the subject.
    How to transfer and sync content to your computer:
    http://support.apple.com/kb/ht1296
    How to transfer files between your computer and mobile apps:
    http://support.apple.com/kb/PH1693
    How to do file transfers:
    http://support.apple.com/kb/HT4094

  • IS Possible to get information from GetUserProfileByName inside of repeat section

    IS  Possible to get the values from GetUserProfileByName inside of repeat section? by Codeless
     and then with this result used to filter DDL
    Or GetUserProfileByName  is only useful when it is used for FORM LOAD
    CRISTINA&amp MICROSOFT Forum

    Hi,
    According to your description, my understanding is that you want to use the GetUserProfileByName service in InfoPath form.
    We can get information from GetUserProfileByName inside of repeating section, however you need to give the name of user so that the service can be used to get the details of the user.
    Please refer to the link below:
    http://thinketg.com/using-infopath-and-the-web-service-getuserprofilebyname/
    You can create rules to query for data using GetUserProfileByName, and it is not only useful for form load.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Is it possible to JSP Application get information from login server?

    Hi,
    Here, we gonna create a aplication using Portal for autentication and autorization.
    We gonna develop JSP pages to navigate into our application and we'll put them into portal.
    My question is, is it possible to the jsp's, created by us, to get information from the user loged on, so it can generate html's for each users?
    If so, how to do that?
    I know i can give access to the JSP's for each user, by creating portal objects for each of them, i'd like to know if the
    thanks everyone!

    No, if Firefox is set to delete browsing history when it closes, that data wouldn't be passed to the Sync server.

  • Prime Infrastructure 2.1 - getting informations from Nexus7Ks about ip to mac to physical pot table

    Hello,
    does anybody know if there's a way to get the following informations out of nexus 7000 and nexus 5000/2000 switches?
    Environment/requirements:
    - snmp v3 has to be used
    - N7ks are configured with several vrfs
    - SW N7K: 6.2.8a
    - SW N5K: 6.0(2)N2(4)
    - Prime Infrastructure 2.1
    I want to see under Clients and Users entries about mac-address, ip-address, interface and vlan.
    At the moment, I only get informations from N5Ks/N2Ks without ip-addresses. From the N7ks I don't get any informations.
    Any hints or tricks, how to get these informations with PI2.1 out of the nexus boxes?
    best regards
    Markus

    Hi Andy,
    Check the below link , as per this Doc .. User tracking is supported in 2.0:
    http://www.cisco.com/en/US/prod/collateral/netmgtsw/ps6504/ps6528/ps12239/guide_c07-729089.html
    Thanks-
    Afroz
    [Do rate the usefu post]

  • How to get information from ODBC sources to Forms Builder environment

    Hi,
    Could anyone help me, to get some examples or more information, that how can I get information from ODBC sources to Forms Builder environment. I have a need to read data for example to LOV.

    If you are on Forms 6i you install the Oracle Client Adaptor from the Forms CD. You then have a way of connecting to ODBC datasources.
    To connect to ODBC at the same time as you are connected to Oracle you can use the EXEC_SQL package to create a second connection via odbc and issue select statements against that datasource.

  • Get information from multiple lists

    Hi,
    Environment: - SharePoint 2013
    Question :- My client needs a get information from multiple list from the same site to be displayed on the page, 
    they would need a dropdown list with the user names , and once a user is selected all the tasks and calendar entries of the user must be filtered and displayed.
    Please suggest how this can be achieved.
    Satyam.

    Hi,
    According to your post, my understanding is that you wanted to get information from multiple lists once a user was selected.
    There is no out of the box way to accomplish this with SharePoint.
    As a workaround, I recommend to create a list to store the user names. Then you can create relationships between lists using the browser UI. Once you select the user name in the parent list, the associated items will be displayed in the child lists.
    Here are two great articles for you to take a look at:
    http://office.microsoft.com/en-in/sharepoint-server-help/create-list-relationships-by-using-unique-and-lookup-columns-HA101729901.aspx#_Toc270607416
    http://msdn.microsoft.com/en-us/library/ff394632.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Get information from an array saved into a text file

    I am trying to get information from an array saved as a text file to extract the information to build an string. This string will go out from the serial port to a device which will listen this message and it will answer the question. All the information sended sequencially it has to be obtained from that array. Every row contain one instruction and this has to be sended one after one.
    Could you tell me if is possible to make this driver? And if you have a similar driver, Where can I get it from?

    The VIs that I would suggest using are found in the String Function Pallet:
    Spreadsheet String To Array
    Array To Spreadsheet String
    The delimiter should be the termination character. These VIs will adapt to a string array.
    For the Spreadsheet String To Array wire an empty string array and use %s as the format. The delimiter should be the termination character of the text file, most likely a end of line (\r\n).
    For the Array To Spreadsheet String the delimiter should be the termination required for your serial device.
    Using a combination of these two VIs should provide you the functions required to make the driver.

  • Updated to firefox 4.0. since then my computer is very slow accessing the internet, websites and getting information from within a website.

    Over a week ago I updated my computer to Firefox 4.0. Since then my computer is very slow accessing the internet, websites and getting information from within a website. Also, a tool bar has shown up for YAHOO which I did not request. The old detailed tool bar for Firefox has disappeared. All that now shows for Firefox is the area to enter website urls and an area to enter topic for a Google Search.
    Many times I have to exit Firefox and re-enter it later to access the internet.
    Please advice what I need to do to get back to the speed I had with the older version of Firefox.
    Thank You,
    Dennis

    Over a week ago I updated my computer to Firefox 4.0. Since then my computer is very slow accessing the internet, websites and getting information from within a website. Also, a tool bar has shown up for YAHOO which I did not request. The old detailed tool bar for Firefox has disappeared. All that now shows for Firefox is the area to enter website urls and an area to enter topic for a Google Search.
    Many times I have to exit Firefox and re-enter it later to access the internet.
    Please advice what I need to do to get back to the speed I had with the older version of Firefox.
    Thank You,
    Dennis

  • When getting information from SLD, should SMSY create a system for EP?

    I've connected my EP NW2004s system ES3 to the SLD.  I connected Solution Manager 4.0 to SLD so that SMSY can get information from the SLD.  When I run the import, I see:
    1. ES3's server sapeps03 created under SMSY Landscape Component ->Server.
    2. ES3 's database ES3 created under SMSY Landscape Component-> Database.
    3.  ES3 Java component entry created under SMSY Landscape Component->System Components->Java System.
    BUT, I don't see an ES3 entry under SMSY Landscape Component->Systems->SAP Netweaver.  Shouldn't there be?  Do I have to create this manually?
    The ECC 5.0 system RS3 got created under SMSY Landscape Component->Systems->SAP ECC.   Why not the EP system?
    Thanks.
    Regards,
    Mel Calucin

    Hello Mel,
    the SMSY transaction had a lot of issues resolving the appropriate Java product with older versions of Solution Manager. For instance, you can take a look at the SAP Note 1392992.
    Newer versions of Solution Manager (currently on SP24) resolve most of the issues. The portal is certainly detected successfully.
    My recommendation would be having Solution Manager updated always with the latest Support Package stack available.
    All the best,
    Andreu

Maybe you are looking for

  • HTTP error: 500 (Internal Server Error) while creating content server repst

    Hi All, I am getting the HTTP error as mentioned below, HTTP error: 500 (Internal Server Error)"CreateTab ContentStorage, connect error SQLConnect failed, [Microsoft][ODBC Driver Manager] Data s My content server is running on a Microsoft Cluster Env

  • Can't copy image/video from Nok 5800 XM to PC

    Owh...i have no idea again....... i've tried many ways, but the files are failed to be copied, i've tried by using nok pc suite&mass storage mode to transfer them, but it's always failed. it seems that the files i copy are corrupted or uncompleted. l

  • McAfee not working properly.

    BT saying they cannot fix technical problems and to search Bt for advice. Help. Have green box in left hand corner, but red shield  in right hand corner. saying bt cannot scan. Sorry not the tech type, can anyone help this techno **bleep** out please

  • Quicktime, Lion and Multiple Monitors

    I just updated to 10.7 Lion, and I love it so far.  My issue, however, is, sometime I hook my Aluminum MacBook up to my external monitor, and watch a video on there using Quicktime.  When I try to go full screen in 10.7, it always brings the video to

  • Multiple OMAs on same OMS Host

    Hi - I have not tried this but wanted to get some input if i can do it etall. I have two different OMS servers. I'm planning to install additional agent on each OMS and monitor other OMS---meaning... OMS1 - has its own agent OMA1 OMS2 - has its own a