Ways to get the line number in sapscript form?

Hi, all.
May I know whether that there are ways to get the line number in sapscript form?
For example, I want to get to know the certain line number in the MAIN window.
Thanks in advance.

Thanks Naimesh Patel  .
Is there anyway to get the PENDING_LINES  value in the script?
Because i can't modify the standard print program, i can only edit the Sapscript Form and add in some extra subroutine only.
tnx.

Similar Messages

  • OracleSOA - File Adapter - Correct mechanism to get the line number from the file

    We are using Oracle SOA process to read data from a file, process the data and write it to the database. SOA process is created using Oracle File Adapter to read the data, Oracle BPEL to transform & process the data and Oracle DB Adapter to write the data into the database.
    Oracle File Adapter uses native schema to process the fixed length data in the file. The number of rows in the file may exceed more than 500,000, to support processing of large files we use chunk size in the file adapter as 4000 rows. In each read operation, file adapter reads the data that matches to the schema, there might be few rejected rows as well.
    Oracle File Adapter property - jca.file.LineNumber gives me only the line number till what line the data is read. Is there any way to get the line number in the xml message, which exactly matches to the line number in the file.?
    Flat File Format: (Every file has one header, trailer and multiple data lines),
    HEADER02 -
    L01
    L01
    L01
    TRAILER02
    Line number is one of the crucial requirement in the development of the SOA service, this is used to back trace the information from which source and line the data has come.

    Hi Anshul,
    Thanks for sharing your thoughts.
    I am using DB adapter to insert the data into db.
    While doing the xsl transformation I can get the index of the message using position(), but that is not the correct way as there can be rejected lines by the file adapter.
    Even if I maintain a local counter variable, it will not consider rejected lines and increment that, which is not correct.
    Thanks,
    Ravindra

  • Is there a way go get the item number of the current item?

    In an item with multiple instances: Is there a way to get the item number of the current item? If for instance, I am on the 3rd item, is there some kind of “GET CURRENT RECORD NUMBER” built-in that would return a ‘3' to the program?
    Thanks
    Edited by: WayneFMcKinstry on Apr 9, 2010 10:50 AM

    If i am getting you correctly that in tabular item you want to know the current record or current item you can try this...
    For current record
    :SYSTEM.CURSOR_RECORD;
    or
    :SYSTEM.CURRENT_RECORD;for current item
    :SYSTEM.CURSOR_ITEM;-Ammad

  • Adobe's website broken - Any other ways to get the serial number?

    Hello.
    I bought the student's version of Adobe's Creative Suit.
    Now I need to get the serial number from a link which doesn't exist. It says that it is broken.
    Is there any other Way to get the Serial Number because without it I can not activate the product.
    Can somebody help me please?
    Greetings.

    Hi Dendylein2,
    One  tip to get you up and running quickly: You can use Creative Suite before getting your serial number, by selecting the installation option that allows you to install the product as a trial. You can then use the serial number to convert it to the non-trial version later.
    Did you purchase your Creative Suite in North America or elsewhere (the  correct solution can vary, depending on where you purchased the Creative Suite from).
    If you purchased in North America, have a look at the options in the table and choose the link that matches your situation:
    I have a Student and Teacher edition product
    If you purchased outside of North America, and from a reseller, the website is down and I apologize for that. This is known and Adobe is working on a fix.
    Thank you for posting.

  • I lost my iphone 5 and i don't have i tunes.can i use my phone number or any other way to get the serial number?

    i lost my iphone 5 and i don't have i tunes.can i use my phone number or any other way to get the serial number?

    No.
    Serial number is available If you have:
    1. The iPhone box when you bought it, if you still have it.
    2. The receipt, where you bought the iPhone
    3. Computer iTunes, if you have synced or backuped the iPhone.
    4. https://supportprofile.apple.com if you have iPhone registered

  • HT1267 what if your iphone 4 does not turn on and you dont have any way to get the Serial number what do u do

    what if your iphone 4 does not turn on and u have no way to get the serial number what do u do

    If you eject the SIM card tray the serial number is also there.  It's tiny, but there.
    When my iPhone won't turn on I first charge it with a known good cable for a few hours.  If nothing after that I begin a warranty lookup for repair.

  • Using iPhone 5c as an ipod, has been used on our itunes account, is there a way to get the serial number?

    Using iphone 5c as an ipod (not hooked up for phone service) has been hooked up to our computer and used on our itunes account.
    Does anyone know how I can get the serial number?  It has been stolen.

    The following has information: iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • How to get the line number of source file?

    Hi,
    What is the equivalent in Java of the __LINE__ and __FILE__ macros in C? I want to print out the line number and the file name where the instruction is being executed.
    Thanks,

    If you are doing this because you're implementing your own debug logging, have a look at Log4J.
    You can configure it to log classnames, method names and line numbers of the code you're executing.

  • How do I get the line number of the sales order and how do I save info?

    I am trying to create a form that is able to be called from a right click on the sales order matrix and will display some of the user defined fields associated with the line.
    I've managed to create a form and add a menu option to the right click but I'm now stuck because of the following:
    1. How to I know which line the user selected? I need the REAL Line Number from the RDR1 table because I need to use it on the data filter of the form.
    2. I hard coded a line to just to see if I can load a form and it appears to load and bind the data to the controls, but how do I save changes made? There are several text fields, combo boxes, and a picture control.

    Hi Coleman,
    1. The pVal returned form a menu event does no provide the LineId, but a pVal from a Item Event does. I suggest you use a DoubleClick or Control + Click on the Line to trigger an event that you can catch and use to launch your form.
    2. Please note that if the Sales Order line is closed you'll not be able to update the values. If it's not, then you need to instantiate a Sales Order document, get the correct document with the GetByKey method and update whatever fields you need.
                    Dim oSalesOrder As SAPbobsCOM.Documents = oCompany.GetBusinessObject(BoObjectTypes.oOrders)
                    If oSalesOrder.GetByKey(docentry) = True Then
                        oSalesOrder.Lines.SetCurrentLine(pVal.Row - 1)
                        oSalesOrder.Lines.UserFields.Fields.Item("U_MyUDF").Value = ""
                        oSalesOrder.Update()
                    End If
    Regards,
    Vítor Vieira

  • HT4061 It looks like I've only backed up my iphone, not my ipad. I believe I registered the ipad when I bought it. Is there a way to get my serial number from that?

    It looks like I've only backed up my iphone, not my ipad. But I know I registered it when I got it. Is there some way to get the serial number that way?
    My ipad was stolen and the police have requested the serial number.
    How can I find it?

    My Support Profile

  • TableView -- get the row number of the top most current visible row

    Is there any way to get the row number of the top most visible row, and or bottom most visible row in TableView?

    If you already know the document's name, the sheet's name and the table's name, the easy way is :
    --Here you may replace the three values by the current ones
    set dName to 1
    set sName to 1
    set tName to 1
    tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
    tell first cell of the selection range to set {rowNum1, columnNum1} to {address of its row, address of its column}
    tell last cell of the selection range to set {rowNum2, columnNum2} to {address of its row, address of its column}
    end tell
    Yvan KOENIG (VALLAURIS, France) mercredi 9 février 2011 17:22:21

  • Is there anyway to get the serial number for my ipod touch off my mac?

    My ipod touch was stolen last night, and I can't find the box that I got it in andit looks like I never registered it. Is there a way to get the serial number through itunes or any other program so that I can add it to the police report to prove it's mine?

    Open iTunes, hold down the Control key and choose *About iTunes* from the iTunes menu.
    http://support.apple.com/kb/HT1459

  • HT4812 I recently fixed my computer and need to reinstall logic pro 9 but I can't find the booklet with my serial number, is there any other way I can get the serial number for logic pro 9 (box)?

    I recently fixed my computer and need to reinstall logic pro 9 but I can't find the booklet with my serial number, is there any other way I can get the serial number for logic pro 9 (box)?

    If you still have the receipt or other proof of purchase, you can ask Apple to send you the serial. Otherwise, bad luck mate.. Good news is, you can now buy Logic Pro 9 from App Store for just 199 USD

  • My iPad got stolen and it is offline on find iPhone, is there a way I can locate it get it back or even get the serial number of it

    My iPad got stolen and it is offline on find iPhone, is there a way I can locate it get it back or even get the serial number of it? I'm really mad and sad about that.

    The only to potentially find is if you can do so via Find My iPhone - which will only work if it's connected to a network and the device hasn't already been wiped and/or Find My iPad disabled on it.
    If you haven't already done so then you should report it to the police. You should also change your iTunes account password, your email account passwords, and any passwords that you'd stored on websites/emails/notes etc, and if it's a cellular model then contact your carrier.
    In terms of the serial number, if you have a backup of the iPad on your computer's iTunes then you should be able to go into Edit > Preferences (iTunes > Preferences if on a Mac), select the Devices tab on that, and then hover your mouse pointer of the iPad's backup : http://support.apple.com/kb/HT4061
    If the iPad was registered to your iTunes account you might also be able to get it from your support profile : https://supportprofile.apple.com/

  • Just upgraded to FF 12 from FF 3.6 and most of my favicons are now dotted line squares. Any way to get the favicons associated with each web site to load?

    Just upgraded to FF 12 from FF 3.6 and most of my favicons are now dotted line squares. Any way to get the favicons associated with each web site to load? I've seen some suggested code to add but I'm not web code savvy. Thanx!

    The CheckPlaces extension can restore favicons. It is also great for checking bookmarks to ensure that they are still valid.
    * https://addons.mozilla.org/en-US/firefox/addon/checkplaces/

Maybe you are looking for

  • No overheads are reflecting in costing estimate

    Dear All, I am facing a problem while creating cost estimate. No overhead caliculation is reflecting. I have done with following configuration Configured a costing vatiant and done with assignment of Valuation Variant--> Costing Sheet --> Base --> ov

  • How do I print a page of return labels in Address Book?

    How do I print a page of return labels in Address Book?

  • Screen turn off, screen turn off

    My MAC 27 '' desktop sunddely turn off and I have to click on botton on/off....after.....on keybord..... The screen appears for 5 seconds...then...turn off. How to fix that error? Fabianna

  • DI Inability to update a payment of type "Account"

    Hi I having problems when trying to update a payment of type "Account" via DI API, the following error message is displayed: "A valid Card Code must be insert". Dim oPago As SAPbobsCOM.Payments oPago = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTy

  • How to change Material Type

    Hi All, I have created new material type as ZINS ( Insurance spares ). Now,I have to change ZSPR ( Spares) material to ZINS material type. In system there are no liabilities for this material.But ,I am getting following error while executing T-code :