Char length for source and target

Hi
i am getting vbeln firsr length is 20.  now i need map 0doc_number, this length is getting 18. how can i decrease lenthg of this object.can i write any code?
regards
suneel.

You have two options ---
1. Reduce the length while passing the data through UR/TR/Transformation by writing field routine.
(This will be applicable only to your data model)
2. Write Transfer Routine at InfoObject Level.
(This is applicable globally wherever 0doc_number infoobject is used.)

Similar Messages

  • How to create Same file names for source and target.

    hi
    Can any body send Procedure for below requirement.
    how to create the dynamic file names for a source and save the file with same name in the Target, because it has to identify that which sender had sent the file and the target file should be again sent back to the customer as a link.
    Please help me.
    Thanks

    Hi,
    See the below link
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - sender file name as receiver file name
    Regards
    Chilla

  • Expdp with network_link and different character sets for source and target?

    DB versions 10.2 and 10.1
    Is there any limitation for implementing expdp with network_link but target and source have different character sets?
    I tried with many combinations, but only had success when target and source have the same character sets. In other combinations there was invalid character set conversion (loose of some characters in VARCHAR2 and CLOB fields).
    I didn't find anything on the internet, forums or Oracle documentation. There was only limitation for transportable tablespace mode export (Database Utilities).
    Thanks

    Hi DBA-One
    This link
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm#CEGFCFFI
    is from Database Utilities 10g Release 2 (10.2) (I read it many times)
    There is only one thing about different character sets.
    I quote:
    Data Pump supports character set conversion for both direct path and external tables. Most of the restrictions that exist for character set conversions in the original Import utility do not apply to Data Pump. The one case in which character set conversions are not supported under the Data Pump is when using transportable tablespaces.
    Parameter VERSION also doesn't play role here, because the behaviour (character set) is the same if I use for target and source only 10.2 or (10.2 and 10.1) respectivly.

  • Using isetup for source and target instace being same.

    Can we use isetup to create a replica of existing operating unit and the modules connected with it?
    Ahmed,

    Yes, Yes. Very much. You can have a look at 'Financials Operating Unit Level Setup' selection set to achieve what you are looking for. Here is the step to do:
    1) Create an Extract using 'Financials Operating Unit Level Setup' selection setFinancials Operating Unit Level Setup' selection set
    2) After successful completion of Extract, transform the Extract using Transform module. During transform you can change the Operating Unit name.
    3) Load the Transform to same instance.
    Make sure that you have all mandatory patches applied on your instances. I have documented the required patches on each release in the announcement section.
    Thanks
    Mugunthan.

  • Parametrized relation connections - don't work when source and target are different

    Hi All,I have next problem:I am using parametrized relation connection firstConnection (user and (encripted)password are taken from parameter file). Here are values from param file: $DBConnection_source=firstConnection$DBConnection_source=firstConnection$ParamUser=svaba$ParamPwd=Dni32iRiH0Yjro1U04+RTC==  This is (source and target are same) working fine for years.
     But now I need two different connection, i.e. source is (existing)   firstConnection and target is secondConnection. On both instances I have  same user 
      (svaba) with same password. I created second parameterized connection with  user = $ParamUser    and password = $ParamPwd     Now, parameters are: $DBConnection_source=firstConnection$DBConnection_source=secondConnection$ParamUser=svaba$ParamPwd=Dni32iRiH0Yjro1U04+RTC== When run workflow, got error: ORA-01005: null password given: logon denied.I triede to change connections by entering values for password (not use parameters for password) got error: ORA-01017:invalid username/password:logon denied.When I am using same (parametrized) connection for source and target (any of these two) everything is fine. That is sign that connections are good. Does someone have any idea about this problem

    Hi All,I have next problem:I am using parametrized relation connection firstConnection (user and (encripted)password are taken from parameter file). Here are values from param file: $DBConnection_source=firstConnection$DBConnection_source=firstConnection$ParamUser=svaba$ParamPwd=Dni32iRiH0Yjro1U04+RTC==  This is (source and target are same) working fine for years.
     But now I need two different connection, i.e. source is (existing)   firstConnection and target is secondConnection. On both instances I have  same user 
      (svaba) with same password. I created second parameterized connection with  user = $ParamUser    and password = $ParamPwd     Now, parameters are: $DBConnection_source=firstConnection$DBConnection_source=secondConnection$ParamUser=svaba$ParamPwd=Dni32iRiH0Yjro1U04+RTC== When run workflow, got error: ORA-01005: null password given: logon denied.I triede to change connections by entering values for password (not use parameters for password) got error: ORA-01017:invalid username/password:logon denied.When I am using same (parametrized) connection for source and target (any of these two) everything is fine. That is sign that connections are good. Does someone have any idea about this problem

  • OWB 10g -- Can't Create Database Links for Data Source and Target

    We installed OWB 10g server components on a Unix box running Oracle 10g (R2) database. The Designer Repository is in one instance. The Runtime Repository and the Target are in another instance. The OWB client component was installed on Windows XP. We create a data source module and a target module in OWB. The data source is on another Unix box running Oracle 9i (R2) database. We try to create database links for data source module and target module, respective. But when we created and tested the DB links, the DB links were failed.
    For the database link of data source, we got the following error message:
    Testing...
    Failed.
    SQL Exception
    Repository Error:SQL Exception..
    Class Name: CacheMediator.
    Method Name: getDDEntryFromDB.
    Repository Error Message: ORA-12170: TNS:Connect timeout occurred
    For the database link of target , we got the following error message:
    Testing...
    Failed.
    API2215: Cannot create database link. Please contact Oracle Support with the stack trace and the details on how to reproduce it.
    Repository Error:SQL Exception..
    Class Name: oracle.wh.ui.integrator.common.RepositoryUtils.
    Method Name: createDBLink(String, String, String, String).
    Method Name: -1.
    Repository Error Message: java.sql.SQLException: ORA-00933: SQL command not properly ended.
    However, we could connect to the two databases (data source and target) using the OWB’s utility SQL Plus.
    Please help us to solve this problem. Thank you.

    As I said prior the database link creation should work from within the OWB client (also in 10).
    Regarding your issue when deploying, have you registered your target locations in the deployment manager and did you first deployed your target location's connector which points out to your source?
    I myself had some problems with database link creations in the past and I can't remember exactly what they were but it had something to do with
    - the use of abnormal characters in the database link name
    - long domain name used in as names.default_domain in my sqlnet.ora file
    What you can do is check the actual script created when deploying the database link so see if there's something strange and check if executing the created script manually works or not.

  • No mapping for Same structure in source and target

    Hi Experts,
    I want to transfer the source structure to two receivers . Here source and target structures are same so i dont need mapping.
    My question is how many DT,MT and MI required .. mapping required or not.
    Thanks in Advance
    CS

    hi  CS,
                 here in  your  scenario as  u  have  told  that  source  and reciver  are of  same  structure . definitely you didn't need  any  mapping . and you have to create two data type(one for sender and  one for receiver) , two message  types(one for sender and one for receiver)) , and  two message  interfaces(one for sender and one for receiver).
    while creating message types it asks for data  type and while creating message interface it asks for message type only . as the structures of sender and receiver are same then inspite of having two receivers  we  have to create  ony one message interface on sender side . later the adapter will take  care of further proceedings
    but  in  case of configuration you have to import three business systems . one for sender and  two for receiver systems . and  you have to configure the communications  channels  accordingly. as per the receivers accepting the structures you have to use the relevant adaptors .

  • Any Best Practices (i.e. DOs and Don'ts) for source to target MAPPINGs?

    Hi Experts,
    Any Best Practices (i.e. DOs and Don'ts) for source to target MAPPINGs?
    I will appreciate any hints on this.
    Thanks

    Hi,
    I am assuming that you are asking about transformation mapping between source and target..
    1) One to One mapping
    2)Avoid using complex calculations
    3) if any calculations required use routine instead of formulas
    4)if possible avoid Using field routine (you can do start or end routine )
    5)Do not map unwanted fields ( unnecessary process time,database occupant, also problem while activation of DSO data )
    6)Avoid using master data read mapping option instead you can use routine to fetch the master data
    7) no need of using  infosurce
    8)Use standard time conversions for time fields
    Generally these things we need to consider while mapping..
    Regards,
    Satya

  • The source and target structure have a different number of fields

    Hi,
    I am new to workflow and I am trying to create an attachment in Workflow (SAP ECC 6.0) and pass it through to a User Decision (User Decision works fine) however the workflow is failing on the attachment step with u2018The source and target structure have a different number of fieldsu2019. The bindings check ok. Please see details below.
    I have used document u2018Creating Attachments to Work Items or to User Decisions in Workflowsu2019 by Ramakanth Reddy for guidance. Thanks in advance.
    1) Workflow containers (SWDD)
    WORKITEMID (import)
    ZSWR_ATT_ID (export)
    SOFM (export)
    2) Task Container (PFTC)
    1 Import parameter defined u2013 WORKITEMID (swr_struct-workitemid)
    2 Export parameters defined
    - SOFM (Ref. obj. type SOFM)
    - ZSWR_ATT_ID  (swr_att_id-doc_id)
    Binding task -> Method
    Binding for 1 parameter (import) defined
    Task <- Method
    Binding for 2 parameters (export) defined
    3) Z  BOR object created with a Method, Method Parameters and Event (SWO1)
    1 import parameter defined
    2 export parameters defined
    Method calls FM SSF_FUNCTION_MODULE_NAME, CONVERT_OTF, SCMS_XSTRING_TO_BINARY and SAP_WAPI_ATTACHMENT_ADD
    Workflow is triggered by FM SAP_WAPI_CREATE_EVENT, Return_code = 0
    Event_id = 00000000000000000001
    Test results
    A) Triggered by ABAP/ FM SAP_WAPI_CREATE_EVENT - SWI2_DIAG results
    Work item  14791: object <z bor object name> method <method name> cannot be executed. The source and target structure have a different number of fields (this message is repeated 3 times). Error handling for work item 14791. No errors occurred -> details in long text (message is repeated 3 times).
    Message no. WL821, OL383, WL050 in long text
    B) Z BOR Test method <execute>
    Enter workitem id.
    Runtime error - Data objects in Unicode programs cannot be converted. The statement "MOVE src TO dst" requires that the operands "dst" and "src" are convertible. Since this statement is in a Unicode program, the special conversion rules for Unicode programs apply.                                        
    In this case, these rules were violated.   
    Program                             SAPLSWCD                
    Include                                LSWCDF00                
    Row                                    475                     
    Module type                        (FORM)                  
    Module Name                      MOVE_CONTAINER_TO_VALUE           
    C) Z BOR Test method <debugging>
    Enter workitem id.
    SAP_WAPI_ATTACHMENT_ADD, return_code = 0, message_lines  = Attachment created            
    both  swc_set_element container work ok
    Runtime error occurs after end_method executed. Data objects in Unicode programs cannot be converted.
    D) Workflow test
    Enter workitem id <execute>
    Task started> Workflow log> Status = Error
    Workflow errors in Attachment step (however Office document can be viewed in details for step).

    Problem has now been resolved. Problem was related to use of swr_att_id structure and swc_set_element statement in BOR program - problem resolved by only setting w/f container to swr_att_id-doc_id.

  • Issue in mapping the same source and target fields

    Hi All,
    I am working on PI 7.0 and currently I am connecting to PI 7.0 via citrix desktop . Problem here is : in the mapping , direct mapping option that is available to map the same source and target fields is disabled . I do know that this is due to some java version issue .
    What I want to know is there any possibilty of solving this issue without installing an updated java version ?
    Regards
    Vinay P.

    I've faced the same for many times and all of that were due to Java version.
    1st of all, you have to check the authorizations you have. If you have enough (DEVELOPER_J2EE, CONTENT_ORGANIZER_J2EE, and so), and - obvious but very often forgotten - you have to assure you're trying to change it in the message mapping change mode On.
    Then, last shot should be downgrade your Java version.
    The 1.4.2 JRE version allow you to use not only the Mapp the Identical field but also Dependencies, Clear Mapping and some other tools/buttons. As mentioned above, if there's a fix in the new Java releases, I do not know (hope so) and would appreciate if you could let us know.
    Tks.

  • HOWTO set source and target in WTK KToolbar

    I am having trouble getting my MIDlet compiled when pressing the Build button in the WTK's KToolbar. I get the following error:
    generics are not supported in -source 1.3
    This is because I have JDK 1.6 installed and I'm trying to use a Vector in my code that is typed.
    How do I configure the javac settings through the KToolbar so it uses the javac -source and -target arguments?
    Thanks.

    The thing is like
    while practicing in my institute I had used "//ECCserver/SAPMNT" as path for both sender and reciever communication channels...
    now i'm unable to write the path for both
    please help me out

  • Entering Source and Target Values in Value Mapping

    Hi,
    Is there any auomative way of entering source and target values in Value Mapping or FixValues instead of manually entering the values.
    I have around 400 values to be entered on both sides.....just thinking of an easy way to do it....
    Thanks for suggestions.
    Regards,
    Bharani

    Hi,
    Use value mapping replication
    chk this link as to what SAP docs say on value mapping replication
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
    Value Mapping replication - Value Mapping replication
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    ValueMapping using the Graphical Mapping Tool
    The specified item was not found.
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    Regards,
    Swathi

  • Can source and target tables be the same

    Hi there,
    I need to restate profit center column in the delivery fact table. Historical Profit Centers need to be populated since today is the first time we brought in Profit Center field from LIPS table. The source for the delivery fact table is SAP LIPS table. so what I did is:
    joined the LIPS and delivery fact table on (LIPS.delivery number = deliveryfacttable.delivery number & LIPS.delivery line item number = deliveryfacttable.delivery line item number) to get the profit center.
    So the source and the target delivery fact table are the same. Is this a good practice becuase Data services warns me that the source and target tables are the same.
    Please let me know a better alternative approach to this OR a better approach to restate fields for historical data. Thanks in advance.
    Regards,
    samqiue

    Arun,
    actually the LIPS resides on another server and in order to fetch data I have to write an R3 ABAP data flow, so I cant use it directly in a lookup.
    Except what Im thinking based on your reply to use a lookup table is: that I will extract 3 colums (delivery number, delivery line item number and profit center) to a table and then use the lookup.
    Thanks.
    Regards,
    samique

  • Is it possible to have source and target schema in the same DB instance ?

    Hi All,
    I'm using Oracle 11gR1.
    I have switched source locations from other server to the one with OWB.
    During deploy I get VLD-3064 and I can't deploy mapping because of many 'table or view does not exist' warnings.
    Is it possible to have source and target schemas in the same instance ??
    How to do it ?
    Regards,
    Martin

    Hi Jörg,
    Thanks for your help and quick answer.
    I'd like to clarify a little your answer :
    1. Are the any special privilages I need to set ? Currently I have only 'RESOURCE' and 'CONNECT' (I think I didn't have to add any other privs when that schema was located on other instance...)
    2. Also VLD-3064 states that : 'Owning and referenced location of this connector are on the same database instance. Unless explicitly referenced in configuration settings no generated code will use the dataabase link resulting from deployment of this connector'. Does it mean I have to put something in configuration ?
    Thanks,
    Martin

  • LMDB - SLD "Source and target system have the same object server name"

    Hi,
    the system is a SM7.1 SP1
    For some reason (Object-Server-Name changed), the job that syncs the sld and lmdb cancels...
    I set the LMDB-Object-Server-Name to its original Name...
    Now i've deleted the sync-config in the solman_setup and try to start a new sync, but i get the following error, when i try to configure the source-system:
    'Source and target system have the same object server name: CISM318'
    But the names are different: 'SM3' (LMDB) and 'CISM318' (SLD)
    Any suggestions ?
    best regards
    Christoph
    Edited by: Christoph Bastian on Aug 26, 2011 9:37 AM
    Edited by: Christoph Bastian on Aug 26, 2011 11:18 AM

    problem solved...
    Apparently the sync needs some hours to finish a object-server-name-change...
    best regards
    Christoph

Maybe you are looking for

  • EnqServer error when starting

    Hello everyone, who meet this issues at below i installed ECC 6.0 SR3 on windows 2003 64bit. when i start the instance with ED1ADM user, the Enqueueserver log is as following, would you please help me find out what's the exactly reason, thanks a lot

  • User Settings Suddenly Missing - Help Please

    Greetings! I have an iMac G5 Rev B running 10.4.2. Yesterday, everything was running fine. I only did some Web surfing and e-mail, didn't install anything. I quit the open programs, logged out, then shut-down the system last night. This morning, it c

  • Site appearing irregular on mobile firefox compared to desktop

    i have site http://www.twxdroid.com/ which viewed perfectly on desktop browser but appears irregularly on mobile firefox (works perfectly with another mobile browser) , plz give some suggestion

  • Is it possible to create a java program which can find the answer to any sudoku

    This is may sound as a beginner question but thats because i am a beginner. i have just learned the java language and now i am reading essential classes on oracle tutorials. anyway is this possible ? i think it is and i have been trying to do it but

  • My ipad2 is stuck in negative color mode!

    I am new to the iPad world. But my ipad2 is stuck in like the negative color mode whereas everything is in off color. I forgot how to change it back, I know it is something to do with holding a button down. Please help!