DB collectors Sub-offset

Hi
is there anyone who had used addSubParser(subparser) method of Class
SQLQuery ? I need a working example on the usage of sub offset feature.
My Regadrs
Engin
ekaptanoglu
ekaptanoglu's Profile: https://forums.netiq.com/member.php?userid=3547
View this thread: https://forums.netiq.com/showthread.php?t=46555

Hi ekaptanoglu,
The Oracle Collector has an example. Just download it from our Plug-ins
site and unpack it, then look at the release.js file for details. Also
note how the sqlquery.base file has a subtly different query - you'll be
using >= instead of >. If you have any further questions, post here.
DCorlette
DCorlette's Profile: https://forums.netiq.com/member.php?userid=323
View this thread: https://forums.netiq.com/showthread.php?t=46555

Similar Messages

  • Parsing char[] to String

    I am trying to parse a char[]. Everytime I find a '\n' character I want to take the offset to that position and create a String from it. It doesn't seem to work like expected.. The strings contain parts of the array that shouldn't be there. here is some sample code that I am using. Let me know if anyone has any suggestions..
    Thanks
    public void parseArray( char[] buf ){
    int offset = 0;
    Vector v = new Vector();
    for( int i=0; i < buf.length; i++ ){
    if ( buf[ i ] == '\n' ){
    v.add( new String( buf, offset, i ) );
    offset = (i +1);
    }

    Try:
         public Vector parseArray(char buf[]) {
              Vector v = new Vector();
              String s = new String(buf);
              int offset =0, pos;
              do {
                   pos = s.indexOf('\n',offset);
                   if (pos != -1) {
                        String sub = s.substring(offset, pos);
                        v.add(sub);
                        offset = pos+1;
              } while (pos != -1 && offset < buf.length);
              if (offset < buf.length)
                   v.add(s.substring(offset));
              return v;
         }

  • My subs look good in dvdsp but when I burn an example the subs are too high in the frame.All my offsets are 0 and the alignment button is bottom.

    My subs look good in dvdsp but when I burn an example the subs are too high in the frame.All my offsets are 0 and the alignment button is bottom.
    Any thoughts

    Try creating a new project, and bring in a short clip and one or 2 subtitles and see if you see the same behavior.  If you don't,  something's probably wonky in the project.  If the sample behavior has the same problem, if you want to send it to me with the associated media, I'll take a quick look.
    My email is [email protected]

  • Offseting entry to inven posting for finished product in sub  contracting

    When we post goods receipt in subcontracting inventory account is debited with finished product.What is the account name to which offsetting entry is made & how to configure this in automatic account determination.
    1) Same question was already asked and moved to T&P form.
    2) Basic question.
    3) Points will be unassigned.
    Edited by: Csaba Szommer on Apr 16, 2011 7:58 AM

    Hi,
    If Material has Price Control as "V" (MAP)
    (BSX) Stock A/c of Assembly - Dr
    (BSV) Change in Subcon Stock - Cr
    (FRL) Subcontracting Charges - Dr
    (WRX) GR/IR Clearing A/c - Cr
    (BSX) Stock A/c of Components - Cr
    (GBB-VBO) Consumption A/c of Components - Dr
    If Material has Price Control as "S" (Std. Price)
    If Material is having Price Control as "S" then Price Difference A/c will also in picture.
    This depends on configuration; SPRO > MM > Inventory Management and Physical Inventory > Goods Receipt > Price Differences for Subcontract Orders at Goods Receipt
    Price Differences for Subcontract Orders at Goods Receipt
    In this step, you configure for each valuation area whether price differences are generated for a Subcontract order at the time of a goods receipt if the manufactured material is managed at standard price and the standard price varies from the receipt value (externally performed service + value of components + delivery costs).
    Example
    Finished product: $400 (value at standard price)
    Subcontract order:
    o Ext. service : $250
    o Components : $100
    Posting schema without price differences:
    Stock account FERT : 400 +
    Stock change : 400 -
    GR/IR clearing acct : 250 -
    External service acct : 250 +
    Compon. stock account : 100 -
    Consumption account : 100 +
    Posting schema with price differences:
    Stock account FERT : 400 +
    Stock change : 350 -
    Price difference : 50 -
    GR/IR clearing acct : 250 -
    External service acct : 250 +
    Compon. stock account : 100 -
    Consumption account : 100 +
    And cost center is mandatory for subcontracting process
    the accounts for the BSX FRL and GBB-VOB needs the cost elements
    Thanks
    Diwakar

  • How to get exact height of HTML line with SUB tag in JTextPane?

    Hi, this is my first post. I`ve been searching forum for an answer for a week, but didn`t find one.
    I have HTMLDocument inside JTextPane(exacty inside my class that extends it - MyTextPane). I want to do some custom painting in JTextPane so I need to be able to know exact pixel witdh for each line in the document. Easy except one thing, when I use SUB tag the width of the line cannot be simply calculated using FontMetrics, because I don`t know if the text inside SUB tag has lower font size and I don`t know its Y offset to normal line.
    I tried get these information from HTMLDocument using attributes from leafElements representing lines, but there seems to be a problem too.
    I pass this text:
    "(1) Line<SUB>jW</SUB><BR>(2) TextB"
    to setText method of MyTextPane, this method is overriden so it changes text Font
    public void setText(String s) {   
      super.setText(s);   
      setJTextPaneFont(this, new Font("Arial",Font.PLAIN,36), Color.black);
    }This is how the Element Structure looks like:
    Format is Element +": "+elementText+"|"+fontFamily+" "+fontSize
    BranchElement(html) 0,22: \n(1)?LinejW (2)?TextB\n|Monospaced 12
    ---BranchElement(head) 0,1: \n|Monospaced 12
    ------BranchElement(p-implied) 0,1: \n|Monospaced 12
    ---------LeafElement(content) 0,1: \n|Arial 36
    ---BranchElement(body) 1,22: (1) LinejW (2) TextB\n|Monospaced 12
    ------BranchElement(p-implied) 1,22: (1) LinejW (2) TextB\n|Monospaced 12
    ---------LeafElement(content) 1,9: (1) Line|Arial 36
    ---------LeafElement(content) 9,11: jW|Arial 36 <-----------THIS IS THE LOWER INDEX
    ---------LeafElement(content) 11,12: |Arial 36 <-----------THIS IS just space character '\u020'
    ---------LeafElement(content) 12,21: (2) TextB|Arial 36
    ---------LeafElement(content) 21,22: \n|Arial 36
    The height of Arial 36 is according to FontMetrics 43(and it really is), but height of the lowerIndex is just 40 pixels(on the screen), not 43 as I would expect. And I still dont have offset, where does the lower index starts paint itself.
    Is there any problem with my setText method, so that it changes font style for LOWER INDEX?
    I am using JTextPane as notEditable, with just one font style for entire document.
    Any suggestion?

    Is there any other way to get these information. I just found that I need that information before I put text it in the document.
    For example I am would like to generate lines:
    paragraph1 - text1
                             text2
    paragraph2 - text1
                             text2
                             text3
    paragraph3<SUB>some note</SUB> - text1
                                                                           text2
    normal text line
    I know what font line will be and I know its AttributeSet. I am trying to get appropriate number of spaces (or left indent) for text2,text3...lines. Then I will pass that string to setText method of JTextPane.
    I am unable to get appropriate width for "paragraph3<SUB>some note</SUB> - ", since text in SUB tag uses probably different font size.
    I am really sorry to bother again. I will think twice what I need before I posting.
    You`ve been very helpful so far Stas.
    Thanks.

  • Sub-contracting P.O

    Hi All,
    We have created sub-contracting P.O and while doing ME2O- create delivery.  We are getting below error msg.
        Depending on the category of the delivery being created, the system needs the following transfer data:
        o   Outbound delivery
            -   Shipping point, Sales organization,Distribution channel
                 Division,Material number,Delivery quantity,Ship-to party
                  Base unit of measure
    Inbound delivery
    Base unit of measure,Conversion factors for converting base and sales units (not for creating/replicating an inbound delivery in a decentralized Warehouse Management system)
    Goods receiving point (shipping point) when a delivery is
        created in decentralized WM
    Outbound and inbound deliveries from goods movements
    Shipping point
          -   Sales organization,Distribution channel,Division,Material number,Delivery quantity,Ship-to party,Base unit of measure
      Plant and sales unit transfer data is always mandatory.
    Please Anybody can tell me what configuration we have to do.
    Thanks and Regards
    Chandru

    You have to set up the shipping details just as you would do for a stock transport order with transfer posting happening through SD route. You have to set the delivery type for this document and the material should have sales/shipping data. Only then will the system be able to pick up the delivery type & thus create a delivery.
    This is given in detail in help.sap.com -
    From SC Stock Monitoring for Vendor as a Delivery via Shipping
    From the SC Stock Monitoring for Vendor list, you can also create a delivery via Shipping. The advantage of this procedure is that you have shipping documents and delivery notes for the shipment of the materials to be provided to the subcontractor (refer to  Goods Movements via Shipping)
    To create a delivery, the following data has to be maintained in the system:
    the plant must be assigned a sales organization, a distribution channel, and a division. You can define this in Customizing for Purchasing, in the step Set Up Stock Transport Order.
    A delivery type has to be defined for the plant from which the items are to be delivered. You can define this in Customizing for Purchasing, in the step Set Up Subcontract Order.
    If you want to reference a reservation when you create a delivery, you also have to set the Predecessor necessary indicator to L (Provision to subcontractor necessary) when defining the delivery type. This means that the requirements generated by the reservations can be correctly offset against the deliveries created. You can define this in Customizing for Shipping, in the step Define Delivery Types.
    The vendor for the stock with subcontractor must be entered as the customer in the organizational units in the delivering plant, such as sales organization, distribution channel, and division.
    The material to be provided has to be entered for the organizational units in the delivering plant, such as sales organization, distribution channel, and division.
    The combination of shipping condition (from the subcontractoru2019s customer master record), loading group (from the material master record for the components to be provided), and the plant have to be assigned to a shipping point. You can define this in Customizing for Shipping, in the step Assign Shipping Points.
    To create a delivery, choose Edit ® Create delivery. A dialog box appears, in which you can enter the data required to post the delivery. The system posts the delivery in the background and, after posting, it informs you in a dialog box how many items were posted.

  • Package Class in Transport Collector

    When i Collect my Objects in the Transport Collector, I find that many of them are attached to a different Package class. there many such sub objects too. some of them i changed by right click -> change object directory. but some 300+ objects are still residing in another package.
    CAN I change the same by updating a table called TADIR by writing an ABAP code ??
    Or shud i continue to manually change the class.
    Pls advice. thanks.

    Hi,
    if you change the object directory entry (e.g. package of an object), the SAP system is doing some more things than just changing the TADIR table: it is locking the object and connecting it to a transport request, also some checks are performed, e.g. whether the namespace of the package is allowed for the object. To avoid inconsistencies, I would <b>not</b> prefer writing an ABAP in this case.
    Stephan

  • Report containing 15 sub reports crashing - Crystal Reports 2008

    I am using Crystal report 2008 with all latest service packs applied. I have more then 20 different reports wich work absolutely fine and never crash. One of my report contains 15 sub reports since its bringing data from 15 different queries. This consistently keeps crashing everytime I try to run it. Not sure what could be the root cause.
    We are using Postgres database and connected to it with  ODBC connection using Microsoft DSN.
    - All Subreport data is being displayed on Report Footer
    - All subreports are included in the Main report  page header section. (I have also tried doing it on report footer section but it still crashes)
    I have tried searching through the forum and did not find similar issue resolutions. Did someone face similar problems before?
    The crash message is:
    "crw32.exe has encountered a problem and needs to close. We are sorry of the inconvenience."
    Error report contains this data:
    AppName: crw32.exe      AppVer: 12.2.0.290      ModName: psqlodbc35w.dll
    ModVer: 9.0.2.0      Offset: 0004c538
    I am using Windows XP
    Crystal Report Version Details:
    CR Developer Version 12.2.0.290
    Product Type: Full
    Let me know how can I debug this issue? Any help is appreciated.

    @Don - We performed extensive testing for this crash issue and found that now this crash is not happening only in one scenario. So we have partially fixed this.
    Now the report crashes if I get disconnected from database and reconnect. This is what happens
    1. open the report in crystal report 2008
    2. try to run the report when db is connected- it works fine.
    3. Now disconnect the database (we are using ssh tunnel to connect to db so we just close the tunnel)
    4. now try to refresh the report - it fails to retrieve data.
    5. Now close the report without saving it.
    6. Now Close Crystal Report.
    7. Now Connect the DB using ssh tunnel so crystal report can connect.
    8. Now open Crystal Report
    9. Launch the target report.
    10 Preview the report - it works for first time.
    11. Now do a refresh keeping same parameters - Report crashes here.
    - I tried these steps with some of my other reports and they do not crash.
    - Now I have only one report which contains a Postgres Query with date range,order by and a union join.
    - No subreports now - I am trying to run this one subreport as a standalone report which I created from scratch(using blank report wizard) and just copied the query.
    Any more pointers would help.

  • Automatic Payment Program(F111) not picking Bank Sub accounts

    Dear all,
    The entiries genertaed from automatic payment program(F111) is not picking the bank sub accounts (Receipts/Payment GLs) which are given in the following node:-
    Financial Accounting --> Bank Accounting --> Business Transactions -->Payment Transactions --> Payment Request --> Define Clearing Accts forReceiving Bank for Acct. Transfer
    It is picking the Main Bank GL, which has given in bank master(FI12).
    Please advise.
    Thanks & regards
    Ramesh Nair

    Hi,
    The config : Financial Accounting --> Bank Accounting --> Business Transactions -->Payment Transactions --> Payment Request --> Define Clearing Accts for Receiving Bank for Acct. Transfer
    Is to decide bank sub account of the sending bank, when you are doing Bank to Bank transfer. This is manditory for cash management bank to bank transfer. Please read the config documentation again.
    I just cut and paste from SAP documentaion.
    "In this activity you define the offsetting accounts for the receiving bank accounts for bank account transfers (payments between house bank accounts) which should be posted to when payment is made.
    The entries are necessary when payment requests are created for cash management payment advice notes that result from cash concentration, for example. The offsetting accounts for the paying house bank are determined by the payment program specifcations and the payment methods used. The offsetting accounts for the receiving house bank cannot be determined from these specifications, however, but can be defined in this section. "
    Now, when you are creating payments with F111 and if you want to get sub accounts for house bank you have to do the following config.
    F111 -> Maintain Configuration -> Bank determination -> Bank accounts ( for each accont id and payment method combination ).
    Then you will see payments from this sub accounts and you have to setup posting rule to clear this account if you are doing EBS.

  • Open item management - offsetting entry

    hi all,
    i do not understand the sentence below of the word offsetting entry.
    can have the double entry example of what does it mean by offsetting entry.
    thanks
    set up accounts with open item management if offsetting entries are to be assigned to the postings made to these accounts. postings to these accounts represent incomplete transactions.
    set up accounts without open item management if no offsetting entry is to be made against a posting to this account.

    Hi
    There are certain entries , that have offsetting entry, ie - for evry debit there is a credit and vice-versa.These accounts are maintained on open item basis.One example will make u clear
    GR/IR clearing account is an account that is maintained on Opem item basis.
    when u received the goods against PO the entry is
    Dr - Inventory account
    Cr - GR/IR clearing account
    Now this GR/IR clearing account need to be offset othetwise it will be shown in books of accounts unless and untill it is offset by a offsetting entr (here Dr entry as it is already credited)
    After doing the invoice verification the entry wud be-
    Dr - GR/IR clearing account
    Cr - Vendor account
    Now the account is offset and cleared.It will not come to the ooks of account if it is totally cleared
    Similarly bank sub accounts(clearing accounts) are also treated in same way
    If there is no offsetting entry for that, then there is no ned to maintain the account on open ietm basis
    Hope it will make u clear
    Regards
    Anup
    Points are welcome

  • Clearing Bank Sub-account using F-03 creates FX diff for FX invoice

    I make payments in foreign currency with my online FX provider.
    I enter the invoice (FB60) in foreign currency (eg IDR 200,000,000).
    I then clear the invoice with a payment (F-53) again in foreign currency (eg IDR 200,000,000), overriding the SAP generated OB52 FX rate to match the FX rate that was actually used when purchasing the IDRs to make the payment.
    The withdrawal from our bank account (eg AUD 25,000) is posted via FF_5.
    The local currency amount of the Payment is the same. (eg AUD 25,000)
    Viewing the bank sub-account in FAGLL03 shows a debit and a credit of AUD 25,000.
    When I manually clear the bank sub-account using F-03, I set the currency to the local currency (AUD).  The amounts from the payment side now appear as different AUD amounts.
    I select the transactions that I want to clear.  There is a balance which becomes zero when you toggle between Clearing Currency and Local Currency when you click the "Clearing Curr <> Local Curr" button.
    I am forced to charge off the Clearing Currency difference and enter an FX gain or loss item. 
    When I simulate, SAP automatically generates offsetting FX gain or loss items.  They have Document Currency AUD zero amount, Local Currency AUD non-zero amount and post to the Cost Centre that the original expense was posted to on the FB60 invoice. 
    Is there a way to avoid these FX transactions as all I'm doing is a clearing for bank reconciliation purposes on amounts that are the equal?  There is no actual FX gain or loss.

    Hi,
    When you select open items within clearing procedures, the amount in local currency is recalculated as at the translation date/clearing date from the foreign currency amount.
    The solution is we have to set flag u2018No exchange rate differences for clearing in local currencyu2019 through SAP Configuration (Transaction code: OBY6).
    Regards,
    Krishna Kishore

  • Workflows | Defining sub-workflows and capturing wfActions

    Hi All,
    I am trying to define a sub-workflow post which I want to make a jump based on the action taken in the one step sub-workflow. I tried to use the wfActions to find the action taken at a step, but the applet shows the following error:
    Offset in runtime evaluation is at character 17. Could not find the parameter 'wfAction'.
    I even tried to do a <$wfSet("myvar",wfAction)$> which gave the same error.
    I tried to capture this action in the Update section of the script as well as in the Exit section. Has someone used this parameter, has it worked on UCM 10gR3.
    Thanks in advance
    - AU

    Kara,
    Thanks for that
    Paul
    "Kara Moscoe" <[email protected]> wrote:
    Your sub-workflow template definition must be defined for the current
    organization, must have a Start node defined as "Called", and it must
    be
    marked "Active" for it to display in the Start Workflow dialog.
    Kara
    "Paul Clements" <[email protected]> wrote in message
    news:3b8e5800$[email protected]..
    Hi,
    I am trying to get wlpi to allow me once a workflow is completed tostart
    another
    different workflow. Hence I have tried on the done icon to add anaction
    of type
    start workflow but when the start workflow window pops up there areno
    workflows
    that I can start even though some exist. Can someone shed any lighton
    what I
    am doing wrong?
    Many thanks
    Paul Clements

  • Sub contracting scrap

    Hi,
    for which T-codes am using for mvt 544 and 545 to get the scrap from sub-contracting vendor
    rgds

    hi,
    its will be used in case of using special stocks...in tocde MIGO...545, 544- is used for offsetting entry for inventory posting and cost price differences...- its GI receipt sls. or st...with special stock E, O , Q...
    554 - MIGO - For GR and GI - withdrawl for scrap from QI sc stock...
    Regards,
    Priyanka.P
    AWARD IF HELPFULL
    Edited by: Priyanka Paltanwale on Aug 1, 2008 9:29 AM

  • Cash journal - Sub ledger

    My client wants to create subledger (he is in the opinion that if One GL accoount is plitted / classified then it is treated as Sub ledger) to split the Amount in GL Account employee wise, by creating Emplopyee vendor master.
    I heared Document Splitting but is it possible, splitting one GL account? (say Printing & Stationary account is to be splitted according to Emloyee vendor/ employee)... i.e..
    if you take one GL account (Expenses) he wanted to generate a report of GL account based on the employees who expended a part of amount? when...?
    That means, if you open any Expenditure account, it also give a detailed report that the transaction done by whome? ofcourse you may say "Text can be maintained"... but based on text we cannot generate rport naa?
    Is it possible GL Splitting like document splitting? i think no... please correct me / guid me in a possible way
    if yes, Please let me know how it is to be done? and what is different between Document Splitting and GL Splitting?
    Dasu

    Hi
    It is correct that you can get a list for every employee. if you create the as vendors. For all expense GL which have been created as Cost Elements in CO, there is a standard report, which would display the offsetting account number and name. The T Code for the same is KSB1. It basically gives  you the details of expenses per cost element and cost center combination. However, the same would not be available for balance sheet account, say for eg, cash Journal. For that you need to modify a structure to display the offsetting account number in FI reports. Refer the link
    Re: adding a field to FBL3N
    Hope this solves your issue.
    Regards
    Sanil Bhandari

  • Re: Sub Contract postings

    Hi Gurus,
    Here i Posted some documents for sub con process in 4.6c. weather these postings correct or not anybody can tell me:
    Subcon po: xxxxx3
    Goods Issue: xxxxx1 (no accounting document)
    Challan: X2, 2007, s2
    Goods Receipt: XXXXXX3 (FI doc 0222)
    Qty reconcilled (1.050)
    above fi doc posted like this:
    89 xxxxxx   Work in progress                                      0.25
    96 xxxxxx   GRC                          xxxxx10                100.00
    91 xxxxxx   Clearing acc.subcont                                  0.25
    86 xxxxxx   Subcontracting                                      100.00
    99 xxxxxx   Raw materials                                        12.61
    81 xxxxxx   Clearing acc.subcont                                 12.61
    is this entry correct?? give me advice please........
    Scrap = 0.050, reversal qty: 0.050
    Calculation:
    1000g = 100 INR (amount)
    Goods Issued > 1050 g
    Goods Received > 1000 g
    Out of the Goods Received, Goods Scrapped  was > 50 g = 5 INR (amount)
    16% BED on the Scrapped product = 0.80 INR
    Ecs ON BED = 0.02 INR
    Reverse credit (due to scrap)
    FI doc generated: xxx91
    50 xxxx0001   Excise BED  RG23ABED                    I0            0.80-
    50 xxxx0005   Excise RG23A ECess                      I0            0.02-
    40 xxxx9999   CENVAT OFFSET ACCT                      I0            0.82
    kindly give the suggetions and advices in this regard.
    Assign full points for answers.

    Raghav,
    What about price control of material?
    PO Qty = 1050 G
    Order Value = 1000 (What)
    Price = 100 (What Unit).
    Please give me accurate value in terms of
    Order Value = Order Qty * Order Price Unit.

Maybe you are looking for

  • How to find the Web Dnpro component from the Source code ?

    Hi Gurus, Please help me to find out the WD Component Name from the Source Code? Regards Anil

  • Won't log in 7.4

    I have a windows 7 64 bit. Skype will let me enter my password and user name, but will just have the spinning wheel that says I'm signing in but won't let me ever sign in. The other solutions given on this site haven't worked. Need help Please!

  • CHECK PRINTING PAPER

    HI SIRS JUST FOR KNOWLEDGE I WANT TO KNOW THAT WHO GIVES CHECK PRINTING PAPER? IS BANK PROVIDING THE SAME PAPER? WHAT DETAILS WE NEED TO FILL IN THAT? IF THE PAYMENT DOCUMENT IS MORE THAN 1 THEN HOW WE MANAGE? THANKS IN ADVANCE!!!!!

  • Can't Play Music CD

    When I insert a music CD, it will not play and ejects the CD.  On system preferences, I choose the option to open iTunes when a music CD is inserted, but it changes itself to "ignore".. In iTunes, on my preferences, I selected to begin playing when a

  • I can not open sites saved to my desktop directly into safari.  It only opens the topsites page.  Any solutions

    I cloned my old HD to an SSD and installed the hard drive.  It booted up slowly but then has been working fine although when I shut it down it continues to boot up slowly.  I have also been having issues with the top sites page in Safari.  It will on