DATASET_WRITE_ERROR :How to know the value of a field at the time of error?

Hi All,
I have an ABAP code that write some records to a  flat file. Am getting a DATASET_WRITE_ERROR when this program is run.
in ST22 i checked for any info that could be of help.
The Error Text is: "No Space left on device"
Error code: 28.
Now i want to know after writing how many records did the program threw the error.
I have a counter named WRITE_CTR. <b>Is there any way in the debug mode I can check for the value of WRITE-CTR just before the program terminated ?</b> checking the value of counter each time a record is written is not practical as there are almost 40k records in total.
In ST22 i checked the section "Chosen Variables". unfortunately this counter's value is not listed there.
Please let me know if there is any way i can see the contents of a field just before a short dump is generated.
Otherwise is there any option during debug that i can set a breakpoint on a statement when the field WRITE-CTR=<some value> say when WRITE-CTR = 30000 ?
Thanks in advance,
Rit

Ok. Havent used Try..Catch in ABAP. I'll try using that. That should be a better way. Thanks.
I think it throws the error only after 20 or 30000 records are written. So its not possible to set a breakpoint where it writes to file and check which all records are written.
I wanted to know if there's any way to know the value of a filed just before the error is thrown. In the 'Watch' feature i saw an option to select a field and then give a comparison operator and all. Do you know how to use that ? Will that help me to break the execution when a field value equals a limit ? Just wondering what the Watch option is for!!
Regrads,
rit

Similar Messages

  • I am trying to pass the value of a field from the seeded page /oracle/apps/

    I am trying to pass the value of a field from the seeded page /oracle/apps/asn/opportunity/webui/OpptyDetPG. The value I want is in the VO oracle.apps.asn.opportunity.server.OpportunityDetailsVO and the field PartyName.
    I have created a button on the page whose destination URL is
    OA.jsp?OAFunc=XX_CS_SR_QUERY&CustName={#PartyName}
    It opens the correct page, but in the URL it shows this
    http://aa.com:8005/OA_HTML/OA.jsp?OAFunc=XX_CS_SR_QUERY&CustName=&_ti=1897289736&oapc=177&oas=x5E2TIfP1Y0FykBt1ek4ug..
    You can see that &CustName is not getting the proper value. Do I need to do something different?

    You cannot call the form with OA.jsp . This is applicable only for OAF based pages registered as a function.
    For calling a Form, use the below example:
    You have to change the application responsibility key and form function name .
    "form:PN:PN:STANDARD:XXPNTLEASE:QUERY_LEASE_ID={@QueryLeaseNumber}"
    Regards,
    Sudhakar Mani
    http://www.oraclearea51.com

  • What is the JavaScript to copy the value from a field to the clipboard?

    I have a "Save As" Button scripted. But would like the button to first copy the value "SiteCode" so when the user is prompted to enter in the name they can just paste it.
    Anybody got any ideas?
    Thanks

    That's not possible. It is possible to save to an existing folder with a filename derived from one of more field values, but the code that does that save has to be in a folder-level JavaScript file or in a certified document that the user chooses to trust for privileged JavaScript execution. So each user would have to manually install the JavaScript file or manually add the certificate to their list of trusted certificates and specify that it's trusted for privileged JavaScript execution.
    I've had good success providing instructions for copying the field name from a form field so that the user can paste it as the field name in the Save As dialog that's invoked using an "Execute a menu item" action (File > Save As), so this might be a viable alternative you can use.

  • How can we change value of a field in the Repeating Table using SharePoint Workflow 2013.

    Hi
    I have an InfoPath form published on a SharePoint Library. The form contains a Repeating table and after submit a workflow runs. In this workflow I want to change some values of the fields within Repeating table.
    How can I do this?
    Thanks.

    Hi,
    I found a similar thread posted by you here:
    http://social.technet.microsoft.com/Forums/en-US/e1fa36c1-cb5c-456d-ba40-2f26301913d2/how-to-loop-through-each-row-in-a-repeating-table-using-sharepoint-workflows?forum=sharepointgeneralprevious
    I suppose both the threads are reuqesting the method to get values from repeating table via workflow, so we can focus on the issue on the other case. If there is more requestment here, let me know.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to pass a value from jspx page to the managed bean

    hi,
    i have created a jspx page and manages bean with page flow scope..
    in my jspx page i am searching a employee record from the data base . and getting entire employee details including 'status' as a search result.
    here i want to pass the value of 'status ' field to the managed bean variable called 'stval'.
    can anybody suggest any solution?.......

    As per the details provided in the post above, when the user clicks on the search in the af:query, the results are populated in the table. And you are interested in getting the value of particular column. This could be done by having the custom row selection listener to get the value of the current row (selected row in the table).
    1) Have a custom selection listener:
    <af:table value="#{bindings.EmpDeptVO.collectionModel}" var="row"
    rows="#{bindings.EmpDeptVO.rangeSize}"
    emptyText="#{bindings.EmpDeptVO.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.EmpDeptVO.rangeSize}"
    rowBandingInterval="0"
    rowSelection="single" id="t1"
    partialTriggers=":::qryId1 ::ctb1 ::commandToolbarButton1"
    columnStretching="column:c1"
    styleClass="AFStretchWidth" columnSelection="multiple"
    first="0" contentDelivery="immediate" autoHeightRows="10"
    binding="#{pageFlowScope.ExampleBean.searchResultsTable}"
    *selectionListener="#{pageFlowScope.ExampleBean.rowSelected}">*
    2) In the method, set the current row programmatically:
    ADFUtil.invokeEL("#{bindings.EmpDeptVO.collectionModel.makeCurrent}",
    new Class[] { SelectionEvent.class },
    new Object[] { selectionEvent });
    3) Get the current row and get the required attribute values and set it in any of the variables in the managed bean:
    Row selectedRow =
    (Row)ADFUtil.evaluateEL("#{bindings.EmpDeptVOIterator.currentRow}");
    String status = selectedRow.getAttribute("Status");
    Thanks,
    Navaneeth

  • Need to get the values from "Signed" field from PDF form.

    Hi,
    This is Dinesh. I am PHP Developer. My issue is "I am not able to get the value of "signed" field from the PDF form when the form has been submitted.". I want to get the Digital Signature value of that field and i need to store it in the DB.
    Please help me here Or Please forward this issue to any of the PHP developer who solved this issue and let me know.
    Thanks & Regards
    Dinesh

    Hi Vikas,
    you can use this badi MRM_WT_SPLIT_UPDATE, the method will be WHTAX_SPLIT_UPDATE
    in this badi please see the importing and exporting parameters, you will get the  values of withholding tax code  as TE_RBWS in export parameters.
    Please search in google or SCN you will get how to use it.

  • Howset value to organization field in the selfregister user reqapprovalform

    hi,
    my use case is when ever end user performs self registration request goes to manager, manager will provide organization value manually to the approval form, But i want to set default value to that field, how to set default value to oranization field in the self register request approval form.
    Edited by: 853559 on Dec 2, 2012 8:59 PM

    hi,
    i am using following code to pre- populate organization.
    public class OrganizationPrepopulateAdapter
    implements PrePopulationAdapter
    public OrganizationPrepopulateAdapter()
    public String prepopulateOrganization(RequestData requestData)
    throws RequestServiceException
    String Organization = "Xellerate Users";
    return Organization;
    public Serializable prepopulate(RequestData x0)
    throws RequestServiceException
    return prepopulateOrganization(x0);
    but it is not prepopulating is any thing wrong.
    Edited by: 853559 on Dec 3, 2012 12:46 PM

  • How to know where the value of a field in an IDoc is saved?

    Hello SAPients!
    I'm working in ECC 6.0. I have an Inbound Idoc of type WPUBON01. In the segment E1WPB01it has a field named BONNUMMER. My question is: How can I know what TABLE-FIELD is being populated with the value of that field? I mean, is there a way to know the mapping of the fields of an IDoc?
    Thank you in advance for your kind help.

    Hi,
    The table name is WPLST
    I did the following..
    Go to the segement structure in SE12..
    Double click on the data element for that corresponding field..
    Then put a where used-list for that data element...To search in tables..
    I got the table WPLST.
    Thanks,
    Naren

  • How to pass the value to "Assignment" when submit the program RFITEMGL?

    Hello friends,
    I want to submit program RFITEMGL  (t-code FBL3N) with some screen fields, some fields are OK to fill such as u201COpen at key dateu201D, u201CG/L accountu201D and u201CCompany codeu201D。 But for the field "Assignment" (It will appear after cilck Dynamic Selection), I don't know how to pass value to it.
    Could you help me about how to pass the value to "Assignment" when submit the program RFITEMGL  (t-code FBL3N) ?
    Thanks a lot!

    Hi,
    Well you can create a small BDC.
    Regards,
    Harsh Bansal

  • How to hide a field based on the value of a field in a different subform - null check doesn't work!

    I'm using Javascript to set the actions. I need to hide a text field if the value of a field in another sub-form is null.
    - tried checking the value of the other field for null - doesn't work
    - tried setting a variable str2 where I know the value of the other field is available then checking that variable when I initialize the text field - doesn't work
    What am I missing?

    Hi.
    Try this in the originating sub form referring to the text field (X). 
    if (this.rawValue = 1)
              X.presence = "visible";
    else if (this.rawValue = null)
              X.presence = "hidden";

  • How does APEX check for null values in Text Fields on the forms?

    Hello all,
    How does APEX check for null values in Text Fields on the forms? This might sound trivial but I have a problem with a PL/SQL Validation that I have written.
    I have one select list (P108_CLUSTER_ID) and one Text field (P108_PRIVATE_IP). I made P108_CLUSTER_ID to return null value when nothing is selected and assumed P108_PRIVATE_IP to return null value too when nothign is entered in the text field.
    All that I need is to validate if P108_PRIVATE_IP is entered when a P108_CLUSTER_ID is selected. i.e it is mandatory to enter Private IP when a cluster is seelcted and following is my Pl/SQL code
    Declare
    v_valid boolean;
    Begin
    IF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := TRUE;
    ELSIF :P108_CLUSTER_ID is NOT NULL and :P108_PRIVATE_IP is NULL THEN
    v_valid := FALSE;
    ELSIF :P108_CLUSTER_ID is NULL and :P108_PRIVATE_IP is NOT NULL THEN
    v_valid := FALSE;
    END IF;
    return v_valid;
    END;
    My problem is it is returning FALSE for all the cases.It works fine in SQL Command though..When I tried to Debug and use Firebug, I found that Text fields are not stored a null by default but as empty strings "" . Now I tried modifying my PL/SQL to check Private_IP against an empty string. But doesn't help. Can someone please tell me how I need to proceed.
    Thanks

    See SQL report for LIKE SEARCH I have just explained how Select list return value works..
    Cheers,
    Hari

  • How to get the values of Select-options from the screen.

    The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.

    Hi,
    Refer this following code..this will solve your problem...
    "Following code reads value entered in s_po select options and willprovide search
    "help for s_item depending upon s_po value.
    REPORT TEST.
    TABLES : ekpo.
    DATA: BEGIN OF itab OCCURS 0,
    ebelp LIKE ekpo-ebelp,
    END OF itab.
    SELECT-OPTIONS   s_po FOR ekpo-ebeln.
    SELECT-OPTIONS s_item FOR ekpo-ebelp.
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
      DATA:
      dyn_field TYPE dynpread,
      temp_fields TYPE TABLE OF dynpread,
      zlv_dynpro TYPE syst-repid.
      zlv_dynpro = syst-repid.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = zlv_dynpro
          dynumb     = syst-dynnr
          request    = 'A'
        TABLES
          dynpfields = temp_fields
        EXCEPTIONS
          OTHERS     = 0.
      LOOP AT temp_fields INTO dyn_field.
        IF dyn_field-fieldname EQ 'S_PO-LOW'.
            SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
            WHERE ebeln EQ dyn_field-fieldvalue.
            EXIT.
        ENDIF.
      ENDLOOP.

  • How to print the value of a field of  type FLTP

    hi experts,
    pls tell me how to print the value of a field of  type FLTP. i.e in decimal format not in exponential format.
    thankyou.
    krishna

    Hi ,
    I dont think in Floating point u can able to go for the decimal point display as it is for the minimum precission display..
    Define the variable as the 'packed' type and then u can able to define the decimal point...
    Cheers,
    SImha.

  • How do I get the value of a field object programatically after loading a report

    I'm using CR 11.5 and VS2005 in a console application, there is no GUI. I have a report with a page header that has 3 field objects. These field objects, their values change for every record and I want to be able to capture the value of these field objects in code for further processing outside of CR. Is this possible?
    Thanks in advance!
    I should explain a little more, the information I'm trying to obtain is in the Page Header section of the main report. There are subreports. Basically what I'm trying to put together is a list of how many pages are part of each record, the number of pages fluctuates per records so I need to be able to cycle through. Any other suggestions?

    When accessing the fields on the report through the SDK you will only get what database field they are using for data.  The internal data collection that is used by the report can be gathered using the rowsetcontroller from the ReportClientDocument.

  • FCPX: In Event Library: how to know if a video was used in the timeline of Final Cut Pro X?

    In Event Library: how to know if a video was used in the timeline of Final Cut Pro X?
    An example: In Premiere Pro, the whole video is added to the timeline identified as used in their video library. Facilitating our work on a big project, not to repeat videos. You can do this in FCPX?

    The way it works in FCP:
    Working from the Timeline Index, you can see lists of all clips in the sequence and their location in the timeline.
    You can also do a search (kevn) to narrow the results.
    Russ
    hth.
    Russ

Maybe you are looking for

  • Picking file with different names

    Hi Experts,     I am doing file to file scenario without IR.I am just picking up the files from sap appl server  and placing in third party server. my question is i having ten files different names.so i haev to pick up all the files.i can not put the

  • Support on 'Base64 encoding in XML gateway Web service SOAP content'

    Hi Experts, IHAC who's requirement is as follows: They are currently using Web service protocol to send order information from Oracle Applications to their trading partner. But need to encode the payload in base64 encoding in the SOAP request. Furthe

  • Why won't iCloud load my photos

    I have an ipad, iphone, and mac.  All are signed on with the same icloud address.  However it takes days for photos to update.  I have wifi enabled and devices set to update over wifi.  Used to work fine.  I didn't change anything but it works poorly

  • N9 PR 1.2 Wont Let me Delete Apps?

    Help? After updating to PR 1.2 I can no longer delete apps on my phone? Every time I try I just keep getting the message "Refreshing Cache. Please Wait" well I have been waiting for days and have rebooted several times and get the same message? Any I

  • How do I locate a clip in the timeline from the browser

    I am using FCE and I know that I can locate a clip from the timeline by using shift F. I want to check on a clip in the browser and find where it is in the timeline. How do I do that?