List of mass upload programs in PP & QM Moduls

Hi, Pls advise the list of mass uploud t-codes in PP & QM moduls like QA08 T-codes. is there any general mass upload t-code to upload certain field in certain t-code (screen). pls advise.
Edited by: ys yadav on Apr 24, 2010 6:54 PM

Dear,
There are numbers of program for mass change.
CA85 for to do mass change in work center.
CA95 for to do mass change in Reference opn set.
CA75 for to do mass change in PRT
Mass Change in material master MM17
Mass change in BOM. CS20
CEWB is the only standard option available for you to make mass changes
In QM QA08 for inspection type assign or chnage and Qa16 lot change.
There a lot of transactions for specific mass changes. MASS is also one of the transactions among them also LSMW or BDC are useful.
Regards,
R.Brahmankar

Similar Messages

  • Need to create a mass upload program for appraisal document creation for multiple employee

    Hi Expertise,
    I need to create a mass upload program for appraisal document creation for manager and his multiple employee
    at a time using tcode appcreate.
    Please help me out.
    Best regards,
    Priyaranjan

    Hi Priyaranjan,
    I think you can take the abap'ers help in creating the program. But u need to provide them the exact functionality and the required specifications in creating the appraisal document.
    Even tcode also u can get it prepared by Abap'ers.
    Thanks and Regards
    Balaji

  • Need to create a mass upload program for appraisal document creation for multiple employee in abap hr

    Hi Expertise,
    I need to create a mass upload program for appraisal document creation for manager and his multiple employee
    at a time using tcode appcreate.
    Please help me out.
    Best regards,
    Priyaranjan

    Hi,
    I have done appraisal document creation for bulk using txt file.
    this fm used for single for creation in standard tcode (phap_prepare):  'WZ_HRHAP_0DOC_WZ01_START'.
    So create ztcode  usinh this fm for single form then record BDC for this tcode and called this tcode in that bdc for bulk creation .
    While recording for single I have used manual option instead of automatic .

  • Mass Upload via LSMW

    Hi All,
    I have got one client requirement in which client wants that whenever they run "Change in Employment" action for Contract extension/Change in Contract type, in IT0016 whatever contract end date comes should automatically populate in IT0041, in date type "05" which is "Assignment end date".
    Now, they want a Mass upload program for "Change in Employment" action.
    Also, in dynamic action, we have written a code so that whenever the contract end date is put in IT0016 via Change in employment action, it should populate in IT0041 automatically.
    I had tried creating a LSMW program for Mass upload of 'Change in Employment" action but while recording when I am entering the Contract end date, it's not getting populated in IT0041.
    Is there any way to write a code in LSMW for this issue.
    Regards,
    Priyanka

    Hello, 
    LSMW or any background recording won't never call a dynamic action.  In you LSMW recording you have to force the entry for the update of IT41. 
    If there is some specific rule in you dynamic actino that fills the date in Infotype 41, you should be able to do the same in the converting rule of the LSMW.
    Cheers
    Hadrien

  • Mass Upload of Define Mode Combinations_PPDS to SNP PPM

    Dear All ,
    I am converting huge numbers of PPDS PPMs to SNP PPMs , I would need your support in telling me a mass upload ( program ) for defining Mode Combinations transaction .
    As such a BDC has been prepared but that takes a very long time for pushing data in this transaction .
    Thanks and Regards ,
    Prashant Kumar

    Dear Murali ,
    I have specific field values e.g. variable lot size , without PPDS Campaign , Blank Mode Combination to be selected .
    When we select the PPDS PPM no. or Product Location Combination inserting all these values in the table after execute done on the selection screen needs manual entry of all the field values .
    Data is really very huge and was wondering if there could be a quicker way out . There is more SNP PPM converted from PPDS PPM due to alternate modes of 10-15 in many of the PPDS PPMs .
    Would appreciate any further help .
    Thanks and Best Regards ,
    Prashant Kumar

  • Mass upload of Source List through LSMW

    Dear Experts,
    In our plant we have so many materials for which source list has not been maintained properly.Please,can any one tell me in detail how to do Mass upload of Source list through LSMW in detail.
    Please do reply me...
    Thanks in Advance...
    MK

    Hi,
    lsmw  with Idoc.
    Also use "Search Forum" with keywords "LSMW IDOC" in ABAP Development & you find many threads which explains you in detail.
    Hope this helps.
    Best Regards, Murugesh AS

  • I am sending a mass e-mail out to my mailing list and the mail program gets locked up and stops responding before sending the e-mail?

    I am sending a mass e-mail out to my mailing list and the mail program gets locked up and stops responding before sending the e-mail.  How can I fix this issue?  I have done it in the past successfully.

    Holly, how many are you sending to?
    Are you using the To; or BCC: field?
    Individual names or Groups?
    I suspect one malformed address at the moment without much else to go on.

  • Mass Upload Photo Employee

    Hi experts!
    We have an excel with this information:
    -Photo file path
    -PERNR
    Example:
    PATH                   PERN
    C:\TEMP\1.JPG    00101800
    C:\TEMP\2.JPG    00101801
    We need mass upload to ArchiveLink every employee photo.
    I've found the report OA_UPLOAD_AND_LINK but I do not know how associated the file path image to the employee PERNR.
    How we should do that?
    Any Idea?
    Kind Regards,
    Julian.

    Hi Julian,
    Please follow:
    Table (TOAOM) SAP Archive Link - Meta table for links u2013 indicates the content repository that will be utilized for particular object and document type.
    Table CREP u2013 List of content repositories 
    Prerequisites:
    1.     PERNR and infotype must have valid entries. Say custom info type is IT9007
    2.     Image file name should be represented as concatenation of PERNR and infotype number.jpg [example 900000019007.jpg where  90000001 u2013 pernr  9007 u2013 infotype]
      STEP 1
    Firstly go to transaction code   CG3Z.
    Transferring images from presentation server to Application server. The same can be done by asking the BASIS team to transfer all the required image file names to application server.
      STEP 2
    Browse the location for the source file which is to be uploaded.
    Browse the location (directory) for the target File where the image has to be stored in sap.
    Click on Upload button to upload the image.
      STEP 3:
    To check whether the file has been uploaded or not uploaded, navigate to transaction code Al11 (tcode).
    Select your directory and check whether the file is successfully uploaded in required directory.
      STEP 4:
    Now navigate to transaction code SE38 (tcode) and execute the standard program OA_UPLOAD_AND_LINK.
    Values are entered in the screen: with PREL as business object and HRICOLFOTO as document type for color documents.
    Mention the file path where you are storing all the images to be uploaded for mass migration.
    OUTPUT:
    The output will provide the list of files accepted for uploading
      STEP 5:
    Now navigate to transaction OAAD (tcode) to link/assign the documents to PERNR
      STEP 6:
    Click Technical search and then click execute button.
      STEP 7:
    Enter Personnel number and info type. Click on Enter button.
    Select your record and click on display button.
    The screen is displayed.
      STEP 8:
    Click on Reassign document button. Click on Enter.
    OUTPUT: Storage parameters are updated after reassigning the document
    Use recording for Steps 6 to 8 u2013 for mass upload of images providing the input PERNR and Info type number to input parameter SAPOBJECTID on selection screen.  
      Verification:
    Navigate to transaction code PA30 (tcode). To check the image id uploaded or not for particular personnel number. Click on Display button.
    OUTPUT: Image on right top has been uploaded.
    I hope to have helped you.
    Thanks,
    Padmaja.

  • Mass Upload of Business Partner (Person) with/or Attribute Values

    Platform: CRM 4.0sr1 SP8, backend R/3 4.6c
    I have created an eCATT to upload Business Partners (Person), with Relationship Contact Person for pre-existing BPs (replicated from R/3 4.6 backend) and then chaineded another eCATT that assigns an Attribute Set to the newly created Contact Person. 
    However, I can only find the manual method to assign our newly created attribute sets/values via the CRM transaction <b>CRMD_PROF_BP</b>
    I looked at the expert tools <b>CRMD_MKT_TOOLS</b>, but they all seem to work with assigning the information to the BPs after they're added to a Target Group.
    So, how do I either upload the info directly <i>(I am unfamiliar with FM's/Programming and how to use them if anyone suggests one, so please be specific)</i> or create a target group that includes a this new set of Contact Person BP numbers?
    Thanks for any help!

    Hi Mike,
    The bottom line you try to achive is populate target group based on attributes
    of each BP right?
    Here, I try to give you alternatives:
    1. Without assign attributes to BP, and assume you have the attributes assigned
        already in R/3 (or the information already saved in BP R/3 somewhere). Use
        tcode CRMD_MKTDS from CRM, here you define external source of your
        target attributes. Define RFC connection to R/3 and retreive infoset from R/3.
        If you have BW connecto to CRM, this can be used as well.
    2. Or, you have lists of BP in MS-Excel file, for example Region1.Xls contains all
        BPs with region = 1 and Region2.xls contains all BPs with region = 2.
        Now, in Profile Set segmentation, create Target group and retreive all BP from
        excel file. Right click on that new target group and choose Target Group
        properties, Open tab Load File and Create New target group. then follow the
        rest steps until you get the target group with BP according to each file you
        have.
    3. Last alternative, which you may avoid as you are not familiar with programming.
        Use Function module  CRM_ISA_BP_CHAR_VALUES_SAVE to save BP
        attributes.
    Tell me if this is what you looking for.
    Gun.

  • Mass upload of Material

    Hi,
        we have to do mass upload of material master  which includes lot of classification / characteristics for a plant. could you please let me know how do we do this and which is the best method? ( BAPI or BDC)
    Thanks
    Arun Vijay D

    Hi,
    Use direct input method using LSMW. The details are as:
    For material master data:
    Object: 0020
    Method: 0000
    Program: RMDATIND
    For material classification
    Object: 0130
    Method: 0002
    Program: RCCLBI03
    Regards
    Amit

  • Mass upload of batch chracteristic Values using LSMW

    Hi,
    Is there any way from which I can mass upload the characteristic values of batch class.
    LSMW- Bapi issue full in this case or have to go with recording or BAPI programming?
    Please let me know the process.
    Thanks in advance
    Ravi Kumar

    Hi
    Thanks For the help. I have used LSMW Direct input method.
    I have used the below format in text file
    Class/mat    batch             class                              char                                 Char Value
    023     Bunny 1011010     ZZ_COTTON_CLASS     ZZ_BALE_QUANTITY     164.95
    023     Bunny 1011011     ZZ_COTTON_CLASS     ZZ_BALE_QUANTITY     164.61
    023     Bunny 1011012     ZZ_COTTON_CLASS     ZZ_BALE_QUANTITY     162.71
    Its giving below error,
    Error Changing Classification Data
    Other
    ( CLAP_DDB_UPDATE_CLASSIFICATION: exception    13  )
    023 Bunny 1011010                                      ZZ_COTTON_CLASS
    Error Changing Classification Data
    Other
    ( CLAP_DDB_UPDATE_CLASSIFICATION: exception    13  )
    023 Bunny 1011011                                      ZZ_COTTON_CLASS
    Thanks & Regards
    Ravi Kumar

  • Automating Cash Journal Posting using inbound proxy interface and upload program

    Hi Experts,
    I have a requirement where in cash journal posting needs to be carried out automatically by an inbound interface on a periodic basis and at the start during cut over an upload program needs to be used to upload beg balance data . For this purpose I have used BAPI_CASHJOURNALDOC_CREATE to save cash journal entries along with BAPI TRANSACTION COMMIT.
    Once the Data is successfully saved I am using FM FCJ_GET_DATA_FOR_SCREEN to get prerequisite data for the FM FCJ_POST_ALL which is used by the Standard cash journal program internally to post the saved data. ( I got this by debugging the standard transaction and both FMs are not yet released )
    The issues I am facing is that the the FM FCJ_POST_ALL does not always post the data it behaves in random fashion i.e some times it posts the entries where as sometimes it does not post the entries.
    I have tried using commit work after the FM but that also does not result in consistent behavior of the program. One more issue is the i am not allowed to use commit work in a an inbound proxy so how do i proceed ?
    I am attaching the code for further analysis:
    DATA: LIT_TCJ_TRANS_NAMES TYPE TABLE OF TCJ_TRANS_NAMES,
             LWA_TCJ_TRANS_NAMES TYPE TCJ_TRANS_NAMES,
             LV_WAIT             TYPE BAPITA-WAIT VALUE '1',
             LV_RECORD_NO        TYPE SY-TABIX.
       DATA : LIT_POSTING        TYPE STANDARD TABLE OF ISCJ_POSTINGS,
              LIT_WTAX_ITEMS     TYPE STANDARD TABLE OF TCJ_WTAX_ITEMS,
              LIT_SPLIT_POSTINGS TYPE STANDARD TABLE OF ISCJ_POSTINGS,
              LIT_CPD            TYPE STANDARD TABLE OF TCJ_CPD.
       DATA: LV_BEG_BALANCE      TYPE CJAMOUNT,
             LV_TOTAL_RECEIPTS   TYPE CJAMOUNT,
             LV_TOTAL_PAYMENTS   TYPE CJAMOUNT,
             LV_TOTAL_CHECKS     TYPE CJAMOUNT,
             LV_RUN_BALANCE      TYPE CJAMOUNT,
             LV_RUN_CASH_BALANCE TYPE CJAMOUNT,
             LV_NUMB_OF_REC      TYPE I,
             LV_NUMB_OF_PAYM     TYPE I,
             LV_NUMB_OF_CHECKS   TYPE I.
       DESCRIBE TABLE GIT_CJ LINES GV_TOTAL_RECORDS.
       SELECT MANDT COMP_CODE TRANSACT_NUMBER LANGU TRANSACT_NAME LONG_TEXT
          FROM TCJ_TRANS_NAMES
          INTO TABLE LIT_TCJ_TRANS_NAMES
          WHERE LANGU = GC_EN.
       IF SY-SUBRC <> 0.
         MESSAGE 'No Business Transaction maintained for Company Code in this client'(016) TYPE GC_I.
         LEAVE LIST-PROCESSING.
       ENDIF.
       DESCRIBE TABLE GIT_CJ LINES GV_TOTAL_RECORDS.
       LOOP AT GIT_CJ INTO GWA_CJ.
         LV_RECORD_NO = SY-TABIX.
         CLEAR: GS_HEADER_BAPI,
                GS_CJ_KEY,
                GWA_ITEMS.
         REFRESH: GIT_ITEMS,
                  GIT_RETURN.
         GS_HEADER_BAPI-COMP_CODE    = GWA_CJ-BUKRS.
         GS_HEADER_BAPI-CAJO_NUMBER  = GWA_CJ-CJNR.
         GS_HEADER_BAPI-CURRENCY     = GC_PHP.
         CLEAR LWA_TCJ_TRANS_NAMES.
         READ TABLE LIT_TCJ_TRANS_NAMES INTO LWA_TCJ_TRANS_NAMES WITH KEY COMP_CODE     = GWA_CJ-BUKRS
                                                                          LANGU         = GC_EN
                                                                          TRANSACT_NAME = GWA_CJ-BTNAM.
         IF SY-SUBRC = 0.
           GWA_ITEMS-TRANSACT_NUMBER = LWA_TCJ_TRANS_NAMES-TRANSACT_NUMBER.
           GWA_ITEMS-P_RECEIPTS        = GWA_CJ-CJRAT.
           GWA_ITEMS-TAX_CODE          = GWA_CJ-TXCOD.
           GS_HEADER_BAPI-BP_NAME      = GWA_CJ-BPNAM.
           GWA_ITEMS-POSITION_TEXT     = GWA_CJ-POTXT.
           CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = GWA_CJ-LIFNR
             IMPORTING
               OUTPUT = GWA_ITEMS-VENDOR_NO.
           CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = GWA_CJ-KUNNR
             IMPORTING
               OUTPUT = GWA_ITEMS-CUSTOMER.
           PERFORM SUB_DATE_FROMAT_BAPI  CHANGING  GWA_CJ-BLDAT
                                                   GS_HEADER_BAPI-DOC_DATE.
           PERFORM SUB_DATE_FROMAT_BAPI  CHANGING   GWA_CJ-BUDAT
                                                    GS_HEADER_BAPI-PSTNG_DATE.
           GS_HEADER_BAPI-REF_DOC_NO   = GWA_CJ-XBLNR.
           GS_HEADER_BAPI-ALLOC_NMBR   = GWA_CJ-ALLNO.
           CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = GWA_CJ-KOSTL
             IMPORTING
               OUTPUT = GWA_ITEMS-COSTCENTER.
           CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = GWA_CJ-PRCTR
             IMPORTING
               OUTPUT = GWA_ITEMS-PROFIT_CTR.
           APPEND GWA_ITEMS TO GIT_ITEMS.
           CALL FUNCTION 'BAPI_CASHJOURNALDOC_CREATE'
             EXPORTING
               HEADER              = GS_HEADER_BAPI
             IMPORTING
               COMPANY_CODE        = GS_CJ_KEY-COMP_CODE
               CASH_JOURNAL_NUMBER = GS_CJ_KEY-CAJO_NUMBER
               FISCAL_YEAR         = GS_CJ_KEY-FISC_YEAR
               CASH_JOURNAL_DOC_NO = GS_CJ_KEY-POSTING_NUMBER
             TABLES
               ITEMS               = GIT_ITEMS
               RETURN              = GIT_RETURN.
           IF GIT_RETURN IS NOT INITIAL.
             READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_E.
             IF SY-SUBRC <> 0.
               CLEAR GWA_CJ_S.
               MOVE-CORRESPONDING GS_CJ_KEY TO GWA_CJ_S.
               CLEAR GWA_RETURN.
               READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_S.
               IF SY-SUBRC = 0.
                 MOVE GWA_RETURN-MESSAGE TO GWA_CJ_S-MSG.
                 CLEAR GWA_RETURN.
                 READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_I.
                 IF SY-SUBRC = 0.
                   CLEAR GWA_CJ_E.
                   CONCATENATE GWA_RETURN-MESSAGE GWA_CJ_S-MSG INTO GWA_CJ_E-MSG SEPARATED BY GC_PIPE_FORMAT.
                   MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
                   GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
                   APPEND GWA_CJ_E TO GIT_CJ_E.
                   GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
                 ELSE.
                   IF P_TEST NE GC_X.
                     CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                       EXPORTING
                         WAIT = LV_WAIT.
                     REFRESH:LIT_POSTING        ,
                             LIT_WTAX_ITEMS     ,
                             LIT_SPLIT_POSTINGS ,
                             LIT_CPD            .
                     CLEAR: LV_BEG_BALANCE      ,
                            LV_TOTAL_RECEIPTS   ,
                            LV_TOTAL_PAYMENTS   ,
                            LV_TOTAL_CHECKS     ,
                            LV_RUN_BALANCE      ,
                            LV_RUN_CASH_BALANCE ,
                            LV_NUMB_OF_REC      ,
                            LV_NUMB_OF_PAYM     ,
                            LV_NUMB_OF_CHECKS   .
                     CALL FUNCTION 'FCJ_GET_DATA_FOR_SCREEN'
                       EXPORTING
                         I_COMP_CODE            = GS_CJ_KEY-COMP_CODE
                         I_CAJO_NUMBER          = GS_CJ_KEY-CAJO_NUMBER
                         I_DISPLAY_PERIOD_LO    = GS_HEADER_BAPI-PSTNG_DATE
                         I_DISPLAY_PERIOD_HI    = GS_HEADER_BAPI-PSTNG_DATE
                       IMPORTING
                         E_BEGINNING_BALANCE    = LV_BEG_BALANCE
                         E_RUNNING_BALANCE      = LV_RUN_BALANCE
                         E_RUNNING_CASH_BALANCE = LV_RUN_CASH_BALANCE
                         E_TOTAL_RECEIPTS       = LV_TOTAL_RECEIPTS
                         E_TOTAL_REC_NUMBER     = LV_NUMB_OF_REC
                         E_TOTAL_PAYMENTS       = LV_TOTAL_PAYMENTS
                         E_TOTAL_PAYM_NUMBER    = LV_NUMB_OF_PAYM
                         E_TOTAL_CHECKS         = LV_TOTAL_CHECKS
                         E_TOTAL_CHECKS_NUMBER  = LV_NUMB_OF_CHECKS
                       TABLES
                         E_POSTINGS             = LIT_POSTING
                         E_WTAX_ITEMS           = LIT_WTAX_ITEMS
                         E_SPLIT_POSTINGS       = LIT_SPLIT_POSTINGS
                         E_CPD                  = LIT_CPD.
                     CALL FUNCTION 'FCJ_POST_ALL'
                       EXPORTING
                         I_COMP_CODE               = GS_CJ_KEY-COMP_CODE
                         I_CAJO_NUMBER             = GS_CJ_KEY-CAJO_NUMBER
                         I_CURRENCY                = GS_HEADER_BAPI-CURRENCY
                         I_TYP                     = 'R'
                         I_DISPLAY_PERIOD_LO       = GS_HEADER_BAPI-PSTNG_DATE
                         I_DISPLAY_PERIOD_HI       = GS_HEADER_BAPI-PSTNG_DATE
    *              IMPORTING
    *                E_ERROR_NUMBER            =
                       TABLES
                         ITCJ_POSTINGS             = LIT_POSTING
                         ITCJ_WTAX_ITEMS           = LIT_WTAX_ITEMS
                         ITCJ_SPLIT_POSTINGS       = LIT_SPLIT_POSTINGS
                         ITCJ_CPD                  = LIT_CPD
                       CHANGING
                         P_BEG_BALANCE             = LV_BEG_BALANCE
                         P_TOTAL_RECEIPTS          = LV_TOTAL_RECEIPTS
                         P_TOTAL_PAYMENTS          = LV_TOTAL_PAYMENTS
                         P_TOTAL_CHECKS            = LV_TOTAL_CHECKS
                         P_RUN_BALANCE             = LV_RUN_BALANCE
                         P_RUN_CASH_BALANCE        = LV_RUN_CASH_BALANCE
                         P_NUMB_OF_REC             = LV_NUMB_OF_REC
                         P_NUMB_OF_PAYM            = LV_NUMB_OF_PAYM
                         P_NUMB_OF_CHECKS          = LV_NUMB_OF_CHECKS.
                     COMMIT WORK.
                   ENDIF.
                   APPEND GWA_CJ_S TO GIT_CJ_S.
                   GV_SUCCESS_RECORDS = GV_SUCCESS_RECORDS + GC_1.
                   CLEAR GWA_CJ_S.
                 ENDIF.
               ENDIF.
             ELSE.
               CLEAR GWA_CJ_E.
               MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
               MOVE GWA_RETURN-MESSAGE TO GWA_CJ_E-MSG.
               GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
               APPEND GWA_CJ_E TO GIT_CJ_E.
               GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
             ENDIF.
           ENDIF.
         ELSE.
           GWA_RETURN-MESSAGE = 'Transaction Name does not correspond to any Transaction Number'(017).
           CLEAR GWA_CJ_E.
           MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
           MOVE GWA_RETURN-MESSAGE TO GWA_CJ_E-MSG.
           GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
           APPEND GWA_CJ_E TO GIT_CJ_E.
           GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
         ENDIF.
       ENDLOOP.
    ENDFORM.                    " SUB_BAPI_CALL

    Hi Experts,
    I have a requirement where in cash journal posting needs to be carried out automatically by an inbound interface on a periodic basis and at the start during cut over an upload program needs to be used to upload beg balance data . For this purpose I have used BAPI_CASHJOURNALDOC_CREATE to save cash journal entries along with BAPI TRANSACTION COMMIT.
    Once the Data is successfully saved I am using FM FCJ_GET_DATA_FOR_SCREEN to get prerequisite data for the FM FCJ_POST_ALL which is used by the Standard cash journal program internally to post the saved data. ( I got this by debugging the standard transaction and both FMs are not yet released )
    The issues I am facing is that the the FM FCJ_POST_ALL does not always post the data it behaves in random fashion i.e some times it posts the entries where as sometimes it does not post the entries.
    I have tried using commit work after the FM but that also does not result in consistent behavior of the program. One more issue is the i am not allowed to use commit work in a an inbound proxy so how do i proceed ?
    I am attaching the code for further analysis:
    DATA: LIT_TCJ_TRANS_NAMES TYPE TABLE OF TCJ_TRANS_NAMES,
             LWA_TCJ_TRANS_NAMES TYPE TCJ_TRANS_NAMES,
             LV_WAIT             TYPE BAPITA-WAIT VALUE '1',
             LV_RECORD_NO        TYPE SY-TABIX.
       DATA : LIT_POSTING        TYPE STANDARD TABLE OF ISCJ_POSTINGS,
              LIT_WTAX_ITEMS     TYPE STANDARD TABLE OF TCJ_WTAX_ITEMS,
              LIT_SPLIT_POSTINGS TYPE STANDARD TABLE OF ISCJ_POSTINGS,
              LIT_CPD            TYPE STANDARD TABLE OF TCJ_CPD.
       DATA: LV_BEG_BALANCE      TYPE CJAMOUNT,
             LV_TOTAL_RECEIPTS   TYPE CJAMOUNT,
             LV_TOTAL_PAYMENTS   TYPE CJAMOUNT,
             LV_TOTAL_CHECKS     TYPE CJAMOUNT,
             LV_RUN_BALANCE      TYPE CJAMOUNT,
             LV_RUN_CASH_BALANCE TYPE CJAMOUNT,
             LV_NUMB_OF_REC      TYPE I,
             LV_NUMB_OF_PAYM     TYPE I,
             LV_NUMB_OF_CHECKS   TYPE I.
       DESCRIBE TABLE GIT_CJ LINES GV_TOTAL_RECORDS.
       SELECT MANDT COMP_CODE TRANSACT_NUMBER LANGU TRANSACT_NAME LONG_TEXT
          FROM TCJ_TRANS_NAMES
          INTO TABLE LIT_TCJ_TRANS_NAMES
          WHERE LANGU = GC_EN.
       IF SY-SUBRC <> 0.
         MESSAGE 'No Business Transaction maintained for Company Code in this client'(016) TYPE GC_I.
         LEAVE LIST-PROCESSING.
       ENDIF.
       DESCRIBE TABLE GIT_CJ LINES GV_TOTAL_RECORDS.
       LOOP AT GIT_CJ INTO GWA_CJ.
         LV_RECORD_NO = SY-TABIX.
         CLEAR: GS_HEADER_BAPI,
                GS_CJ_KEY,
                GWA_ITEMS.
         REFRESH: GIT_ITEMS,
                  GIT_RETURN.
         GS_HEADER_BAPI-COMP_CODE    = GWA_CJ-BUKRS.
         GS_HEADER_BAPI-CAJO_NUMBER  = GWA_CJ-CJNR.
         GS_HEADER_BAPI-CURRENCY     = GC_PHP.
         CLEAR LWA_TCJ_TRANS_NAMES.
         READ TABLE LIT_TCJ_TRANS_NAMES INTO LWA_TCJ_TRANS_NAMES WITH KEY COMP_CODE     = GWA_CJ-BUKRS
                                                                          LANGU         = GC_EN
                                                                          TRANSACT_NAME = GWA_CJ-BTNAM.
         IF SY-SUBRC = 0.
           GWA_ITEMS-TRANSACT_NUMBER = LWA_TCJ_TRANS_NAMES-TRANSACT_NUMBER.
           GWA_ITEMS-P_RECEIPTS        = GWA_CJ-CJRAT.
           GWA_ITEMS-TAX_CODE          = GWA_CJ-TXCOD.
           GS_HEADER_BAPI-BP_NAME      = GWA_CJ-BPNAM.
           GWA_ITEMS-POSITION_TEXT     = GWA_CJ-POTXT.
           CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = GWA_CJ-LIFNR
             IMPORTING
               OUTPUT = GWA_ITEMS-VENDOR_NO.
           CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = GWA_CJ-KUNNR
             IMPORTING
               OUTPUT = GWA_ITEMS-CUSTOMER.
           PERFORM SUB_DATE_FROMAT_BAPI  CHANGING  GWA_CJ-BLDAT
                                                   GS_HEADER_BAPI-DOC_DATE.
           PERFORM SUB_DATE_FROMAT_BAPI  CHANGING   GWA_CJ-BUDAT
                                                    GS_HEADER_BAPI-PSTNG_DATE.
           GS_HEADER_BAPI-REF_DOC_NO   = GWA_CJ-XBLNR.
           GS_HEADER_BAPI-ALLOC_NMBR   = GWA_CJ-ALLNO.
           CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = GWA_CJ-KOSTL
             IMPORTING
               OUTPUT = GWA_ITEMS-COSTCENTER.
           CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
             EXPORTING
               INPUT  = GWA_CJ-PRCTR
             IMPORTING
               OUTPUT = GWA_ITEMS-PROFIT_CTR.
           APPEND GWA_ITEMS TO GIT_ITEMS.
           CALL FUNCTION 'BAPI_CASHJOURNALDOC_CREATE'
             EXPORTING
               HEADER              = GS_HEADER_BAPI
             IMPORTING
               COMPANY_CODE        = GS_CJ_KEY-COMP_CODE
               CASH_JOURNAL_NUMBER = GS_CJ_KEY-CAJO_NUMBER
               FISCAL_YEAR         = GS_CJ_KEY-FISC_YEAR
               CASH_JOURNAL_DOC_NO = GS_CJ_KEY-POSTING_NUMBER
             TABLES
               ITEMS               = GIT_ITEMS
               RETURN              = GIT_RETURN.
           IF GIT_RETURN IS NOT INITIAL.
             READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_E.
             IF SY-SUBRC <> 0.
               CLEAR GWA_CJ_S.
               MOVE-CORRESPONDING GS_CJ_KEY TO GWA_CJ_S.
               CLEAR GWA_RETURN.
               READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_S.
               IF SY-SUBRC = 0.
                 MOVE GWA_RETURN-MESSAGE TO GWA_CJ_S-MSG.
                 CLEAR GWA_RETURN.
                 READ TABLE GIT_RETURN INTO GWA_RETURN WITH KEY TYPE = GC_I.
                 IF SY-SUBRC = 0.
                   CLEAR GWA_CJ_E.
                   CONCATENATE GWA_RETURN-MESSAGE GWA_CJ_S-MSG INTO GWA_CJ_E-MSG SEPARATED BY GC_PIPE_FORMAT.
                   MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
                   GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
                   APPEND GWA_CJ_E TO GIT_CJ_E.
                   GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
                 ELSE.
                   IF P_TEST NE GC_X.
                     CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                       EXPORTING
                         WAIT = LV_WAIT.
                     REFRESH:LIT_POSTING        ,
                             LIT_WTAX_ITEMS     ,
                             LIT_SPLIT_POSTINGS ,
                             LIT_CPD            .
                     CLEAR: LV_BEG_BALANCE      ,
                            LV_TOTAL_RECEIPTS   ,
                            LV_TOTAL_PAYMENTS   ,
                            LV_TOTAL_CHECKS     ,
                            LV_RUN_BALANCE      ,
                            LV_RUN_CASH_BALANCE ,
                            LV_NUMB_OF_REC      ,
                            LV_NUMB_OF_PAYM     ,
                            LV_NUMB_OF_CHECKS   .
                     CALL FUNCTION 'FCJ_GET_DATA_FOR_SCREEN'
                       EXPORTING
                         I_COMP_CODE            = GS_CJ_KEY-COMP_CODE
                         I_CAJO_NUMBER          = GS_CJ_KEY-CAJO_NUMBER
                         I_DISPLAY_PERIOD_LO    = GS_HEADER_BAPI-PSTNG_DATE
                         I_DISPLAY_PERIOD_HI    = GS_HEADER_BAPI-PSTNG_DATE
                       IMPORTING
                         E_BEGINNING_BALANCE    = LV_BEG_BALANCE
                         E_RUNNING_BALANCE      = LV_RUN_BALANCE
                         E_RUNNING_CASH_BALANCE = LV_RUN_CASH_BALANCE
                         E_TOTAL_RECEIPTS       = LV_TOTAL_RECEIPTS
                         E_TOTAL_REC_NUMBER     = LV_NUMB_OF_REC
                         E_TOTAL_PAYMENTS       = LV_TOTAL_PAYMENTS
                         E_TOTAL_PAYM_NUMBER    = LV_NUMB_OF_PAYM
                         E_TOTAL_CHECKS         = LV_TOTAL_CHECKS
                         E_TOTAL_CHECKS_NUMBER  = LV_NUMB_OF_CHECKS
                       TABLES
                         E_POSTINGS             = LIT_POSTING
                         E_WTAX_ITEMS           = LIT_WTAX_ITEMS
                         E_SPLIT_POSTINGS       = LIT_SPLIT_POSTINGS
                         E_CPD                  = LIT_CPD.
                     CALL FUNCTION 'FCJ_POST_ALL'
                       EXPORTING
                         I_COMP_CODE               = GS_CJ_KEY-COMP_CODE
                         I_CAJO_NUMBER             = GS_CJ_KEY-CAJO_NUMBER
                         I_CURRENCY                = GS_HEADER_BAPI-CURRENCY
                         I_TYP                     = 'R'
                         I_DISPLAY_PERIOD_LO       = GS_HEADER_BAPI-PSTNG_DATE
                         I_DISPLAY_PERIOD_HI       = GS_HEADER_BAPI-PSTNG_DATE
    *              IMPORTING
    *                E_ERROR_NUMBER            =
                       TABLES
                         ITCJ_POSTINGS             = LIT_POSTING
                         ITCJ_WTAX_ITEMS           = LIT_WTAX_ITEMS
                         ITCJ_SPLIT_POSTINGS       = LIT_SPLIT_POSTINGS
                         ITCJ_CPD                  = LIT_CPD
                       CHANGING
                         P_BEG_BALANCE             = LV_BEG_BALANCE
                         P_TOTAL_RECEIPTS          = LV_TOTAL_RECEIPTS
                         P_TOTAL_PAYMENTS          = LV_TOTAL_PAYMENTS
                         P_TOTAL_CHECKS            = LV_TOTAL_CHECKS
                         P_RUN_BALANCE             = LV_RUN_BALANCE
                         P_RUN_CASH_BALANCE        = LV_RUN_CASH_BALANCE
                         P_NUMB_OF_REC             = LV_NUMB_OF_REC
                         P_NUMB_OF_PAYM            = LV_NUMB_OF_PAYM
                         P_NUMB_OF_CHECKS          = LV_NUMB_OF_CHECKS.
                     COMMIT WORK.
                   ENDIF.
                   APPEND GWA_CJ_S TO GIT_CJ_S.
                   GV_SUCCESS_RECORDS = GV_SUCCESS_RECORDS + GC_1.
                   CLEAR GWA_CJ_S.
                 ENDIF.
               ENDIF.
             ELSE.
               CLEAR GWA_CJ_E.
               MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
               MOVE GWA_RETURN-MESSAGE TO GWA_CJ_E-MSG.
               GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
               APPEND GWA_CJ_E TO GIT_CJ_E.
               GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
             ENDIF.
           ENDIF.
         ELSE.
           GWA_RETURN-MESSAGE = 'Transaction Name does not correspond to any Transaction Number'(017).
           CLEAR GWA_CJ_E.
           MOVE-CORRESPONDING GS_HEADER_BAPI TO GWA_CJ_E.
           MOVE GWA_RETURN-MESSAGE TO GWA_CJ_E-MSG.
           GWA_CJ_E-POSTING_NUMBER = LV_RECORD_NO.
           APPEND GWA_CJ_E TO GIT_CJ_E.
           GV_ERROR_RECORDS = GV_ERROR_RECORDS + GC_1.
         ENDIF.
       ENDLOOP.
    ENDFORM.                    " SUB_BAPI_CALL

  • Mass uploading of Documents with ABAP

    Hello,
    i have to write an ABAP-Program, to automatically mass-upload documents to cFolders.
    I have the FUBA CFX_API_DOC_CREATE where i can create document-hulls. Now i think i have to use CFX_API_DOC_DOCUMENT_WRITE to upload the content. The FUBA needs the filling of the TABLE_Parameter IT_CONTENT, which is the content of a file. My Question: How can i fill this Parameter?? Is there a FUBA, where i can simply fill this parameter???
    Thanks
    Best Regards
    Helmut Wenzler

    ok, found the solution...a simple "GUI_UPLOAD" works
    Best Regards
    Helmut Wenzler

  • MM17 (Mass upload)

    I want to upload the values to one of the fields in material master. I have 70,000 materials. Is this possible through MM17 (Mass upload) ?

    in MM17.
    you select your materials for a change.
    Then you enter the new value in the fields above and click the distribute button, this way all your selected materials will get this value as new value for the chosen field.
    alternative to a fix value in the field above your records you can click the formula button, this way you can create a small formula to calculate the new field value. E.g. you can add 1 to your maximum stock level,  means if you had 10 as maximum stock level then you will get 11, but if you had 1 then you will get 2...
    but this formula button allows you as well to add some ABAP coding.
    this way I can select on any other table and can then determine the new value based on your own  conditions.
    e.g. you lookup EORD table (source list) and if you find an entry there, then you write 111 in field X , if you dont find a source list, then you write 222 in field X.

  • Assiging a position to Org Unit in mass upload

    Hi,
    I am creating Org units using PPOM transaction where i can create Many org units at a time. NOw i need to assign positions to these org units? is there any way to mass upload positions and assign to these Org units?
    I have arrount 1020 Org Units to create. I created all through PPOM at a time. But to assign positions, i have to navigate to each Org unit to assign a position. Is there an easy way for this? I mean Create an Org unit and create a position at t the same time.
    PS: This is for mass creation.
    Regards,
    Jithin.

    Create one LSMW program. Do the recording through PP02.
    Here the values will be:
    Plan Version : Whatever u have created or 01
    Org Unit Id:
    Infotype : 1001 (Relationship)
    Subtype: A003/B003 (belongs to/ incorporates)
    Start Date
    End Date
    Planning Status  : 1
    In the next screen :
    Type of Object Type : S ( in ur case)
    ID of Object Type
    You need to upload data in following fields
    1) PLVAR
    2) OTYPE
    3) SEARK
    4) INFTY
    5) SUBTY
    6) ISTAT
    7) BEGDA
    8) ENDDA
    9) SCLAS
    10) SOBID

Maybe you are looking for