How can I handle the EDI_DC40 segment in transport process? Urgent!!

Hi,
my scenrio: File -> PI -> IDoc.
In IDoc Receiver CC the indicators: Apply Control Record Values from Payload, is actived.
Im Mapping the segment EDI_DC40 is also filled. The fields SNDPRN and RCVPRN are mapped via a UDF to get file name.
So far so good.
During transport I meet problem.
The segment EDI_DC40 is set with ALE information of test systems. After transport the segment EDI_DC40 in productive system has also the same ALE information of test systems and the design objects in product system are not allowed to be changed.
It is not good!
How can I deal with this case? At first I change ALE data to productive Systems, then transport them? After transport I change them back to test systems? It is so troublesome.
Anyone has good suggestions?
Thanks and Regards
Rene

Hi Rene,
                  I never tried this signature tab feature. But you are going to set this parameter values then , I think you need to set them separately for test and for production, since they will vary with environment. But if you use the method given by Mahesh, myself or the filename with "prod" attachment (as suggested by you), the EDIDC parameters will be set dynamically. You  need not alter or set any values separately for test or production env.
Here is the UDF in case you are determining the value from source directory
public String getDirName(Container container){
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
String ourSourceDirName = conf.get(key);
String sndprn;
// say source dir is    /usr/test/inbound
if(ourSourceDirName.indexOf("test")>=0)
      sndprn="XYZ";
// say source dir is    /usr/prod/inbound
else if(ourSourceDirName.indexOf("prod")>=0)
      sndprn="ABC";
return sndprn;
Map this UDF to "SNDPRN" field of  target XML.
Ensure the following events
1. Sender Communication Channel has ASMA properties and Directory ticked
2. UDF has no input as variable
I am just sharing my thoughts, and also I am not aware of signature tab(i am working in PI 7.0).
regards
Anupam
Edited by: anupamsap on Oct 5, 2011 2:36 PM

Similar Messages

  • How can I make the line segment tool repeat several times?

    How can I make the line segment tool repeat several times?

    If this is what you want, hold the ~ key on your keyboard while dragging with the tool.
    If you want spaced copies of the completed line, use the Transform Effects from the Effects menu.

  • How can I define the possible entries for "invoicing process" at fkkinv_ma?

    At the transaction code fkkinv_ma, I fill in the fields "Date ID" and "Identification" but I have a problem with the field of "Invoicing Process". When I psh theF4 button, there comes no search help. What should I do? Should I define the possible entries first? If I should, how can I define the possible entries for "invoicing process"? How is the customization done?
    Thanks in advance for the answers.

    You have to define them in the IMG 
    Financial Accounting (new)
    Contract Account Recievable and Payable
    Business Transactions
    Invoicing
    Invoice Types
    You have to set up a number range, decide what type of Financial transactions should not be invoiced -- like  Dunning Charges
    then you have to have a developer create the form and form class of invoice.

  • How can we handle for german special characters for EXCEL -----URGENT

    HI All,
    I have report like to display data in more than one operating unit like german,us,spain.... etc
    I used the xml version like
    <?xml version="1.0" encoding="ISO-8859-1"?>
    and
    <?xml version="1.0" encoding="ISO-8859-2"?>
    In the above versions I am able to view the output well,but problem with the german/Spain letters.
    in place of germna letters .. it is displaying somethign others
    eg: 1.NYMPHENBURGER STR. 14 MÜNCHEN BAYERN 80335 Germany
    in excel report it is showing as
    NYMPHENBURGER STR. 14; MÃ?NCHEN;BAYERN;80335;GERMANY
    I registred the template with English Language and terrritory as United States..
    Result: I am able to view the ouput without any issues
    Issue: displaying other characters in place of German/Spain letters
    The report has the Customer Ship To address and Short descriptions ..
    please how can we fix this isssue.. it is very urgent for me
    Thanks,
    HTH
    Edited by: user9135824 on Nov 29, 2010 5:07 AM

    Hi All,
    Any body can provide the solution for this.
    Thanks in Advance

  • How can we change the description and name of Process Chain in Production

    Guys,
    Can anyone please help me to understand how can we change the name and description of the process chains in Production in SAP BI?
    Regards

    open the process chain and go to edit mode and then press Ctrl+F6 for a rename... you can only rename the description and not the technical name.
    If you want to edit PC in production - esp one which has been transported - go to transport connection and change the object changeability for the same to everything changeable ( right click on the same to get this option )

  • How can we handle the history datas when openscript terminates abnormallly

    I'm a new comer for openscript. Now i'm trying to use it to fulfill creating some sales orders and then transafer them to AR module. The orders have many lines, so that I use two databanks,one is for the header datas, and the other is for the line datas.After I book the order ,i save the order number into one global variable,i.e,if there are 5 sales orders,I use orderNum0- orderNum4 to record the created sales orders in script 001. In script 002, I want to get the variable values and then post them to AR.
    But if when i'm running script 001, it has created 3 orders and then suddenly terminates. How can I deal with the already created orders ? I know if i want to use them in 002, I can give the global variables orderNum0 - orderNum2 initial values using the new order numbers. But if there are too many datas in the databank,i.e, 100 orders ,and it encounters error after creating 60 orders, how can i proceed ?

    hi,
    As of now I dont know how to export the data to specified column in the databank, even I'm trying to find out the solution for this.
    //**** reading data from the application *****
    OrdNumber=forms.textField("//forms:textField[(@name='ORDER_ORDER_NUMBER_0')]").getText();
    //**** exporting the data for the file.*****
    utilities.getFileService().appendStringToFile("C:\\file_name.csv", "\r\n"+"Order Number: "+OrdNumber);
    info("Sales Order #: "+OrdNumber);
    After that use this file as input databank to the another script.
    Regards,
    MRSN

  • How can one determine the nice level of running processes?

    Renice is a wonderful and easy way to change CPU priority of processes. (If you are working in Final Cut Pro while rendering in After Effects in the background, you can set After Effects to only use leftover computing power that you are not needing in Final Cut Pro, thus not hanging up your work in Final Cut) Google renice to learn more). However.... how do you determine what the current nice levels of processes are?
    Thank you, somebody!

    Thank you! A total mystery language to me ("comm,nice"?) but works just dandy!

  • How can we handle the flatfile having the '~' as delimmiter in LSMW?

    Hi
    i have flat file which is having twenty fields which r seperated by '~' how we can handle it in LSMW
    thanks

    Hi,
    For this in the specify files step, we need to specify file properties there for seperators we need to select OTHER radio button mention the delimiter type there.
    If you have any doubts ask me.
    reward points if it helps.
    Regards,
    Sivaram Gadde.

  • How can I handle the offline registration codes easily?

    After I've successfully installed my (purchased and paid) Photoshop CS6 on my "main computer", I wanted to install a copy on my computer at school, where I do not have internet connection (so I can use only one copy at a time). The offline registration code is a stream of numbers and letters, where it is difficult to distinguish the capital i (= I) from the small L (= l) or half ot 2 (= 1) - depending on the font. Then we have the usual capital o and zero (O and 0) problem. Well, after > half an hour (!!!) entry of my request code on the Adobe site I managed to get a response code to be entered at my offline machine. This was as complicated as the other one and after  40 minutes (!!!!!) try I could not manage to get my CS6 activated. First question: Is there another - hopefully simpler - method? Second question: In the case it might be really nessecary to use such long codes, why can't you omit using these difficult to distinguish signs and why can't you leave the wrong code so I dont't have to retype it such frequently?
    Thank you in advance

    You can always call support and let them talk you through while at the machine. As for the readability issues - all numbers can be copy&pasted to a text editor and then you can set Courier or another machine type. This should eliminate all ambiguities, though I understand your concerns.
    Mylenium

  • How can I handle the Mass Uploads and Mass Changes?

    Hi Experts,
    I'm unable to upload mass data from one server to another server through BOL Programming.
    So help me out with the coding.
    Regards
    Munna.

    Hi Munna,
    Please look into the below images where i have changed description.

  • How can i take the number of a random process to use it in math´s and show the solution to the user?

    i wrote this function and i try to show the number of seconds the user was to early or to late to click the stopbutton to the user.
    its about to hit stop intuitiv while in the background ther is a random number already made but the user dont know or see it.
    the eyes opens in a random between 100 and 40000 millisec. if they open up the user should click stop without seeing them. so its intuitiv.
    i just tryed.
    this code is on the mc with the eyes to let them open randomly. it is on the second frame at the main time code. 1st frame is the start button and a small description. on the second the stop button and the closed eyes with the script down here as i already said. and on the 3rd frame is the end wher it should be shown to the user. thats how i tryed. please let me know any suggestions and or other solutions to my problem! If you need to see my flashfile to help me just let me know. i send it to you or something :-)
    mic(at)hellrec.at
    function randomRange(minNum:Number, maxNum:Number):Number
        return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum);
    var myTimer:Timer = new Timer((randomRange(100, 40000)),1);
    myTimer.addEventListener(TimerEvent.TIMER,openeyes1);
    myTimer.start();
    var duration:uint = getTimer();
    function openeyes1(e:TimerEvent):void {
    gotoAndPlay (26);
    e.updateAfterEvent();

    to save the number use:
    function randomRange(minNum:Number, maxNum:Number):Number
        return (Math.floor(Math.random() * (maxNum - minNum + 1)) + minNum);
    var randomNum:Number= randomRange(100, 40000);
    var myTimer:Timer = new Timer(randomNum,1);
    myTimer.addEventListener(TimerEvent.TIMER,openeyes1);
    myTimer.start();
    var duration:uint = getTimer();
    function openeyes1(e:TimerEvent):void {
    gotoAndPlay (26);
    e.updateAfterEvent();
    p.s. please mark helpful/correct responses.

  • How can we handle material loss factor in transportation in APO

    Hi Experts,
    Steps I am doing:
    1) We have STO from one plant to another and for that we have created transportation lanes.
    2) And also I an using Transportation resource category type -T and assigned to t-lane.
    3) Now the material loss is 3% in transportation.
    Where in T-Lanes or transportation resource we can maintain this loss factor?
    Thanks for your help in advance!
    Regards,
    Hitesh

    Hi Hitesh,
    There is loss factor field in resource used which
    specifies the bucket resource capacity reduction
    The technical name is APO_LSSFCT.  I am not sure
    whether this field is maintained directly in the resource
    or system takes up this value through some calculations in
    background
    Regards,
    R. Senthil Mareeswaran.

  • Errors in flat file records? how can i handle them?

    Hi All,
    I am new for BDC. I am uploading customer(XD01) records using BDC caltransaction method.my problem is when i am running the program, some times my program is not updating the records because of my flat file errors. after i correcting the error records and if i run the same program already updated records not processing. my program not running. what i need to do? how can i handle the flat file for reprocessing the error records?
    i have around 50,000 records in my flat file.

    your program accepts a flat file say the structure of it is structure_load and you create another structure similar to structure_load and name it structure_error.
    loop at itab_load.
    call transactions...
    if success..
    commit work and wait X sec.
    else.
    move-corresponding field to structure_error
    append structure_error.
    endif.
    endloop.
    write the file stru_error to PC or app server and make the changes  to the data and use the str_error as input to your code again..

  • How can I handling Upload file?

    Hello:
    I have the HTML file can Upload file but how can I
    handling the upload file in JSP or Servlet?
    Have any class can use?
    Could you give me an examples?
    Thank so much for your solution.

    http://www.jspsmart.com/scripts/pub/tpl/ShowTplADV_01.asp?P=256&L=EN
    http://www.servlets.com/cos/javadoc/com/oreilly/servlet/MultipartRequest.html

  • How can we handle browser settings while dealing with the security ?

    Hi ,
    how can we handle browser settings while dealing with the security ?When we configured security in web.xml , during the first request the container is asking for the authentication credentials once they are provided it go's on. but when the user gives a fresh request from the second window within the same browser that time it is not asking for authentication. How can we overcome this.Is there anything to do with server configurations?
    How can we make the container no to keep the things or act like session?

    Ya... I am taking a small example need not happen always but a kind of possibility i am thinking off.
    once the user sign out and just left without closing the browser and a friend (suppose not a good friend ... just kidding...) of that user may open the same jsp or file .This time the security is breached. If that feature or property exists....
    I know what you might say ... the user will log-out before leaving where a programer might invalidate the session at the time of log out.
    Consider the case of a bad Programing or just a programer might forget to invalidate,At that time as a application administrator how can he solve that issue.
    Thanks.......
    Edited by: user8483670 on Jun 6, 2011 1:08 AM
    Edited by: user8483670 on Jun 6, 2011 1:09 AM

Maybe you are looking for

  • My Macbook 3.1 with OSX 10.5.8 has a constant spinning wheel from startup on.

    I am a novice at all of this, so please don't shout at me. This all started after a message about no more room available on my startup disc, and there appears that there is nothing in the statrup folder. I don't know how to correct that. I attempted

  • Content file download failed.

    I haven't been able to find anything on this anywhere. Trying to get Windows 8.1 Update (KB2919355) to download, but it keeps failing.  I'm using WSUS 3.2 on Server 2008 R2, 156GB free space on E drive. This error has been occurring since April, but

  • Batch DPS Article Import Breaks Smooth Scrolling Pages

    When will the batch "import" support the ability to import ENTIRE folio's that contain both "snap-to" and "smooth-scrolling" pages? Currently one must add stacks indiviually if they wish to have smooth scrolling stacks incorporated into thier folio. 

  • Select options- (negavtive range)

    Hi, My doubt is ...Is it possible to add a condition in the code to  fetch data if we enter a range of valuesin the RED column of  the selection screen .To be precise I want to restrict dates in my selection screen,if i enter certain dates in the sel

  • Firefox won't download files

    Long story, short version: Problem is a progression from bad to worse. Firefox 33.3 won't download or save files (images, web pages, etc.). File picker doesn't open/ can't browse folders, etc. Tried troubleshooting including: reset firefox, safe mode