Error in Credit Transactions form

Hi,
When I query a transaction and then go to Action -> Credit I am getting the below error. Could you please help?
User Exit 'CURRENCY_INFO' was called with invalid arguments.
Thanks,
Bhanu

It is a known issue when you do the same in Receivables Inquiry Responsibility, but not in normal responsibility.
Try with seeded Menu AR_NAVIGATE_GUI being attached to your responsibility.
Best Regards
Bharat

Similar Messages

  • Error while entering transactions form

    Hi all,
    I have a problem that while opening invoice in transactions form I got an error for only 1 particular customer.
    "The system cannot determine geographical information for this location and cannot derive a tax jurisdiction. Please contact your system administrator". So I have referred from metalink and I fond a Doc ID 420194.1 to rectify this problem. After running that concurrent program called " Geography Name Referencing Program " for all the customers Iam not able to open transactions. I have checked the solution for this but Iam unable to do this. How can I enable the manage validations field in Trading Community Manager-->administration-->geographic hierarchy in this form I queried with my required Country but manage validations field was disabled. Can I know how to enable that.
    Thanks,
    Bharat G.

    Please post the details of the application release, database version and OS.
    Have you reviewed these docs?
    System cannot determine geographical information for this location and cannot derive a tax jurisdiction when entering an transaction [ID 438718.1]
    Enter invoice errors with "The System Cannot Determine Geographical Information For This Location" [ID 1384591.1]
    Create Debit Memo Errors with 'The System Cannot Determine Geographical Information For This Location' [ID 1377318.1]
    Error In Transaction Query: 'System cannot determine geographical information' [ID 1350601.1]
    eBusiness Tax Release 12 Error Messages: Causes and Actions [ID 744185.1]
    How Location Based Tax Works in R12 E-Business Tax (EBTax) - Includes sample setup [ID 1133994.1]
    Autoinvoice is failing with tax errors on for some customers [ID 1302122.1]
    How to Troubleshoot a Tax That Does Not Calculate in R12 E-Business Tax (EBTAX) [ID 1082172.1]
    Thanks,
    Hussein

  • Got error - You must supply payment terms for your non -credit transaction

    Hi Experts,
    Recently we upgraded the 11.5.8 Instance to 11.5.10.2.
    we have one customized application which is related to recievables.
    If we submit Surcharge demand generation request it has completed with error.
    but in ra_interface_errors_all table i'm seeing the error like You must supply payment terms for your non -credit transaction in message_text column.
    we ran the profile option migration report concurrent request for product specific task after upgradation.
    due to this issue we cant able to run the demand generation request.
    Please help me to solve this issue.
    Thanks
    R.Sundaravel

    have a look at Note 178298.1 & 331099.1!!!
    HTH
    Prashant Pathak

  • 40655SQL error forced rollback: clear form and re-enter transaction

    Hello ,
    I have ORACLE 10G & Forms 6i on Windows server 2008 . When I open the forms for some work , it give me error in few minis.
    FRM-40655: SQL error forced rollback: clear form and re-enter transaction.
    I have not done anything unusual in form design. it was working properly from a long time.
    Yesterday i set the default profile to idle_time = 20. Will that make any problem ???
    I checked my Alert Log but no sign of any deadlock in it, or any other unusual activity ....
    What is the solution ???
    Thanks in advance ..
    Edited by: DBA4 on Jul 17, 2010 11:43 AM

    Thanks for the reply ......
    I would like to tell some more details here.
    Previously i wanted to set an IDLE_TIME limit of 20 mins for all users in the DEFAULT profile.
    So i did the process for the same...
    I set the resource_limit parameter to true & then altered the default profile's idle_time to 20.
    soon after that all the users who were accessing the database got this error while working ....
    SQL error forced rollback: clear form and re-enter transaction.
    In our case one user is opened & accessed by many people.
    for ex - a user called UERP is open at Machine1 & also at Machine2. So at a time a single user can be opened at multiple sessions.
    can this be the problem for forced rollback ???
    My basic need is , i want to set the IDLE_TIME to 20 min but users should not face forced rollback error ????
    what should i do ???
    thanks in advance ....
    Edited by: DBA4 on Jul 19, 2010 2:28 PM

  • FRM-40655: SQL error forced rollback: clear form and re-enter transaction.

    Hello ,
    I have ORACLE 10G & Forms 6i on Windows server 2008 . When I open the forms for some work , it give me error in few minis.
    FRM-40655: SQL error forced rollback: clear form and re-enter transaction.
    I have not done anything unusual in form design. it was working properly from a long time.
    Yesterday i set the default profile to idle_time = 20. Will that make any problem ???
    I checked my Alert Log but no sign of any deadlock in it, or any other unusual activity ....
    What is the solution ???
    Thanks in advance ..

    This happens due to dead lock situation
    To avoid this problem, add NOWAIT option to the UPDATE and DELETE statements, which returns ORA-00054 error, trap this error and display user defined message like 'The record is being accessed and try after some time'.
    This even improves the performance
    because no process waits for the locks preventing dead locks.
    If it is due to the UPDATE's or DELETE's with base table blocks in the form, in the PRE-UPDATE and PRE-DELETE triggers write SELECT statements to select the particular row with FOR UPDATE NO WAIT option. Handle by trapping the ORA-00054 error

  • Error: Balance for transaction type group 10 negative for the area 01

    Dear All,
    Our enduser wants to return the capital goods after 3 years ( Purchased on May 2005) to vendor due to poor quality.
    While trying to return through MIGO (Return Delivery - Mvmt Type 122) system throws the following error:
    >
    With the transaction entered, the balance for the transactions in group 10 in area 01 will be negative in this fiscal year. However, the balance of transaction type group 10, according to its definition, must be positive in each fiscal year.
    >
    Note: Depreciation posted upto May 2008.
    Please guide me for the same.
    Regards
    Jai

    Hi,
    I have similar problem. The error message appears if user tried to reverse one of the documents posted incorrectly from PO to an asset. The PO has been create in the last FY, but all the posting in AA happend in this FY.
    (Our FY is not equal calendar year).
    So cumulated from FY start there were posting made -  for:
    - aquisition 150 (transaction type group 14)
    amount: 428.587,73
    - and the couple of credit memos have been posted 105 (with transaction type group 10)
    amount: -511.162,90
    - and again the aquisition posted 152 but this time form previous FY (transaction type group 19)
    amount: 442.537,25
    So now, is SAP checking the transaction type group exclusively and in this case would be understandable that the amount is negative already or is looking for the posting, document or entry date?
    Thanks, Krysia

  • Application error while generating PDF form

    Hello there,
    I am getting the message "Application error while generating PDF form" and when you hover it has additional information Message Class HREIC_APPL - Message number 258.
    I get this upon doing the following steps:
    1. Enter SAP R3, enter HREIC on the transaction code input.
    2. Enter EIC, Activity Search. Searched for an Activity, selected it and click the "PRINT" button.
    3. After clicking the PRINT button, I get the error message "Application error while generating PDF form".
    Installed this on development box, did the same configuration in test system, but still I get this error. ADS Configuration is working fine and configured fine.
    Is there anything else that is needed to be checked? like Ports, Firewalls, etc?
    Thanks a lot.

    Be sure that the RFC name is "ADS" and not anything else.
    Thanks.

  • Unable to auto-create a Delivey in Shipping Transaction Form

    Hello ;
    I have one line in Shipping Transaction Form in status : Staged/Pick Confirmed
    but without delivery number.
    Then when I tried to auto-create a delivery I got this error message :
    Error: Failed to autocreate deliveries in organization ABC
    Warning: These entities can not be grouped together as their grouping attributes do not match.
    Do you have any idea what I have to do ?
    Regards

    Hi,
    Go to Shipping Parametres for the respective Inventory Org(Order Managerment Super user-->shipping-->setup-->shipping parametres)
    Choose the Tab DELIVERY
    select the following check boxs
    Customer
    Frieght Terms
    FOB code
    Ship Method
    Intermediate Ship to location
    Try to ship confim once again the same sales orders.
    Thanks
    -Arif.

  • Error in receipt transaction

    Hi, I have the following error in receipt transaction:
    "Cannot read value for profile option PO_RVCTP_ENABLE_TRACE in routine &ROUTINE." I can see the error in "Transaction Statuses" form (INV_SUPERUSER: Transactions: Receiving: Transactions Status Summary)
    Thanks.

    Hi,
    "Cannot read value for profile option PO_RVCTP_ENABLE_TRACE in routine &ROUTINE." What is the value of this profile option at the site/application/user/responsibility levels?
    Regards,
    Hussein

  • How to rectify the errors through call transaction metod in bdc

    how to rectify the errors through call transaction metod in bdc

    Hi ,
    View the highlited part of the below code.
    REPORT ygfrivat1 NO STANDARD PAGE HEADING
                     LINE-SIZE 165
                     MESSAGE-ID yif_groc.
    Program     YGFRIVAT1
    Function    Report to Upload the VAT Adjustment File.
    Author      ARENAPU
    Date        11.05.2007
    PMTS        AM12810157
    Transport   G6DK937834
    Description:
    Modification log:
    1. Changed by  :
       Changed on  :
       PMTS        :
       Transport   :
       Tag         :
       Description :
           T A B L E S   D E C L A R A T I O N S
    TABLES: edidc,  "Control record (IDoc)
            edids,  "Status Record (IDoc)
            t001w.
    Internal Tables Declaration.
    Internal table to hold data from table EDIDS
    DATA: BEGIN OF t_edids OCCURS 0,
           docnum LIKE edids-docnum,
           logdat LIKE edids-logdat,
           logtim LIKE edids-logtim,
           countr LIKE edids-countr,
           credat LIKE edids-credat,
           uname  LIKE edids-uname,
          END OF t_edids,
    Internal table to hold data from table EDIDC
          BEGIN OF t_edidc OCCURS 0,
           docnum LIKE edidc-docnum,
           rcvprt LIKE edidc-rcvprt,
           rcvprn LIKE edidc-rcvprn,
           credat LIKE edidc-credat,
          END OF t_edidc,
    Internal table to hold data from upload file
          BEGIN OF t_tab OCCURS 0,
           cust(10),        "site/customer number
           date(10),        "transaction date
           currency(04),    "currency
           extnbr(15),      "external reference number
           pos-cont(05),    "POS controler
           pos-id(25),      "POS id
           cashier(10),     "cashier name
           qualif(04),      "qualifier of the article
           matnr(25),       "article number
           qty(10),         "quantity
           sale(16),        "sale value
           pos-tr(04),      "POS transfert type
           paymeth(04),     "payment method
           final(35),       "final price
           tarcur(04),      "target currency
           assign(35),      "assignment day
           error,
          END OF t_tab,
    Internal table for Report display.
          BEGIN OF t_tab1 OCCURS 0,
           cust(10),                    "site/customer number
           date(10),                    "transaction date
           currency(04),                "currency
           extnbr(15),                  "external reference number
           pos-cont(05),                "POS controler
           pos-id(25),                  "POS id
           cashier(10),                 "cashier name
           qualif(04),                  "qualifier of the article
           matnr(25),                   "article number
           qty(16)   TYPE p DECIMALS 2, "quantity
           sale(16)  TYPE p DECIMALS 2, "sale value
           pos-tr(04),                  "POS transfert type
           paymeth(04),                 "payment method
           final(16) TYPE p DECIMALS 2, "final price
           tarcur(04),                  "target currency
           assign(35),                  "assignment day
          END OF t_tab1,
          t_tab_temp LIKE t_tab OCCURS 0 WITH HEADER LINE,
    Internal table to Validate Customer no.
          BEGIN OF t_check OCCURS 0,
           werks LIKE t001w-werks,
           vkorg LIKE t001w-vkorg,
           value(40),
          END OF t_check,
          t_check_temp LIKE t_check OCCURS 0 WITH HEADER LINE.
    Internal table to hold data from table ZCS_PARAM.
    DATA: BEGIN OF t_zcs_param OCCURS 0.
            INCLUDE STRUCTURE zcs_param.
    DATA: vkorg LIKE t001w-vkorg,
          END OF t_zcs_param.
    *Internal table to hold Messages.
    DATA: BEGIN OF t_message OCCURS 0,
             msgnum TYPE msgnum,
             msgtyp TYPE msgtyp,
             msgtxt TYPE msgtext,
           END OF t_message.
    *Work area for table t_message
    DATA : w_message LIKE LINE OF t_message.
    Internal table to hold BDC data
    DATA: t_bdcdata LIKE bdcdata    OCCURS 0 WITH HEADER LINE,
    Internal table to collect error messages
          messtab   LIKE bdcmsgcoll OCCURS 0  WITH HEADER LINE.
    *Internal table to hold messages from call transaction
    DATA: BEGIN OF t_text OCCURS 0,
           desc(150),
           msgtxt(100),
          END OF t_text.
           D A T A   D E C L A R A T I O N S
    DATA: n TYPE i,
          gv_status(11) TYPE c, "Shows status, Production or Test
          gv_exit TYPE c,  "Exit Flag
          gv_qty(16)   TYPE p DECIMALS 2, "Variable to sum Quantity
          gv_sale(16)  TYPE p DECIMALS 2, "Variable to sum Amount
          gv_final(16) TYPE p DECIMALS 2. "Variable to sum Final Amount
    DATA: w_text(100),
          gv_mode TYPE c,
          error TYPE c.  "Flag to Indicate error.
    CONSTANSTS DECLARATION
    CONSTANTS : gc_fieldname LIKE dynpread-fieldname VALUE 'P_FNAME',
                gc_seq_no LIKE zcs_param-seq_no VALUE '00110',
                gc_object LIKE zcs_param-object VALUE 'YGFVAT',
                gc_paraname LIKE zcs_param-paraname VALUE 'VKORG',
                gc_back TYPE c VALUE 'N',
                gc_error TYPE c VALUE 'E',
                gc_all TYPE c VALUE 'A'.
               S E L E C T I O N   S C R E E N
    SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-001.
    PARAMETERS : p_fname LIKE rlgrap-filename OBLIGATORY.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-002 FOR FIELD p_test.
    PARAMETERS : p_test AS CHECKBOX.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK a1.
    SELECTION-SCREEN BEGIN OF BLOCK a2 WITH FRAME TITLE text-006.
    PARAMETERS : rb_back RADIOBUTTON GROUP rb1 DEFAULT 'X',
                 rb_error RADIOBUTTON GROUP rb1,
                 rb_all RADIOBUTTON GROUP rb1.
    SELECTION-SCREEN END OF BLOCK a2.
    AT SELECTION SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
    *Subroutine to provide F4 help for file name
      PERFORM fr_get_filename.
           I N I T I A L I Z A T I  O N
    INITIALIZATION.
    *Subroutine to check authorization.
    PERFORM fr_authority_check.
            T O P - O F - P A G E
    TOP-OF-PAGE.
    *Subroutine to diplay header
      PERFORM fr_display_header.
             S T A R T - O F - S E L E C T I O N
    START-OF-SELECTION.
    *Subroutine to upload data from presentation server.
      PERFORM fr_upload_data.
    *Subroutine to validate records from uploaded file.
      PERFORM fr_validate_data.
    *Subroutine to build report internal table.
      PERFORM fr_build_rep.
             E N D - O F - S E L E C T I O N
    END-OF-SELECTION.
    *Subroutine to display report.
      PERFORM fr_write_report.
            F O R M   S U B R O U T I N E S
    *&      Form  fr_get_filename
          text
    FORM fr_get_filename.
      DATA : lv_repid LIKE sy-repid,         " Report id
             lv_file  LIKE ibipparms-path.   " File Path
      lv_repid = sy-repid.
    F4 help for file path.
      CALL FUNCTION 'F4_FILENAME'
           EXPORTING
                program_name  = lv_repid
                dynpro_number = syst-dynnr
                field_name    = gc_fieldname                    " p_fname1
           IMPORTING
                file_name     = lv_file.
      IF NOT lv_file EQ space.
        p_fname = lv_file.
      ELSE.
        MESSAGE e999 WITH 'Invalid Path'(005).
      ENDIF.
    ENDFORM.                    " fr_get_filename
    *&      Form  fr_upload_data
          text
    FORM fr_upload_data.
      DATA: lv_fname TYPE string.
      CLEAR lv_fname.
      lv_fname = p_fname.
    Uploading file from PC or presentation server to internal table.
      CALL FUNCTION 'GUI_UPLOAD'
           EXPORTING
                filename            = lv_fname
                filetype            = 'ASC'
                has_field_separator = 'X'
           TABLES
                data_tab            = t_tab
           EXCEPTIONS
                file_open_error     = 1.
      IF sy-subrc <> 0.
        DESCRIBE TABLE t_message LINES n.
        w_message-msgnum = n + 1.
        w_message-msgtyp = 'E'.
        MOVE text-m01  TO w_message-msgtxt.
        APPEND w_message TO t_message.
    Subroutine for writing log.
        PERFORM fr_write_log.
      ENDIF.
    ENDFORM.                    " fr_upload_data
    *&      Form  fr_validate_data
          text
    FORM fr_validate_data.
      DATA : lv_lines1 TYPE i,
             lv_lines2 TYPE i.
    *Obtain Status depending on Check box selected.
      IF p_test IS INITIAL.
        gv_status = 'PRODUCTION'.
      ELSE.
        gv_status = 'TEST RUN'.
      ENDIF.
    *Batch Mode
      CLEAR gv_mode.
      IF rb_back EQ 'X'.          "No Display
        MOVE gc_back TO gv_mode.
      ELSEIF rb_error EQ 'X'.     "Error Only
        MOVE gc_error TO gv_mode.
      ELSEIF rb_all EQ 'X'.       "All Screens
        MOVE gc_all TO gv_mode.
      ENDIF.
      IF NOT t_tab[] IS INITIAL.
        SORT t_tab BY cust.
        REFRESH t_tab_temp.
        t_tab_temp[] = t_tab[].
        SORT t_tab_temp BY cust.
        DELETE ADJACENT DUPLICATES FROM t_tab_temp COMPARING cust.
        IF NOT t_tab_temp[] IS INITIAL.
          SELECT werks vkorg FROM t001w
                             INTO TABLE t_check
                             FOR ALL ENTRIES IN t_tab_temp
                             WHERE werks = t_tab_temp-cust+0(4).
          IF sy-subrc = 0.
            SORT t_check BY werks.
          ENDIF.
          LOOP AT t_check.
            IF t_check-vkorg <> ' '.
              MOVE t_check-vkorg TO t_check-value.
              MODIFY t_check TRANSPORTING value.
            ENDIF.
          ENDLOOP.
        ENDIF.
        FREE t_tab_temp.
      ENDIF.
      IF NOT t_check[] IS INITIAL.
        REFRESH t_check_temp.
        t_check_temp[] = t_check[].
        SORT t_check_temp BY value.
        DELETE ADJACENT DUPLICATES FROM t_check_temp COMPARING value.
        IF NOT t_check_temp[] IS INITIAL.
          SELECT * FROM zcs_param INTO TABLE t_zcs_param
                   FOR ALL ENTRIES IN t_check_temp
                   WHERE seq_no   EQ gc_seq_no
                     AND object   EQ gc_object
                     AND paraname EQ gc_paraname
                     AND value    EQ t_check_temp-value.
          IF sy-subrc = 0.
            SORT t_zcs_param BY value.
          ENDIF.
        ENDIF.
        FREE t_check_temp.
      ENDIF.
      IF NOT t_tab[] IS INITIAL.
        LOOP AT t_tab.
          READ TABLE t_check WITH KEY werks = t_tab-cust BINARY SEARCH.
          IF sy-subrc <> 0.
            MOVE 'X' TO t_tab-error.
            MODIFY t_tab TRANSPORTING error.
            DESCRIBE TABLE t_message LINES n.
            w_message-msgnum = n + 1.
            w_message-msgtyp = 'E'.
            CONCATENATE t_tab-cust text-030
            INTO w_message-msgtxt SEPARATED BY space.
            APPEND w_message TO t_message.
    Subroutine for writing log.
            PERFORM fr_write_log.
            EXIT.
          ELSE.
            READ TABLE t_zcs_param WITH KEY value = t_check-vkorg
                                                         BINARY SEARCH.
            IF sy-subrc <> 0.
              MOVE 'X' TO t_tab-error.
              MODIFY t_tab TRANSPORTING error.
              DESCRIBE TABLE t_message LINES n.
              w_message-msgnum = n + 1.
              w_message-msgtyp = 'E'.
              CONCATENATE text-003 t_tab-cust text-004 t_check-vkorg
              INTO w_message-msgtxt SEPARATED BY space.
              APPEND w_message TO t_message.
    Subroutine for writing log.
              PERFORM fr_write_log.
              EXIT.
            ELSE.
              PERFORM fr_format_tab.
            ENDIF.
          ENDIF.
        ENDLOOP.
      ENDIF.
      DESCRIBE TABLE t_tab LINES lv_lines1.
      IF lv_lines1 <> 0.
        DELETE t_tab WHERE error EQ 'X'.
      ENDIF.
      DESCRIBE TABLE t_tab LINES lv_lines2.
      IF lv_lines2 <> 0.
        IF lv_lines2 <> lv_lines1.
          EXIT.
        ELSE.
          IF p_test IS INITIAL.
            LOOP AT t_tab.
    *Subroutine to build BDC table
              PERFORM fr_fill_bdctab.
    *Subroutine to Post Data into SAP.
              PERFORM fr_data_posting.
            ENDLOOP.
          ENDIF.
        ENDIF.
      ENDIF.
    ENDFORM.                    " fr_validate_data
    *&      Form  fr_write_log
          text
    FORM fr_write_log.
      CLEAR error.
      error = 'X'.
      WRITE:/1 'Msg No'(027), 10 'Type'(028), 20 'Text'(029).
      ULINE:/1(120).
      FORMAT RESET.
      LOOP AT t_message.
        IF t_message-msgtyp = 'E'.
          FORMAT COLOR 6 INTENSIFIED .
        ELSEIF t_message-msgtyp = 'W'.
          FORMAT COLOR 3 INTENSIFIED .
        ELSEIF t_message-msgtyp = 'I'.
          FORMAT COLOR 5 INTENSIFIED .
        ENDIF.
        WRITE:/1 t_message-msgnum,
              10 t_message-msgtyp,
              20 t_message-msgtxt.
        FORMAT RESET.
      ENDLOOP.
      ULINE:/1(120).
    ENDFORM.                    " fr_write_log
    *&      Form  fr_write_report
          text
    FORM fr_write_report.
      CLEAR gv_exit.
      LOOP AT t_message.
        IF t_message-msgtyp = 'E'.
          gv_exit = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF NOT gv_exit IS INITIAL.
        EXIT.
      ELSE.
        PERFORM fr_display_report.
        IF NOT t_text[] IS INITIAL.
    Subroutine for Display Call Transaction messages.
          PERFORM fr_write_msg.
        ENDIF.
      ENDIF.
    ENDFORM.                    " fr_write_report
    *&      Form  fr_display_report
          text
    FORM fr_display_report.
      IF NOT t_tab1[] IS INITIAL.
        CLEAR: gv_qty, gv_sale, gv_final.
        LOOP AT t_tab1.
          WRITE:/1(10) t_tab1-cust,
                13(10) t_tab1-date,
                25(05) t_tab1-currency,
                32(14) t_tab1-extnbr,
                48(09) t_tab1-pos-cont,
                60(18) t_tab1-matnr,
                80(16) t_tab1-qty RIGHT-JUSTIFIED ,
                98(16) t_tab1-sale RIGHT-JUSTIFIED ,
               116(07) t_tab1-paymeth,
               125(16) t_tab1-final RIGHT-JUSTIFIED,
               143(06) t_tab1-tarcur,
               152(12) t_tab1-assign.
          gv_qty   = t_tab1-qty   + gv_qty.
          gv_sale  = t_tab1-sale  + gv_sale.
          gv_final = t_tab1-final + gv_final.
        ENDLOOP.
        FORMAT COLOR 3.
        ULINE: /(164).
        WRITE:/ 'TOTALS',
          80(16) gv_qty RIGHT-JUSTIFIED,
          98(16) gv_sale RIGHT-JUSTIFIED,
         125(16) gv_final RIGHT-JUSTIFIED,
         182 ''.
        ULINE: /(164).
        FORMAT RESET.
      ENDIF.
    ENDFORM.                    " fr_display_report
    *&      Form  FR_DISPLAY_HEADER
          text
    FORM fr_display_header.
      IF error IS INITIAL.
        FORMAT COLOR 1.
        WRITE:/ 'Date upload           :'(007),   25 sy-datum,  38 ''.
        WRITE:/ 'Production or Test Run:'(008),   25 gv_status, 38 ''.
        WRITE:/ 'Upload User Logon     :'(009),   25 sy-uname,  38 ''.
        ULINE: /(164).
        WRITE:/1(04) 'Site'(010),
              13(10) 'Date'(011),
              25(05) 'Curr.'(012),
              32(14) 'Receipt'(013),
              48(09) 'Cashier'(014),
              60(18) 'Article'(015),
              92     'Qty'(016),
              102    'Item Amount'(017),
              116(7) 'M.o.P.'(018),
              128    'Tender Amount'(019),
              143(6) 'T.Curr'(020),
             152(12) 'Assignment'(021).
        ULINE:/(164).
        FORMAT RESET.
      ENDIF.
    ENDFORM.                    " FR_DISPLAY_HEADER
    *&      Form  fr_newdynpro
          text
    FORM fr_newdynpro USING program LIKE bdcdata-program
                            dynpro  LIKE bdcdata-dynpro.
      t_bdcdata-program = program .
      t_bdcdata-dynpro  = dynpro.
      t_bdcdata-dynbegin = 'X'.
      APPEND t_bdcdata.
      CLEAR t_bdcdata.
    ENDFORM.                    " fr_newdynpro
    *&      Form  fr_loadfield
          text
    FORM fr_loadfield USING field LIKE bdcdata-fnam
                            value.
      t_bdcdata-fnam = field.
      t_bdcdata-fval = value.
      APPEND t_bdcdata.
      CLEAR t_bdcdata.
    ENDFORM.                    " fr_loadfield
    *&      Form  fr_fill_bdctab
          text
    FORM fr_fill_bdctab.
      REFRESH t_bdcdata.
      PERFORM fr_newdynpro USING 'SAPMWPUK' '100'.
      PERFORM fr_loadfield USING 'G_FILIALE' t_tab-cust.
      PERFORM fr_loadfield USING 'G_DATUM'   t_tab-date.
      PERFORM fr_loadfield USING 'BDC_OKCODE' 'BON'.
      PERFORM fr_newdynpro USING 'SAPMWPUK' '500'.
      PERFORM fr_loadfield USING 'WPSCB01-POSKREIS'   t_tab-pos-cont.
      PERFORM fr_loadfield USING 'WPSCB01-KASSID'     t_tab-pos-id.
      PERFORM fr_loadfield USING 'WPSCB01-BELEGWAERS' t_tab-currency.
      PERFORM fr_loadfield USING 'WPSCB01-CSHNAME'    t_tab-cashier.
      PERFORM fr_loadfield USING 'WPSCB01-BONNUMMER'  t_tab-extnbr.
      PERFORM fr_loadfield USING 'E1WPB02-QUALARTNR(01)'  t_tab-qualif.
      PERFORM fr_loadfield USING 'E1WPB02-ARTNR(01)'      t_tab-matnr.
      PERFORM fr_loadfield USING 'E1WPB02-MENGE(01)'      t_tab-qty.
      PERFORM fr_loadfield USING 'WPSCB03-KONDVALUE(01)'  t_tab-sale.
      PERFORM fr_loadfield USING 'E1WPB02-VORGANGART(01)' t_tab-pos-tr.
      PERFORM fr_loadfield USING 'BDC_OKCODE' 'ZAHL'.
      PERFORM fr_newdynpro USING 'SAPMWPUK' '530'.
      PERFORM fr_loadfield USING 'WPSCB06-ZAHLART'  t_tab-paymeth.
      PERFORM fr_loadfield USING 'WPSCB06-SUMME'    t_tab-final.
      PERFORM fr_loadfield USING 'WPSCB06-WAEHRUNG' t_tab-tarcur.
      PERFORM fr_loadfield USING 'WPSCB06-ZUONR'    t_tab-assign.
      PERFORM fr_loadfield USING 'BDC_OKCODE' 'SAVE'.
      PERFORM fr_newdynpro USING 'SAPMWPUK' '530'.
      PERFORM fr_loadfield USING 'WPSCB06-ZAHLART'  t_tab-paymeth.
      PERFORM fr_loadfield USING 'WPSCB06-SUMME'    t_tab-final.
      PERFORM fr_loadfield USING 'WPSCB06-WAEHRUNG' t_tab-tarcur.
      PERFORM fr_loadfield USING 'WPSCB06-ZUONR'    t_tab-assign.
      PERFORM fr_loadfield USING 'BDC_OKCODE' 'BACK'.
      PERFORM fr_newdynpro USING 'SAPLSPO1' '0200'.
      PERFORM fr_loadfield USING 'BDC_OKCODE' 'YES'.
      PERFORM fr_newdynpro USING 'SAPMWPUK' '100'.
      PERFORM fr_loadfield USING 'G_FILIALE' t_tab-cust.
      PERFORM fr_loadfield USING 'G_DATUM'   t_tab-date.
      PERFORM fr_loadfield USING 'BDC_OKCODE' 'BACK'.
    ENDFORM.                    " fr_fill_bdctab
    *&      Form  fr_data_posting
          text
    FORM fr_data_posting.
      IF NOT t_bdcdata[] IS INITIAL.
        REFRESH messtab.
        CALL TRANSACTION 'WPUK' USING t_bdcdata
                                MODE gv_mode
                                UPDATE 'S'
                                MESSAGES INTO messtab.
        IF sy-subrc = 0 .
          CLEAR w_text.
          LOOP AT messtab.
            CALL FUNCTION 'FORMAT_MESSAGE'
                 EXPORTING
                      id        = messtab-msgid
                      lang      = sy-langu
                      no        = messtab-msgnr
                      v1        = messtab-msgv1
                      v2        = messtab-msgv2
                      v3        = messtab-msgv3
                      v4        = messtab-msgv4
                 IMPORTING
                      msg       = w_text
                 EXCEPTIONS
                      not_found = 1
                      OTHERS    = 2.
            MOVE w_text TO t_text-msgtxt.
            CONCATENATE 'Site:'(031)    t_tab-cust
                        'Article:'(024) t_tab-matnr
                        'Posted Sucessfully'(032)
              INTO t_text-desc SEPARATED BY space.
            APPEND t_text.
            CLEAR t_text.
          ENDLOOP.
        ELSE.
          CLEAR w_text.
          LOOP AT messtab.
            CALL FUNCTION 'FORMAT_MESSAGE'
                 EXPORTING
                      id        = messtab-msgid
                      lang      = sy-langu
                      no        = messtab-msgnr
                      v1        = messtab-msgv1
                      v2        = messtab-msgv2
                      v3        = messtab-msgv3
                      v4        = messtab-msgv4
                 IMPORTING
                      msg       = w_text
                 EXCEPTIONS
                      not_found = 1
                      OTHERS    = 2.
            MOVE w_text TO t_text-msgtxt.
            IF messtab-msgnr EQ '213'.
              CONCATENATE 'Site:'(031)    t_tab-cust
                          'Article:'(024) t_tab-matnr
                          'Posted Sucessfully'(032)
               INTO t_text-desc SEPARATED BY space.
              APPEND t_text.
              CLEAR t_text.
              EXIT.        ELSE.
              CONCATENATE 'Site:'(031)    t_tab-cust
                          'Article:'(024) t_tab-matnr
                          'Not Posted'(033)
               INTO t_text-desc SEPARATED BY space.
              APPEND t_text.
              CLEAR t_text.
            ENDIF.
          ENDLOOP.
        ENDIF.
      ENDIF.
    ENDFORM.                    " fr_data_posting
    *&      Form  fr_authority_check
          text
    FORM fr_authority_check.
      AUTHORITY-CHECK OBJECT 'Y_VATADJ'
               ID 'VKORG' FIELD t001w-vkorg
               ID 'TCD'   FIELD 'YGFVAT'.
      IF sy-subrc NE 0.
        MESSAGE e999 WITH text-m02.
      ENDIF.
    ENDFORM.                    " fr_authority_check
    *&      Form  fr_write_msg
          text
    FORM fr_write_msg.
      SKIP.
      ULINE:/(164).
      WRITE:/
      'Messages encountered while Calling Transaction WPUK'(025),
          90 'Message Text'(026).
      ULINE:/1(164).
      LOOP AT t_text.
        WRITE:/1 t_text-desc,
              90 t_text-msgtxt,
              164 ''.
      ENDLOOP.
      ULINE:/1(164).
    ENDFORM.                    " fr_write_msg
    *&      Form  FR_BUILD_REP
          text
    FORM fr_build_rep.
      IF error IS INITIAL.
        IF NOT t_tab[] IS INITIAL.
          LOOP AT t_tab.
            MOVE:
              t_tab-cust     TO t_tab1-cust,        "site/customer number
              t_tab-date     TO t_tab1-date,        "transaction date
              t_tab-currency TO t_tab1-currency,    "currency
            t_tab-extnbr   TO t_tab1-extnbr,      "external reference number
              t_tab-pos-cont TO t_tab1-pos-cont,    "POS controler
              t_tab-pos-id   TO t_tab1-pos-id,      "POS id
              t_tab-cashier  TO t_tab1-cashier,     "cashier name
             t_tab-qualif   TO t_tab1-qualif,      "qualifier of the article
              t_tab-matnr    TO t_tab1-matnr,       "article number
              t_tab-pos-tr   TO t_tab1-pos-tr,      "POS transfert type
              t_tab-paymeth  TO t_tab1-paymeth,     "payment method
              t_tab-tarcur   TO t_tab1-tarcur,      "target currency
              t_tab-assign   TO t_tab1-assign.
            REPLACE ',' WITH '.' INTO t_tab-qty.
            CONDENSE t_tab-qty NO-GAPS.
            MOVE t_tab-qty TO t_tab1-qty.
            REPLACE ',' WITH '.' INTO t_tab-sale.
            CONDENSE t_tab-sale NO-GAPS.
            MOVE t_tab-sale TO t_tab1-sale.
            REPLACE ',' WITH '.' INTO t_tab-final.
            CONDENSE t_tab-final NO-GAPS.
            MOVE t_tab-final TO t_tab1-final.
            APPEND t_tab1.
            CLEAR t_tab1.
          ENDLOOP.
        ENDIF.
      ENDIF.
    ENDFORM.                    " FR_BUILD_REP
    *&      Form  fr_format_tab
          text
    FORM fr_format_tab.
      DATA : lv_qty TYPE string.
      IF NOT t_tab-qty IS INITIAL.
        IF t_tab-qty+0(1) EQ '-'.
          CLEAR lv_qty.
          MOVE t_tab-qty TO lv_qty.
          CLEAR t_tab-qty.
          SHIFT lv_qty LEFT CIRCULAR.
          CONDENSE lv_qty NO-GAPS.
          MOVE lv_qty TO t_tab-qty.
          MODIFY t_tab TRANSPORTING qty.
        ENDIF.
      ENDIF.
    ENDFORM.                    " fr_format_tab

  • PR05 Travel Expense Manager.Messag : Error while initiating travel form

    Hi,
    We're upgrading from 4.6C to ECC6.0 . With transaction PR05 we're getting error message .
    Transaction PR05 -> entered in personnel no XXXXXXXXX and pressed the green checkmark. I then select a line - for this I selected the second line that said Transferred PAY. I then hit the RESULTs button on the menu bar and get the following error message:
    "Error while initiating travel form"
    Message no. 56568
    Please advise how to fix issue.
    Thanks.
    Saeed

    HI,
    My first participation.
    Entry the transaction SE16N in the table V_T702N_A and click F8.
    Select your variant code and double click.
    Displays 30 column (3 groups with 10 column)  and 6 lines.
    Change the column 4 (third group) and line 5 (Others calculation), is satisfied with 0, should change to 1.
    Helped ?

  • ECC6 - PR05 - Error while initiating travel form

    Hello Everybody,
    With the new version ECC6, I have this error message  "Error while initiating travel form" when I launch the results with the PR05 transaction.
    Thanks in advance for your help
    Best Regards

    We can not have PDF forms since it requires Java stack which is not
    installed on the system. we looked into the option of
    changing config to use the old ABAP form instead.
    We changed the config from 0 to 1 to desactivate the PDF form  and issue is resolved.
    Thanks.
    Saeed
    Edited by: Saeed Ahmad on Apr 3, 2010 2:09 PM

  • PR05 Error while initiating travel form

    Hi,
    We're upgrading from 4.6C to ECC6.0 . With transaction PR05 we're getting error message .
    Transaction PR05 -> entered in personnel no XXXXXXXXX  and pressed the green checkmark.  I then select a line - for this I selected the second line that said Transferred PAY.  I then hit the RESULTs button on the menu bar and get the following error message:
    "Error while initiating travel form"
    Message no. 56568
    Please advise how to fix issue.
    Thanks.
    Saeed

    We can not have PDF forms since it requires Java stack which is not
    installed on the system. we looked into the option of
    changing config to use the old ABAP form instead.
    We changed the config from 0 to 1 to desactivate the PDF form  and issue is resolved.
    Thanks.
    Saeed
    Edited by: Saeed Ahmad on Apr 3, 2010 2:09 PM

  • TR6C challan updation in J1IH error  Balance in transaction currency

    HI Experts,
    while updating TR6C challan in J1IH  iam getting the below error
    Balance in transaction currency
    Message no. F5702
    Diagnosis
    A balance has occurred in transaction currency 'INR' with the following details:
    Exchange rate '00', amount '           500.00' and currency key 'INR'.
    The data in the transaction currency were transferred from the calling application.
    System Response
    Your data cannot be processed in FI.
    Procedure
    The error is probably in the calling application.
    if i go back from the T code iam getting the below run time error
    Runtime Errors         SYSTEM_ON_COMMIT_INTERRUPTED
    Date and Time          21.02.2012 13:21:41
    Short text
         The COMMIT WORK processing must not be interrupted.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "SAPMSSYD" had to be terminated because it has
         come across a statement that unfortunately cannot be executed.
    Error analysis
         During the COMMIT WORK statement, the following are executed:
         - the routines registered with the statement PERFORM .. ON COMMIT,
         - the registered methods for the events of the object services
           and
         - possibly the local update (SET UPDATE TASK LOCAL).
         An exception was raised and caught. The normal sequence of the routines
         was interrupted by this resulting in the program being continued before
         the call of COMMIT WORK. As this can lead to inconsistencies, the
         processing cannot be continued in the normal way.
    Trigger Location of Runtime Error
    rgds
    gopal

    Hello Gopal,
    For the relevant document, please check the total of Credit equals total of Debit.  I guess they are not matching.
    Try to match to correct values and this should resolve your issue.
    Vikas.

  • Error: -5012, Unbalanced Transaction  SBO 2005 A SP1 PL16

    Hi everyone,
    I am working with an add-on program that creates journal vouchers from a 3rd party database.  Before 2005 A SP1, the add-on worked as designed.   Once SP1 was installed, if the add-on tries to create a journal voucher with more than one transaction, the error -5012, Unbalanced Transaction occurs. 
    No Add-on code was changed.  I am using 2005 A SP1, PL16.
    On System Initialization>Document Settings, Per Document tab for Journal Entry, the "Block Unbalanced RC Journal Entry" is unchecked, along with all the other checkbox on this tab. (Form 228, Item 36, OADM, FcNoBlnc)
    On the Journal Voucher Form, Form Settings, Document tab, General tab, the "Allow Unbalanced Transaction if FC" checkbox and the "Allow Multi-Currency Transactions" checkbox are checked by default.  On the Table tab of the Document tab, both "From LC Field" and "From FC Field" are unchecked.
    I know the system currency handing in exchange rate & conversion changed from SP0 to SP1, but I don't know what technical changes I have to make to the DI code or if there is a setting in the program I need to change.   I have searched for this issue, but I have not found a resolution.  I know other areas of the program have had this issue in the pasted, but they have be resolved in previous patches.
    Any help would be greatly appreciated.

    This issue was resolved in 2005 A SP23.  See SAP note 1012754.
    I am now using SP41 and all my transactions are being included as one.  Still trying to fiqure out what the problem is now.
    Edited by: Greg Stratakes on Mar 6, 2008 2:54 PM

Maybe you are looking for

  • How to implement a call back service?

    hi all, i have a method which calls a particular function module. i want to achieve the following two things in the code: 1. after calling the function module, i want the program flow to get paused - it should wait for a notification from the functio

  • Cd burning error

    I have burned 2 cds from iPhoto with no problem. Now when I try to burn another, I get the following error message: The device failed to calibrate the laser power level for this media. I have tried different cds and different photos, but get the same

  • Enabling \ Disabling of Cut,Copy,Paste image(.gif) on tollbar,

    Hi, I am having one problame in Enabling \ Disabling of Cut,Copy,Paste image(.gif) on tollbar, On Mouse Click of component on panel these images should enable\disable( like normal cut,copy,paste function.) can any body help me on that. Thanx,

  • FMLE not recognizing external camera

    I have the following configuration: Mac Book Pro FMLE Version 3.2 External Camera Source - Sony PMW-EX1 connected via i-Link (Firewire/HDV) Camera shows up in Firewire Devise List FMLE defaluts to iSight Camera Source External camera is not an option

  • ListView.getSelectionModel().select( i) issue

    This might be a minor issue however I spent already too much time on this to figure out: Why does the the next item not getting selected, when pressing the button ? It gets focused but I does not get "blue", like it would get when I click on it ??