How to suppress certain fields in ALE Outbound INFREC IDOCs?

Dear All
Is it possible to suppress certain fields in Outbound ALE IDOCs (for example INFREC IDOCs) ?
I am in need to send Info Records from one ECC system to another. The problem is, in the sending ECC system the INFREC IDOCs are created with the field E1EINAM-INFNR which carries the Info Record number. But the target ECC system might have a different Info Record already existing (for a different article) with the same Info Record Number. If the INFREC IDOCs are created without the INFNR field (i.e. if the field is blank) and then sent to the target system via ALE, it is successfully processed in the target system and a new Info Record is created with a different Info Record number. This is what is required. How can it be made possible?
Thanks
Vignesh Sankaranarayanan

Use the transactions BD62, BD79 and BD55 to setup and assign conversion rules for your IDOC fields and set a constant '/' for the infnr field.
Test if that is enough or you might need to take extra care for the name field of info record texts. I am not in a system currently, so I can't check whether long text name is based on info record number or only a mix of info record keyfields (without info record number itself).
You should also have a look into my blog Stumbling blocks  in purchasing info record migration by LSMW IDOC method
You will probably hit the one or other issue that I described too.

Similar Messages

  • To suppress certain fields based on radiobutton selection

    hi experts,
    I am having the requirement that on selection of presentation server(radio button) i need to suppress some fields like file path and name in application server(radio button) which are mandatory when application server is selected.
    Now my problem is if I leave the fields in application server blank and select presentation server then it is asking to fill in all required fields.
    Here is the code i am using:
    Selection Screen                                                    *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t08.
    *FOR APPLICATION SERVER FILE
    PARAMETERS: po_appln RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND upload,
                po_ipath TYPE filepath-pathintern  OBLIGATORY MODIF ID app,
                po_ifile TYPE rlgrap-filename       OBLIGATORY MODIF ID app.
    SELECTION-SCREEN SKIP 1.
    *FOR PRESENTATION SERVER FILE
    PARAMETERS: po_dsktp RADIOBUTTON GROUP rad1,
                po_dfile TYPE rlgrap-filename     OBLIGATORY MODIF ID prn.
    SELECTION-SCREEN END OF BLOCK b1.
    AT SELECTION-SCREEN OUTPUT.
      PERFORM modify_screen.
    form MODIFY_SCREEN .
    *When application server radio button is checked
      LOOP AT SCREEN.
        IF po_appln EQ  'X' AND screen-group1 EQ 'PRN'.
          screen-output = '0'.
          screen-active = '0'.
          screen-input  = '0'.
        ENDIF.
        IF po_appln EQ  'X' AND screen-group1 EQ 'APP'.
          screen-input  = '1'.
        ENDIF.
    *When presentation server radio button is checked
        IF po_dsktp EQ 'X' AND screen-group1 EQ 'APP'.
          screen-output = '0'.
          screen-active = '0'.
          screen-input  = '0'.
        ENDIF.
        IF po_dsktp EQ 'X' AND screen-group1 EQ 'PRN'.
          screen-input  = '1'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    endform.         
    Can some one please help me

    Hi,
    Remove the obligatory extension in the selection-screen. Then the mandatory check will not be done when you select the radio-button.
    To handle the mandatory check of the path and file, do the checking in the event 'AT SELECTION-SCREEN'
    if sscrfields-ucomm = 'ONLI'. (Declare TABLES: SSCRFIELDS in the data declarations)
    if ipath is initial.
    message E001(z...)  with 'Please enter a file path'.
    endif.
    Regards,
    Vidya Chowdhary A.

  • How to display certain field permanantly on AP Invoice entry form

    Dear All,
    I want to hide few fields and want to show certain fields in Invoice Entry form.
    When I go to Folder-Show Field and search for the field The required field get displayed but this activity I need to perform everytime I open the form.
    Is there any way to default this field in Oracle form, So that whenever I open the form That field should get displayed automatically.
    Waiting for your reply.
    Thanking you in advance.
    Regards,
    AJ

    If the condition is met you can fire off a line of script that sets the "presence" property of the Copy tag to either "invisible" (if you want to preserve the space taken up by the tag) or "hidden" (if you want to remove the space taken up by the tag).

  • How to enable certain fields in billing document?

    Hi gurus!
    I need your help with this, we recently upgraded our system from version 4.6C to ERP 2005. We have some users in Sales who are in charge of the billing process, in version 4.6C they were able to change some fields of the billing header such as:
    - Currency
    - Payment terms
    - Incoterms
    In the new version these fields appear as "disabled" (users cannot change anymore what was copied from the Clients Master Data).
    I know there's some configuration in which info is copied from the sales order to the billing document (Copy Control). I already checked that and I'm not able to find where I can change something to "enable" these fields so users can define whatever they need.
    I also tried to see in SE80 if the fields that are part of that Dynpro have some other properties to enable them but was unable to change something.
    I also checked transactions OVA2 and VUA2 but didn't find somenthing that could help me out with this. Finally I checked different user exits in the previous version but it seems that when this was originally configured that was not the solution.
    There's also something else going on with the header because in the previous version users had the chance to type different texts in the Text Header tab but now everything is "disabled".
    Is there a transaction or something that you know so I can enable those fields?
    Thanks in advance.

    Not sure what the requirement is as ideally, you are not suppose to change the partner function manually during shipment.  However, go to VOPA,  place your mouse on Transport and click on Partner Procedures.  Double click on Procedure and see whether Forwarding Agent  is set to Not changeable .  If so, untick that and save.  Now retry the process.
    thanks
    G. Lakshmipathi

  • How to Suppress Empty Field in XML File

    My xml file sometimes has fields that are empty. No problem
    in ie, but in Firefox the Spry tabbed panel displays the data as
    "undefined".
    Any suggestions would be helpful.
    Thanks!

    You can check for it:
    <span spry:if=" '{your_dataref}' !=
    undefined">{your_dataref}</span>
    You may have to put 'undefined' in single quotes. I can never
    remember...

  • How to add custom field in Message type MBGMCR IDOC

    Hello,
    Could you please help me on below requirement.
    There is standard IDOC type MBGMCR.In this IDOC type there is one segment with the name E1BP2017_GM_ITEM_CREATE.
    How can we add custom filed in this segment E1BP2017_GM_ITEM_CREATE?
    I tried to use Append structure.But systme is not allowing us to create custom filed in this..
    It is a outbound.I created custom program to send this IDOC to other system .
    Could you please help me out on this.
    If you need any further details pls let me know.Thank you in advacne.
    Regards

    Hello Rohit,
    Please create a enchancement for component  /SAPSRM/WDC_UI_DO_SHIPTO.
    Add new input field and label in view V_DODC_SHIPTO.
    Bind the input field value with field ZZfield from structure  /SAPSRM/WDC_UI_DO_SHIPTO in the context node SHIP_TO .
    Regards,
    Neelima

  • Passing Changed  extended fields using ALE-IDOC to receiving system

    Hi all,
    Please tell me how passing changed  extended fields using ALE-IDOC to receiving system can be achieved. Is it possible by Chnage pointer concept.Do i need to do some coading after data enters into receiving system as it is required while creating the entries in database table.
    For ex. in matmas05 extended for classification and inspection view and then created using 'CREATION'
    related bapi.Do i also need to incorporate the changes by change related bapi or ir can be handled by change pointer concept.
    Thanks.

    Hi Sanu
    1) Please tell me how passing changed extended fields using ALE-IDOC to receiving system can be achieved. Is it possible by Chnage pointer concept.
    => Looks like you have extended standard IDOC here. so you need to find User Exit or BADI for the Push program to populate the additional fields. Yes, it is possible thru change pointers as well.
    1) Do i need to do some coading after data enters into receiving system as it is required while creating the entries in database table.
    => Yes, as suggested in 1 try finding User Exits/BADIs.
    Regards
    Shital

  • Trigger  alert  on basis of certain field in interface

    Dear Experts,
    This is a concern regarding sending Alert to users by mail in XI.
    IDOCs are reaching XI.The validations are not done in the Sender Side.
    For a certain field of the IDOC, the permitted values are 2/3/4 . If  user passes some other values or a blank value , an Alert mail needs to be triggered .
    We have succeeded in sending alert for failure of a particular Interface, but we have no idea , how to read certain field of a message interface and how to trigger the alert on that basis.
    Please suggest.
    Regards,
    Navneet

    you can use udf
    package com.guarneri.xi.mapping.udf;
    public class CustomMappingException extends RuntimeException {
         public CustomMappingException() {
              super();
         public CustomMappingException(String message) {
              super(message);
         public CustomMappingException(Throwable cause) {
              super(cause);
         public CustomMappingException(String message, Throwable cause) {
              super(message, cause);
    Throwing Smart Exceptions in XI Graphical Mapping
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    Use a UDF to throw the alert. Have a look at Bhavesh's weblog on how to do this.
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    package com.guarneri.xi.mapping.udf;
    public class ExceptionThrower {
         public static void fire(String message) throws CustomMappingException {
              throw new CustomMappingException(message);
    Here the UDF will throw if the input a has blank or does not contain permitted value 2/3/4
    imports com.guarneri.xi.mapping.udf;
    function myudf(String a, Container container)
    if (a.length==0 || a.trim().length()==0)
       ExceptionThrower.fire("Blank input");
    int num[]={2,3,4};
    int flag=0;
    for(int i=0;i<num.length;i++)
    if (a!=num<i>)
    flag=1;
    if (flag==1)
    ExceptionThrower.fire("Permitted values are 2/3/4");
    else
    return a;

  • Can I make certain fields conditionally required?

    I am TOTALLY new to acrobat- just to put that out there first. I am wondering in acrobat (NOT formscentral or indesign) how to make certain fields required based off the answer of the previous required field.
    I.E  first required field- "is this a single application?" if so, do NOT make the next few fields required
    "is this a joint application?" if so, make the next rew fields required.
    Can I get some help with this?
    Thanks!

    What is commonly done is a button is used to initiate the email, using a "Submit a Form" action and specifying the email address of the recipient. The submit will fail if any fields that are marked as required are blank. In your case, you need to set the required property of certain fields conditionally, based on the sate of the form, and this will require a bit of scripting. It's not overly complicated though and you can get some help here.
    The Acrobat help document is a good place to start, though it won't help with JavaScript programming. A good resource is AcrobatUsers.com where there are a number of tutorials and other resources available about forms.
    Be aware that submitting form by email is often less reliable than expected, for many different reasons. A more reliable and secure approach is to set up the form to submit to a web server, but this involves even more expertise as it involves server-side programming and interacting with a PDF form. Emailing may seem sufficient for your needs, but be aware of the alternatives.

  • In VB Programming code -- How to access the formula for suppressing a field

    In VB Programming code -- How to access the formula for suppressing a field
    I am using Crystal Reports 2008 v1
    Using VB code, I am attempting to modify a Crystal Report before exporting it into a PDF format and then displaying it on the Web.
    My problem is that I am unable to access the formula used to dynamically suppress a field.
    The following code is working:
    mySections = rd.ReportDefinition.Sections
    For Each mySection As CrystalDecisions.CrystalReports.Engine.Section In mySections
       ' myFieldToChange is a String set to the text of the field I need to adjust the Suppression
       iloop = 0
       For Each RecObj As CrystalDecisions.CrystalReports.Engine.ReportObject In mySection.ReportObjects
               If mySection.ReportObjects.Item(iloop).Name.ToLower = myFieldToChange Then
                   myTextObject = CType(mySection.ReportObjects.Item(iloop), CrystalDecisions.CrystalReports.Engine.TextObject)
                   myTextObject.Text = "new field text goes here"
                   mySection.SectionFormat.EnableSuppress = True
                   '  Here is where I want to change the formula for the Suppression
                End if
                iloop = iloop + 1
        Next
    Next
    I can not find any reference to the actual suppression formula in the SDK help file.
    Note, the EnableSuppress can be set to True for False, but if there is a formula for dynamic suppression, the True or False value is overwritten.  The results of the formula determine the suppression.
    Is there a way to reference this formula.  I know that I can put on in using the Crystal Report Designer software, I need to modify this formula using VB code and the SDK.

    Hello, Mark;
    If you are using the ReportDocument object you do not have access to the Conditional Suppression formula. You can get around it by using a formula field in the report for the supression and then using the FormulaField code to change it at runtime.
    If you want to change the supression condition directly at runtime you need to use RAS and the ReportClientDocument.
    Elaine

  • How can i assign value to the certain field in dynmic table ?

    i have created a dynmic table .now i want to assign value to the certain field,how can i do that?
    for eg,
    <dyn_table> contains fields of  name age ,now i want assign 'jack' to this internal talbe's field name ,

    Hi,
    try this:
    FIELD-SYMBOLS: <GT_ITAB>      TYPE TABLE,
                   <GS_ITAB>,
                   <FS>, <FS1>.
    DATA: GT_DATA   TYPE REF TO DATA.
    DATA: GS_DATA   TYPE REF TO DATA.
    START-OF-SELECTION.
      CREATE DATA GT_DATA TYPE TABLE OF PA0002.
      ASSIGN GT_DATA->*   TO <GT_ITAB>.
      CREATE DATA GS_DATA    LIKE LINE OF <GT_ITAB>.
      ASSIGN GS_DATA->*      TO <GS_ITAB>.
      ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
      <FS> = 'Smith'.
      ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS>.
      <FS> = 'Paul'.
      APPEND <GS_ITAB> TO <GT_ITAB>.
      ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
      <FS> = 'Jones'.
      ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS>.
      <FS> = 'Martin'.
      APPEND <GS_ITAB> TO <GT_ITAB>.
      LOOP AT <GT_ITAB> INTO <GS_ITAB>.
        ASSIGN COMPONENT 'NACHN' OF STRUCTURE <GS_ITAB> TO <FS>.
        ASSIGN COMPONENT 'VORNA' OF STRUCTURE <GS_ITAB> TO <FS1>.
        WRITE: / <FS>, <FS1>.
      ENDLOOP.
    Regards, Dieter

  • How to restrict AS02 access to certain fields only

    How to restrict AS02 (Asset Master Record) access to certain fields only. Currently when you assigned AS02 to a certain user, this will enable the user to change all the fields in the asset master record. Suppose i want only the user to restrict the access to certain field eg.NDJAR (Life in Yrs).
    Thanks for your inputs.
    Regards,
    Robert

    hello,
    basis has to assign the proper activity with object A_S_ANLKL. in this case they have to allow activity 03 only with combination of Cocode,asset class. see some more details below.
    This authorization object is the first part of the object "asset master record."
    The definition at this level determines whether the user is authorized to process data in a given company code. The activity type for the transaction is also defined here. This authorization object is used for master data transactions, for the display of value fields, and for reporting.
    Defined Fields
    The following fields are assigned to the authorization object
    Asset class (specified by entering a value in the pop-up window)
    Company code (specified by entering a value in the pop-up window)
    Activity type - there are three different activity types:
    01 = Create
    02 = Change (including blocking and deleting)
    03 = Display

  • How to gray out certain fields on the selection screen based on the radio b

    HI All,
      I have an ALV report. On the selection screen I have 2 radio buttons ..for eg..A and B.
    When radio button A(its on by default) is on..certain fields not relevant to this should be grayed out. Similarly when radio button B is on, certain fields should be grayed out.
    I did the AT SELECTION SCREEN OUTPUT and also did the
    LOOP AT SCREEN....ENDLOOP logic. The logic works but when I click the radio button B...the screen fields automatically does not gray out. I have to press ENTER and then its grays out.
    I know a USER_COMMAND needs to be attached.
    Can anyone give me a step by step details of how to do this. I truly appreciate it. if a screen painter thing is required..please give me the tcode and step by step detail to do this.
    Thanks

    Try this one too:
    REPORT ztest.
    TABLES: mara,
            bkpf.
    CONSTANTS:
                  c_pos(3) TYPE c VALUE 'POS',
                  c_acc(3) TYPE c VALUE 'ACC',
                  c_all(3) TYPE c VALUE 'ALL',
                  c_x TYPE c VALUE 'X'.
    The Selection Screen Definition
    SELECTION-SCREEN BEGIN OF BLOCK b_0 WITH FRAME TITLE text-000.
    SELECT-OPTIONS: s_mara FOR mara-matnr.
    SELECTION-SCREEN END OF BLOCK b_0.
    SELECTION-SCREEN BEGIN OF BLOCK b_1 WITH FRAME TITLE text-037.
    PARAMETER: rb_all RADIOBUTTON GROUP rb1 USER-COMMAND rad default 'X',
               rb_acc RADIOBUTTON GROUP rb1.
    SELECTION-SCREEN END OF BLOCK b_1.
    SELECTION-SCREEN BEGIN OF BLOCK b_2 WITH FRAME TITLE text-011. "Acct
    SELECT-OPTIONS:   s_blrtc1 FOR bkpf-blart MODIF ID acc,
                      s_blrti1 FOR bkpf-blart MODIF ID acc.
    SELECTION-SCREEN END OF BLOCK b_2.
    SELECTION-SCREEN BEGIN OF BLOCK b_3 WITH FRAME TITLE text-011. "Acct
    SELECT-OPTIONS:   s_blrtc2 FOR bkpf-blart MODIF ID all,
                      s_blrti2 FOR bkpf-blart MODIF ID all,
                      s_blrtv2 FOR bkpf-blart MODIF ID all.
    SELECTION-SCREEN END OF BLOCK b_3.
    AT SELECTION-SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
      PERFORM f0200_screenfield_hide_logic.
    initialization.
      PERFORM f0200_screenfield_hide_logic.
          FORM f0200_screenfield_hide_logic                             *
    FORM f0200_screenfield_hide_logic.
      LOOP AT SCREEN.
        IF rb_acc = c_x.
          IF screen-group1 = c_all.
            screen-active = 0.
          ELSE.
            screen-active = 1.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
        IF rb_all = c_x.
          IF screen-group1 = c_acc.
            screen-active = 0.
          ELSE.
            screen-active = 1.
          ENDIF.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    ENDFORM.                    " F0200_SCREENFIELD_HIDE_LOGIC

  • How to know the function or business scenario of certain field?

    hi experts!
    What should i do when i want to know the function or business scenario of certain field but there is only the defination of this field in SAP HELP???
    eg.
    What shou i do when i want to know the fuction or effact of the field "vendor" in customer master,general data,control tabpage.
    In other words, i  want to know what will happened to the customer master if i entry a vendor number in the field "vendor".
    The HELP is just tell me about the field "vendor"'s defination.
    I've tried using SE11 to verify "where-used list" of the field "vendor", however, there is only the list but any fruther information about how it works and the business scenario it is used.
    please help me, I have been  puzzled for a long time.
    thank you so much!
    Edited by: tang dark on Sep 15, 2008 5:37 PM

    Hi,
    This is in fact related to functional knowledge which can be mapped via SAP, which means if you are able to visualize the scenarios in your domain then only you can understand the logic of every field in SAP... not only in the customer master. But as of now I can give you some idea about the Vendor filed in the customer master. This means this customer can act like as a vendor for your company.
    Hrishi

  • How to disable certain form fields from a calculation with a check mark fields.

    How to disable certain form fields from a calculation with a check mark fields.
    In Canada we have to taxes
    I create a form that calculate them to a total
    I need to be able to turn off any of those to taxes to participate to the calculation and their visibile field should become 0
    I was thinking using a checkbox (when checkbox is on (Yes) the tax is calculated, Not ticked (Off) the tax is not calculated and the visible field should show 0 or nothing....
    I really need help on this one — I’m a complete newbie....
    Remark that the second tax is calculated on the sum of what the first tax add (first tax is pan-canadian tax (all provinces).
    The second tax is never use alone (Quebec only (on top of the Canadian one)
    Sometime for outside Canada sell - No tax at all is calculated....
    What should I do?

    I want to tank you to help, really appreciate —>
    This is the code and order... I just trow the checkbox in there (they have, so far, no purpose...)
    The code use is
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 7.25) / 100
    I guess -If the checkBox are check - The tax should be calculate — If “Off” the tax should be not calculated and PriceHST and /or PriceQST should show zero or be empty — The HST is always calculated in Canada, but the QST is added only in Quebec.
    I need to turn both to Zero for international sale.
    Message was edited by: Chacapamac

Maybe you are looking for