TOA_DARA fields empty when Archiving SD invoices

Hi gurus,
We have a problem when archiving SD invoices. In some cases, when archiving, are ocurring errors that shows on SM58.
The error is always:
<<
ARCHIV_CREATE_TABLE            SAP_AL_OUT                       21.06.2011 18:22:23 SAP ArchiveLink: tipo objeto no asign.a ningún arc hivo (Customizing)
>>
And it's generated when saving the invoice from transaction VF01
We thought the problem could be that the object type was not maintained on the system but that's not the case, the problem is that the type is coming empty.
Watching inside the error, these fields are empty:
AR_OBJECT (should be SDINVOICE)
SAP_OBJECT (should be VBRK)
OBJECT_ID (should have the invoice number)
We were thinking about this TOA_DARA structure determination, but we could not see where it's been generating.
Do you know how is it possible that "sometimes" these fields go empty when processing sd invoices messages?
Thanks in advance

Hi Sudheer,
In my case, I saved the TOA_DARA params into an aux var just before calling the OPEN_FORM. Then, I checked the params before calling the function which archives.
clear toa_dara_aux.
toa_dara_aux = toa_dara.
CALL FUNCTION 'OPEN FORM'...
if toa_dara is initial.
     toa_dara = toa_dara_aux.
endif.
CALL FUNCTION 'CONVERT_OTF_AND_ARCHIVE'
     EXPORTING
          arc_p = arc_params
          arc_i = toa_dara
          format = 'PDF'
     TABLES
          otf = otf.
Regards

Similar Messages

  • Saved fields empty when 3D window activates

    I've created Text Fields and Check-boxes using LiveCycle Designer in my pdf template.
    I create the 3D work in Reviewer, and use the template during Export to 3D.
    Using 'Extend Features in Adobe Reader' the text entries, and filled in check-boxes can be saved with the pdf using Reader.
    So far this is great!
    The problem comes when the pdf is opened again and the 3D window is clicked to activate.
    All the completed fields empty!
    This is very bad!
    Is there something I can do to stop the fields clearing on 3D activation?
    thanks,
    Ian

    Would you mind to post your commenton the the approriated Adobe forum page ?
    This one is dedicated to Acrobat 3D
    The correct forum page for Designer is:
    http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es
    Thanks in advance
    William

  • Leave quantity field empty in PLD when...

    Hi experts,
    I have an Item which has no need to be quantified, so i want to leave the quantity field empty when that specific Item is in the rows of any marketing document.
    Now I'm struggling with the if-then situation in the PLD.
    I don't know how to manage that the quantity field will stay empty in that specific situation.
    Is it possible at all? And if it is, is there somebody who can help me with this?
    Gtrz,
    Miranda.

    Hello ..
    Insist because they still do not understand what the real requirement ... my understanding is that you are using a non-inventoried item with quantity 1, and requires that:
    1.la line does not appear or that otherwise
    Appears 2.la line with zero quantity.
    If it were the case, I could
    1. condition all the detail fields to the condition FIELD: FIELD DESCRIPTION == TEXT ARTICLE with the name of the article ... thus the line does not appear when you see this article.
    2. field condition the amount to the condition FIELD: QUANTITY == text field with the number "1".
    Best regards
    Edited by: Paul Ponce on Nov 9, 2009 6:26 PM

  • Saved text fields and check-boxes empty when 3D window activates

    I've created Text Fields and Check-boxes in a pdf template, using LiveCycle Designer.
    I create the 3D work in Reviewer, and use the pdf template during Export to 3D pdf.
    Using 'Extend Features in Adobe Reader' the user can fill in the text fields, and click the check-boxes then save them with the pdf  - just using Reader.
    So far this is great!
    The problem comes when the pdf is opened again and the 3D window (A3DR_3DFrame) activated.
    All the completed fields empty!
    This is not great at all!
    I've did some tests and found that the filelds only clear if I include the Configs selection list box with the special name 'A3DR_Configs' in the template pdf. (A3DR_Configs lists the Configs stored in the 3D Reviewer file and the user can select the config from that list).
    This is unfortunate, as the A3DR_Configs window is useful since it indicates to the user which 3D config is currently being viewed (ie the name of the current config stays highlighted).
    Is this a bug that can be fixed or is there a workaround?
    thanks,
    Ian

    Would you mind to post your commenton the the approriated Adobe forum page ?
    This one is dedicated to Acrobat 3D
    The correct forum page for Designer is:
    http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es
    Thanks in advance
    William

  • Automatic archiving FI invoices while printing

    Hi guys !
    I need to build an "archiving system" for FI documents.
    The overall requirement is to archive all invoices in pdf format in external system (let's call it ES), and then link those documents to SAP FI module
    My initial concept was to save PDF documents on physical hard drive, new documents would be triggered by ES, processed and the link is somehow sent to SAP and then linked to particular invoice.
    Another approach would be to call WS on ES side, push document and receive a link in response.
    Which solution is better? Maybe there is another approach to achieve given requirements?
    What is more, is there any standard procedure to archive document, on physical drive or send, while printing invoice or it just require to create some custom enhancement in printing process?
    And the most mysterious subject to me, how to link SAP invoice with external source and let SAP to display external document? Hope it is achievable with Archivelink, do you have some good source of tutorials on ArchiveLink ?
    Unfortunately I have never occupied with Archiving module and I really need your piece of advice.
    Greets,
    Adam

    Your answer did help but still expriencing challanges with the following:
    Output Types
    -Print Parameters options are as follows
        >Plant/Storage location
        >Plant/Storage location/User group
        >User exit
       >User parameters
       >User
    Please advice which of the above is appropriate?
    -Should there be a program reflected on change output field for General data screen?
    Please advice since I'm currently experiencing shotdumps(runtime errors) when processing the GR.

  • How to make metadata fields required when creating folders

    Hello all....
    Related issue with SR 3-6472229431 and SR 3-6471130611.
    We're using DIS 11.1.6 64-bits (2011_11_29 (rev 9756) 11.1.6.97) in a Windows 7 64-bits workstation (with UCM 11.1.1.5 in a Linux machine). The check-in of images to UCM goes fine.
    I'm trying to make some metadata fields required when creating a folder. These fields are required when making a check-in, but not when creating folders.
    Folders_g is enabled. DesktopTag too.
    EDIT: Patch: 14695303 - WCC 11.1.1.5.0 BUNDLE ( MLR 16 ) NOV 6 2012 applied.
    Is it possible?
    Thanks for all.
    Edited by: fgomes on 22/11/2012 03:24

    After reading your response and rereading the original question a bit closer, the metadata prompting feature does not apply to creating new folders, only content.
    Again, though, I think the focus here is in the wrong place. The metadata applied to a folder is intended to be ultimately applied to the content. You can build global rules that fire on submission of content to check if a field has a value, and throw an error if the value is empty.
    If you expect users to create folders (and actually apply any metadata to the actual folder itself), you will be disappointed. Experience shows that users are not interested in that level of detail when creating content, let alone folders. Letting typical users create folders is a bad idea anyway, as they tend to create the same inefficient folder structures they previously created in file shares within Content Server.
    If you need to tightly control folder attributes, you'll be better served by locking down the ability to create new folders. Otherwise you're looking at some type of customization. Keep in mind that you won't be able to customize the right click behavior of DIS. Any changes to DIS would have to be an enhancement request.

  • Tax error when posting vendor invoice

    Dear Friends ,
    I am posting this 3rd time, I am geting this error when poatin vendor invoice , I am geting this error in production system before GOLIVE ,when we are doing live data entry test . All the seting related to taxes has been testing more than 10times , But we are unable to find the problem . We had checked with all past messages and best possible solution in SDN ......but problem is not solved . Said error is as follows ....
    Tax code V0 country IN does not exist in procedure TAXINN
    Message no. FF713
    Diagnosis
    You entered a tax code which is not defined for the country of the company code to be posted to in the tax calculation procedure.
    System Response
    Procedure
    Check and, if necessary, correct the entry.
    Procedure for System Administration
    If it is not an input error, check and possibly change the system settings.
    To do this, choose Maintain entries (F5).
    Check whether the company code is assigned to the correct country and whether the correct tax calculation procedure has been entered for the company code country.
    Create a new tax code if necessary.
    Caution:
    Since it is possible that the tables in question are being updated at a different time on another computer, it can take a certain amount of time for the tax code to be on all local machines in client server architectures after saving the new code.
    Raghu

    hi
    go to ftxp choose tax code v0
    here in first input field give 00
    then select that field and click on gl acct tab
    here mention a gl or go to ob40 and mention gl for the acct key of that field
    try finding
    Tax code country IN does not exist in procedure TAXINN
    on SDN u will get many threads
    Tax code XX country IN does not exist in procedure TAXINN (MIRO Error)
    conclusion is u must get acct for at least one condition in the tax code
    regrads
    kunal
    award if helpful

  • Adding fields in EDI output of Invoice List

    Hi!
    I am trying to find out what is a process of adding fields in EDI output of Invoice List...
    I mean that I need to add some extra fields to Invoice lists.
    The information I have is: name of Form, print program and output type.
    I guess I need to modify printing program, is it a correct way to go?
    Hope to avoid modifying of print form...
    Will reward,
    Mindaugas.

    I did not work on invoice list EDI,but i have done invoice.
    First you need to look at segment,if you want to add new fileds in output,then you need to create segment at WE31 Transaction.
    now create idoc type based on invoice idoc type ( WE30) here you need to use ur segment.
    Idoc has function module
    outbound - FM will start IDOC_OUTBOUND_inv*
    Inbound  - FM will Start IDOC_INBOUND_INV*
    in the FM,you will have user exit ,populate ur fields in user exit.
    Configuration :
    1 create or maintain logical system - SALE
    2. Create RFC Destination - Sm59
    3. Create port - WE21 - ( EDI - Port is FILE)
    6.Maintain partner profile - WE20 ( Give all required details like message type,idoc type)
    IDOC Status - WE02 or WE05
    Status Record - WE47
    Change pointer - BD52
    Message type : WE81
    Assign message type to idoc WE82
    finally when you create invoice list and output type medium is 6 then output will go to other system as text file.
    Note : Please maintain message control in Partner profile.

  • Bypass Required Field Validation when needed in PDF Dynamic Form

    I faced a tricky situation, where some fields are required, but we need to allow bypass required (mandatory) validation rule when saving the form, and require to fill such fields when submitting the form. In other words, provide flexible control when to turn On / Off this feature.
    I wanted to implement a flexible solution, and I will post my findings here. Appreciate your feedback for improvements.
    Steps:
    1. Mark rquired fields as required.
    2. Specify "Empty Message" as "This field cannot be left blank", or similar.
    3. Specify "Validation Script Message" as "This field must have a proper value before submit", or similar.
    4. Create a Global Form Level Variable something like "StopTotalValidation" and default as "1" means by default, Turn Off Validation for some cases.
    5. For the fields which require this type of control, add the script (to be defined later) on the "validate" event:
    myTools.validateForRequiredField(this);
    6. Create a Script Object "myTools" and add the following script:
    function initStringFunc() {
    //call this function on Document Initialize
    String.prototype.trim = function() {
        return this.replace(/^\s+|\s+$/g,"");
    String.prototype.ltrim = function() {
        return this.replace(/^\s+/,"");
    String.prototype.rtrim = function() {
        return this.replace(/\s+$/,"");
    String.prototype.isEmpty = function() {
        return (this == null) || this.trim() == "";
    function setNodeProperty(theNode, theProperty, newValue) {
       if (theNode[theProperty] != newValue) {
            theNode[theProperty] = newValue; 
    function isNodePropertyEmpty(theNode, theProperty) {
        var result;
        if (theNode == null || theNode[theProperty] == null) {
            result = true;
        } else {
            result = theNode[theProperty].isEmpty();
        return result;
    function disableTotalValidation() {
        StopTotalValidation.value = "1";
    function enableTotalValidation() {
        StopTotalValidation.value = "0";
    function isTotalValidationOn() {
        return StopTotalValidation.value != "1";
    function isTotalValidationOff() {
        return StopTotalValidation.value == "1";
    const conRequired = "(required)";
    function validateForRequiredField(theFld) {
        // Bypass Required Field Validation when Global Validation is Off.
        var result=false;
        if (theFld) {
            if (theFld.mandatory && theFld.mandatory == "error") {
                if (myTools.isNodePropertyEmpty(theFld, "rawValue")) {
                    myTools.setNodeProperty(theFld, "rawValue", conRequired);
                if (isTotalValidationOn()) {
                    if (isNodePropertyEmpty(theFld, "rawValue") || theFld.rawValue.toLowerCase() == conRequired.toLowerCase()) {
                        result = false;
                    } else {
                        result = true;
                } else {
                    result = true;             
        } else {
            result = false;
        return result;
    7. Now, on the click of "Save" button call the function "disableTotalValidation()" and on the click of "Submit" button call the function "enableTotalValidation()".
    I have just finished implementing the above solution, and as per my initial testing, it is working fine.
    I will post this to my Google Docs workspace, and provide updates their.
    Tarek.

    Hi Tarek,
    I see what you mean in relation to clarity if you used the form variable approach. It was only a suggestion. Like so many things in LC, there is more than one way to finding a solution to a problem.
    The triple equal sign (===) is testing if the condition is equal, but to a higher standard. It is testing if the values are identical to each other. For example if you were testing if a textfield was empty, with Equality (==) you might have this:
    if (this.rawValue == null || this.rawValue == "") {
         // Some script
    If you use Identity (===) you can do the same thing with less script:
    if (this.rawValue === null) {
         // Some script
    It is also useful when testing the value of an object, but also the type (eg string, number, Boolean).
    Lastly, it can be used for non-identity (!==).
    In relation to createNode() etc, apart from John's blog, it is covered in the LC documents: http://www.adobe.com/support/documentation/en/livecycle/documentation.html. Look for the scripting guides and the guide to the XML Form Object Model.
    Good luck,
    Niall

  • Error when posting AR Invoice with serial

    Hi experts, just want to ask what is the problem when posting AR Invoice with serial number. The error is "Internal error (-5002) occurred [الرسالة 131-183]"
    Here's my code :
                                If Not oSerial Is Nothing Then
                                    oSerial.DefaultView.RowFilter = "product_reference_code = '" & oDrView("product_reference_code") & "' " 'AND site_reference = '" & oDrView("site_reference") & "' "
                                    For Each oDrSerial As DataRowView In oSerial.DefaultView
                                        Try
                                            .Lines.SerialNumbers.Quantity = 1
                                            .Lines.SerialNumbers.InternalSerialNumber = oDrSerial("serial_no")
                                            .Lines.SerialNumbers.Add()
                                        Catch ex As Exception
                                        End Try
                                    Next
                                End If

    Hi Bryan,
    Have you try to debug it , which line is causing problem.
    With serial numbers you don't have to set the qty.
    other fields that need to be set are :
    for (int count = 0 ; count < totalcount; count ++)
         if (count > 0)
              .Lines.SerialNumbers.Add();
         .Lines.SerialNumbers.SystemSerialNumber = SysSerialNum;
         .Lines.SerialNumbers.ManufacturingSerialNumber = ManufacturingNum;
         .Lines.SerialNumbers.InternalSerialNumber = internalserialnumber;
         Count++ ;
    Hope it will help.
    Regards

  • Mitigation control request is empty when opened in Search Request

    Issue: All fields in the Mitigation control request are empty when the raised request is opened in Search Request.
    Error message when opening the MC id request in  Search Request.
        Error 1 -  "Control CONTROL/L/50000XXX does not exist "
         Error message when opening the MC id by clicking on Administration in Search Request
        Error 2 - "Work item 000000065684 is not in the users work inbox"
    However, the approver has all the fields populated when attempting to approve the request.
    Please provide you inputs to ensure the issue is fixed.
    Regards,
    Arun

    Hi Madhu,
    We are on GRC 10 SP16.
    FYI below.
    Please provide inputs on the same.
    Regards,
    Arun

  • "Description Field empty" error in Create Expense Request

    Hi All,
    When a user creates an Expense Report, He is getting this above error message:
    The step by step user actions are:
    1) Clicked Create Expense Request (Non travel planned expenses)
    2) The trip schema selection field is there and some schema is selected
    3) Then he enters the Trip data and moves to the next screen
    4) Then the Expense types selection screen comes, and the user selects the Expense type.
    5) Then two input fields were supposed to come for "Description" and "Comments", but the user is not getting anything and just check, new entry button, and when he moves forward, the "Description Field empty" error appears.
    Has anybody encountered this odd error?
    Any insights to solve this issue?
    BR,
    Uday

    Hello smit ,
              You can find out the enhancement ( BADI defnition  ) that corresponds to MSS Requisition request .
    Debugging the same will let you know why the error is coming .
                            You could also be due to config done under MSS -> recruitment.
    hope this helps.
    thanks,sahiba

  • Create IDOC when archive a material

    Hi Guys
    Is it possible to create an IDOC when a material is archieved using MM70. My program is working fine with creation, deletion and change but for archieving its not creating any IDOC. (I am using a zBD10 Program)
    Please suggest a way.
    Any help will be appreciated.
    Thanks

    Hi Avinash ,
    I don;t have an authorization to check the TCOde SARA .I sugest you can do some R&D with the obejct "MM_MATNR" in the tcode SARA to check which field is changes when archiving the material
    If you know which field is changed (tablename-fieldname), you can check if it is changer pointer enabled.
    Check out the thread
    Re: IDOC executing
    Regards
    Parag

  • Forms empty when Redirected

    I'm having trouble with a login page i've created. When a user logins in, they enter their login and password in the forms, then they submit it. It then goes to another page which accesses the database to verify that the user exists and the password is correct. If it's incorrect the page calls the login page back with:
    RequestDispatcher rd = request.getRequestDispatcher("login");
    rd.forward(request,response); // i've included that to return a value back to the login page letting them know that the login wasn't valid
    But I want the username to stay filled out in the form when it goes back to the login page, but the username and password fields are both empty.

    when u submit the form from the login.jsp, u pass the login name as a hidden variable in the form of :
    <input type=hidden name=LoginName value=""> etc etc.
    In this case the variable "LoginName" gets attached to the request.
    in case u find the it invalid in the database page and you do a rd.forward(), the same request gets sent to the login page and hence u can access the name in this fashion
    String login = request.getAttribute("LoginName");
    and put an html statement of this kind
    <input type=hidden name=LoginName value="<%=login%>">
    I hope you get it.

  • SRM 0BBP_TD_SC_1 customer fields empty after enhancement

    Hi experts,
    we are working with SAP SRM 7.0, BI 7.0
    We need to populate several customer fields defined in the table BBP_PDISC, into the 0BBP_TD_SC_1 datasource.
    We have created an append structure that contains the required fields. The fields are not hidden in the datasource. Although some records with data exist in our system, the fields are empty when executing the datasource in RSA3 transaction.
    How can I check why they are not being populated? Any ideas?
    Thanks in advance.
    Regards,
    I

    I do not see the table you mentioned in the datasource details link below, which means the datasource do not extract any fields from BBP_PDISC. You would need to write code in CMOD to fill the field, eventhough it is a std field. If the field is available in any of the tables on which the extractor is built, then we can add new fields from those tables and extract data with out writing code in CMOD.
    http://help.sap.com/saphelp_bw33/helpdata/en/db/140b56a2322a4b8916cf154325f6a1/content.htm
    May be the fields added in other cases (PO & contracts ) you mentioned might be from tables on which those datasources are built.
    Edited by: Murali Krishna K on Jan 31, 2012 3:15 PM

Maybe you are looking for

  • Can no longer run processor at 133 fsb

    Did I just break my processor or mother board while changing cpu cooling fans?  About a year ago, I received my computer with a K7T266PRO2 mother board and an Athlon 1900+ XP processor.  It was running at 100 fsb and the processor put out 1200 megahe

  • ALE experts: please help Error in posting idocs

    Hi All, I am posting an idoc from ECC 5.0 to 3.1 I system thru ALE/Idoc methodology. The partner settings, customer model are set up in ECC 5.0, distributed the customer model and I can see the model in the 3.1I system. The partner settings in the in

  • Cisco Aironet 1130AG WPA2 Configuration

    Hi everyone, First of all, let me introduice myself. I just graduated as an IT-engineer and started working in a company who gives support to their users, but also does installations. One day a week I am permanent located with 1 customer. I give supp

  • One photo in multiple albums

    HI, I'd like to be able to have an original photo appear in multiple albums, but when I try to do that it won't import into a new album because it already exists. I have 1 photo that I have imported and it is in 1 location.  But I  have multiple thin

  • Leave Encashment configuration

    Hi, Only Unused Privilege Leaves (PL) is carried forwarded to the next year subjected to a maximum balance of 90 days. Unused Privilege Leaves exceeding 90 days are enchased. How to configure the above one. Pls let me know. Thanks and Regards, Revath