Back ground AVAC: No Budget Error

Hi,
Our Projects are assigned a Budget profile with the following settings:
Activation Type 2               Usage    1.00
Overall - X (ticked)
Releases -   (not ticked)
In define tolerance limits, the settings for the budget profile are:
Tr Grp - 00, Act - 3, Usage - 100
Tr Grp - 01, Act - 3, Usage - 100
When I am creating a service order, with a WBS element assigned to it (Additional Data tab page), system is allowing me to create PRs in the service order (for text items), even if the PR value exceeds the budget assigned to the WBSe. I have reconstructed availability control (CJBN). Also checked that the cost elements are not exempted from AVAC. Even then the system is not restricting the PR creation.
My query: Is this a standard behaviour for the above settings? If the system is to give a budget check error while creating the PR, what should be the settings?
Would appreciate & reward appropriately a quick reply
Rgds
Deepak

Hi NAG/Nitin,
Thanks to both of you for your replies.
The committment management is active for my controlling area. I had reconstructed the AVAC using CJBN. Also the WBS element is of course with Account Assignment tick, else I wouldnt have been allowed to assign it to the service order (Note: I am assigning level-2 WBSe, which is account assigned, whereas the level-1 is not a/c assigned). Even then the system is not giving error message on the PR value exceeding the budget. Strangely enough for other projects with a different budget profile with Activation type-1, it is working perfectly fine.
Can anyone find a clue from the above info?
In the meantime I will try to check again with giving a tick to the level-1 WBSe in the A/C assignment field.
Rgds
Deepak

Similar Messages

  • Back ground batch input processing error log handling

    Dear Friends,
    Currently im am scheduling job for batch processing of goods receipt through bapi, now after the succesfull run of this program im appending all the success and error logs in one internal table and sending this table to spool for future reference.
    Is there any other way to handle the error logs??
    bcoz in the method im using every time user has to run transaction sp01 to access that spool request to check the error logs.
    Kindly suggest ....
    Regards,
    Sunny V

    Best way will be creating Application Logs of the reports log.This will be forever in the system unless you delete it.
    Few one time settings are required. After that you can use tcodes
    SLG1 (Analyze application log) and
    SLG2 (Application Log: Delete expired logs).
    For more info take the help from below link:
    [Create Application Log|http://help.sap.com/saphelp_nw04/Helpdata/EN/2a/fa0216493111d182b70000e829fbfe/frameset.htm]
    Let me know if you find any difficulty in doing this.

  • Back ground scheduling and capturing error log

    hi friends,
    i have to write a report and call a function module for passing one by one those conversion progs which fm is suitable what it is
    one more boubt like i can maintain those conversions in structure and i can loop those one by one passing into fm
    i have to capture those error records
    i have to check whether the coversions runs properly or not.

    Hi,
    create one error table store messages in that.
    using sy-subrc you can identify status.
    for capturing put some condition to identify error records.
    Write subroutine for updating table with error messages.

  • ERROR IN BDC SESSION BACK GROUND ( USING PP03 T.CODE)

    Hi Experts,
    When i am executing the session ( pp03 T.Code) ,it is working fine in fore ground as well as in display errors mode. But it is not working in back ground mode.
    it is raising the exception ( cntl-system-error).
    I used flat file which is in the presentation server . I accessed it by gui_upload Function Module.
    <b> I am also getting the error using data sets . After upload the presentation server data into one internal table .I sent it to application server using open data set ( transfer ) , after that i read the application server data using open dataset ( read )
    into another internal table ( i declared with same structure of flat file ) .</b>
    But this time also it is giving same error ( runtime exception).
    Please tell me how can i handle using datasets .  Its Very urgentttttttt
    Please any body help meee ( If any one worked on this (pp03 T.code) ) .
    Send the code  or Inform the full detailsss as soon as possibleeee
    regards ,
    dattu malge.

    Hi,
    Go to the transaction SM35 and select your session and then click the Process Button.
    Here you select the Processing Mode as "Background".
    It is not possible to execute the same session by more than one user at a same time.
    RSBDCSUB is used to automate the processing of Batch input session.
    Cheers,
    Hakim

  • Error while activating ODS is not caught in the back ground job..

    Hi All,
    We have a back ground job to load data to ODS and to activate it..If there is any error while loading or activating the data, back ground job is going into loop instead of cancelling the job..As the job is going into loop we are unable to trace the error unless we cancel the job manually and checking it..We have switched off displaying any messages while doing the back ground job...also we can not set any time limit for the job as it always depends on the volume of the data.
    My requirement is , back ground job must get cancelled if there is any error while loading the ODS..Can anybody suggest any idea on this..
    Thanks for reading.
    Umamaheswar kumar

    Hi Uma,
    A few hints for running and schedule and monitoring process chains:
    - always schedule the process chain in tcode RSPC
    - check the log in RSPC for error messages, or
    - check BW monitor for the ODS concerned (tcode RSMO, tab Details)
    if anything is not working fine, the status of the corresponding load will show you the errors, warnings ...
    either in RSPC - log or RSMO.
    hope it helps.
    Regards,
    Lilly

  • Error in Back Ground processing of a report.

    Hi All,
    I have a report wherein I need to schedule it in background. Its an ALV report and it has got user defined GUI status. But for one of the selection options, only output is being displayed. Can this be scheduled in Back Ground?

    Hi all,
    Thanks for your reply.
    I  got the solution. When a program is scheduled in background, if it is written in classes and ALV grid display is used, we get this error. I am able to schedule when I change the function module to LIST_DISPLAY.

  • Report Back ground processing, error

    Hi,
    I tried to run my program in back ground. It is showing the following error. I'm just Pressing F9 and scheduling the job immediately. When i go and see the "own jobs " in SM36, it shows the "job cancelled". When i see the job log, it shows "Control Framework: Fatal error - GUI cannot be reached" and "ABAP/4 processor: RAISE_EXCEPTION". When i debug the job using JDBG transaction it runs smoothly and generates spool.
    Can you provide some solutioons?

    HI,
    Is your report having some OOPS functionalities?
    Are you making use of any container or ALV GRID object.
    In that case it will not run in background and will give you this error.
    Search in SCN. This has been discussed a lto of times.
    There are several posts on how to avoid this.
    Regards,
    Ankur Parab

  • Error in BDC Back Ground Processing

    Dear All,
    I am facing problem on while executing BDC program. First i am executing in Foreground method there it displaying errors occured,
    means it showing full discription or error.
    But when i used Back ground processing its displayig the full error discription like "No posting object defined for 1230/ / / " here i need full error discription.
    please do the need full.
    Regrads,
    Srinivas.

    Hi
    In background processing you cannot see the error message, for that you have to write logic for capturing messages.
    Use 'Format_Message' function module so that you can get the complete message and then you can display that on the screen.
    Hope it helps...

  • Submit Back ground job with error log

    Hi Gurus
    Can anyone help with Back ground job with error log. i want put all the error logs in to 1 internal table and submit the back ground .how can i do that .please help me

    Hi reddy ,
    i am not experienced this in real scenarion .. even though i would like to give my idea
    Put your logic inside the FM and execute in in background task mode on your action button .
    call function 'Function module name' in background task
    exporting
       parameter =
    importing
       ret =
    refer the below link for more detail on executing FM as  background task
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/frameset.htm
    Regards
    Chinnaiya P

  • Session method back ground error

    Hi All,
    I am doing BDC for XK01 transaction it's giving error when we run the session in back ground but the same is running fine in the foreground? is there any parameter we have to pass for bdc session fun module when we run back ground?
    Thanks&Regards
    mahesh

    Hi..,
    <b>If u r populating data from presentation server file,u will get a dump obviously..</b>
    becoz it will not have any contact with presentation server while running in back ground.
    To make it run successfully, First store the file on <b>Application server</b>.. then onli it will work...
    To store a file in application server u need to use OPEN DATASET  and  CLOSE DATA SET....
    reward all helpful answer..
    aruna.

  • Error while using Back ground Job for Planning function in BPS

    I have created FM and Program for scdualing  Back ground Job for Planning function.
    I have created Planning function with exit option and passed parameter  Global seqence name.
    Error is lot of Jobs are creating while exe in BPS0
    Kindly help me the same
    Regards
    GR

    Hi Rama,
    It seems there are two diff. functional modules (UPC_BUNDLE_EXECUTE AND UPC_BUNDLE_EXECUTE_STEP). The second one divides the planning sequesces on the basis of something you specify (e.g. company code). Just make sure that you are using correct FM.
    just a thought.......
    Regards,
    SK

  • Error in Back ground job schedule for call transaction

    Hi Experts ,
    I have a Program which as Three BDC in it . 1 - to create contact person , 2- customer 3-sales order
    Using call transaction if i run with all screens and no screens it's running fine..
    if i schedule it background job
    conact and customer works fine but sales order not works ..
    can anyone give me the solution ?

    Hi Phani and Pavan ,
    It works Fine for Back ground anf fore ground i.e ( N and A )  sales order is created here .
    but Sales order not created when i schedule it in back ground  as
    Program - execute in back ground  .
    sales not created when i schedule it in background job  only using SM36 or Program - execute in back ground  ?
    Edited by: Pradeep Annaiah on Jan 13, 2009 5:29 AM

  • Any restictions on back ground job when submit the session?

    Hello friends
    below is my code part. problem is when i execute this program in back ground the data is not picking from APQI. but in fore ground it is picking . for this SESSION submission in back ground am i missing any thing here. please suggest me , any restiction is their in back ground? if possible please send a sample code to submit SESSION automatically in background.
        SUBMIT rsbdcsub AND RETURN
                        USER sy-uname
                        WITH mappe    =  p_group
                        WITH von      =  sy-datum
                        WITH bis      =  sy-datum
                        WITH z_verarb =  'X' .
          SELECT userid credate groupid qstate FROM apqi
             INTO TABLE it_apqi
             WHERE userid  = sy-uname
             AND   credate = sy-datum
             AND   groupid = p_group
             AND   qstate  = 'E'.              "Only look for 'Error' status
       DESCRIBE TABLE it_apqi[] LINES temp.

    Codes for Submitting the session through RSBDCSUB (via Job)...
    " The function module JOB_OPEN is called to create the job.
        call function 'JOB_OPEN'
             exporting
                  delanfrep        = 'X'  "Delete job after execution
                  jobname        = fv_jobname  "Job name
             importing
                  jobcount         = fv_jobcount  "Internally generated
             exceptions
                  cant_create_job  = 1
                  invalid_job_data = 2
                  jobname_missing  = 3
                  others           = 4.
        if sy-subrc = 0.
          submit rsbdcsub
                 with       mappe = v_filec
                 with            von = sy-datum      "From
                 with            bis = sy-datum      "To
                 with     z_verarb = 'X'
                 with         fehler = ' '
                 with      batchsys = space
                 with         logall = ' '
                 via  job          fv_jobname
                      number       fv_jobcount
                 and return.
          call function 'JOB_CLOSE'
               exporting
                    jobcount             = fv_jobcount
                    jobname              = fv_jobname
                    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.
    Hope this helps!
    Edited by: Vin on Jun 4, 2009 10:58 AM

  • BAPI_DOCUMENT_CREATE2 - Document upload to DMS - Back ground

    Hi,
    We are trying to uploda a file into DMS(CV01N) from SAP R/3, BAPI 'BAPI_DOCUMENT_CREATE2'. This works fine in foregroung but when we ececute it in background, we get an error saying 'Error while checking in and storing'.
    Could anyone please suggest me if we can sucessfully execute in back ground mode?
    Thanks,
    Ranjith Singh.

    it is not possible to download in background to a presentation server (your local PC) hence it is not possbile to upload either.
    when you submit the program to the background thenthe session is no longer attached to the PC that created it.
    Because of this you have to go via the application server.
    compare hundred of threads by searcing the ABAP forum with keywords +download +background
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0901cba-f49e-2910-748c-d7ce4c0c4c1c

  • Back ground job

    Hi Experts,
    See the following code.
    When i run this program in fore ground it is giving time out error.Current running time is 600 Sec.When i run in Back ground with Immediate.Excute option after some time the job is cancled.When i see the job log It is mentioned as "More memory space requested".
    Can any body Plz go thru the code and tell me what is the problem?
    *& Report  ZTEST_XML
    REPORT  ZTEST_XML.
    *data: ifile like salfldir occurs 0 with header line.
    data:p_path TYPE rsmrgstr-path value 'F:\usr\sap\CD5\serena\OCOS\'.
    data: p_file type string.
    TYPES: BEGIN OF t_xml_line, "Structure for holding XML data
    data(256) TYPE x,
    END OF t_xml_line.
    data: BEGIN OF t_xml occurs 0,
    rec TYPE x,
    END OF t_xml.
    data: begin of jtab occurs 0,
          text type string,
          end of jtab.
    DATA: l_xml_table TYPE TABLE OF t_xml_line. " XML Table of the structure
    data: wa(256)  type x.
    data: wa_xml like l_xml_table occurs 0.
    data: l_str type string.
    data:  start_line  type i,
           end_line type i,
           v_str type string.
    data: cnt type i,
          idx type i,
          count1 type i,
          len type i,
          diff type i.
    data: catalogid type string.
    DATA : BEGIN OF DAT OCCURS 0,
             LIN type string,
           END OF DAT.
    DATA: BASIC_TEXT LIKE THEAD OCCURS 0 WITH HEADER LINE.
    DATA: YGUID LIKE COMM_PCAT_CTY-GUID,
          ZGUID LIKE COMM_PCAT_CTV-PARENT_CATEGORY.
    DATA: BASICTEXT like TLINE OCCURS 0 WITH HEADER LINE.
    DATA: IT_THEAD LIKE  THEAD OCCURS 0 WITH HEADER LINE.
    data: begin of IT_SERENA occurs 0,
           ID LIKE COMM_PCAT_CTY-ID,
           TEXT type string,
          end of IT_SERENA.
    DATA:WA_SERENA like IT_SERENA.
    DATA: wa_files TYPE rsfillst,
    ifile LIKE TABLE OF wa_files.
    data: begin of it_error occurs 0,
           err type string,
           end of it_error.
    data: errorfile type string value 'error.txt'.
    CALL FUNCTION 'SUBST_GET_FILE_LIST'
      EXPORTING
        DIRNAME            = p_path
        FILENM             = '*'
      PATTERN            =
      TABLES
        FILE_LIST          = ifile
    EXCEPTIONS
      ACCESS_ERROR       = 1
      OTHERS             = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at ifile into wa_files.
      if not wa_files-name cs '.xml'.
        delete ifile.
      endif.
    endloop.
    loop at ifile into wa_files.
      concatenate p_path wa_files-name into p_file.
      open dataset p_file for input in text mode encoding default.
      if sy-subrc = 0.
        do.
          read dataset p_file into l_str.
          if l_str = space.
          exit.
          endif.
          if sy-subrc <> 0.
            concatenate text-002 p_file into it_error-err.
            append it_error.
            clear it_error.
            exit.
          else.
            jtab-text = l_str.
            append jtab.
            clear jtab.
          endif.
        enddo.
      else.
        concatenate text-001 p_file into it_error-err.
        append it_error.
        clear it_error.
        continue.
      endif.
      loop at jtab.
        if jtab-text cs 'Catalog ID'.
          idx = sy-tabix .
        endif.
      endloop.
      read table jtab index idx.
      if sy-subrc = 0.
        catalogid = jtab-text.
      endif.
      if catalogid cs '<![CDATA['.
        shift catalogid left by 56 places.
      endif.
      if catalogid cs ']]></field>'.
        replace ']]></field>' with space into catalogid.
      endif.
      write:/ 'Catalogid is:', catalogid.
      IT_SERENA-ID = catalogid.
      LOOP AT jTAB.
        if jtab-text cs 'longDescription'.
          start_line = sy-tabix + 1.
          exit.
        endif.
      endloop.
      cnt = start_line.
      do.
        read table jtab index cnt.
        if jtab-text cs '</field>'.
          end_line = sy-tabix.
          exit.
        else.
          cnt = cnt + 1.
        endif.
      enddo.
      loop at jtab from start_line to end_line.
        concatenate jtab-text v_str into v_str separated by space.
      endloop.
    shift v_str left by 18 places.
      shift v_str left by 10 places.
      len = strlen( v_str ).
      DO.
        IF COUNT1 >= LEN.
          EXIT.
        ENDIF.
        DIFF = LEN - COUNT1.
        IF DIFF  < 125.
          DAT-LIN = v_str+COUNT1(DIFF).
        ELSE.
          DAT-LIN = v_str+COUNT1(125).
        ENDIF.
    DAT-LIN = v_str+COUNT1(125).
        APPEND DAT.
        WRITE :/ DAT-LIN.
        CLEAR DAT.
        COUNT1 = COUNT1 + 125.
      ENDDO.
      REFRESH BASIC_TEXT.
      REFRESH BASICTEXT.
      CLEAR YGUID.
      CLEAR ZGUID.
      SELECT  SINGLE GUID FROM COMM_PCAT_CTY INTO YGUID
          WHERE ID = IT_SERENA-ID.
    IF NOT YGUID IS initial.
      if sy-subrc <> 0.
        concatenate text-003 p_file into it_error-err.
        append it_error.
        clear it_error.
      else.
        SELECT SINGLE GUID FROM COMM_PCAT_CTV INTO ZGUID
        WHERE PARENT_CATEGORY = YGUID.
      ENDIF.
      BASIC_TEXT-TDOBJECT = 'PCAT_CTY'.
      BASIC_TEXT-TDNAME = ZGUID.
      BASIC_TEXT-TDID = '0001'.
      BASIC_TEXT-TDSPRAS = 'EN'.
      APPEND BASIC_TEXT.
      loop at DAT.
        BASICTEXT-TDFORMAT = '*'.
        BASICTEXT-TDLINE = DAT-LIN.
        APPEND BASICTEXT.
      endloop.
      refresh DAT.
      loop at basictext.
        if basictext-tdline cs '![CDATA['.
          replace '![CDATA[' with space into  basictext-tdline.
        ENDIF.
        modify basictext.
      ENDLOOP.
      loop at basictext.
        if basictext-tdline cs ']]>'.
          replace ']]>' with space into  basictext-tdline.
          modify basictext.
        endif.
      endloop.
      CALL FUNCTION 'SAVE_TEXT'
          EXPORTING
           CLIENT                = SY-MANDT
            HEADER                = BASIC_TEXT
      INSERT                = 'X'
             SAVEMODE_DIRECT       = 'X'
      OWNER_SPECIFIED       = ' '
      LOCAL_CAT             = ' '
         IMPORTING
      FUNCTION              =
           NEWHEADER             = IT_THEAD
          TABLES
            LINES                 = BASICTEXT
      EXCEPTIONS
       ID                    = 1
       LANGUAGE              = 2
       NAME                  = 3
       OBJECT                = 4
       OTHERS                = 5
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CLEAR IT_THEAD.
      IF SY-SUBRC = 0.
        WRITE:/ 'DATA UPLOADED SUCCESSFULLY'.
      ELSE.
        WRITE:/ 'DATA NOT UPLOADED'.
      ENDIF.
      refresh jtab.
      refresh DAT.
      COUNT1 = 0.
      clear v_str.
      REFRESH BASICTEXT.
      refresh dat.
      close dataset p_file.
    endloop.
    open dataset errorfile for appending in text mode encoding default.
    if sy-subrc = 0.
      loop at it_error.
        transfer it_error-err to errorfile.
      endloop.
      close dataset errorfile.
    endif.
    Is there  any other FM which is similar to SAVE_TEXT?

    That depends. Can you please provide some more info how the programs are linked:
    several steps in batch planning
    cascade of submits
    and what kind of failure might occur:
    shortdump
    Kind Regards
    Klaus

Maybe you are looking for

  • Can two people access WWF from an iPad, one way or the other?

    I have downloaded Words with Friends on my iPad3, and I can play it via the WWF app icon, but if I try to access WWF via my Facebook page on the iPad, nothing happens.  The same is true for my wife; she cannot access WWF via her Facebook page on the

  • When I down loaded some ring tones they show up in my Music folder but not in my ringtones?

    When I down load some ring tones I purchased they show up under my Music Icon but not in my ringtones

  • Table for Tax Values in PO

    Dear Experts, PLease let me know, the values of taxes in Purchase order is tored in which table.. I've identified, the Pricing conditions are stored in KONV table.. But where the Tax conditions are stored.. Which Table.. let me know.. Thanks in Advan

  • My new Macbook Air constantly drops its Internet connection.

    Running 10.8.1. Constantly drops connection to Internet, even though Airport shows it's connected. Browser, email, etc., all say there's no internet connection. I can get reconnected by putting machine to sleep, then reawakening it, but eventually co

  • Quicktime can´t play .mov files

    Iphoto doesn´t recognize movies from iphone (.mov files) When I attach my iphone to import movies I made with my iphone 4 into iphoto, Iphoto tell´s me it can´t read the format (.mov files). Quicktime cannot play .mov files either. I reinstalles ILif