Strange problem when copying standard program SAPF100 (transaction F.05)

Hi there ABAP'ers,
I've got a very strange problem I can't figure out :/
I'm doing a copy of a standard program - SAPF100, which stands for F.05 transaction.
I copy it to ZSAPF100 and after launching it, filling a selection-screen with data and F8 I'm receiving a dump
GETWA_NOT_ASSIGNED
Field symbol has not yet been assigned.
The termination occurred in the ABAP program "SAPF100" in "DO_SKC1C".      
The main program was "ZSAPF100 ".                                                                               
The termination occurred in line 253 of the source code of the (Include)   
program "SAPF100_SBEW"                                                    
of the source code of program "SAPF100_SBEW" (when calling the editor 2530).
and when debugging the place in Zcode where error occurs - really a fs is not assigned, whilst in standard code is assigned.
Why such situation appeared? I just copied the standard program and launched a copy :/ How to deal with that problem?
I will be very very very thankful for a help.
Regards. P.

I'm doing the copy:
Components:
Source       
Text elements
Documentation
Variants     
User interface
Screens      
INCLUDEs     
Includes:
FROM            ->              TO
<ICON>                         Z<ICON>     
<LINE>                          Z<LINE>                 
FIUUMS40                        ZFIUUMS40               
RKASMAWF                        ZRKASMAWF               
SAPF100_I1                      ZSAPF100_I1             
SAPF100_POSTINGS                ZSAPF100_POSTINGS       
SAPF100_SBEW                    ZSAPF100_SBEW           
SAPF100_SLDATA                  ZSAPF100_SLDATA         
SCHEDMAN_EVENTS                 ZSCHEDMAN_EVENTS        
And still DUMP

Similar Messages

  • Strange problem when copying files to NAS

    Hello all. I have a strange problem when trying to copy files from my intel iMac to my Seagate NAS. I am copying files from my HD and when the file is nearly copyied i get an error message saying that the file can't be copied because it is already in use by another application. Well... it surely isn't. I try copying them by ftp (Filezilla) and everything works fine. I can then access them through my media server but !!!! NOT THROUGH MY iMac!!!! It is like the files are not there!!!! But they definetely are! I tried fixing the disk permissions, rebooting NAS, iMac etc but nothing seems to solve the problem. Is there any suggestion of what might be wrong? I am under Mavericks and i am pretty sure that the problem started after the update. When copying from my external USB hard drive to my iMac HD everything works fine. The problem is from my iMac to my NAS.

    Wow... thanks for the time you devote Linc.... Well below are the results of the above commands....
    Step 1 returned no text.
    Step 2 returned the following text:
    com.tunabellysoftware.checkmytemp.GNTPClientService
    jp.co.canon.MasterInstaller
    com.WesternDigital.WDSmartWareD
    com.wdc.WDDMservice
    com.teamviewer.service
    com.tappin.agent.plist
    com.microsoft.office.licensing.helper
    com.klieme.TimeMachineScheduler
    com.adobe.SwitchBoard
    com.adobe.fpsaud
    Step 3 returned the following text:
    com.adobe.PDApp.AAMUpdatesNotifier.59168.9D679ECB-757D-43DD-920E-153524EA697A
    jp.co.canon.cijscannerregister.67792
    jp.co.canon.ij.CNSSelectorAgent.66384
    OpenObject.fuspredownloader.65328
    com.tappin.TappIn.53712
    com.ecamm.PhoneViewHelper.65680
    com.pratikkumar.RemoteHelper.51424
    com.elgato.eyetvhelper.10064
    6.0.65152
    com.tunabellysoftware.TemperatureGaugeHelper
    com.paragon.ntfs.trial
    com.teamviewer.desktop
    com.teamviewer.teamviewer
    com.sony.PMBPortable.AutoRun
    com.google.keystone.user.agent
    com.adobe.ARM.df0ab5bbe6f698196fcc21e3c1e66dcb758bd911f4d637272d9d8109
    com.adobe.AAM.Scheduler-1.0
    Step 4 returned the following text:
    /Library/Components:
    /Library/Extensions:
    ATTOCelerityFC8.kext
    ATTOExpressSASHBA2.kext
    ATTOExpressSASRAID2.kext
    ArcMSR.kext
    CalDigitHDProDrv.kext
    HighPointIOP.kext
    HighPointRR.kext
    PromiseSTEX.kext
    SoftRAID.kext
    /Library/Frameworks:
    AEProfiling.framework
    AERegistration.framework
    Adobe AIR.framework
    AudioMixEngine.framework
    NyxAudioAnalysis.framework
    PluginManager.framework
    TSLicense.framework
    WesternDigital
    iLifeFaceRecognition.framework
    iLifeKit.framework
    iLifePageLayout.framework
    iLifeSQLAccess.framework
    iLifeSlideshow.framework
    iTunesLibrary.framework
    /Library/Input Methods:
    /Library/Internet Plug-Ins:
    AdobePDFViewer.plugin
    AdobePDFViewerNPAPI.plugin
    Aspera Web.plugin
    Default Browser.plugin
    EPPEX Plugin.plugin
    Flash Player.plugin
    Flip4Mac WMV Plugin.plugin
    JavaAppletPlugin.plugin
    NavIn.plugin
    Quartz Composer.webplugin
    QuickTime Plugin.plugin
    SharePointBrowserPlugin.plugin
    SharePointWebKitPlugin.webplugin
    Silverlight.plugin
    flashplayer.xpt
    iPhotoPhotocast.plugin
    nsIQTScriptablePlugin.xpt
    /Library/Keyboard Layouts:
    /Library/LaunchAgents:
    com.adobe.AAM.Updater-1.0.plist
    com.apple.NavService.plist
    com.oracle.java.Java-Updater.plist
    com.sony.PMBPortable.AutoRun.plist
    com.teamviewer.teamviewer.plist
    com.teamviewer.teamviewer_desktop.plist
    /Library/LaunchDaemons:
    com.WesternDigital.WDSmartWareD.plist
    com.adobe.SwitchBoard.plist
    com.adobe.fpsaud.plist
    com.klieme.TimeMachineScheduler.plist
    com.microsoft.office.licensing.helper.plist
    com.oracle.java.Helper-Tool.plist
    com.tappin.agent.plist
    com.teamviewer.teamviewer_service.plist
    com.wdc.WDDMservice.plist
    jp.co.canon.MasterInstaller.plist
    /Library/PreferencePanes:
    EyeConnect.prefPane
    Flash Player.prefPane
    Flip4Mac WMV.prefPane
    GRproofing.prefPane
    Growl.prefPane
    JavaControlPanel.prefPane
    NTFSforMacOSX.prefPane
    Perian.prefPane
    TappIn.prefPane
    TimeMachineScheduler.prefPane
    /Library/PrivilegedHelperTools:
    com.microsoft.office.licensing.helper
    jp.co.canon.MasterInstaller
    /Library/QuickLook:
    GBQLGenerator.qlgenerator
    QuickLookEyeTV.qlgenerator
    iBooksAuthor.qlgenerator
    iWork.qlgenerator
    /Library/QuickTime:
    AC3MovieImport.component
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    EyeTV MPEG Support.component
    Perian.component
    /Library/ScriptingAdditions:
    Adobe Unit Types.osax
    /Library/Spotlight:
    GBSpotlightImporter.mdimporter
    LogicPro.mdimporter
    Microsoft Office.mdimporter
    iBooksAuthor.mdimporter
    iWork.mdimporter
    /Library/StartupItems:
    ChmodBPF
    DynDNSUpdater
    EyeConnect
    /etc/mach_init.d:
    /etc/mach_init_per_login_session.d:
    /etc/mach_init_per_user.d:
    Library/Address Book Plug-Ins:
    SkypeABDialer.bundle
    SkypeABSMS.bundle
    Library/Fonts:
    AC-CondensedScript_Unicode.otf
    AC-CuttingEdge.otf
    AC-FrenchToast.otf
    AC-Gorgi.otf
    AC-HiSchool.otf
    AC-Hollow_Unicode.otf
    AC-Lundi.otf
    AC-Lycee.otf
    AC-Pathetic_unicode.otf
    AC-mutlu_unicode.otf
    ACRealAdult.otf
    AVI-BonatiPT-Bold.ttf
    AVI-BonatiPT-BoldItalic.ttf
    AVI-BonatiPT-Italic.ttf
    AVI-BonatiPT-Normal.ttf
    AVI-Jacobs-Bold.ttf
    AVI-Jacobs-BoldItalic.ttf
    AVI-Jacobs-Italic.ttf
    AVI-Jacobs-Normal.ttf
    AVI-Optima-Bold.ttf
    AVI-Optima-BoldItalic.ttf
    AVI-Optima-Italic.ttf
    AVI-Optima-Normal.ttf
    AVI-OptimaCollege-Italic.ttf
    AVI-OptimaCollege.ttf
    AVI-ParisAifel-Medium.ttf
    AVI-ParisAifel-MediumItalic.ttf
    AdLib BT.suit
    AdLibBTReg
    Andale Mono
    ArbuckleShadowNF.otf
    Arial
    Arial Black
    Arial Narrow
    BleeckerStreetShadedNF.otf
    BundleofJoyOutlineNF.otf
    CF Bac
    CF Bar
    CF Bar-Bold
    CF BarText
    CF BarText-Bold
    CF Big
    CF Compacta Bold
    CF Compacta ExtraBold
    CF Compacta Light
    CF Compacta Medium
    CF Compacta Regular
    CF Criton
    CF Criton-Contrafos
    CF Criton-Heavy
    CF Derrida-Bold
    CF Derrida-Book
    CF Derrida-Heavy
    CF Derrida-Light
    CF Derrida-SemiBold
    CF DogEatDog
    CF Fat
    CF Holly
    CF Holly-Bold
    CF Holly-Light
    CF Holly-Medium
    CF Initials
    CF Jet
    CF Jet-Alter
    CF Jet-Left
    CF Jet-Right
    CF Jet-Simple
    CF K-Graffiti
    CF K-Select
    CF KouroudiSelect-Bold
    CF KouroudiSelect-Fun
    CF KouroudiSelect-Regular
    CF KouroudisGraffiti-Dust
    CF KouroudisGraffiti-Light
    CF KouroudisGraffiti-Regular
    CF LetterGothic
    CF MatrixDot
    CF MatrixFax
    CF MatrixMonospace
    CF MatrixNegative
    CF Newspaper
    CF PainterBlack
    CF PainterBold
    CF PainterRegular
    CF Poster
    CF Sans
    CF Sans-Bold
    CF Sans-Heavy
    CF SempliceBold
    CF SempliceRegular
    CF SempliceThin
    CF Smooth
    CF Smooth-CondBold
    CF Smooth-CondNorm
    CF Smooth-ExtraBold
    CF Smooth-Revenge
    CF Smooth-Toy
    CF Sophia
    CF Sophia-Bold
    CF Sophia-BoldItalic
    CF Sophia-Italic
    CF Stamp
    CF Stencil
    CF Suprematica
    CF Twins
    CF Venus
    CFBarSG
    CFBarSGBol
    CFBarTexSG
    CFBarTexSGBol
    CFBigSG
    CFCriSGCon
    CFCriSGHea
    CFDogEatDogSG
    CFEteoclesContrafos
    CFEteoclesHeavy
    CFEteoclesRegular
    CFFatSG
    CFHolSGBol
    CFHolSGLig
    CFHolSGMed
    CFIniSG
    CFJetAlt
    CFJetLef
    CFJetRig
    CFJetSim
    CFKouGraSGDus
    CFKouGraSGLig
    CFKouGraSGReg
    CFKouSelSGBol
    CFKouSelSGFun
    CFKouSelSGReg
    CFLetGotSG
    CFNewSG
    CFSanSG
    CFSanSGBol
    CFSanSGHea
    CFSmoSGConBol
    CFSmoSGConNor
    CFSmoSGExtBol
    CFSmoSGRev
    CFSmoSGToy
    CFSopSG
    CFSopSGBol
    CFSopSGBolIta
    CFSopSGIta
    CFSteSG
    CFSupSG
    CFTwiSG
    Century
    ChicaGogoOpenNF.otf
    D-Regular.suit
    DReg
    DejaVuSans-Bold.ttf
    DejaVuSans-BoldOblique.ttf
    DejaVuSans-ExtraLight.ttf
    DejaVuSans-Oblique.ttf
    DejaVuSans.ttf
    DejaVuSansCondensed-Bold.ttf
    DejaVuSansCondensed-BoldOblique.ttf
    DejaVuSansCondensed-Oblique.ttf
    DejaVuSansCondensed.ttf
    DejaVuSansMono-Bold.ttf
    DejaVuSansMono-BoldOblique.ttf
    DejaVuSansMono-Oblique.ttf
    DejaVuSansMono.ttf
    DejaVuSerif-Bold.ttf
    DejaVuSerif-BoldOblique.ttf
    DejaVuSerif-Oblique.ttf
    DejaVuSerif.ttf
    DejaVuSerifCondensed-Bold.ttf
    DejaVuSerifCondensed-BoldOblique.ttf
    DejaVuSerifCondensed-Oblique.ttf
    DejaVuSerifCondensed.ttf
    Demo_ConeriaScript.ttf
    Demo_ConeriaScript_Slanted.ttf
    Demon
    Demonstrator.suit
    DidgereeDoodleOutlineNF.otf
    DrumagStudioOutlineNF.otf
    ElektromotoNarrowOutlineNF.otf
    Franklin Gothic Demi
    Franklin Gothic Heavy
    FuturBTBol
    FuturCon
    Futura Bd BT.suit
    Futura Condensed.suit
    GFS Goschen-Italic.otf
    GFSAmbrosia.otf
    GFSDecker.otf
    GFSEustace.otf
    GFSFleischman.otf
    GFSGaraldus.otf
    GFSIgnacio.otf
    GFSJackson.otf
    GFSNeohellenic.otf
    GFSNeohellenicBold.otf
    GFSNeohellenicBoldIt.otf
    GFSNeohellenicIt.otf
    GFSNicefore.otf
    GFSPhilostratos.otf
    GFSPolyglot.otf
    GFSTheokritos.otf
    Georgia
    Gill Sans Hel
    Gill Sans Hel Pt-SCOS
    Gill Sans Hel Pt-SCOSBold
    Gill Sans Hel-Bold
    Gill Sans Hel-BoldItalic
    Gill Sans Hel-Con
    Gill Sans Hel-ConBold
    Gill Sans Hel-Demi
    Gill Sans Hel-DemiItalic
    Gill Sans Hel-ExBold
    Gill Sans Hel-ExConBold
    Gill Sans Hel-ExLight
    Gill Sans Hel-Italic
    Gill Sans Hel-Light
    Gill Sans Hel-LightItalic
    Gill Sans Hel-SCOS
    Gill Sans Hel-SCOSBold
    Gill Sans Hel-SemCon
    Gill Sans Hel-SemConBdIt
    Gill Sans Hel-SemConBold
    Gill Sans Hel-SemConIt
    Gill Sans Hel-SemConLight
    Gill Sans Hel-SemConThin
    Gill Sans Hel-Thin
    Gill Sans Hel-UltBold
    Gulim.ttf
    HelveConBol
    HelveNeuMedCon
    Helvetica Condensed.suit
    HelveticaNeue MediumCond.suit
    Looney Tunes Tilt BT.ttf
    LooseCabooseOutlineNF.otf
    Lucida Sans
    PF DaVinciScriptPoly-Inked.ttf
    PF DaVinciScriptPoly-Reg.ttf
    PFAlfabeta
    PFAlfabetaOS Poly Bold.ttf
    PFAlfabetaOS Poly BoldItal.ttf
    PFAlfabetaOS Poly Italic.ttf
    PFAlfabetaOS Poly Regular.ttf
    PFAmateur
    PFArabats.ttf
    PFBarApart
    PFBaseline
    PFBaselineDisplay
    PFBeatnick
    PFBedroom
    PFBellGothicText
    PFBerkleyBlue
    PFBevel
    PFBodoniScriptOne
    PFBodoniScriptTwo
    PFBodoniText
    PFBodoniText Poly-Bold.ttf
    PFBodoniText PolyBoldItalic.ttf
    PFBodoniText-Poly Italic.ttf
    PFBodoniText-Poly Regular.ttf
    PFBulletin
    PFCatalog
    PFCatalogPoly-Bold.ttf
    PFCatalogPoly-BoldItalic.ttf
    PFCatalogPoly-Italic.ttf
    PFCatalogPoly-Regular.ttf
    PFCentury
    PFCereal
    PFCheltenham
    PFCosmonut
    PFCosmonut-Astrobats.ttf
    PFDaVinciScript
    PFDeeJay
    PFDidotOsPoly-Bold.ttf
    PFDidotOsPoly-BoldItalic.ttf
    PFDidotOsPoly-Italic.ttf
    PFDidotOsPoly-Regular.ttf
    PFDigicons-One.ttf
    PFDigicons-Two.ttf
    PFDigidotSemiSquare
    PFDigidotSquare
    PFDinDisplay
    PFDinText
    PFDinTextCompressed
    PFDinTextCondensed
    PFDiplomat
    PFDiplomatPoly-Bold.ttf
    PFDiplomatPoly-BoldItalic.ttf
    PFDiplomatPoly-Italic.ttf
    PFDiplomatPoly-Regular.ttf
    PFDiplomatSans
    PFEarthbound
    PFEphemera
    PFEphemera Poly-Bold.ttf
    PFEphemera Poly-BoldItalic.ttf
    PFEphemera Poly-Italic.ttf
    PFEphemera Poly-Regular.ttf
    PFEtnica
    PFFragment
    PFFranklinGothic
    PFFreeScript
    PFFuel
    PFFusionSans
    PFFuturaNeu
    PFGaramondClassic
    PFGlobal
    PFGoudyInitials.ttf
    PFGrid
    PFHardkore
    PFHausSquare
    PFHighwayGothic
    PFHighwayGothicCompressed
    PFHighwayGothicCondensed
    PFHighwayGothicExtended
    PFHighwayGothicXtraCond
    PFHipster
    PFHitower
    PFHybrid
    PFIndex
    PFInnercity
    PFIsotext
    PFIsotextExtended
    PFJunior
    PFKids
    PFKids-LilStuff.ttf
    PFKonstantinople
    PFKonstantinople Initials.ttf
    PFLetterGothicDisplay
    PFLetterGothicNext
    PFLibera
    PFLithoText
    PFMacsimile
    PFManicAttack
    PFMechanica
    PFMediterra
    PFMonumenta
    PFNext
    PFOnline
    PFPanel
    PFPaperback
    PFPapernote
    PFPlasmatic
    PFPlayskool
    PFPremierDisplay
    PFPremierFrame
    PFPremierText
    PFPress
    PFPsychedelia
    PFRadikale
    PFRafSkript
    PFReminder
    PFReport
    PFRetrospace
    PFRoyalscript
    PFScriptor-Ligatures.ttf
    PFScriptor-Ornaments.ttf
    PFScriptor-Regular.ttf
    PFSectorA
    PFSectorB
    PFSidetrip
    PFSignSkript
    PFSignSkript-AdClips.ttf
    PFStamps
    PFStudio
    PFSugar
    PFSystemplus
    PFTemple
    PFTemple-Icons.ttf
    PFTempleSerif
    PFTextbook
    PFTraffic
    PFTransport
    PFUniversal
    PFVenue
    PFVideotext
    PFWonderland
    PFWonderland-Wonderbats.ttf
    Palatino Linotype
    SketchIcons.ttf
    SketchIconsbold.ttf
    SnoopySnailsOutlineNF.otf
    StadionGreek
    Tahoma
    That_'s Font Folks!.ttf
    Times New Roman
    Times.suit
    TimesRom
    Trebuchet MS
    UB-Aircraft
    UB-AntiqueOlive
    UB-AntiqueOlive-Bold
    UB-AntiqueOlive-BoldItalic
    UB-AntiqueOlive-Italic
    UB-AntiqueOliveBlack
    UB-AntiqueOliveBlack-Italic
    UB-AntiqueOliveCompact
    UB-AntiqueOliveCompact-Ita
    UB-AntiqueOliveLight
    UB-AntiqueOliveLight-Italic
    UB-AvantGarde
    UB-Baskerville
    UB-Baskerville-Bold
    UB-Baskerville-BoldItalic
    UB-Baskerville-Italic
    UB-Bonati
    UB-BonatiCond
    UB-BonatiHeavy
    UB-Byzantine
    UB-Calculator
    UB-Calligula
    UB-Century
    UB-Century-Bold
    UB-Century-BoldItalic
    UB-Century-Italic
    UB-Donuts
    UB-DonutsCond
    UB-End
    UB-Europa
    UB-FarWest
    UB-FarWestExt
    UB-Fashion
    UB-Fine
    UB-Flores
    UB-Free
    UB-Front
    UB-Future
    UB-FutureCond
    UB-Goudies
    UB-Helvetica
    UB-Helvetica-Bold
    UB-Helvetica-BoldItalic
    UB-Helvetica-Italic
    UB-HelveticaBlack
    UB-HelveticaBlack-Italic
    UB-HelveticaCond
    UB-HelveticaCond-Bold
    UB-HelveticaCond-BoldItalic
    UB-HelveticaLight
    UB-HelveticaLight-Italic
    UB-HelveticaThin
    UB-HelveticaThinCond
    UB-King
    UB-Lucky
    UB-Maskat
    UB-Muratti
    UB-MurattiCond
    UB-NewsLetter
    UB-Ninza
    UB-Omnius
    UB-Optima
    UB-Optima-Bold
    UB-Optima-BoldItalic
    UB-Optima-Italic
    UB-Paris
    UB-Rich
    UB-Rockwell
    UB-Rockwell-Bold
    UB-Rockwell-BoldItalic
    UB-Rockwell-Italic
    UB-RockwellBlack
    UB-RockwellBlack-Italic
    UB-RockwellLight
    UB-RockwellLight-Italic
    UB-Script
    UB-Sherlock
    UB-SherlockCond
    UB-Shop
    UB-Sign
    UB-Slogan
    UB-Soccer
    UB-SoccerCondOblique
    UB-Souvenir
    UB-Souvenir-Bold
    UB-Souvenir-BoldItalic
    UB-Souvenir-Italic
    UB-SouvenirBlack
    UB-SouvenirBlack-Italic
    UB-SouvenirLight
    UB-SouvenirLight-Italic
    UB-Times
    UB-Times-Bold
    UB-Times-BoldItalic
    UB-Times-Italic
    UB-Unifine
    UB-Vampire
    UB-World
    Verdana
    VinnieBoombahOutlineNF.otf
    Wingdings
    Wingdings 2
    Wingdings 3
    nbyzn.ttf
    soundfx.ttf
    Library/Frameworks:
    SamsungKiesFoundation.framework
    SamsungKiesSerialPort.framework
    Library/Input Methods:
    .localized
    Library/InputManagers:
    Library/Internet Plug-Ins:
    Google Earth Web Plug-in.plugin
    iGetterBundle.plugin
    Library/Keyboard Layouts:
    Library/LaunchAgents:
    com.adobe.AAM.Updater-1.0.plist
    com.adobe.ARM.df0ab5bbe6f698196fcc21e3c1e66dcb758bd911f4d637272d9d8109.plist
    [email protected]t.plist
    com.google.keystone.agent.plist
    Library/PreferencePanes:
    .TVPC93ED0576A
    Library/ScriptingAdditions:
    iGetterScriptingAddition.osax
    Library/Services:
    ToastIt.service
    Finallu step 5 returned the following text:
    Skype, EyeTV Helper, RemoteHelper, PhoneViewHelper, TappIn, Dropbox, Canon IJ Network Scanner Selector EX, fuspredownloader, StatusMenu
    I hope you find it helpful Linc. Many thanks for all the attention!

  • Problem while copying standard program to Z Program

    Hi SAP Forum,
    I have copied one standard program to Zprg. and there are TWO Screens in standard program (100, 200). But in my Zprg only 200 copied, when I'm trying to copy Screen 100, it shows an error, "Screen already exists"..
    And also, I've created one "Z" Transaction Code for my same  program. In that, I've mention, Screen Number: 100.. When I execute "Z" Transaction, the Screen 100, will come as selection cretria is on that,  and when I click on Execute Button, it comes back in SAP EASY ACCESS Screen (Initial Screen). But I want that, Screen 200 will come when I click on execute Button in Screen 100.
    How can I resolve this?
    Thanks
    Devinder

    Hi ags,
    Thanks.. I've already changed the TCODE from code and second thing about Include, I've also changed the name of BOTH (two Includes) and it is working fine.. but error still coming...
    Generation errors in program
    Source code   ????????????????????????????????????????     Line     0
      Error when generating the selection screen "0100" of report "ZRVBBWULS
    and also, I've done only one change in Include, I've added one select-options over there and getting the same error, but if I add PARAMETERS, then its executed successfully. But I want add a "Posting Date" as SELECT-OPTIONS.
    Pls try to resolve this..
    Thanks a lot  in advance
    Devinder
    Edited by: Devinder Pawha on May 13, 2010 2:02 PM

  • Strange problem when a c++ program is triggered by Runtime.exec()

    I am working in linux system. I have 2 programs:
    1. one is a c++ program e.g. AAA. In this program, i use "system("gcc ...")" to call gcc to do some internal processing
    2. the other is a java program BBB. In this program, i use Runtime.exec("AAA") to run program AAA.
    case 1
    if I run c++ program AAA directly, everything goes well, gcc call via "system" is successful.
    case 2
    if I run java program BBB to trigger AAA indirectly, the AAA can be executed, but the system call (gcc call inside AAA) is failed.
    so, what is wrong? any hints? what is the solution to make case #2 work? I just want to use BBB to trigger AAA, and the system call should also be successful.
    thanks in advance for your help!

    "...but the system call (gcc call inside AAA) is failed."
    Isn't terribly descriptive, but I'm guessing that it complains it can't find gcc?
    If that's the case then it's because the call to Runtime.exec() runs the code in a shell with no idea where anything is, whereas when you run the C++ code straight it is running in the shell you kicked it off in. Something along those lines anyway.
    Someone else'll be able to tell you how to get it to work. I'm sure I've seen this sort of problem here several times.

  • Strange problem when tried to convert HelloWorld.class..

    Hi friends..
    i've downloaded the Java Card SDK 2.2.1, and i tried to compile HelloWorld application that shipped with its distribution..
    i found strange problem when i tried to convert HelloWorld.class into .CAP, etc.. :(
    I use Windows XP, assume that i've set the Environment Variables needed
    i've compiled the HelloWorld.java into HelloWorld.class..
    the package of of HelloWorld is : com.sun.javacard.samples.HelloWorld;
    and i use this config file :
    -out EXP JCA CAP
    -exportpath .
    -applet  0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1:0x1 com.sun.javacard.samples.HelloWorld.HelloWorld
    com.sun.javacard.samples.HelloWorld
    0xa0:0x0:0x0:0x0:0x62:0x3:0x1:0xc:0x1 1.0and then i tried to run converter script in the Console :
    *C:\java_card_kit-2_2_1\samples>converter -config com\sun\javacard\samples\HelloWorld\HelloWorld.opt*
    *error: file com\sun\javacard\samples\HelloWorld\HelloWorld.opt could not be found*
    Usage:  converter  <options>  package_name  package_aid  major_version.minor_ve
    sion
    OR
    converter -config <filename>
                        use file for all options and parameters to converter
    Where options include:
            -classdir <the root directory of the class hierarchy>
                          set the root directory where the Converter
                          will look for classes
            -i            support the 32-bit integer type
            -exportpath  <list of directories>
                          list the root directories where the Converter
                          will look for export files
            -exportmap    use the token mapping from the pre-defined export
                          file of the package being converted. The converter
                          will look for the export file in the exportpath
            -applet <AID class_name>
                          set the applet AID and the class that defines the
                          install method for the applet
            -d <the root directory for output>
            -out  [CAP] [EXP] [JCA]
                          tell the Converter to output the CAP file,
                          and/or the JCA file, and/or the export file
            -V, -version  print the Converter version string
            -v, -verbose  enable verbose output
            -help         print out this message
            -nowarn       instruct the Converter to not report warning messages
            -mask         indicate this package is for mask, so restrictions on
                          native methods are relaxed
            -debug        enable generation of debugging information
            -nobanner     suppress all standard output messages
            -noverify     turn off verification. Verification is defaultPlease help me regarding this, because i'm new in this field..
    Thanks in advance..

    Thanks safarmer for your reply..
    i tried this :
    C:\java_card_kit-2_2_1\samples>javac -target 1.3 -source 1.1 -g -classpath .\cla
    sses;..\lib\api.jar;..\lib\installer.jar src\com\sun\javacard\samples\HelloWorld
    \*.java
    javac: invalid source release: 1.1
    Usage: javac <options> <source files>
    use -help for a list of possible options
    C:\java_card_kit-2_2_1\samples>javac -target 1.3 -source 1.2 -g -classpath .\cla
    sses;..\lib\api.jar;..\lib\installer.jar src\com\sun\javacard\samples\HelloWorld
    \*.java
    it seems that i can't specify the -source to 1.1, so i tried to use -source 1.2..
    after that, i tried to convert again, and i got this error :
    C:\java_card_kit-2_2_1\samples\src>converter -config com\sun\javacard\samples\He
    lloWorld\HelloWorld.opt
    Java Card 2.2.1 Class File Converter, Version 1.3
    Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to lic
    ense terms.
    error: com.sun.javacard.samples.HelloWorld.HelloWorld: unsupported class file fo
    rmat of version 47.0.
    conversion completed with 1 errors and 0 warnings.Please help me regarding this..
    Thanks in advance..

  • Strange problem when opening word doc situated in WLS virtual dir

    Hi all,
    we have a strange problem when opening word doc
    situated in C:\Oracle\Middleware\as_1\forms\webutil
    we put some word docs there and tried to open from forms using for example web.show_document('http://wp0606:9001/forms/webutil/mug00103.doc', '_blank');
    no problem using FF, however in IE8 the word doc is shown in its binary format, this also happens when we try to open the doc in IE8
    however when we google and search for instance for a test.doc and then click on this url a file save dialog is shown
    that's why we believe that this might be due to a configuration issue of WLS
    any help would be greatly appreciated
    Kr
    Martin

    I think you have 2 ways to go here. Figure out what html is from wherever weblogic gets it, meaning you have to delve into the docs, snoop
    around in directories and find what it must be sending (This is going to be unavoidable if you are going to change what weblogic is doing.
    Sooner or later you have to try to figure out where it gets this stuff from)
    or
    you can experimentally snoop on your url with a tool like wget or curl. These are fundamental web tools.
    The latter is always a useful thing to be able to do. (you need to formulate a query to get the content-type).
    Whoever managed to get weblogic to serve any files in the first place probably can figure this out.

  • Strange problem when transfering songs

    Hi Everyone,
    I have a very strange problem when i transfer songs to my iphone.
    When i transfering songs maually (dragging them from ITunes music library to my iphone) i can see that they are in my iphone (at "On This iPhone"),
    but when im looking in my iphone (in the music library) im seeing only 70-80% of the songs.
    And the strange thing is that i can see them if im searching them!
    Please help.
    Thank you!

    I'll have to rephrase my question. Close this one.

  • Problem when I execute program SCM in background

    Hi experts,
        I am with problem when I execute a program (SCM) in background. I inserted a new field (estoque_seg(10)) and the process stopped at execute in background.When I call transaction and press F8, works but for this, I need jump the consistence  IF sy-batch IS INITIAL....Dont has any bath imput, only functions. Any idea?
    Follow below the code:
    Estrutura para tabela ENTRADA
    DATA: BEGIN OF st_entrada,
            matnr(40)            TYPE c,
            werks(20)            TYPE c,
            ponto_abas(10)       TYPE c,
            estoque_max(10)      TYPE c,
            cobertura(10)        TYPE c,
            estoque_seg(10)      TYPE c, " Erlon Lourenço 20/01/2011
          END OF st_entrada.
    Estrutura para tabela de LOG
    *TYPES: BEGIN OF st_saida,
           pernr(8)             TYPE c ,
           date(10)             TYPE c,
           er_contribuition(15) TYPE c,
           tax(15)              TYPE c,
           msg_erro(80)         TYPE c,
         END OF st_saida.
    Tabela para obter descricao da mensagem
    *DATA: ti_saida TYPE STANDARD TABLE OF st_saida WITH HEADER LINE
                                                  INITIAL SIZE 0.
    Tabela que recebera o arquivo texto
    DATA: BEGIN OF ti_entrada OCCURS 0.
            INCLUDE STRUCTURE st_entrada.
    DATA: END OF ti_entrada.
    DATA: BEGIN OF it_matid OCCURS 0,
      matnr TYPE /sapapo/matkey-matnr,
      matid TYPE /sapapo/matkey-matid,
    END OF it_matid.
    DATA: BEGIN OF it_locid OCCURS 0,
      locno TYPE /sapapo/loc-locno,
      locid TYPE /sapapo/loc-locid,
    END OF it_locid.
    DATA: BEGIN OF it_matlotsz OCCURS 0,
      target_dur TYPE /sapapo/matlotsz-target_dur,
      END OF it_matlotsz.
    DATA:        wa_matloc       LIKE /sapapo/matloc   OCCURS  0 WITH HEADER LINE,
                 wa_matlsim      LIKE /sapapo/matlsim  OCCURS  0 WITH HEADER LINE,
                 wa_matlotsz     LIKE /sapapo/matlotsz OCCURS  0 WITH HEADER LINE.
    Variáveis Globais
    DATA: v_tabix   TYPE sy-tabix,
          v_vrsioid TYPE /sapapo/apo01-vrsioid,
          v_tam     TYPE i.
        Select-Options & Parameters
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS:  p_versao    TYPE /sapapo/apo01-vrsioex OBLIGATORY DEFAULT '000',
                 p_abas  AS CHECKBOX  ,
                 p_est   AS CHECKBOX  ,
                 p_cober AS CHECKBOX  ,
                 p_estsg AS CHECKBOX.   " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
    SELECTION-SCREEN END OF BLOCK b1.
        Start-of-Selection
    START-OF-SELECTION.
      PERFORM consiste.
      PERFORM f_upload.
      PERFORM f_processa_batch.
      PERFORM f_saida_dados.
      MESSAGE i000 WITH 'Processo encerrado com Sucesso'.
    END-OF-SELECTION.
    *&      Form  F_UPLOAD
          text
    -->  p1        text
    <--  p2        text
    FORM f_upload .
      DATA: lc_file TYPE string.
      TYPES: BEGIN OF st_ent,
                cam(80),
             END OF st_ent.
      DATA: ti_ent TYPE STANDARD TABLE OF st_ent WITH HEADER LINE
                                                  INITIAL SIZE 0.
      RANGES: r_file       FOR zget0001-field_content.
      r_file[] = zbs_constantes=>obter( i_bukrs = space i_field = 'FILE' i_process = 'PONTO-REAB' ).
      READ TABLE r_file INDEX 1.
      lc_file = r_file-low.
      CLEAR: ti_entrada,
             ti_entrada[],
             ti_ent,
             ti_ent[].
    abrir arquivo para leitura
      OPEN DATASET lc_file FOR INPUT  IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
        MESSAGE i000 WITH text-e01.
        STOP.
      ENDIF.
    Leitura de arquivos
      DO.
        READ DATASET lc_file INTO ti_ent.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
        APPEND ti_ent.
      ENDDO.
    Fechamento do arquivo
      CLOSE DATASET lc_file.
      LOOP AT ti_ent.
        SPLIT ti_ent AT ';' INTO ti_entrada-matnr ti_entrada-werks ti_entrada-ponto_abas ti_entrada-estoque_max ti_entrada-cobertura ti_entrada-estoque_seg.
        APPEND ti_entrada.
      ENDLOOP.
    ENDFORM.                    " F_UPLOAD
    *&      Form  F_PROCESSA_BATCH
          text
    -->  p1        text
    <--  p2        text
    FORM f_processa_batch .
      LOOP AT ti_entrada.
        v_tabix = sy-tabix.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-matnr
          IMPORTING
            output = ti_entrada-matnr.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-ponto_abas
          IMPORTING
            output = ti_entrada-ponto_abas.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-estoque_max
          IMPORTING
            output = ti_entrada-estoque_max.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-cobertura
          IMPORTING
            output = ti_entrada-cobertura.
    IA - ERLON LOURENCO - 20/01/2012
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = ti_entrada-estoque_seg
          IMPORTING
            output = ti_entrada-estoque_seg.
    FA - ERLON LOURENCO - 20/01/2012
        MODIFY ti_entrada INDEX v_tabix.
      ENDLOOP.
      CLEAR: it_matid,
             it_matid[],
             it_locid,
             it_locid[],
             wa_matlsim,
             wa_matlsim[],
             wa_matloc,
             wa_matloc[].
      SELECT matnr matid INTO TABLE it_matid FROM /sapapo/matkey
      FOR ALL ENTRIES IN ti_entrada WHERE matnr = ti_entrada-matnr.
      SELECT locno locid INTO TABLE it_locid FROM /sapapo/loc
      FOR ALL ENTRIES IN ti_entrada WHERE locno = ti_entrada-werks.
      IF p_versao = '000'.
        LOOP AT ti_entrada.
          READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
          IF sy-subrc = 0 .
            READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
            IF sy-subrc = 0.
              SELECT SINGLE * INTO wa_matloc FROM /sapapo/matloc WHERE matid = it_matid-matid  AND
                                                                       locid = it_locid-locid.
              IF sy-subrc = 0.
                IF p_abas = 'X'.
                  wa_matloc-reord    = ti_entrada-ponto_abas.
                ENDIF.
                IF p_est = 'X'.
                  wa_matloc-maxstock = ti_entrada-estoque_max.
                ENDIF.
                " IA - Erlon Lourenço - 23/01/2012
                if p_estsg = 'X'.
                  wa_matloc-safty    = ti_entrada-estoque_seg.     " Erlon Lourenço - 23/01/2012
                endif.
                "FA - Erlon Lourenço - 23/01/2012
                IF p_abas  = 'X'   OR
                   p_est   = 'X'   OR
                   p_estsg = 'X'.      " Erlon Lourenço - 23/01/2012
                  APPEND wa_matloc TO wa_matloc.
                ENDIF.
                SELECT SINGLE * INTO wa_matlotsz FROM /sapapo/matlotsz WHERE lszid = wa_matloc-lszid.
                IF sy-subrc = 0.
                  IF p_cober = 'X'.
                    wa_matlotsz-target_dur = ti_entrada-cobertura.
                    APPEND wa_matlotsz TO wa_matlotsz.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDLOOP.   " LOOP AT ti_entrada.
      ELSE.
    Verifica versáo para saber se preenche a tabela wa_matlsim
        SELECT SINGLE vrsioid INTO v_vrsioid FROM /sapapo/apo01 WHERE vrsioex = p_versao.
        IF sy-subrc = 0.
          SELECT * INTO TABLE wa_matlsim FROM /sapapo/matlsim WHERE simid = v_vrsioid.
          IF wa_matlsim[] IS NOT INITIAL.
            LOOP AT ti_entrada.
              READ TABLE it_matid WITH KEY matnr = ti_entrada-matnr.
              IF sy-subrc = 0 .
                READ TABLE it_locid WITH KEY locno = ti_entrada-werks.
                IF sy-subrc = 0.
                  READ TABLE wa_matlsim WITH KEY matid = wa_matloc-matid
                                                 locid = wa_matloc-locid.
                  IF sy-subrc = 0.
                    wa_matlsim-reord    = ti_entrada-ponto_abas.
                    wa_matlsim-maxstock = ti_entrada-estoque_max.
                    wa_matlsim-safty    = ti_entrada-estoque_seg.     " Erlon Lourenço - 23/01/2012
                    MODIFY wa_matlsim INDEX v_tabix.
                  ENDIF.
                ENDIF.
              ENDIF.
            ENDLOOP.  " LOOP AT ti_entrada.
          ENDIF.     " IF wa_matlsim[] IS NOT INITIAL.
        ENDIF.     " IF sy-subrc = 0. 1º
      ENDIF.     "IF p_versao = '000'
    Funcáo que atualiza campos nas bases de dados.
      CALL FUNCTION '/SAPAPO/DM_PRODUCTS_POST'
        EXPORTING
          iv_vb         = 'U'
        TABLES
          it_matloc     = wa_matloc
          it_matlsim    = wa_matlsim
          it_matlotsz   = wa_matlotsz
        EXCEPTIONS
          not_qualified = 1
          insert_failed = 2
          update_failed = 3
          OTHERS        = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " F_PROCESSA_BATCH
      FORM  BDC_DYNPRO
    *&      Form  F_SAIDA_DADOS
          text
    -->  p1        text
    <--  p2        text
    FORM f_saida_dados .
    IF ti_saida[] IS NOT INITIAL.
       DATA: lc_file TYPE string.
       lc_file = p_erros.
       CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
      BIN_FILESIZE                    =
           filename                        = lc_file
      FILETYPE                        = 'ASC'
         TABLES
           data_tab                        = ti_saida
      FIELDNAMES                      =
        EXCEPTIONS
          file_write_error                = 1
          no_batch                        = 2
          gui_refuse_filetransfer         = 3
          invalid_type                    = 4
          no_authority                    = 5
          unknown_error                   = 6
          header_not_allowed              = 7
          separator_not_allowed           = 8
          filesize_not_allowed            = 9
          header_too_long                 = 10
          dp_error_create                 = 11
          dp_error_send                   = 12
          dp_error_write                  = 13
          unknown_dp_error                = 14
          access_denied                   = 15
          dp_out_of_memory                = 16
          disk_full                       = 17
          dp_timeout                      = 18
          file_not_found                  = 19
          dataprovider_exception          = 20
          control_flush_error             = 21
          OTHERS                          = 22
       IF sy-subrc <> 0.
         MESSAGE i005 WITH 'Error to unload file !'.
         STOP.
       ENDIF.
    ENDIF.
    ENDFORM.                    " F_SAIDA_DADOS
    *&      Form  CONSISTE
          text
    -->  p1        text
    <--  p2        text
    FORM consiste .
      IF p_abas  IS INITIAL  AND
         p_est   IS INITIAL  AND
         p_cober IS INITIAL AND
         p_estsg IS INITIAL.   " ERLON LOURENCO - 20/01/2012 - Estoque Segurança
        MESSAGE i000 WITH text-e03.
        STOP.
      ENDIF.
      IF sy-batch IS INITIAL.
        MESSAGE i000 WITH text-e02.
        STOP.
      ENDIF.
    Best regards,
    Erlon Lourenço
    Edited by: Erlon Louren on Jan 27, 2012 11:09 AM

    Hi Raja,
                Check weather there are  any enhancements to the datasource.If yes once check the code in CMOD.Seems there is some discrepency in that.
    Regards
    Karthik

  • Problem when calling external program

    Hi,
    I have a strange problem and no more idea how to solve it.
    What I do:
    In Java I call an external Fortran-exe with Runtime.getRuntime().exec(...) This Fortran program creates 4 files.
    What I get:
    One of the 4 files is incomplete, the first few lines are missing.
    What makes me wonder:
    When I take the exec-statement to the commandline and let it run there, everything is fine and the files contain all the info I need. All the 4 files are correct then.
    What I also tried:
    I tried to copy the (incomplete) file within Fortran. That means when I call the Fortran program I get 2 identical files then but with different filenames. Doing so on the commandline everything is fine again. But again, the same commandline String called in the exec in my Java program it is getting worse: The formerly incomplete file is empty now with 0 bytes.
    Even if I wait for the process to finish does not help.
    I do not understand it any more and would really like to know what happens there, why, and what can I do to avoid it or to get my complete output files. What does Runtime.getRuntime().exec(myString) do different than when I take the myString on the commandline?
    Any hints welcome.
    TIA

    Hi,
    unfortunately this does not help. I have already about 15 Fortran programs running this way which work accurately. So a possible problem with output stream does not look reasonable to me in this case.

  • Query for copying standard program in ECC 6.0

    Hi,
      My problem is when i copy a standard program to my Z program in ECC and then try making some changes there it says new enhancement point will be created (specific to top include in function module).Kindly suggest what action needs to be taken for above problem.

    Hi,
    Please find the Standard workflow list in this link...
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/04/926f8546f311d189470000e829fbbd/frameset.htm
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Dump on running copied standard program ( FAGL_FC_TRANSLATION )

    Dear Gurus,
    i copied everything form the standard program ( FAGL_FC_TRANSLATION ) without changing anything in the same client. when i ran the z program it gave me dump.
    Thanks in advance.
    Regards,

    Hi Devendra Sharma,
    What error/dump you are getting ? please be more specific about the problem.
    For me it's working fine.
    Do as below.
    Go to SE80
    Repository Browser
    Programs
    FAGL_FC_TRANSLATION
    Now right click here(on FAGL_FC_TRANSLATION Folder) and select COPY.
    give it a name like ZFAGL_FC_TRANSLATION.
    Select all Check boxes.
    Press Enter.
    Save it in local object or Package.
    Right click there and press Activate there and make sure all the object are activated under the program.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Copying standard program

    Hi Gurus,
    Am trying to copy the standard program PPPIH000 to make some changes .
    The problem am facing is it has 3 screens 800, 1000, 1200
    The sub screen 800 is getting copied but the other screens are not getting copied...
    because of this the process order, resource is not getting appeared in the selection screen.
    when am checking the screen in se51 it is showing the screen where as in se80 am unable to view it.
    Please help
    Edited by: imran khan on Nov 2, 2010 3:39 PM

    Activate the copy of the report and every include copied to regenerate the selection-screens 1000 and 1100. (the 1100 selection-screen is defined in include IOCTOP03)
    Regards,
    Raymond

  • Subscreen issue -Copied Standard program

    Hi,
    I copied a standard Transaction program of KKS1 and changed an Include for our requirement.I activated all screens and GUI's  and also Includes .
    When I run this Z Transaction I am getting an Error saying Subscreen in not available.
    Although standard and Z transactions are identical still I am getting error in Z transaction.
    Any ideas?
    Regards
    Vara
    Message was edited by: Vara K

    There is a data structure in the TOP include  MKKS0TOP 
    called CON_rname, this structure has a field called ONLINE which has the value of the program name 'SAPMKKS0'.  I think that this field needs to be changed to have the program name of your "Z" program instead of the standard.
    DATA:
      BEGIN OF CON_rname,                    " JOB: Reportname
        KKSWL LIKE TBTCJOB-INTREPORT
            VALUE 'RKKKSWL0',                " Worklist
        KKS1O LIKE TBTCJOB-INTREPORT
            VALUE 'RKKKS000',                " Old transactions
        KKS1N LIKE TBTCJOB-INTREPORT
            VALUE 'RKKKS1N0',                " New transactions
    <b>    ONLINE LIKE TBTCJOB-INTREPORT
            VALUE 'SAPMKKS0',                " Online</b>
      end   OF CON_rname.
    Regards,
    RIch Heilman

  • Problem in submiting standard program via job

    Hi Experts ,
       I have developed  programs for creating and posting return lots and payment lots for multiple incoming  files. For this i have submited standard  program of FPB3 and FPB5 transaction .  What happened is ,  if the child program fails due to some reason for one file , it is not coming back to the mother program and as a result other files remain unprocessed . So for this i tried with submiting the child program Via job so that if child program fails , only that job will fail and the mother program will not fail , so rest  files will be processed .
    But the problem is the child program (standard program of FPB3/FPB5 )  is not working by this i.e.  the lots are not getting created adn.
    Awaiting for any respone .

    Hi,
    If you are using Submit via Job, you need to use JOB_OPEN and JOB_CLOSE FM's.
    JOB_OPEN : Create a new job and return you the job number which you use in Submit
    JOB_CLOSE: Will set the release conditions of the job.
    Example:
    DATA: number TYPE tbtcjob-jobcount,
          name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.
    Regards,
    Jovito

  • Error: While Copying Standard Program FBCJ

    Dear Experts,
                        I tried to copy the standard program because the requirement was to change the menu fuction for save and post.
    So i copied the T.Code FBCJ to ZFBCJ. It Copied Successfully and i assigned the tcode also. But While executing the T code
    the system Shows the error message
    "System error in routine FI_TAX_GET_TXJCD_STRUCTURE
    error code 1 function builder TAX2"
    Kinldy help me to resolve this issue.
    Waiting for your valuable replies.
    Kindly give some ideas.
    Thanks and Regards,
    Karthik V
    Edited by: karthikani on Nov 24, 2010 10:30 AM

    Hi,
    are the both client environments hav same version (ECC 6).
    In ECC 6 version type X is not allowed.
    To avoid this problem,
    you need to declare the field of TYPE C.
    you need to get the value from Cl_ABAP_CHAR_UTILITIES.
    Regards
    Sandeep Reddy

Maybe you are looking for