Error handling while uploading data through Batch Input Session

I want to upload data from a file to 2 different infotypes at the same time. One is a user defined infotype 9010 and the other is a standard infotype 2010. 9010 infotype has the start and end time whereas 2010 doesn't.While uploading I have put validations to check duplicate entries for infotype 9010 based on the start time and endtime. The duplicate entry is rejected in 9010 but the same gets uploaded in 2010. In 2010 I can't put any validations because there is no start time and end time.  I want to prevent the upload of the entry in infotype 2010 if it is not uploaded in 9010. Please help.

Doing IMPORT?EXPORT will act like a global variable shared between two separate programs.
Here is an example:
In first part, export the values to a memory variable after your conditions satisfy and you want to set a flag, like this ...
    free memory id 'ZFLAG_VAR'. "recomended to clear that variable
                        " before start, you dont need to declare it
    data: l_flag type c.
    if my_condition = 'true'.
      l_flag = 'X'.
      export l_flag to memory id 'ZFLAG_VAR'.
    endif.
In second part, you can
import l_flag from memory id 'ZFLAG_VAR'.
if l_flag = 'X'.
   write: 'hmmmm ... the flag was marked, so my condition was true in last part'.
endif.
Edited by: Rob Burbank on Nov 25, 2009 3:12 PM

Similar Messages

  • Error while uploading data through CSV File

    Dear All,
    While Performing following steps I have encounted error in BW 3.5.
    Step 1. Right-click Source System u2013 demo: flat file, and then select Create InfoPackageu2026.
    Step 2. Select the DataSource Material number (Master data), enter a description for the InfoPackage, and
    Step 3. Click the External data tab. Select options as shown in the screen. Enter a file name with a path.(CSV File)\
    While checking the preview I am able to see the values inside CSV file,
    But while Starting the scheduler to upload this data it is displaying following error=>
    Syntax error in template RSTMPLIR, row 0 (-> Long text)
    While checking performance assistant following detail is displayed.
    *Diagnosis
    Field "C_R_D" is unknown. It is neither in one of the specified tables nor defined by a "DATA"   ...
    System response
    The program generation was terminated.
    Procedure
    Correct the template*
    Can you guide how to eliminate this error?
    Points will be rewarded for your contribution
    Regards,
    Purav

    Flat File was in error.

  • Problem while uploading data through F-43

    Hello Experts ,
    I am facing a problem while data uploading through F-43.
    Suppose I have many vendors with having several debit and credit items for each.So in t code same screen will appear for same vendor several times where we have to enter debit / credit items.
    Please suggest how to solve this issue through LSMW/BDC program.
    Thanks in adv.
    A Miter.

    Hi..
    Use BDC Recording MEthod ...
    Develop BDC program, Before Recording the Transaction sit with Functional Consulatnt for REcord The f-43.
    After that  that  u can do ur coding  and built ur own logic.
    Prabu

  • Batch Input Session for Errors

    Hello
    I'm running a Batch Input (in a FM) and I want to create a session for records with errors. In case of error (output parameter of the FM subrc NE 0) I send it to that session for later running.
    Can you explain how do I do this? Thanks!

    hi,
    Look at the sample program
    REPORT Z_BDC_CUSTOMER_R07
           NO STANDARD PAGE HEADING LINE-SIZE 255.
    INCLUDE Z_CUSTOMER_BDC_R02.
    *-----AT SELECTION-SCREEN
    AT SELECTION-SCREEN.
      IF SY-UCOMM = 'ONLI'.
    *-----group and user must be filled to create a session
        IF SESSION = 'X' AND
           GROUP = SPACE OR USER = SPACE.
          MESSAGE E613(MS).
        ENDIF.
    *----Presentation File name should be entered
        IF SESSION = 'X' AND RB_PRE = 'X'
                         AND P_FILE = '' .
          MESSAGE E004(ZROJA).
        ELSEIF CTU = 'X' AND RB_PRE = 'X'
                         AND P_FILE = '' .
          MESSAGE E004(ZROJA).
        ENDIF.
    *----Application File name should be entered
        IF SESSION = 'X' AND RB_APP   = 'X'
                         AND P_FILE_A = '' .
          MESSAGE E004(ZROJA).
        ELSEIF CTU = 'X' AND RB_APP = 'X'
                   AND P_FILE_A = '' .
          MESSAGE E004(ZROJA).
        ENDIF.
      ENDIF.
    *-----AT SELECTION-SCREEN OUTPUT
    AT SELECTION-SCREEN OUTPUT.
    *----When file from Presentation server is selected
      IF RB_PRE = 'X'.
    *----To make the application server inactive
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'AAA'.
            SCREEN-ACTIVE = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ELSE.
    *----When file from Presentation server is selected
        RB_APP = 'X'.
    *----To make the application server inactive
        LOOP AT SCREEN.
          IF SCREEN-GROUP1 = 'BBB'.
            SCREEN-ACTIVE = 0.
            MODIFY SCREEN.
          ENDIF.
        ENDLOOP.
      ENDIF.
    *-----AT SELECTION-SCREEN ON VALUE-REQUEST
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE_A.
      CALL FUNCTION 'F4_DXFILENAME_TOPRECURSION'
        EXPORTING
          I_LOCATION_FLAG = 'A'
          I_SERVER        = ' '
          FILEOPERATION   = 'R'
        IMPORTING
          O_PATH          = P_FILE_A
        EXCEPTIONS
          RFC_ERROR       = 1
          ERROR_WITH_GUI  = 2
          OTHERS          = 3.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    *-----AT SELECTION-SCREEN ON VALUE-REQUEST
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    *-----Function module for value-request
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          PROGRAM_NAME  = SYST-CPROG
          DYNPRO_NUMBER = SYST-DYNNR
          FIELD_NAME    = ' '
        IMPORTING
          FILE_NAME     = V_FILE_NAME.
    *----Assigning the flatfile to parameter
      P_FILE        = V_FILE_NAME.
    *-----START-OF-SELECTION
    START-OF-SELECTION.
      DATA: FILENAME TYPE STRING.
    *----When file from Presentation Server is selected
      IF RB_PRE = 'X'.
        FILENAME = P_FILE.
    *-----Function module to upload data from the presentation server
        CALL FUNCTION 'GUI_UPLOAD'
          EXPORTING
            FILENAME                = FILENAME
            FILETYPE                = 'ASC'
            HAS_FIELD_SEPARATOR     = 'X'
          TABLES
            DATA_TAB                = IT_KNA1
          EXCEPTIONS
            FILE_OPEN_ERROR         = 1
            FILE_READ_ERROR         = 2
            NO_BATCH                = 3
            GUI_REFUSE_FILETRANSFER = 4
            INVALID_TYPE            = 5
            NO_AUTHORITY            = 6
            UNKNOWN_ERROR           = 7
            BAD_DATA_FORMAT         = 8
            HEADER_NOT_ALLOWED      = 9
            SEPARATOR_NOT_ALLOWED   = 10
            HEADER_TOO_LONG         = 11
            UNKNOWN_DP_ERROR        = 12
            ACCESS_DENIED           = 13
            DP_OUT_OF_MEMORY        = 14
            DISK_FULL               = 15
            DP_TIMEOUT              = 16
            OTHERS                  = 17.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ELSE.
    *----Upload the File from Application Server
        OPEN DATASET P_FILE_A FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    *-----to display an error if the file is not in application server
        IF SY-SUBRC NE 0.
          MESSAGE E006(ZROJA).
        ELSE.
          DO.
            READ DATASET P_FILE_A INTO X_KNA1.
            IF SY-SUBRC EQ 0.
              APPEND X_KNA1 TO IT_KNA1.
            ELSE.
              EXIT.
            ENDIF.
          ENDDO.
        ENDIF.
        CLOSE DATASET P_FILE_A.
      ENDIF.
    *-----To open a batchinput session
      IF SESSION = 'X'.
        CALL FUNCTION 'BDC_OPEN_GROUP'
          EXPORTING
            CLIENT              = SY-MANDT
            GROUP               = GROUP
            KEEP                = KEEP
            USER                = USER
            PROG                = SY-CPROG
          EXCEPTIONS
            CLIENT_INVALID      = 1
            DESTINATION_INVALID = 2
            GROUP_INVALID       = 3
            GROUP_IS_LOCKED     = 4
            INTERNAL_ERROR      = 6
            QUEUE_ERROR         = 7
            RUNNING             = 8
            SYSTEM_LOCK_ERROR   = 9
            USER_INVALID        = 10
            OTHERS              = 11.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    *-----Filling the BDCDATA using the Internal Table
      LOOP AT IT_KNA1 INTO X_KNA1.
        PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0100'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'RF02D-KTOKD'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM BDC_FIELD       USING 'RF02D-KUNNR'
                                      X_KNA1-KUNNR.
        PERFORM BDC_FIELD       USING 'RF02D-KTOKD'
                                      X_KNA1-KTOKD.
        PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0110'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'KNA1-SPRAS'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM BDC_FIELD       USING 'KNA1-NAME1'
                                      X_KNA1-NAME1.
        PERFORM BDC_FIELD       USING 'KNA1-SORTL'
                                      X_KNA1-SORTL.
        PERFORM BDC_FIELD       USING 'KNA1-ORT01'
                                      X_KNA1-ORT01.
        PERFORM BDC_FIELD       USING 'KNA1-PSTLZ'
                                      X_KNA1-PSTLZ.
        PERFORM BDC_FIELD       USING 'KNA1-LAND1'
                                      X_KNA1-LAND1.
        PERFORM BDC_FIELD       USING 'KNA1-SPRAS'
                                      X_KNA1-SPRAS.
        PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0120'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'KNA1-LZONE'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM BDC_FIELD       USING 'KNA1-LZONE'
                                      X_KNA1-LZONE.
        PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0125'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'KNA1-NIELS'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0130'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'KNBK-BANKS(01)'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0340'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'RF02D-KUNNR'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0370'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'RF02D-KUNNR'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=ENTR'.
        PERFORM BDC_FIELD       USING 'KNA1-CIVVE'
                                      'X'.
        PERFORM BDC_DYNPRO      USING 'SAPMF02D' '0360'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'KNVK-NAMEV(01)'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=ENTR'.
    *----If Session is selected
        IF SESSION = 'X'.
    *----To insert data into batch input session
          CALL FUNCTION 'BDC_INSERT'
            EXPORTING
              TCODE     = 'XD01'
            TABLES
              DYNPROTAB = IT_BDCDATA.
          REFRESH IT_BDCDATA.
          AT LAST.
            SKIP.
            WRITE:/ TEXT-001.
          ENDAT.
        ELSE.
    *----Calling the transaction
          CALL TRANSACTION 'XD01' USING IT_BDCDATA
                                  MODE     CTUMODE
                                  UPDATE   CUPDATE
                                MESSAGES INTO IT_BDCMSGCOLL.
          CLEAR IT_BDCDATA.
          REFRESH IT_BDCDATA.
        ENDIF.
      ENDLOOP.
    *----If Session is Selected
      IF SESSION = 'X'.
    *----To close the session
        CALL FUNCTION 'BDC_CLOSE_GROUP'
          EXCEPTIONS
            NOT_OPEN    = 1
            QUEUE_ERROR = 2
            OTHERS      = 3.
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    *-----END-OF-SELECTION
    END-OF-SELECTION.
    *----To display the success messages
      LOOP AT IT_BDCMSGCOLL INTO X_BDCMSGCOLL WHERE MSGTYP = 'S' .
    *-----If Message Type Differs
        ON CHANGE OF X_BDCMSGCOLL-MSGTYP.
          WRITE:/ TEXT-002.
          SKIP.
          ULINE (58).
          WRITE:/01 SY-VLINE,02 TEXT-003,
                 14 SY-VLINE,15 TEXT-004,
                 21 SY-VLINE,22 TEXT-005,
                 35 SY-VLINE,36 TEXT-006,
                 58 SY-VLINE,/01 SY-ULINE(58).
        ENDON.
        WRITE:/01 SY-VLINE,02 X_BDCMSGCOLL-MSGTYP,
               14 SY-VLINE,15 X_BDCMSGCOLL-TCODE,
               21 SY-VLINE,22 X_BDCMSGCOLL-MSGV1,
               35 SY-VLINE,36 TEXT-007,
               58 SY-VLINE,/01 SY-ULINE(58).
      ENDLOOP.
      SKIP 2.
    *----To display the error messages
      LOOP AT IT_BDCMSGCOLL INTO X_BDCMSGCOLL WHERE MSGTYP = 'E'.
    *-----If Message Type Differs
        ON CHANGE OF X_BDCMSGCOLL-MSGTYP.
          WRITE:/ TEXT-008.
          SKIP.
          ULINE (58).
          WRITE:/01 SY-VLINE,02 TEXT-003,
                 14 SY-VLINE,15 TEXT-004,
                 21 SY-VLINE,22 TEXT-005,
                 35 SY-VLINE,36 TEXT-006,
                 58 SY-VLINE,/01 SY-ULINE(58).
        ENDON.
        WRITE:/01 SY-VLINE,02 X_BDCMSGCOLL-MSGTYP,
               14 SY-VLINE,15 X_BDCMSGCOLL-TCODE,
               21 SY-VLINE,22 X_BDCMSGCOLL-MSGV1,
               35 SY-VLINE,36 'Customer Already Exits',
               58 SY-VLINE,/01 SY-ULINE(58).
      ENDLOOP.
    *-----FORM fill_bdcdata
    FORM FILL_BDCDATA USING L_DYNPRO TYPE ANY
                            L_FNAME  TYPE ANY
                            L_FVALUE TYPE ANY.
      CLEAR X_BDCDATA.
      IF L_DYNPRO = 'X'.
        X_BDCDATA-DYNBEGIN = 'X'.
        X_BDCDATA-PROGRAM  = L_FNAME.
        X_BDCDATA-DYNPRO   = L_FVALUE.
      ELSE.
        X_BDCDATA-FNAM = L_FNAME.
        X_BDCDATA-FVAL = L_FVALUE.
      ENDIF.
      APPEND X_BDCDATA TO IT_BDCDATA.
    ENDFORM.                    "BDC_FIELD
    *-----Start new screen
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR IT_BDCDATA.
      IT_BDCDATA-PROGRAM  = PROGRAM.
      IT_BDCDATA-DYNPRO   = DYNPRO.
      IT_BDCDATA-DYNBEGIN = 'X'.
      APPEND IT_BDCDATA.
    ENDFORM.                    "BDC_DYNPRO
    *-----Insert field
    FORM BDC_FIELD USING FNAM FVAL.
      IF FVAL <> SPACE.
        CLEAR IT_BDCDATA.
        IT_BDCDATA-FNAM = FNAM.
        IT_BDCDATA-FVAL = FVAL.
        APPEND IT_BDCDATA.
      ENDIF.
    ENDFORM.                    "BDC_FIELD

  • Batch input session in background BDC

    Hi to all,
    Please clarify me about below BDC point.
    Call to the transaction should be in background through batch input session. does It mean that we have to use session method and call this in back ground through RSBDCSUB, is this approach is correct or some thing else i  nend to do.Please tell me briefley.
    I want to track all the errors, how to track the errrors with out using call tranaction.
    could any one help me on this issue please.
    Regards
    Raadha

    Hi,
    as per your approach is correct in BDC session method ,in session method generally you want run the bdc in backgroung using in RSBDCSUB is used for scheduling .
    in program after writing bdc_close_group ,just use submit statement and schedule the background.
    and generally in session method  execute the program and going to the sm35 selcting particular session name manually processing that session,when schedule rsbdcsub it is directly going to the background screen ,then give the session name and run the program.
    Regards,
    Madhu

  • Error  while uploading data in table t_499s through BDC Prog

    Hi
    am facing problem while uploading data in table t_499s through BDC Program  , if there is more than 15 records in file its not allowing to upload kindly suggest what to do
    Thanx
    Mukesh s

    Hi,
    See if you want to update only single table, which has User maintenance allowed
    Use Modify statement.
    EX:
    LOOP AT ITAB INTO WA_TAB.
        MOVE-CORRESPONDING WA_TAB TO T499S.
        MODIFY T499S.
        CLEAR T499S.
      ENDLOOP.
    It will update the table, to check go to sm30 , and check in V_T499S.
    Rgds
    Aeda

  • Error while Running BRS Batch input session

    Dear Gurus,
    When i am running Batch input session after BRS statement posted, system giving Error message:
    <b>No batch input data for screen SAPDF05X 3100</b>
    Entered, saved and posted the statement. after that while processing session getting error like this........How to overcome.
    Can we post statement directly without creating session.
    Regards,
    Venkat

    Hi,
    The ABAP Counterpart has to build an exception handling for this particular message.
    Normally these messages occur either after an upgrade or after a change in the account(different filed status)
    Provide points if usefull.
    Thanks,
    Praveen

  • DB Connect Load - "Unknow error while uploading data from the DB Table"

    Hi Experts,
    We have our BI7 system connected to Oracle DB based third party tool. The loads are performing quite well in DEV environment.
    I would like to know, how we transport DB Connect datasources to Quality systems? Any different process to be followed for DB Connect datasources?
    At present the connections between BI Quality and the third party quality systems are established. We transported the DataSource from BI DEV system to BI quality system, but on trigerring an infopackage we are not able to perform loads. It prompts - "Unknow error while uploading data from the DB Table".
    Also on comparing the DataSources in DEV system and Quality system there are no fields in "Proposal" tab of datasource in Quality system. Also I cannot change or activate Datasource in Quality system as we dont have change access in quality.
    Please advice.
    Thanks,
    Abhijit

    Hi,
    Sorry for bumping an old thread ....
    Did this issue get ever get resolved?
    I am facing the same one. The loads work successfully in Dev. The transport for DBConnect DS also moved in successfully.
    One strange this is that DB User for dev did not automatically change to db user from quality when I transported the DBConnect datasource. DBCon DS still shows me the DB User from Dev in Quality system
    I get "Unknown Error" whenever I trigger the data package.
    Advait

  • Error in Source System While Uploading Data from ODS to Data Target

    Hi All,
    Iam getting Following Error while Uploading data from ODS to Data Target
    a) Error in Source System.
    b)DataSource 80MKT_DS01 has to be replicated (time stamp, see long text)
    Message no. R3016
    Diagnosis
    DataSource 80MKT_DS01 does not have the status of the source system in the Business Information Warehouse.
    The time stamp in the source system is 21.06.2005 07:31:33.
    The time stamp in the BW system is 27.11.2004 17:41:45.
    Regards,
    Chakri

    This generally occurs when you change the data source or enhance the data source or the coonections to the datasoiurse are broken. To resdolve thius sort of errors just
    1. Check for the coonect between the sourse & target systems
    2 . Replicate the data sourcses.
    3. Acivated TR,UR,& the rest of the flow But check in the source system if the structre is modified & is so do the changes in the IS , TR,UR correspondingly & the try to load .Hoppe it allows you to load .
    Thanks ,
    PSG

  • Error While Posting Data Through Tcode MM41

    Hi Experts,
    Getting error when entering article data through tcode MM41 :
    Following errors occurred while posting data :
    E M3 072 : Enter the RP type
    I m already entering RP type in both DC and store tab available on article screen.
    Thanks.

    Hi Friend,
    Youhave to enter for third time for your reference site say for example RFST and again third time i have to enter the RP.
    Idealy you should first maintain for reference site initially.
    eample I am maintaining MM41 for my store (site) so first at DC level and then at store level and then again when I accept to save the article at refercne Store level I have feed in the RP type.
    Hope this solves you query.
    Regards,
    Ashutosh

  • While import data through ff_5 i am getting error

    hello
    while import data through ff_5 i am getting error  as below
    message error fv150 and fv151
    'Termination in statement no. 00009 of acct
    1101200570116; closing record 62F missing'
    so please give solution
    thank inadvance
    SIRI

    Dear Siri,
    I guess you are importing an MT940 format. This format should have the closing balance at the end.
    This closing balance starts with :62F:
    A sample is
    :61:0801180118DR3835,97NTRF000000//000000//
    :86:1022  LTD CHENNAI18012008
    :61:0801180118DR69885,09NCHK850819//850819//
    :86:6101  LTD COCHIN18012008
    :62F:C080118INR7210048,86
    I guess that is missing in the import file.
    Maintain that and the import will happen.
    Assign points if useful
    regards
    Venkatesh

  • While uploading data into the r/3 using call transaction or session method

    hi experts
    while uploading data into the r/3 using call transaction or session method error occured in the middle of the processing then how these methods behaves it transfers next records or not?

    hai
    Session method: The records are not added to the database until the session is processed. sy-subrc is not returned. Error logs are created for error records. Updation in database table is always Synchronous.
    Call Transaction method: The records are immediately added to the database table. sy-subrc is returned to 0 if successful. Error logs are not created and hence the errors need to be handled explicitly. Updation in database table is either Synchronous or Asynchronous.
    While to transfer the data from the through if any errors occurs until the errors are the complete the data is not transfer to the SAP system.
    the system compulsory shows the errors. that errors are stored into the error logs (Transaction is SM35).
    so the session method should not return any value.
    In call transaction method data is directly pass to the SAP system.
    So its compulsory return the value.
    Because of the call transaction is the function.
    A function should return the value mandatory
    In session method errors stroed in SYSTEM GENRATED ERROR LOG.
    IN CALL TRANSACTION TO CAPTURE THE ERRORS WE SHOULD PERFORM THE FOLLOWING.
    FIRST ME MUST DECLARE AN INTERNAL TABLE WITH THE STRUCTURE OF BDCMSGCOLL TABLE.
    THEN WHILE WRITING THE CALL TRANSACTION STATEMENT WE SHOULD PUT THE 'E' MODE FOR CAPTURING ALL THE ERRORS.
    THEN FINALLY THE CAPTURED ERRORS MUST TO SENT TO THE INTERNAL TABLE WHICH WE DECLARED IN THE BEGINNING WITH BDCMSGCOLL BY USING THE FUNCTION MODULE "FORMAT_MESSAGE"
    AND THUS THE ERROR MESSAGES WILL BE SENT TO THE INTERNAL TABLE WHICH WE DECLARED AT THE BEGINNING.

  • Error occured while uploading to ODS.

    Hi,
    error occured while uploading to ODS  from R/3........
    Error message when processing in the Business Warehouse
    Diagnosis
    An error occurred in the SAP BW when processing the data. The error is documented in an error message.
    System response
    A caller 01, 02 or equal to or greater than 20 contains an error meesage.
    Further analysis:
    The error message(s) was (were) sent by:
    Second step in the update
    Procedure
    Check the error message (pushbutton below the text).
    Select the message in the message dialog box, and look at the long text for further information.

    Hi varun,
    thx's 4r reply
    I already check it in st22 transaction..... it's showing short dump.
    ShrtText
        Exception condition "NOT_EXIST" raised.
    What happened?
        The current ABAP/4 program encountered an unexpected
        situation.
    What can you do?
        Print out the error message (using the "Print" function)
        and make a note of the actions and input that caused the
        error.
        To resolve the problem, contact your SAP system administrator.
        You can use transaction ST22 (ABAP Dump Analysis) to view and administer
         termination messages, especially those beyond their normal deletion
        date.
        is especially useful if you want to keep a particular message.
    Error analysis
        A RAISE statement in the program "SAPLRSSM" raised the exception
        condition "NOT_EXIST".
        Since the exception was not intercepted by a superior program
        in the hierarchy, processing was terminated.
        Short description of exception condition:
        For detailed documentation of the exception condition, use
    and  one more thing. i don't know about the locks can u plz clear about that locks......
    when i enter the sm12 then its asking
    Lock argument and table name
    4r wht perpose these thing's
    thank's in advance
    regard's
    venkat

  • Error occurred while uploading iPhoto book

    I have been trying to upload (buy) a photobook through iPhoto. It builds OK and seems to transfer all the data (60MB) then stops and displays an error message:
    "An error occurred while uploading one of your files. Please check your network connection and click Retry to resend your file"
    Network is fine and I have tried the following suggestions:
    Rebuild iPhoto
    Throttle restricted upload (this seemed counter intuitive but the data tx seemed correct)
    Would appreciate any workable ideas.

    David (Apple Photo Services) wrote:
    If it helps I will also leave you with a few steps I have when it comes to errors in the account >stopping the purchases. If the steps Old Toad said did not help, I am hoping this is what it takes:
    A) Please delete your net services folder. To do so, please follow the path below:
    MacintoshHD ->Library -> Application Support -> NetServices
    Single-click on the NetServices folder and delete the entire folder.
    B) Make corrections in Apple Store
    1. Go to the Apple Store online and click Your Account in the navigation bar:
    http://store.apple.com/us
    2. Sign in using your Apple ID and password.
    3. Click "Change account information" on the right and sign in again.
    4. Verify or enter your Billing and Shipping address information.
    5. Delete your credit card information in the Method of Payment section, and then re-enter it. Do >not enter spaces in your credit card number. Click Continue.
    C) Next go back to iPhoto:
    1) Select the "Buy Book" button.
    2) Click on "Account Info" and then "Edit Billing information".
    3) Change the type of card, and then blank out the remaining fields: card number, security code, >and expiration date.
    4) Click "Save".
    5) You should then receive an error that you will need to fill in those fields.
    6) Complete all the fields again and click "Save".
    Subsequently, please attempt to submit your order.
    Thank you for your patience in this matter. I hope to hear from you soon.
    Sincerely,
    David H
    Apple Photo Services Customer Support
    http://www.apple.com/support/photoservices/ww/
    Thanks OT. I've done this with no improvement, David H from Apple suggested a similar solution. 
    I've since copied the iPhoto library to the MacBook Pro and tried to upload from there. I'm now getting a billing error so think I must have made an error when I re-typed. Trying again....
    mrtotes

  • Upload data through FI transation F-02

    Hey All,
    The requirement here is to upload data through FI transation F-02.
    Using a BDC for the data upload is not suggested for this transaction as the Screen Sequence changes as per the values of the Posting Key ( and in some rare cases according to value of Account ).
    Authorisations for LSMW havent been provided at this site.
    I looked up SDN which showed many threads in which it was agreed that coding a BDC to handle such a dynamic sequence of screens is very complex. Some people suggested BAPIs as an alternative. Namely - BAPI_ACCT_DOCUMENT_POST and  BAPI_TRANSACTION_COMMIT .
    But, when I searched for the BAPI BAPI_ACCT_DOCUMENT_POST in se37, it did not exist. The version here is 4.6c
    Any suggestions ?
    -ashrut .
    <u><b>PS - I'm a techie !!</b></u> , keep this in mind while you answer
    Extra Info -
    The posting keys I have to use are - GL Account Debit, GL Account Credit , Vendor Debit, Vendor Credit .
    And there is the special case of a GL Account mapping to a Sales Order No for the GL Account Posting Keys.
    SDN Links - BDC for FB01
                      http://sap.ittoolbox.com/groups/technical-functional/sap-acct/prog-rfbibl00-230755?cv=expanded #

    Programmed a BDC that handled screen changes

Maybe you are looking for

  • Updating 8.1 KB2919355

    hi i have a problem with installing KB2919355 windows 8.1 64 bit DISM.exe /Online /Cleanup-image /Scanhealth The component store is repairable. DISM.exe /Online /Cleanup-image /Restorehealth The restore operation failed. Either the repair source was

  • Releasing new application with new "by" name

    i released 2 month ago an app with the name ***** and in by was my name.... now i want to release a different app with general name in by ( not my name ). is it possible?

  • Can Captivate be set to advance when only a certain key is pressed

    I am doing software training simulation.  I am trying to teach the user how to do a set of tasks.  In the software you must press certain key to accomplish certain steps so  I want to set captivate to advance to the next slide only when the correct k

  • What's with 4G LTE lately?

    Lately I am having problem with my very poor reception at work. This isn't an issue before when I switched to Verizon. Is there any tower in Bay Area that's on renovation?

  • Manage Sites console not working

    when i go to edit a site and i have a choice of selecting site, server, version control and advanced.  I cant click on any of them and as i have changed my password with my host i need to change on ftp and it wont let me in help?