Cant use z function in enhancement

hi friends,
i created a  function that work if i run it alone but when i use it in enehancement
the program go to try catch thing.
is anyone know what may be the problem?
thank in advanced,
dana.

thanks ajay fo reply,
the fm code is:
select single value into lv_value from zer_gen
where key1 = 'doc_sys' and
key2 = ''.
if sy-subrc = 0.
replace '&' in lv_value with i_doc_name.
lv_url = lv_value.
return.
else.
message......
endif.
hope u can help me,
thanks.

Similar Messages

  • Still cant use mail function

    Dear Apple Support,
    Although you guys say the iClouds' servers are running correctly,
    however, i still can't access mail function with my Apple ID on all my devices like, Macbook Air and iPad,
    I felt very frastrated on using the iCloud. :'(

    That stinks, if you had an Advisor on the phone, they are supposed to call you back if you get disconnected.
    But most of my emails, familly emails are forwarded to a saved folder, and when accessing from webmail, I can't read their emails. 

  • Cant use function keys under actions. CS4, intel 2 x 2,8 quad

    We have just migrated from CS2 to CS4, and to new computers. I now cant use my function keys (F1 etc) with my actions. Any clues anyone?

    On your new computer, open the System Preferences>Keyboard&Mouse. Make sure the box for Use Function keys as normal is checked.

  • I cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    Chester31,
    Thank you very much for sharing your file with us!  Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
    Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started?  Did you update your iOS from 7.x to 8.0 recently?
    We will continue investigating the problem and let you know what we find.
    Thank you again for your help.

  • ITunes and Quick Time is not functioning so I cant use my new iPod!

    My iTunes won't work.
    I've installed and reinstalled it a few times and it just wont work therefore I cant use my ipod. I have also tried opening the Quick Time Player and my pc went crazy. It wouldn't open either.
    Is there anyway I can transfer songs and such to my ipod without using iTunes or is there any other advice please.
    Thanks.

    You can try the direct download link from Apple.

  • Using Style Function in AdvancedDataGrid to mess with Colours

    Hi
    I am using a styleFunction in an Advanced  Data grid to change the background colours - the function is bellow
    I can mess with the test to my hearts content, but i cant chage the row background.  Is this possible?
    backgroundcolor is just one of many attempts! Looked everywhere, but aside from using a itemrenderer to override I cant come up with a solution (cant use this due to all kinds of nesting issues)
    Any ideas?
              public function myStyleFunc(data:Object,
                col:AdvancedDataGridColumn):Object
                 if (data["RAG"] == "Red")
                    return {color :0xFF0000, backgroundcolor:0xFFF552,fontWeight:'bold',fontStyle:'italic'}; 
                else if (data["RAG"] == "Amber")
                    return {color :0xf7ba48};
                else  return {color :0x1bea15};

    Hi,
    Based on your description, you don't want to meet the following issues:
    The first row returns back all the data from the list up to the value selected.
    Any new item added, replaces the value in the other items.
    Here is an article about InfoPath Repeating Table Lookup control on SharePoint List, refer to it:
    http://www.sumitrawat.net/2009/10/infopath-repeating-table-lookup-control.html
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/43253974-990d-4307-bf54-cc615618362a/issue-with-cascading-dropdown-in-a-repeating-table
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • File scenario error in Used defined function

    Hi Everyone,
    I was doing file to file scenario, i want to get the same source file name in target also.
    I created the structure as FileName, Company, Address. I did direct mapping for Company and Address
    but for field FileName, i created a userdefined function as i want the same file name.
    I mentioned the following code in  Used defined function
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName; 
    When i test the mapping in IR, with sample data, i am getting this error.
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:Target_File_MT/FileName. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._Source_File_to_Target_File_MM_ method DynamicFile$[, com.sap.aii.mappingtool.tf3.rt.Context@1763e46]
    Could anyone please help me with the issue.
    I have done only IR part, I didnot configured ID.
    Regards,
    Varun.

    HI,
    Check Adapter Specific Message attributes.This blog will  help you
    The specified item was not found.
    You can also go for variable substitution :-
    When you specify the target directory and file name schema, you have option of setting variables and defining them in a table. The variables are replaced by elements from the XML structure at runtime.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/464442c1a1c253e10000000a1550b0/content.htm
    links on the dynamic variable substitution
    The specified item was not found.
    The specified item was not found.
    Dynamic File Name Part 1
    Dynamic File Name using XI 3.0 SP12 Part - I
      Dynamic File Name Part 2
    Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II
    Thanks

  • Cant use by WLAN an USB Printer connected to Router

    Hello, Please help my by solving this Problem. I have connected a USB Printer to a Router. The Router recognizes the Printer an shows a Connection. But I cant use the Printer from my MacBook Pro by IP over WLAN. Can somebody help?

    Hi ColinR,
    Looking at the specifications of your BT HomeHub 3 I see that it does not support MAC spooling. To test for sure we can try connecting the printer directly to your Mac which would prove that the printers network function along with the USB function are working.
    We need to restore your network defaults. On page 129 of your User Guide it explains how to restore the network defaults
    To reset the printer's network settings
    1. Touch (right arrow), touch Setup, and then touch Network. Touch Restore
    Network Defaults, and then touch Yes. A message appears stating that the network
    defaults have been restored.
    2. Touch (right arrow), touch Setup, touch Reports, and then touch Print Network
    Configuration Page to print the network configuration page and verify that the
    network settings have been reset.
    Then follow these steps to connect your printer directly to your computer.
    Put the computer on the printers network (temporary)
    Click on the air port symbol on the top left side of the Mac screen
    Choose the network that look relative to the printer (might say HP setup or some variation of the printer name)
    Find the IP address on the test report we printed.
    Open an internet browser (Safari) and enter the IP address into the URL (address bar).
    Click on the network tab, on the left click on wireless or 802.11.
    At this point we are looking for "start wizard" should be on the right hand side.
    Once we have successful configured the printer for your network you can put your computer back on your network. Now you can add the printer to the system preferences and print.
    Let me know how it goes.
    Thank you,
    I worked on behalf of HP.

  • BADI cant use an internal table with header line

    hi,
         In BADI, we cant use an internal table with header line, and I am calling a function module which requires internal table as import parameter, now, the table I am passing is without a header line, So how to solve this problem ?

    You can use a type and then create an internal table of that type.
    types :
    begin of t_<example>
    *field list
    end of t_<example>
    data :
    gt_<table> type standard table of t_<example>
    pass this to the FM

  • Using a function from another file

    Dear friends,
    I have two different java files in one folder. One is sm.java and the other is AVTransmit2.java. The code below describes the create Transmitter function in the AVTransmit2.java file. Now if i would like to use this function in sm.java, how do i do it ? The create transmitter function is shown below. Thank You, Gan.P
    private String createTransmitter() {
    // Cheated. Should have checked the type.
    PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
    PushBufferStream pbss[] = pbds.getStreams();
    rtpMgrs = new RTPManager[pbss.length];
    SessionAddress localAddr, destAddr;
    InetAddress ipAddr;
    SendStream sendStream;
    int port;
    SourceDescription srcDesList[];
    for (int i = 0; i < pbss.length; i++) {
    try {
    rtpMgrs = RTPManager.newInstance();
    // The local session address will be created on the
    // same port as the the target port. This is necessary
    // if you use AVTransmit2 in conjunction with JMStudio.
    // JMStudio assumes - in a unicast session - that the
    // transmitter transmits from the same port it is receiving
    // on and sends RTCP Receiver Reports back to this port of
    // the transmitting host.
    port = portBase + 2*i;
    ipAddr = InetAddress.getByName(ipAddress);
    localAddr = new SessionAddress(InetAddress.getLocalHost(),
    port);
    destAddr = new SessionAddress(ipAddr, port);
    rtpMgrs.initialize(localAddr);
    rtpMgrs.addTarget(destAddr);
    System.err.println( "Created RTP session: " + ipAddress + " " + port);
    sendStream = rtpMgrs.createSendStream(dataOutput, i);
    sendStream.start();
    } catch (Exception e) {
    return e.getMessage();
    return null;
    }

    Kalani and Bz,
    Thanks for the reply. Now i can call the function ,
    but when i write sendStream.start(); it indicates
    that, its an error. sendStream.start is in that
    function. but i cant call that
    Any idea ?
    thank you
    Gan.PCan you please inform what is the error ?

  • When we use ZBW220 Function Exit   EXIT_SAPLRSAP_001& what meant for .

    Hi,
    When we use ZBW220 Function Exit   EXIT_SAPLRSAP_001& what meant for
    EXIT_SAPLRSAP_001
    EXIT_SAPLRSAP_002
    EXIT_SAPLRSAP_003
    EXIT_SAPLRSAP_004
    Regards,
    Anand Mehrotra.

    Hi Anand,
    ZBW220 is the project defined in your system to activate the componenets which include enhancement code for data sources.
    Check the link below to know more on this topic.
    http://help.sap.com/saphelp_nw04s/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/frameset.htm
    Regards,
    Sunmit.

  • Is there a way to goto SE38 using a Function module

    Hello Friends,
    I don't have authorisation to SE38 in dev system. But I need it to check something. Is there a way to goto SE38 using a Function module. I know that one of my ABAP friends had done this long back.
    This will be very helpful.
    Thanks
    Simmi

    Hi,
    No need to go for function module also. Just write the below code and execute your program, then it will directly goto SE38:
    call transaction 'SE38'.
    Anyway if the login have no authorization then you cant login.
    Regards,
    Raghu

  • Useing Excel Function NORMSINV() in BEx

    Hi All,
    I am having a requirement where i have to generate a Query like below.
    Plant | Service Lvl | Cost | Time | Deviation
    Z (Service Lvl) = Should be calculated based on FUNCTION NORMSINV(Service LVL), the service level percentage they enter in selection screen.
    then use this in formula to calculate other column value i.e COST
    COST = ZSQRT(Time)Deviation.
    Please help me how to, solve this in BEx reporting.
    Waiting for your reply.

    This function is available only in MS excel and it is possible for you to make use of this in BEx Analyzer.
    You can implementthis kind of functionality/requirement only in customer exit. that is SAPBExonRefresh function.
    But you cant use this feature as Calculated key figure.
    What can be done:-
    In column M, assume you are displaying some results...
    now in column O, you define some formulaes(depends on row M)These formulaes are defined in SAPBExonRefresh subroutine.
    Regards,
    Vinay

  • I cant use internet connection on my ipod touch 4th generation 5.1 update

    it connect me to wifi network but i cant browse, use skype, gmail, nothing about internet... ? whats wrong?
    at the top of the screen shows that i am connected but i cant use any interned functions it says i time out, or problem.. i have full signal and i worked good even with version 5.0 but one day stops, i reset interned functions..and still dont work
    help please, thanks

    really? aww... but dont remember if i did...
    well im already following what you said, cos i am up to "restrictions", thanks i just turn off...

  • 0CO_OM_CCA_9 - Delta load - after  Function Module Enhancement

    Hi All,
    We are facing issue in 0CO_OM_CCA_9 data source delta load after function module enhancement.
    why we went for enhancement -
    Vendor (LIFNR)field is getting populated only for Invoice and not for GR entries.
    To Solve the issue -
    we written an user exit in CMOD, that will fetch the Vendor field(LIFNR) from the table EKKO using the PO Document Number (EBELN) as key.
    Issue -
    We loaded the data with full load and found after the enhacement data fetched for vendor field.
    But after doing the init and started loading the delta we found data is not fetched for vendor field alone.Hence for the delta load we face the same issue of no entries for vendor field.
    Can anyone suggest the reason, y delta is not fetching the vendor entries.
    I have checked in RSA3, only FULL update option is allowed to check and other update mode is not allowed(greyed).
    Thanks in Advance
    Ramesh

    Hi Ramesh,
    What you can do to debug the extraction is adding an infinite loop in the enhacement (before your code) like this:
    data: a.
    a  = 1.
    while a = 1.
    endwhile.
    **your code**
    Then, from BW run the extraction, and go to ERP, transaction SM50, look for the extraction process, select it, and go to Process/Session -> Program Debugging. A new window with the debugger will be opened, and you'll be in the while. Change the valiue of a, and start debugging.
    Perhaps the problem is that you are trying to modify a value that is not an enhacement, and it doesn't takes your modification when you do a delta.
    Hope this helps.
    Regards,
    Diego

Maybe you are looking for

  • Content server - Cache server

    Hi,   We have installed content server and it is working fine. We would like to install cache server to access content server from different location to reduce the access time. Is there any document/guide to link cache server to the existing content

  • Projector and a MacBook

    Gentlemen, I'm about to get my degree. And that's a good thing. The bad thing is, on the other hand that people at the Uni won't let me use my macbook for the discussion, saying that the keynote should be set up on powerpoint and viewed via their PCs

  • Lost Content of Older E-mails

    I had problems with the e-mails not being deleted from server but made the change from "one week" to "one day" and back. It seems to be working now. All the text and links, date of sent is gone from many of my e-mails I've been retaining. I get a bla

  • Need copy of Labview 7.1

    I have a really old ap written by a long gone developer, that has sections written in LabView 7.1.  We have a license for 7.1 but can't locate disks anymore.  Several of the 7.1 VI's will not load and convert into LV10.1 so I need to look inside and

  • HT201210 I am receiving error code 1645 when trying to restore my ipod touch 4th to factory settings.

    I am running Windows Vista SP2 with iTunes 10.7.0.21. I had my iPod touch (4th) 8g replaced after cracking the screen. My replacement has never worked correctly. I am trying to restore to factory settings but I keep getting this message: The iPod cou