Clear Asset Master when creating a Functional Location from a model?

Hi experts,
Is it possible to clear the asset master of a functional location when you are creating one from a copy that has an asset?
I do a clear in user-exit (ZXLOMU01) of this value but when it returns from the next call customer, the program still have the value in IFLO.
* CALL FUNCTION  'EXIT_SAPMILO0_001'                        "P40K059741
  MOVE Y_I_0 TO SY-SUBRC.                                   "P40K059741
  CALL CUSTOMER-FUNCTION '001'                              "P40K059741
       EXPORTING  ACTIVITY_TYPE           = L_ACTYP
                  DATA_IFLO               = IFLO
                  DATA_IFLO_OLD           = IFLO_OLD
                  DATA_IFLOS              = IFLOS
                  MAIN_CLASS              = RILO0-KLASSE          "4.5A
       IMPORTING  UPDATE_DATA_IFLO        = L_USR1
                  UPDATE_FLAGS_IFLO       = L_USR1U
       EXCEPTIONS POSTING_NOT_ALLOWED     = 1
                  POSTING_NOT_ALLOWED_EXT = 2
                  OTHERS                  = 3.
I don't know what I have to do. Could anyone help me?
Thanks in advance,
Javi

Anyone, please?
Lots of thanks!

Similar Messages

  • Creating \ Changing Functional Location With Contact Person.

    Hello.
    I'm looking for BAPI / Function for creating/changing "Functional Location" with Adding, deleteing OR changing "Contact Person"
    I Have found the BAPI's : BAPI_FUNCLOC_CHANGE
                                         BAPI_FUNCLOC_CREATE
    but thier is no option to handle with "contact person" .
    (SAP Table "IHPA").
    Best Regards'
    Haim B.

    Hello,
    Instead of searching for any FM or anything. Go and create a flow thorugh LSMW and change the desired contact person through it..
    I assure you this is the best and most efficient way.
    first run LSMW and create a flow by changing the contact person of any one functional location and then assign the flow of that lSWM through external notepad file.
    Get in the notepad all the desired FL you want to change run that within minutes your job will be done.

  • Error when creating link to documents from material

    Hi all,
    while creating the purchase order the error message "Error when creating link to documents from material 61260224060" is displayed.
    why this error message is displayed.?
    Regards,
    GaneshRaja

    Hello Ganesh
    Please check material master - view 'Bases data 2'.
    There is checkbox 'No link'. You can activate this checkbox if you are not storing any drawing/designe docuemnt for this material.
    Try to do this and check out again.....
    If this helps you in resolving your issue, i would appreciate if you reward the answer with suitable points.
    Best Regards
    Avinash

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • When i give end location from my location which is selected from the options available, also i receive the message that the directions could not found- pl. help

    when i give end location from my location which is selected from the options available, also i receive the message that the directions could not found- pl. help

    # Yes, if you go to accounts.firefox.org, sign out, you will now be signed out.
    # Sign back in, and you will be asked to save the password you entered.
    # This will save the password and autocomplete if you have this option turned on.
    I am not exactly sure why the menu did not detect the password change or if it was stored incorrectly after you changed it? But after storing the correct password you can manage any duplicate passwords in the password manager.[[Password manager - Remember, delete and change saved passwords in Firefox]]

  • Is it possible to add and view your key words when creating a web site from Lightroom 4?

    Is it possible to add and view your key words when creating a web site from Lightroom 4?

    Hi,
    I had the same problem with
    "java.lang.NullPointerException at com.sap.tc.webdynpro.clientimpl.html.uielib.standard.uradapter.ViewContainerUIElementAdapter.getContent(ViewContainerUIElementAdapter.java:98)"
    when I included ViewUsages dynamically in an action handler (outside wdDoInit()).
    The code below fixed that problem.
    This code creates a new OutboundPlug for the embedding view with the embedded view as target and fires the plug.
    <i>// Create OutboundPlug
    IWDOutboundPlugInfo outboundPlug = embedderViewInfo.createOutboundPlug();
    //Create navigation link
    rootViewUsage.createNavigationTarget(outboundPlug.getName(), interfaceViewUsage, "Default");
    // fire navigation link
    wdThis.wdGetAPI().firePlug(outboundPlug, Collections.EMPTY_MAP);
    </i>
    I hope I could help you. Probably you don't need the information anymore, but perhaps anybody else has the same problem.
    Regards, Alex

  • Asset Master Record - Time Dependent tab - locations to be created

    Hi Guru's
    Hot to create the new locations in the Asset Master Record - time dependent tab.
    Some locations descriptions I need to change.
    Please help me.
    Regards
    Jenny Connes

    Hi,
    change your location description at following SPRO location:
    SPRO->Enterprise Structure -> Definition->Logistic - General ->Define Location
    Thanks,
    Dharmesh

  • Problem when creating a Function

    It was my first time to create a function.First I want to export a internal table into
    the function ,but I was stopped when I define the parameter in 'TABLE' tab of Function
    Development Interface.The error message is 'Table Parameters are obsolete'.
    I can't understand it——Since it is obsole, why the original functions using Table para.
    can still run well?  (Just compared with statement 'occurs n' in internal table definition)
    Who can tell me what's wrong?
    Thank you very much!

    hi
    the table parameters are obselete know but still you can create function modules with tables. it will only give you the warning, just press enter and you will be able to create.
    secondly you can pass table using table types.
    1. goto se11
    2. select data type radio button
    3 enter some name and press create.
    4 a popup window will appear select table type from it.
    5 inside enter text for table type and pass the name of the sturucture for which type u want to pass the table.
    6 activate it.
    now u can pass this table of this table type in changing parameters.
    regards
    vijay
    reward points if helpfull

  • Have you ever had this error when creating a SQLServer location ?

    Hi all,
    With OWB :
    Name : RUSH
    Description : [nothing]
    Type : SQL*NET Connection
    User name : RUSH_CONS
    Password : ********
    Network Service : TG4msql
    Schema : "dbo"
    Test Connection : OK
    After that, when created, in TOAD :
    Link Name : RUSH.REGRESS.RDBMS.DEV.US.ORACLE.COM
    Database to connect to : [nothing]
    User name for connection : "dbo"
    Password : ***** (don't know, in fact !)
    instead of :
    Link Name : RUSH.REGRESS.RDBMS.DEV.US.ORACLE.COM
    Database to connect to : TG4msql
    User name for connection : RUSH_CONS
    Password : ********
    OWB says the DBLink is OK, I can import metadata. But when I execute... :-(
    Regards,
    Nico

    I had to export from an other environment a same DBLink that worked and import it... Only way I found... :-(

  • Functional locations from order to notification

    Hello
    We have a small problem regarding how the functional location field in the notification is filled. The user creates an order Iw31, and on his peronal settings there is defined a value for functional location, the top of a hierarchy. In the order he changes this value to the correct functional location, and everything else in the order, then he saves it and a notification is created (for some ordertypes) in that notification the functional location is not from the order, but from the personal settings, if we remove the personal settings the notification is updated correct. Is there a way to get it updated correct without removing the value from the personal setting?
    Ivar

    Its not possible when you set User Default values settings. Check the below links.
    From SAP Help:
    If you create notifications in which certain data is always the same, you can permanently define certain user default values to make it easier to create the notifications. The system automatically copies this default data into the appropriate notification fields. You can, however, overwrite the proposed information.
    http://help.sap.com/saphelp_470/helpdata/en/3c/abc57c413911d1893d0000e8323c4f/content.htm
    http://help.sap.com/saphelp_46c/helpdata/en/2d/352680448c11d189420000e829fbbd/content.htm

  • Error when creating BufferedImage with IndexColorModel from a byte array.

    Hi, I have a 1-dimentional byte array and an IndexColorTable, and I can't figure out how to combine the 2 into an BufferedImage without unnecessary copying/reallocating of the image buffer.
    The color model I have is:
    int [] cmap = new int [numColors];
    cmap[i++] = 0xffa0f000;  /etc.
    new IndexColorModel(8, 22, cmap, 0, true,  transparentIndex,  DataBuffer.TYPE_BYTE );Thanks for your help
    -Ben
    Ps.
    I've was looking at some example code (http://javaalmanac.com/egs/java.awt.image/Mandelbrot2.html?l=rel), and can't figure out how to go from the color model they're using to the one I have (the 8 bit one specified above). When I replace the 4bit colormodel in the code below with the 8bit color model specified above, I get the following error:
    [java] java.lang.IllegalArgumentException: Raster ByteInterleavedRaster: width = 5120 height = 3520 #numDataElements 1 dataOff[0] = 0 is incompatible with ColorModel IndexColorModel: #pixelBits = 8 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@c51355 transparency = 2 transIndex = 22 has alpha = true isAlphaPre = false
    [java] at java.awt.image.BufferedImage.<init>(BufferedImage.java:613)
    Code:
    byte[] pixelArray = (byte[]) getData_CHAR();                
    int width = 5120;
    int height = 3520;
    int numbytes = width*height;
    //create DataBuffer using byte buffer of pixel data.
    DataBuffer dataBuffer = new DataBufferByte(pixelArray, numbytes, 0);
    //prepare a sample model that specifies a storage 8-bits of pixel data in an 8-bit data element
    int bitMasks[] = new int[]{0xf};
    SinglePixelPackedSampleModel sampleModel = new SinglePixelPackedSampleModel(DataBuffer.TYPE_BYTE, width, height, bitMasks);
    //create a raster using the sample model and data buffer
    WritableRaster writableRaster = Raster.createWritableRaster(sampleModel, dataBuffer, new Point(0,0));
    //generate 16-color model
    byte[] r = new byte[16];
    byte[] g = new byte[16];
    byte[] b = new byte[16];
    r[0] = 0; g[0] = 0; b[0] = 0;
    r[1] = 0; g[1] = 0; b[1] = (byte)192;
    r[2] = 0; g[2] = 0; b[2] = (byte)255;
    r[3] = 0; g[3] = (byte)192; b[3] = 0;
    r[4] = 0; g[4] = (byte)255; b[4] = 0;
    r[5] = 0; g[5] = (byte)192; b[5] = (byte)192;
    r[6] = 0; g[6] = (byte)255; b[6] = (byte)255;
    r[7] = (byte)192; g[7] = 0; b[7] = 0;
    r[8] = (byte)255; g[8] = 0; b[8] = 0;
    r[9] = (byte)192; g[9] = 0; b[9] = (byte)192;
    r[10] = (byte)255; g[10] = 0; b[10] = (byte)255;
    r[11] = (byte)192; g[11] = (byte)192; b[11] = 0;
    r[12] = (byte)255; g[12] = (byte)255; b[12] = 0;
    r[13] = (byte)80; g[13] = (byte)80; b[13] = (byte)80;
    r[14] = (byte)192; g[14] = (byte)192; b[14] = (byte)192;
    r[15] = (byte)255; g[15] = (byte)255; b[15] = (byte)255;
    //create buffered image    
    ColorModel colorModel = new IndexColorModel(4, 16, r, g, b);
    BufferedImage image = new BufferedImage(colorModel, writableRaster, false, null);Message was edited by:
    ben_weisburd
    Message was edited by:
    ben_weisburd

    I had the same problem too.
    anyone found the solution for this problem?
    thanks
    Bruno Rabino
    When I try to make a MD-form, where the base-table for the detail contains a column with a BLOB-datatype. I get following error when I finish creation of the form.
    Error: Exception from wwv_generate_component.build_procedure (WWV-01821)
    Error creating module: ORA-01403: no data found (WWV-16042)
    When I use the table with the BLOB as master or in a form, it works fine.
    Has anyone else experienced this problem? Or knows a way to fix or work around it. Thanks in advance.
    Portal version: 3.0.6.6.5
    null

  • I could use some tips when creating a SD DVD from HD masters

    I have been having problems with this workflow from day one. First, some background. I have been producing an hour long football highlight show for local cable for over 20 years. it is extremely popular in our community and I couldn't be happier but over the years the quality has gotten worse when broadcast even though my quality has gotten better. When I ran the program from 3/4 SP tape years ago,  it looked great. But now, the cable system will only provide a SD DVD player with composite out (yikes) for broadcast.
    I shoot and master in 720p 60. I have DVD SP, Toast Titanium, and iDVD available to create my disc to give to the cable company. Also, it must have a simple menu so the playback machine can begin play at the correct time. Can anyone give me a few tips on how to simply burn the master to the DVD for the best looking playback possible? Any tips will be appreciated.
    Cheers.
    Tom

    I'm not sure about the "720p60" but the normal way of dealing with both SD and HD videos is Share>Export Media and leave everything in the default position.
    Drop the resulting file in iDVD.
    I suggest you test it using a very short video, maybe a couple of minutes of typical shots, and burn it on a DVD-RW so you are not wasting discs.
    This way it will only take about 10 minutes to see the results and you can test out different techniques, if necessary, very quickly and at no cost.

  • Error when creating a Proxy Object from WSDL

    Hi,
    when creating a proxy object in abap based on the [WSDL|http://download.mapandguide.com/EN/dev/xserver/XLocate-1.6.0.3.wsdl] i get the error 'Incorrect value: Unknown Type Referencens0:ArrayOfString'.
    1- Is there a conflict with the type 'String' that's also a type in ABAP
    <complexType name="ArrayOfString">
      <sequence>
      <element name="String" type="xsd:string" minOccurs="0" maxOccurs="unbounded" nillable="true" />
      </sequence>
      </complexType>
    2- Is it a name space problem?
    xmlns:ns0="http://types.xlocate.xserver.ptvag.com"
    type="ns0:ArrayOfString"
    3- Something else?
    Please Help!
    Thank
    Fouad

    Hi Isaias,
    we are working with this versions:
    SAP_BASIS     700     0015     SAPKB70015     SAP Basiskomponente
    SAP_AP                     700     0013     SAPKNA7013     SAP Application Platform
    We are not working with developer studio, only with the regular tools of the abap development workbench Transaction SE80.
    Thanks,
    Fouad

  • Error ITS_TEMPLATE_NOT_FOUND when calling a function code from the web

    Hi Experts,
    I have craeted a simple module pool program and a service for the same in SICF. The module pool has only one screen where I am giving the input to the two fieds
    1. year  2. category. when I click on FIND button the result will appear on the same screen. The result will be the winner and the nominees for that year. The program is running perfect when I execute the transaction in R/3.
    The coding in the PAI of the module pool is as follows:
    *& Module Pool       ZYMOVIE1
    INCLUDE ZYMOVIE1TOP                             .    " global Data
    INCLUDE ZYMOVIE1O01                             .  " PBO-Modules
    INCLUDE ZYMOVIE1I01                             .  " PAI-Modules
    INCLUDE ZYMOVIE1F01                             .  " FORM-Routines
    tables : ymovie.
    DATA:     OKCODE like sy-ucomm.
    tables: ztext.
    *&      Module  GET_RECORD  INPUT
          text
    MODULE GET_RECORD INPUT.
    case okcode.
    when 'FIND'.
    SELECT SINGLE * FROM YMOVIE
                   WHERE YYEAR      = YMOVIE-YYEAR
                         AND CATEGORY     = YMOVIE-CATEGORY.
    endcase.
    ENDMODULE.                 " GET_RECORD  INPUT
    I have created a Internet service ZYMOVIE1 ans created a template for screen 9000
    The HTML code is as follows:
    `include(~service="bbpglobal", ~name="bbpfunctions.html")`
    <html>
      <head>
    <title>`~windowtitle`</title>
      </head>
      <body>
    `~messageline`
    <form name="formFind" action=&#8221;`wgateUrl()`&#8221; method="POST">
       year : <input type = "text" name = "`YMOVIE-YYEAR`"/>
       category : <input type = "text" name = "`YMOVIE-CATEGORY`"/>
    <INPUT TYPE="hidden" name="~okcode" value="FIND">
    <INPUT TYPE="submit" name="btnSubmit" value="FIND">
    <input type = "text" name = "YMOVIE-WINNER" value= "`YMOVIE-WINNER`" size = "`YMOVIE-WINNER.maxsize`"/>
    <input type = "text" name = "YMOVIE-NOMINEE1" value= "`YMOVIE-NOMINEE1`" size = "`YMOVIE-NOMINEE1.maxsize`"/>
    <input type = "text" name = "YMOVIE-NOMINEE2" value= "`YMOVIE-NOMINEE2`" size = "`YMOVIE-NOMINEE2.maxsize`"/>
    <input type = "text" name = "YMOVIE-NOMINEE3" value= "`YMOVIE-NOMINEE3`" size = "`YMOVIE-NOMINEE3.maxsize`"/>
    </form>
      </body>
    </html>
    when i click on the FIND button in the web I am getting a dump "ITS_TEMPLATE_NOT_FOUND".
    Please suggest me where I am doing wrong. Also is there any way i can add attachemtns in SDN. It is very difficult to write everything here and how to use the "code" button when i create a new thread in SDN?/
    thanks
    sankar

    hi
    yes i got some entries in SM50 with w at the left
    A  Error Code ITS_TEMPLATE_NOT_FOUND.
    W      *** ERROR => diag: Template for modulepool ZYMOVIE1, dynpro number 9000, service zymovie1 is not found and GenerateDynpro fla
    W      *** ERROR => plugin: XKrnHandleResponse failed rc= -25 [itspxkrn.cpp 764]
    W      *** ERROR => plugin: ItspXKrn_HandleResponse failed. 0x2b96feff78 rc: 0 [itspxkrn.cpp 391]
    W    *** ERROR => ipl_ConvertOut failed rc = 1, send icf error page [itsplxx.c    1551]
    let me know if you need any other information
    thanks
    sankar

  • Category ID value display (in pop-up)when creating follow-up Oppt from Lead

    System - SAP CRM 7.0 EHP 1
    At the time of Lead creation the USER might not know the exact product
    which the customer will buy.  Hence, the user should put the Category
    of the products in a Lead
    In out scenario, we are using Category ID (say ABC_12) and also the
    products in a Lead transaction.
    When we create the FOLLOW-UP from Lead to Opportunity, on the
    pop-up where we see the list of products, their quantity, but NOT THE
    CATEGORY ID which we have mentioned in the LEAD
    Why is it so?  The user should see all the line items in the selection
    pop-up when we create the opportunity as a follow-up from Lead
    Kindly revert.

    Hi Punit,
    SAP has released sap note 1671091 for the same.
    Please implement the same and you problem will be solved.
    Thanks & Regards,
    Kapil Kumar

Maybe you are looking for

  • Java Two Threads Synchronization Problem

    Hello to all, i have a scenario like this where a manager open a restaurant which signal the arrival of customer. Each entity here is one thread. How to signal the customer from manager that is open state ? I have a boolean variable (IsOpen) in manag

  • Creating a time lapse

    I imported video from my newly bought HD video camcorder and was wondering if anyone out there knew how to make a time lapse from the video, as in speed up or down the time in which the video was taken. Just wondering if there is a way to do this in

  • Posting of Idoc

    I have Idoc It contains some errors I want to post that one How can I do that one Points will be rewarded. Thanks, Durga .

  • TA48312 how to update Mac OS 10.5.8?

    Please help me. How to update my Mac OS 10.5.8 to new version?

  • How to acquire display value of selected item on select list? Or...

    I have a select list generated from a SQL query that I need to get the display value from. Ideally, the display value and the submitted value of the select list would have been the same, but I can't seem to get APEX to allow populating a select list'