Mapping: constant to integer field

Hello,
I've a integer field in target. I've need mapping to constant value. How can i do it?
Now,  i've:
constant   ->   integer field
   5  
in SXMB_MONI i can see the message with status waiting and no change
i suppose that this value (constant) is a string, but i am not sure, how can i do this?
thanks very much

>
silvia diego wrote:
> Thanks to all,
>
> the message is waiting in 'integration engine', exactly MI_MT_PEDIDO_TRAS_ASY_INB
>
> i think the problem is this because when i delete this field in the data type the mapping is ok.
If your message is waiting state and no change
you can try  to register the Queues
TCODE SXMB_ADM -> Manage Queues -> Register the Queues.
Or run program: RSXMB_REGISTER_QUEUES .
Regards
Anika

Similar Messages

  • Re: Suppression of 0 in an Integer field

    Chuck,
    Use the template of the widget to suppress the zero when it is zero. The
    template of an numeric field can contain up to four combinations of
    templates, separated by semi-colons: positive;negative;zero;null Thus, a
    possible template might be: 0;<0>;; This would display a blank field for
    both zero an null values of the integer (or IntegerData / IntegerNullable)
    in question.
    Don
    At 06:07 PM 4/21/97 -0700, Chuck Davis wrote:
    I have an array object that has one of the columns defined as an integer.
    I map this array to a widget where the corresponding column is a data field.
    The widget shows a zero when I tab to it. I do not want this zero to show
    up so the user can just begin typing into the field. Making this field
    integernullable is not an option because I later insert it into a key
    field in a table that is not nullable. Any ideas on how to overcome this
    would be appreciated!
    ====================================
    Don Nelson
    Senior Consultant
    Forte Software, Inc.
    Denver, CO
    Corporate voice mail: 510-869-3400 x2209
    aka: [email protected]
    ====================================

    From: Don Nelson <[email protected]>
    Date: Mon, 21 Apr 1997 21:08:21 -0600
    Subject: Re: Suppression of 0 in an Integer field
    Use the template of the widget to suppress the zero when it is zero. The
    template of an numeric field can contain up to four combinations of
    templates, separated by semi-colons: positive;negative;zero;null Thus, a
    possible template might be: 0;<0>;; This would display a blank field for
    both zero an null values of the integer (or IntegerData / IntegerNullable)
    in question.When I tried it on my system, the template above displays as blank for zero
    but N/A for null. I can't get the null portion of the template to work unless
    I put a specific displayable character in there (e.g., "0;<0>;;*"). A space
    doesn't seem to work either. Am I doing something wrong?

  • How to map lookup main table field in another main table using MDM 7.1?

    We created a new SAP MDM 7.1 repository with multiple main tables.  The first main table is called ProductMaster table which contains Products information.  The ProductCode is the primary key and the only display field for the table during data loading process. The second main table is ProductByRegion table which has a main table lookup field ProductCode and a RegionId field.  These two fields (ProductCode and RegionId) combine as the PK for this main table.  Both main tables have key mapping enabled. 
    I was able to load ProductMaster table using Import Manager.  But Iu2019m having trouble to load data into ProductByRegion table using MDM Import Manager.  Although I have met all the 5 requirements below (excerpted from MDM Import Manager Reference Guide P.222), the ProductCode wonu2019t show up on the destination value pane.  If I mapped all productCode to NULL field, ProductCode wonu2019t load.  If I u2018Addu2019 all ProductCode to Destination Value pane, the Import Manager added duplicated rows to Product Master table while only loading 1 record to ProductByRegion table.  I canu2019t get ProductCode show up in Matching Destination Field list.  When I checked ProductMaster records in MDM Data Manager, I right-clicked on one of records, chose Edit Key Mappings, it didnu2019t show anything.  However, if I right-clicked on one of those duplicated rows, Edit Key Mapping shows remote system and key correctly.
    Where did I do wrong?  How can I fix the problem?
    Thank you for help in advance.
    From: SAP MDM Import Manager Reference Guide:
    Mapping to Main Table Lookup Destination Fields
    Import Manager handles main table lookup fields (Lookup [Main])
    differently than other MDM lookup fields. Specifically, Import Manager
    does not display the complete set of display field values of the records
    of the underlying lookup table. Instead, the values it displays for a main
    table lookup field are limited by both the key mappings for the lookup
    table and the values in the source file.
    Also, Import Manager does not automatically display the values of a
    Lookup [Main] destination field in the Destination Values grid when you
    select the field in the Destination Fields grid. Instead, for a main table
    lookup field value to appear in the Destination Values grid, all of the
    following conditions must be met:
    u2022 The lookup table must have key mapping enabled
    u2022 The lookup field must be mapped to a source field
    u2022 The source field must contain key values for the lookup table
    u2022 The destination value must have a key on the current remote system
    u2022 The destination valueu2019s key must match a source field value
    NOTE ►► The current remote system is the remote system that was
    selected in Import Manageru2019s Connect to Source dialog (see
    u201CConnecting to a Remote Systemu201D on page 416 for more information).
    Vicky

    Hi Michael,
    Thank you very much for your response.  I'm new to SAP MDM, I need some clarification and help regarding your solution. 
    I did use two maps to load ProductMaster and ProductByRegion separately.  Here were my steps:
    1. create main table ProductMaster with key mapping enabled at the table level and set ProductCode as unique and writable once (primary key).
    2. create a map to load ProductMaster record from a staging table located an oracle database.  But Key mapping didn't show anything when I looked at them using Data Manager.
    3. create main table ProductByRegion with a lookup field looking at ProductMaster table.  This field and RegionId combines as a unique field for ProductByRegion table. 
    4. create a map to load ProductByRegion table.  But ProductCode records only shows on the source pane not destination pane and can't be mapped properly.
    My questions:
    1. How can I "Ensure that you add key mapping info for all ProductMaster records" besides enabling Key Mapping on the table level?
    2. How can I define a concatenation of ProductCode and RegionId as a REMOTE KEY"?
    Thanks a lot for your help!
    Vicky

  • In XI Mapping multiple fields mapping to single target field.

    Hi Friends,
    In XI Mapping multiple fields mapping to single target field.
    For example my requirement is :
    Source Fields:(This RFC BAPI Structure)
    Empno                0-1
    EmpName           0-1
    Address             0-1
    Taget Field is:
    Details               0-1
    The above three fields passed to the Details Field. Here i am using Concat function
    But i have one query on that on,Every field having "line Break" required.
    Can you please help me out above this requirement.
    Thanks in Advance,
    Sateesh N.

    If you want a line break between the three fields, then try
    passing a,b,c to the udf and in the udf you would have
    return a+"\n"+b+"\n"+c;

  • Control an Integer field Length without using Validation ??

    Hi,
    I have Couple of fields where I need to configure them as Integers.
    Now each one has a fixed length that i need to limit to.
    But when i create a field of type: integer, i cannot select teh length!!!
    To achive this the idea i have is to write a validation which checks length..
    But can i achive it without going for a validation on each field???
    PS: I am aware that TEXT field can limit the length But it also allows me to enter text values, my requirement clearly says that to allow users to only enter Numeric values..
    Did anyone face a similar Case?
    Kind Regards
    Eva

    Hi Eva,
    I didn't try in the system, but I feel there are two solutions to achieve your requirement (*of course in both cases you will need to write a simple validation)
    Solution 1 : When field is defined as "Integer" in Console.
    lets take an example, you want to restrict an integer field with a limit of max 4 characters.
    Maximum value of a 4 character integer can be "9999". So, you can put a simple validation to compare the field value with 9999. if the value is less then this means fields values is less than 4 characters, else more than 5 characters.
    In this case Your validation expression in expression editor will be:
    FIELD NAME<= "9999"
    Solution 2 : When field is defined as "Text" in Console.
    In this case you can restrict the maximum field length through Console. But you will also need to write a validation to ensure that user is not entering any alphabets or special characters in this field.
    In this Case you can use below validation:
    HAS_ALL_CHARS(FIELD NAME, "0","9")
    This will ensure that field has all characters between 0 and 9 and doesn't hold any special character or alphabets.
    In Both cases you will need to set  "Automatic Execution" property as "Error". Also please do not manually type any function or value in expression editor. use drop down for fields, operators, functions etc.  and enter numeric values using the first blank box before dimension list.
    Kindly revert if you face any issues.
    -Shiv

  • Is Text/Integer Field required in Flat Lookup table?

    Hi,
    I have a flat look up table.
    In that i want to create 4 Flat lookup fields....... one of them will be a display field.
    But when i Verify Repository with this structure then it gives me Fatal Error:
    $$$ Fatal error(1323): Table 'Product Hierarchy'(A2i_24) does not have valid display field(s): 1:79;.
    $$$ Invalid display fields are 79.
    $$$ Table Product Hierarchy must have one or more display fields.
    When i repair the repository......... it adds 1 Text Display field in my table.
    Does is mandatory to have 1  text/integer field in lookup table?
    If NO what i m doing wrong & if YES then Why?
    Thanks,
    Mahi

    Sorry.......... Posted in Wrong forum.
    Thanks,
    Mahi

  • Retreive IDOC number and map it to a field in Target XML

    Hi Experts,
    IDOC to file scenario
    I have a requirement where I have to retreive the number of the IDOC generated and map it to a field ID in the target XML.
    Do i have to use a UDF for this? can ne one pls explain?
    Regards,
    Teja

    Hi Ravi,
    You dont need use a UDF for this.
    this is a very simple requiremen.
    You can get the IDOC number from source IDOc
    under EDI_DC40 node field name DOCNUM.
    This DOCNUM fielsd will contain the IDOC number
    Map this DOCNUM field from source IDOC to target XML structure.

  • JDO : how to map a byte array field correctly

    Could someone please provide an example on how to correctly map a byte array field in a PCClass.
    The field should be mapped to a BLOB field in my Dictionary project.
    The checker keeps throwing errors during the enhancement process. Tried all sorts of combinations of xml in my jdo and map file (using the dtd) but I still haven't found the solution. The compilation works fine though, it is only the checker that complains.

    You're already in a PDF open in Acrobat (not the free Adobe Reader) and you've made a new PDF? Which you want to save to disk and reopen?

  • Dashboard Prompt - Integer field (material number) - remove commas

    Hi all,
    We have a problem with one number field that added as a prompt in the dashboard. This is an integer field contains Material numbers shows commas and we need to remove commas. Problem is we cannot cast it because we need to keep it as ineteger field to sort the column. Please advise to correct this either repository area or in the dashboard prompt sql statment that applicable to an **integer** field to remove commas.
    Appreciate all your help!!
    Thanks,

    Thank You Svee. I have already tried override and treat number as number but that still showed the commas.
    What I was missing was clicking on save as the system-wide default. I never tried that before and this worked. I appreciate your help.

  • Map or filter a field

    Dears,
    I have a BAPI based interface and I need to map or filter one field of its IDoc.
    Is it possible to set a fixed value at BD64 transaction or any other transaction?
    The external system sends the field with valid values and I need to change them to zero.
    The BAPI used in the interface is standard so I was hoping that would be possible to change the value without changing the BAPI.
    Interface: HR-PDC
    Message Type: HRCC1UPTEVEN
    Basic Type: HRCC1UPTEVEN01
    Segment: E1BPCC1UPTEVEN
    BAPI: Object PTMgrExtPExpenses, method Insert (Function HR_CC1_TIMEEVENT_POST).
    Field: TIMEID_NO
    Thanks in advance!
    Best Regards.
    Anaer Lima

    "Not" is not yet implemented, but it is one of our top 10 requested features. So fear not, we'll be adding it. It's not the top item on the list, however, and it is not exactly inexpensive (as there are not just a few ways of using it). So I can not
    yet provide an estimate regarding when it will show up.
    But without a doubt, we won't be omitting no aspects of nothing except none of the features other than what we didn't implement for nobody. Not.
    - Chris

  • COPA- How to seggregate when 2 condion type are mapped to one copa field

    Hi,
    I have a scenario, wherein 2 Billing condition records PDIF & PR00 mapped to one copa field.
    Going forward, I can map each of them to different copa fields, then is their a way to correct past data?
    These 2 condition records have diffrent billing types.
    If I go to CE1XXXX table, I have an option to pull data according billing types.
    CE4XXX Segment table being a higher level table, I can't extract data per billing type.
    Realignment and Reorganizing copa data doens't seem to address the fix.
    Looking for some good suggestions.
    Thanks,
    Parimala.

    Hi,
    From what I think, it is probably not possible and best not to correct the past data in this case.  Technically, will you have any idea as to how to break this data, and based on what weightage, percentage or conditions?  And how many years back are you going to correct the data?
    I can suggest that you correct the data by reversing the old data out (by posting in opposite figures), put in the new mapping, and repost the data again.  However, in this case, you'll lost the history of the posting and it will take a lot of time to identify the data and re-post. 
    It's best to use the mapping from a logic break onwards, such as going forward in a new fiscal year... it's probably going to cost a lot of effort in re-educating the users, and correcting the reports, but it might be more effective from IT point of view.
    Hope this helps.
    Cheers,
    Gimmo

  • Map ? extends Integer,String mylist

    HI Friends ......
    The below program compile and run properly but incase if may i enable Line 5 , i have get compile time error.
    What the reason ..?How can i solve this problem..?
    import java.util.*;
    public class GeniricDemo {
         public void takelist(Map<? extends Integer,String>mylist)
    /*Line 5 */      //     mylist.put(new Integer(2), "sdfsd");*+
              System.out.println(mylist.size());
    public static void main(String...y)
         HashMap hp=new HashMap();
         hp.put(1, "java");
         new GeniricDemo().takelist(hp);
    }

    Change from "? extends Integer" to only Integer. Integer is final and can't be subclassed, so it's safe in this case.
    Using "? extend blahblah" means that you can't put any values in it, since the actual type can't be checked.
    Kaj

  • Unable to map two date IO fields

    Hi gurus
    I am new to sap BI. I have a functionality to find difference between two date values using replacement path.
    My flat file contains fields like Plant , material , created on , changed on ,amount.
    While creating Cube, I have dragged and dropped OCALDAY , OCALMONTH2 and OCALYEAR in Time dimension.
    Now while creating transformations I am unable to map the two date fields. Could somebody let me know how to achieve this.
    Points will be rewarded.
    regards

    Hi
    Actually I am trying to understand replacement path functionality from the below link.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/705734f2-4e85-2e10-2ebf-891d0110de74?QuickLink=index&overridelayout=true&51552492481778
    I am creating a flat file in the same format as given in link.
    Based on ur suggestion I changedon field changedon as DATS type and placed it in characteristic Infoobject catalog.
    Now I map createdon field with OCalday and then changedon field with OCalday but it won't work.
    My question is , should I create fields createdon and changedon as two separate KeyFigure  infoobjects?
    If any routine is to be written could u please elaborate on it?
    regards
    krishna

  • Getting YYYYMM(format) integer field previous yr

    Hello,
    I have an integer field  which stores dates. It has values such as 201401,201402 etc
    Create table #test(yrmnthid integer)
    insert into #test values ('201401')
    insert into #test values ('201402')
    select * from #test
    I want to get two things out of this field
    1. to get the previous year from the field
    so the answer would be (201301,201302)
    2. to get the e immediate preceding year and month from the field
    so the answer would be (201312,201401)
    please advice if this can be done in tsql?
    thanks

    with cte
    as
    select cast(cast(yrmnthid as varchar(6))+'01' as date) dt
    from #test
    ) select 
     convert(char(6),dateadd(year,-1,dt),112) dt1,
     convert(char(6),dateadd(y,-1,dt),112) dt2
     from cte
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Mapping problem for date field

    Hi XI Friends..
    In my file to idoc scenario..
    i have field date value :2006-10-10T14:10:10
    i have convert the above field into two fields idate :20061010
    itime:141010
    i used substring datetransfer functions..
    but in static test of message mapping ..i am getting value for itime as 021010
    if we give before 12:00:00 its converting properly..after 12.:00:00 its taking 12hr format only..
    please guide me..
    regards
    ram

    Hi Ram,
    Is this still a problem?
    I think the hint will also work in this case:
    sourcefield --> replaceString(sourceField/constant[T]/constant[]) --> TransformDate(yyyy-mm-ddHH:MM:SS --> HH:MM:SS) --> targetFieldTime
    sourcefield --> replaceString(sourceField/constant[T]/constant[]) --> TransformDate(yyyy-mm-ddHH:MM:SS --> YYYYMMDD) --> targetFieldDATE
    Daniel

Maybe you are looking for

  • Can't copy files to my Desktop

    Hi, I can't figure this one out... hope you can help. I just ran disk Warrior on my machine to clean up and restore my disk, but after that I am having problems writing files to my desktop. When I try and open the desktop folder, I get an error of un

  • Example on extracting time data from clusters

    Hi Experts,    Please send me a sample code for time data extraction from clusters. or steps to extract time data from clusters. Thank you. Regards, Admir. Points will be rewarded.

  • Guest Portal Access using ISE

    I'm having an issue setting up the Guest Port Access for our wireless network. I'm trying to setup an SSID anchored in the DMZ for internet access only. The authentication to this would be granted via the ISE Guest Access Portal. I've got the SSID cr

  • Remove saveas from signature

    is it possible to stop the saveas popup from appearing after a digital signature is added? (form created in Acrobat Pro)

  • MFP Experiences?

    I'm wondering how people's experiences have been with MFP, after enabling it on the wireless controllers. How well does/did it work, has it caused any problems? (And what controller version were you running at the time?) I have Intel 2200BG and 3945A