Copy script

I am entering  % increment values against account1, againt NO_COSTCENTER, NO_PROFIT CENTER.
This Needs to be copied to account1,allcostcenter, all profit centers as this % increase is applicable all costcenter,profit centers
How does the script logic needs to be drafted.
Apprecaite input

Thanks .., I will try out..
question 1..
I need to execute this copying for all accounts.
SHould I declare this as ..
*XDIM_MEMBERSET ACCOUNT = BAS(ALLACCOUNT)
Or
*WHEN ACCOUNT
IS BAS(ALLACCOUNT)
Which is correct one..
Question 2..
Why this is declared...WHEN_REF_DATA = MASTER_DATA
What purpose it helpful.?
Thanks
Edited by: BPC Lover on Jan 20, 2012 3:22 AM

Similar Messages

  • Copying scripts in smartforms

    hi all,
    can any one explain me in detail how i can copy script into smartforms
    thnkx
    prasad

    hi patient,
    follow this,
    if u follow previous answers u can migrate script to smartform..
    if u migrate script to smartform,
    u can just copy the layout of the script into the smartform remaining all the fields u can get the sytax errors to avoid those u should delete all the fields from the smartform then finally u can get the layout part itself..
    finally i want suggest to u one thing, try to avoid migrating script to smartfrom as SAP recomended and try to create  new smartfrom for ur requirement which is better.
    regards,
    seshu.

  • Error while copying Script form

    Hi all,
    working in a project to demerge a live SAP system into another client.
    while i copy a script from one client(100 DEV) to another(200  DEV), system doesnt allow me to copy.
    says that a user is already modifying the script under request. (USER1 in 100 client)
    If the user releases the request, i am able to change the form in 200 (user2 in 200 client).
    and this error is vice versa on both ends.
    How can this issue be solved?
    Thank you form your help in advance.
    Regards,
    BALVIJ

    Hi,
    Script once copied to another client will still hav dependancy in previous client?
    Means while i am copying the script into new client and saving,
    its directly asking for a TR and saving it in the package which belongs to previous client.
    does it happen that way? if no please explain.
    Regards,
    BALVIJ

  • Copying script for itunes database files?

    Hi,
    I stored my itunes music on another internal HD called Spitfire. The default storage folder for the itunes xml and library files is in my main internal HD /user/music/itunes folder ie. Master
    i use superduper to backup Spitfire, but i would like to backup the 2 aforementioned files.
    is there a script (I'm using panther latest version) to automatcially copy and paste the 2 files from Master to Spitfire?
    Cheers,
    keebler

    Try this:
    tell application "Finder"
    repeat with this_item in items of folder "path:to:folder"
    if modification date of this_item is greater than date "Sunday January 1, 2006 00:00:00" then
    set the_alias to this_item as alias
    tell application "iTunes"
    add alias the_alias
    end tell
    end if
    end repeat
    end tell
    The path to the folder in line 2 and the date in line 3 can be customized as needed. The path needs to be delimited by colons.
    (13381)

  • Copying Scripts from Production to Development server...

    Hi everybody,
    I have a script by name YRSCRIPT_INV in production server.I have a script in Development server with the same name, But i want the script in the production to be copied to the client with someother name.Is it possible to do that?

    Hi Vardharaj,
    You have a script with the same name in both production and development .Do you want to copy from prd to dev or dev to prd ? What ever it is , just copy it with a newname and assign the transport request name to the new form and then you can transport it .
    Regards,
    Varun.

  • Copying scripts to our own form

    Dear friends,
    If we need to change the standard form(program) then we need to copy the standard form to our own form name here we will get all the coding too.
    but when we migrate script to smartforms.... what happens here?How to migrate it ?

    hi
    good
    while you go to smartform you ll find below things, just follow them
    1-go to smartforms
    2-utilities->Migrate SAPScript Form
    3-There you have to give the source name and than press enter it ll copy the source program to your target program, your target program must be start from z or y and than change your program as per your requirement.
    thanks
    mrutyun^

  • Copy script pauses and fails to complete when it encounters insufficient disk space

    I'm trying to get a script running that will copy the latest full backup and incrementals to a USB device. I have got the script working OK in so far as it identifies the latest backup and copies all the correct files (hurrah!), the problem is I can't get
    the error handling to work correctly. I have it working so it detects if no files are copied but in the event that insufficient disk space is detected the copy pauses waiting for the user to insert another device to copy to and press enter, this means that
    the error handling part of the script never runs so I never receive the alert that this has happened.
    This is the script so far:
    =================================
    pushd "\\nas\backup\bit-cw backup"
    for /f "tokens=*" %%a in ('dir /b /od *.spf') do set newest=%%a
    set noext=%newest:~0,-4%
    xcopy "\\nas\backup\bit-cw backup\%noext%*" "E:\" /y /c > %temp%\error.txt
    find "0 File(s) copied" < %temp%\error.txt > nul
    if %ERRORLEVEL% EQU 0 (
    eventcreate /SO "XCOPY" /T Information /L System /ID 999 /D "No files were found to copy."
    find "Insufficient disk space on current disk" < %temp%\error.txt > nul
    if %ERRORLEVEL% EQU 0 (
    eventcreate /SO "XCOPY" /T Information /L System /ID 999 /D "Insufficient disk space on current disk."
    del %temp%\error.txt
    popd
    =================================
    I assume that I need to edit the xcopy line to somehow get it to terminate when it encounters a disk with insufficient space but I can't figure out how to do it. Any help would be greatly appreciated!!

    Using robocopy instead of xcopy (with /r:0 /w:0) will solve your problem.

  • Copy Script in SCCM Not Working

    Hi,
    I have a shortcut file which needs to be copied over to the user's desktop. I have packaged the shortcut file and the batch script. The batch script works when running directly on the system but it fails when done via SCCM.
    copy /y "%~dp03DVIAComposer R2014.lnk" "%UserProfile%\Desktop\"
    I have tried different combinations of the scripts but none of them works via SCCM. The error is "Failed to verify the executable file is valid or to construct the associated command line".

    ConfigMgr will run the batch file with SYSTEM credentials, which will cause problems with your current batch file. You should change the %UserProfile% and test the batch file with something like PSEXEC.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • File copy script

    Not sure if this is the correct forum for this but here it goes.
    I need to write a script that will copy files from a folder into another folder without overwriting any existing files. There will be multiple extensions...about 5 or so different file types to copy. Actually I may be able to copy all files from the folder (*.*) or something. There will often be 50k + files being copied, this is the main reason I would like to be able to only copy files that are not already existing.
    I am running solaris 8 & 9.
    Thanks,

    Well, have you tried reading the man-page yet? Because that gives you a huge amount of examples :)
    rsync -auv --ignore-existing /export/home/test1/ /opt/XRXnps/test2                                                                                                                                                                                                                                                                                                                                           

  • Custom copy script

    Dear All,
    Can someone please explain to me why this is happening.
    I have created a script based on several scripts i found on SDN.
    I have some knowhow from SAP BPC MS and according to me this should just work.
    This is the script.
    *XDIM_MEMBERSET C_DATASRC=Upl
    *XDIM_MEMBERSET GROUPS=LC
    *XDIM_MEMBERSET IN_WASTETYPE=BAS(IWT_ALL)
    *XDIM_MEMBERSET MEASURES=PERIODIC
    *XDIM_MEMBERSET LINEMAINITEM=<ALL>
    *XDIM_MEMBERSET PACKAGETYPE=BAS(PT_ALL)
    *XDIM_MEMBERSET PROFITCENTER=BAS(N)
    *XDIM_MEMBERSET P_PROFITCENTER=BAS(P_N)
    *XDIM_MEMBERSET TIME=%TIME_SET%
    *XDIM_MEMBERSET VALUETYPE=ACTUAL,FORECAST,PLANNED
    *LOOKUP EBIT
    *DIM MEASURES=PERIODIC
    *DIM LMITEM: LINEMAINITEM=SCP
    *DIM PACKAGETYPE=PT_NONE
    *ENDLOOKUP
    *WHEN P_PROFITCENTER
    *IS <> P_NONE
    *WHEN LINEMAINITEM
    *IS WTODT
    *REC(EXPRESSION=0, LINEMAINITEM=LINEMAINITEM.ZACC1)
    *REC(FACTOR=LOOKUP(LMITEM), LINEMAINITEM=LINEMAINITEM.ZACC1)
    *ENDWHEN
    *WHEN LINEMAINITEM
    *IS DT
    *REC(EXPRESSION=0, LINEMAINITEM=LINEMAINITEM.ZACC1)
    *REC(FACTOR=LOOKUP(LMITEM),LINEMAINITEM=LINEMAINITEM.ZACC1)
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    I would say that it is possible to post data from a calculation on a other linemainitem.
    In the linemainitem dimension i created a propperty ZACC1, which is a reference to a other linemainitem.
    The only thing is, when i run this logic it posts zero's on itself, in this case WTODT and DT and not %VALUE%*LOOKUP on LINEMAINITEM.ZACC1.
    Can someone point me in the right direction to make this script work?
    Thanks in advantage
    Harmen

    The problem is solved.
    Somehow BPC has the tendency to post a counter booking on itself when a logic fetches a figure.
    I don't know why or how, but it's what I saw it doing.
    The initial script was correct, the only thing I had to add to the script was
    REC(FACTOR=1)
    The finalized script now is this:
    *XDIM_MEMBERSET C_DATASRC=Upl
    *XDIM_MEMBERSET GROUPS=LC
    *XDIM_MEMBERSET IN_WASTETYPE=IWT_NONE
    *XDIM_MEMBERSET MEASURES=PERIODIC
    *XDIM_MEMBERSET LINEMAINITEM=WTODT,DT
    *XDIM_MEMBERSET PACKAGETYPE=PT_NONE
    *XDIM_MEMBERSET PROFITCENTER=BAS(N)
    *XDIM_MEMBERSET P_PROFITCENTER=BAS(P_N)
    *XDIM_MEMBERSET TIME=%TIME_SET%
    *XDIM_MEMBERSET VALUETYPE=PLANNED
    *LOOKUP EBIT
    *DIM LMITEM: MEASURES=PERIODIC
    *DIM LMITEM: LINEMAINITEM=SCP
    *DIM LMITEM: PACKAGETYPE=PT_NONE
    *DIM LMITEM: PROFITCENTER=PC_NONE
    *DIM LMITEM: VALUETYPE=PLANNED
    *ENDLOOKUP
    *WHEN P_PROFITCENTER
    *IS  <> P_NONE
    *WHEN LINEMAINITEM
    *IS WTODT
    *REC(FACTOR=LOOKUP(LMITEM), LINEMAINITEM=LINEMAINITEM.ZACC1)
    *REC(FACTOR=1)
    *NEXT
    *ELSE
    *WHEN LINEMAINITEM
    *IS DT
    *REC(FACTOR=LOOKUP(LMITEM), LINEMAINITEM=LINEMAINITEM.ZACC1)
    *REC(FACTOR=1)
    *NEXT
    *ENDWHEN
    *ENDWHEN
    *ENDWHEN
    *COMMIT 
    NOTE: there are point brackets in the line *IS  P_NONE but the BB code probably recognized this as a command.
    Thanks for the help, I can't give you the points since the solutions was different than suggested
    Harmen
    Edited by: HarmenKlapwijk on Apr 8, 2011 4:44 PM

  • How i can copy the script from one language to other language

    dear all,
    how can i copy script i.e i changed =in EN, but i want copy convert same effects in DE (from one language to other language but not all language)

    hi,
    From the SAP standard menu, choose SE71.
    On the Form Painter: Request screen:
    1)Enter the name of the form (ZORDER01) in the Form field.
    2)Enter DE in the Language field.
    3)Click created and press OK.
    4)From menu bar, choose form->copy from
    5)In the popup, give formname as (ZORDER01) and language as EN and click ok.
    6)Save the form and activate it.
    Regards,
    Sailaja.

  • Where should i include the copied  payment advice script ?

    Hi experts,
    i  copied script from std script form (F110_IN_AVIS) . I did some modifications ,now i want to include this script name
    (my form name is YPM_F110_IN_AVIS)
    in the program.Where should i include (in f110 or somewhere) my script so that when executing the tcode FCH7
    modified script will be executed.please give me the steps.pls help me in this.

    you got this answer earlier today in another thread of yours....
    TA is FBZP.
    [url]find the payment advice script form name in fch7[url]
    Edited by: Florian Kemmer on Apr 15, 2010 1:20 PM

  • Copying A Prexisting Sap Script but in a different language

    Well i have to copy a pre existing SAP Script whose original language is EN...and the new script..should have the original language as IT...how do i go about it..
    Pablo

    Once you copy script, you go to change option and then goto utilities -> convert original language

  • Copying standard script

    Hi ,
        i am copying standard script it is not allowing changes in language EN  and also its not asking request and package . so i am facing after copying script its not allowing changes in windows .
                  how to resolve this problem.

    first of all copy the script from 000 to 120
    here is the procedure
    SAP Script is client dependent.
    So you can use SCOT transaction to copy Transport request of SAP Script from one client to another.
    You can use program RSTXSCRP also to transport SAP Script from one client to another.
    Or from SE71 as SE71-> utlities->copy from client .
    You need to go to transaction NACE and replace standard SAPScript with your custom SAPScript.
    Path: NACE -> Select EF (Application) -> Click Output Types button -> Select NEU (if you use standard one) -> Double click on Processing Routine -> Click Change mode -> Replace Medruck with your custom SAPScript -> Save.

  • Changes are not reflecting on Script layout

    Hi Gurus,
         I made chandes in SO10 standard include this include can be used in Script,
    when ever I copied script from DEV client to Test Client changes are visible in SO10 include text But not reflecting while executing the Script through Transaction.Please suggest.
    Thank You,
    Usha.G

    >
    ushasri gadipally wrote:
    > I copied script using scc4 and created a transport request even so10 include also, But not reflecting on Script layout.t
    Check if the std. text changes are reflected in your testing server in SO10. If not you have to import the Std. Text using SCC4 as well.

Maybe you are looking for