IDoc fields, when empty

Hi all,
I have a requirement to send IDoc to external system. When there is no corresponding data, IDoc fields are not filling.
I need to fill blant value to the IDoc fields and send to external system.
I don't have permissions to change the standard code.
My doubt is: Can I fill the empty field in conversions or in any other place, other than coding? is BD64 useful to fill the IDoc field?
Thanks in Adv,
Moderator message - Duplicate post locked
Edited by: Rob Burbank on Dec 9, 2009 9:51 AM

Hi Kanagaraja,
I am sending the IDoc to PI system using ALE. The IDoc is CLFMAS. when ever a Material Master IDoc generated, subsequent CLFMAS will be generated. The IDoc filling logic is actually in Master_IDoc_MATMAS FM. I think I don't have permissions to change the coding, since its a standard IDoc and some other systems also using the same IDoc generation logic.

Similar Messages

  • Empty target Idoc Fields

    Hi to all,
    I have a File to IDoc scenario. I want to obtain in the target IDoc also the empty fields that in my Graphical Mapping are filled with an empty constant. However, when I go on SAP R/3 to see the produced IDoc, I see that all fields that I have mapped with an empty constant, are absent. I don't want this!!! I want to display this fields with no values!
    How can I do this?
    Thanks!

    Hi,
      what you do change the occurenace of the field min occurence : 1 so that when you map the souce field constact then the target field will come..
      after importing the idoc..export the idoc and change the occurence where ever you required and import this using external schema...then rest all the steps...
    why it is absent IDOC meanns..those fields are empty that might be the problem.
      Just try for 1 field if it's work..then go ahead.
    Regards,
    Venu.

  • I have set form fields as User required and yet the form still prints/save when empty.

    I have set form fields as User required and yet the form still prints/save when empty. I also have an email button on the form but that works correctly by not allowing the user to email the form with the required fields empty.
    What script do I need to additionally restrict both printing and saving if the required fields are empty?
     You would think that just setting that option would restrict those functions the same as it does for the email button. 
    Please be specific with your response if you are gracious enough to offer one. I have been searching the forum all morning for the answer to this and I really didn't understand any of the solutions offered to others enough to use those in my own form.
    The required fields are:
    Social (social security number)
    Name
    Headquarters
    Residence
    The next question I have is if there is a way to make individual signature fields mandatory if they are digital signatures?
     In other words, I don't want the individual to be able to email the form to the next person if he/she hasn't applied their digital signature.

    Saving can always be done, even when mandatory fields are empty.  This is by design.  And that is correct.  Suppose you have a big form and 2 people need to fill it out.  How can you fill out a first part and then send it to the second person without saving.
    Same for printing.  Same for your signature fields.
    What I would do, is to put a "watermark" on the form that you show on preSave and prePrint if the form is incomplete.  Just a static text on your form.  Then the user will see that they need to do more.  Also, on preSave and prePrint, you can show a warning popup to tell the user about the missing fields.  You can then still cancel their action if the user decides not to save/print anyway.

  • How to map empty IDoc field

    Hi everybody!
    I want to map the value of a source field through a <b>FixValues</b> function to the target field. Unfortunately this is an IDoc field which sometimes doesn't even exist (i. e. it's not just empty - it's not even there). In this case the <b>FixValues</b> function suppresses the output, and there is <i>no</i> output - not even the <i>default</i> value of <b>FixValues</b>. However, the requirement is that I always have to generate a default output - even if the input field is empty/missing.
    Ony ideas how this could be done?
    Regards, Joerg

    Hi Himadri!
    Thanks for the quick response! I tried to create such a que. However, it doesn't remove the SUPPRESS from the queue. Here's the code:
    // Two input params: src[] and def[]
    // src contains the input queue (with SUPPRESS values)
    // dst contains (hopefully) only one value - the default value
    int n=src.length;
    result.clear();
    if (n==0) {
      result.addValue(def[0]);
    else {
      for (int i=0; i<n; i++) {
        if (src<i>.equals(ResultList.SUPPRESS)) {
          result.addValue(def[0]);
        else {
          result.addValue(src<i>);
    What am I doing wrong?
    Regards, Joerg

  • Office 2010 Don't print blank lines when data fields are empty

    How do you do this in office 2010?  Where do we go now?
    This used to be under the Tools menu in previous versions:
    On the Tools menu, click Mail Merge.
    In the Mail Merge Helper dialog box, click Merge.
    NOTE: You must select the main document and data source for the merge before doing step 2.
    In the Merge dialog box, under When Merging Records, click either:
    Don't print blank lines when data fields are empty.
    -or-
    Print blank lines when data fields are empty.
    Click Close in the Merge dialog box, and then click
    Close in the Mail Merge Helper.
    NOTE: If you made no changes in the Merge dialog box, the
    Close button is not available. Click Cancel instead.
    Back to the top

    Hi,
    In Word 2007 or Word 2010, you can add
    Mail Merge Helper to the Quick Access bar, and perform the steps then.
    To add the
    Mail Merge Helper command in the Quick Access Toolbar in Word 2007, follow these steps:
    a.                 
    In Word 2007, click the
    Microsoft Office Button, and then click Word Options >
    Customize.
    In Word 2010, click File > Options > Customize Ribbon.
    b.                 
    Click
    All Commands in the Choose commands from, and then click
    Mail Merger Helper in the Choose commands from list.
    c.                  
    Click
    Add, and then OK.
    Best Regards,
    Sally Tang

  • Why do I see blank fields that I chose to hide empty fields when when emailing a confirmation?

    I have chosen to to not include empty fields when emailing a confirmation, yet I still see the blank fields. What can I do to remove these fields from appearing in my confirmation email?

    Hi;
    I believe you are speaking of the "Email Notification" that you, as the form Author recieve, which is setup on the "Email Notifications" sub-tab of the "Options" tab.  In that email notification there is not an option to hide the blank fields.  In the "Email Reciepts" sub-tab of the Options tab is where you configure email receipts sent to the form submitter, on that tab you can choose to incude the data but hide the blank responses, but that does not affect the email notification that you, as the author recieve.  That email notification, if you choose to include the data, will always show all fields.
    Let me know if that was not correct and you are saying that the email reciept to the submitter is showing blank fields when it should not.
    Thanks,
    Josh

  • Report error when using combo box and one text field is empty

    I'm building an interactive pdf in adobe pro 9. My problem is the following: I have one text field where you can enter a numeric code and that is used to populate another text field when I choose an option on one combo box.For example: suppose I write the code 123 in the text field "A" and that the combo box has two options ("data" and "-"). When I select "-", another text field "B" is empty, while when I select "data" i populate the text field "B" using the code entered "A" with the text "data_123". In order to do this I use the standard javascript code in the Format>Custom tab of the combo-box.
    My questions are:
    - how can I prevent the pdf to proceed selecting an option in the combo box when the field "A" is empty?
    - how can I update the field "B" every time that I change the text in "A"? I found that the text is "B" is updated only when I press the selection in the combo box.

    You can set the combo box to read-only in the Validate event of the A field:
    // Validate script for text field
    getField("combo1").readonly = !event.value;
    To update the value of B when A changes, you can expand the script above to something like:
    // Validate script for text field
    var f1 = getField("combo1");
    var f2 = getField("B");
    // If there is an entry in the A field...
    if (event.value) {
        f1.readonly = false;  // Make sure the combo box is activated
        f2.value = f1.value === "-" ? "" : "fa.value + event.value;  // Update the value of field B
    } else {
        f1.readonly = true;  // Deactivate the combo box
        f2.value = f2.defaultValue;  // Reset field B
    You might also want to reset the combo box somewhere in there, but it's not clear to me when you would want to do that.

  • Diable button when text field is empty

    Hi
    How can I disable a button in JDialog box when the text field is empty and enable it when the user gives some input.
    Balaap

    Hi,
    button.setEnabled(false);

  • Disable button when text field is empty

    Hi
    How can I disable a button in JDialog box when the text field is empty and enable it when the user gives some input.
    Balaap

    You will have to use a keyListener since the use is not able to type into a disabled TextField. Listen for KeyEvents, if you get one enable the TextField a fill it with the char of the pressed key.
    Rommie.

  • Why many zero are returned when a field is empty

    Hi,
    I am using sapjco 2.1.8 in my Java code to call a BAPI function (rsz_x_component_get).
    When executing this bapi function in SAP GUI, I can see one field is empty, and it's defined as as 70 characters. However, in Java code what I received is "000000000", while I should receive an empty string, "".
    Does anyone know why the empty string is transferred into a string containing many zero?
    Thanks,
    Ray

    Hi Atish,
    Thanks for reply.
    The field is defined as CHARACTER and its length is 70. In Java code I use super.getTable().getString(20);
    Thanks,
    Ray

  • Text field with promp msg only when the field is empty

    I want to make a TextField with prompt message but The problem with google code was that the prompt msg is shown only when The textField is not clicked, I want to show the prompt msg even when the text field is clicked,when I type a letter inside the textField it vanishes and when i delete all of it, I'll see the prompt msg again and I want to Load the cursur at the text field when the page is loaded, How can I achieve that?

    Not working!
    One new problem I have confronted, I have edited the htm file with the previously mentioned code, yet, when i started flex again, the code was not there?
    Is it a derived file?
    If so how can I make permanent changes there?
    i used the code:     
    private function onLoad(event:Event):void
                 focusManager.setFocus(this.textId);           
    As using
    private function onLoad(event:Event):void
    shows the red cross i.e. error at a particular step at the
    <mx:Application.......
    and the error shows as
    Incorrect numbers of arguments. Expected 1.
    I guess its a very simple problem yet I don't know why I am getting so complex.
    I have faced certainly a nice problem, it sometimes works and sometimes doesnt,
    when I run from the flex bulider it works, If I click on the html file it doesn't.. It may happen it wont work again in future.

  • Previewing data in UD Datasource (S:RSSDK:400 field is empty)

    Hi,
    I followed the steps in creating a datasource for UD connect interface. I was successful in saving and activating the datasource; however, when previewing the data, i am given the prompt: "S:RSSDK:400 field is empty."
    I double checked the database wherein it was extracting data from. There was data present.
    Any ideas on how to solve my problem?
    Regards,
    Ramon

    Hi
    Is there any other UD connect, datasources running without problem?
    have a look at these notes: 874549  and 1056046.
    Hope this helps
    Derya

  • How can I remove ASCII text from a field when I use it in a query

    How can I remove ASCII text from a field when I use it in a query?
    I am running a select statement on a table that appears to have ASCII text in some of the fields. If I use these fields in the where statement like the code below nothing returns:
    SELECT FIELD1 FROM TABLE1 WHERE FIELD1 IS NULL
    But the field looks empty if I do a straight select without the where clause. Additionally, one of the fields has text but appears to be padded out with ASCII text, which I need to strip out before I can use this field in a where or join statement. I have tried using a trim, ltrim, rtrim, to_char, nvl, decode and nothing works. When I use excel to run the same query it looks as if these ASCII fields are boxes.
    I have asked our DBA team to see what they can do to prevent these from going into the table, but in the mean time I still need to run this report.
    Do you have any suggestions?

    Can you provide an example? I've been trying (for
    example) "select translate(' test one', ascii(' '),
    'X') from dual" with no luck.
    Thank you.To replace space, you should query like this:
    select translate(' test one', chr(32), 'X') from dual instead of select translate(' test one', ascii(' '), 'X') from dual Thanks,
    Dharmesh Patel

  • Need to determine if an Expression field is empty in CR 2011

    I have an expression field in a subreport. This field collects a list of computer models to which a given hard drive is assigned. I need the field to always have a border around it even if there is no data. But I have been told by someone on this forum that no border will be generated if the field is empty.
    That being the case, I need to find a way to show a blank, bordered field the same size as the subreport window in the event that the subreport has no data. I need to know if it needs to be done in the subreport itself or in the parent report.
    Can someone please help me out on this? I've run out of ideas.
    Thanks!

    Hi,
    Yes, that is true. The field borders are not drawn when there is no data for that field.
    Here's a workaround though. Create this formula and use this formula field instead of the original database field on the report
    if isnull({database_field}) or not({database_field} > 0) or not({database_field} = "") then
    space(1) else totext({database_field})
    You can then apply borders on this field and you'll see that the field draws the border when there is no value.
    If the field that is in the Subreport, then it needs to be done in the Subreport, otherwise in the Main Report.
    -Abhilash

  • Payment terms and Due date field gets emptied after residual clearing

    Hi
    There is advance of Rs.50000 in Vendor ledger and Invoice of Rs.200000 (with payment term - G019)
    I cleared these two line items (residual clearing). One new line item got created of Rs.150000. When i saw that line item, i saw that there payment term field and due date field got emptied. My requirement is that the original payment term entered in initial invoice document (of Rs.200000) should automatically get populated in new line item of Rs.150000.
    How to fulfill this requirement?

    Thanks for the prompt reply.
    I wanted to ask one more thing. Same way when i do partial clearing (not residual), is it possible to populate the invoice's due date in advance line item. One link is that my invoice reference gets populated advance line item. So i want due date (not payment term) also to get populated in advance line item.
    Please help.
    Edited by: Deepak Agrawal on Jul 29, 2011 11:43 AM

Maybe you are looking for