Inspector Code Error in QA12 transaction
Hi
When i try to submit the qa12 transaction , it is throwing an error " enter inspector code".Where Can i find this inspector code text box
regards,
PradeepM.
Hi
check In MICs whether you have defined the inpector qualification or not?
Also check in spro.
Check and revert
Regards
Anupam Sharma
Similar Messages
-
Hi
When I try to move stock from QI to unrestricted use and save the inspection lot it is throwing an error message " Enter Inspector code ". where I can find this inspector code in the transaction
regards,
PradeepM.At QE11 there is one field in administrative data ,in that there is Inspector . Inspector is same as the user ID no.
whever any user will do resut recording from his Authorised User ID then bydefault system wi take the user ID no or inspector code.
regards,
PRERNA -
Error "Balance in transaction currency" using T.code J1iex
Hello all,
When i am capturing an excise invoice using T.code J1iex, the excise invoice is getting captured, but when we are trying to post the vendor using the same T.code j1iex,it is giving an error"Balance in transaction currency". Please help me and try to solve my problem asap.Hai,
1.Flag the check box for rounding duty on procurement in IMG - Logisitics general - Tax on goods & mvts - India - Basic settings - Company code settings.
2. Manually round off the excise values to next value in J1IEX - Change mode - item level - excise values. -
AAPO 176 Error in AIBU transaction code
Hello Experts,
I have a problem in AIBU (AUC settlement) transaction.
In AIBU, i was trying to settle AuC
Then I got AAPO 176 error and it said "Transaction type 250 cannot be used for activity 'Retirement from...............)
But, I don't know where this message comes from and how to solve this issue.
Thank you for your help in advance
Best Regards,
RKPHi,
have a look on below discussion
Re: AAPO 176 Error in ABUMN transaction
regards -
Settlement G/L account Error in CJ88 Transaction
Hi
i am receiving error in CJ88 transaction when I am trying to settle cost. I have created default settlement rule on WBS by enhancement, The G/L Account is also balancesheet account. Error message-- G/L account is not assigned to controlling area.
Please suggest the soulution. ThanksHi,
Can you elaborate the error in detail,
You want settle the WBS to GL right?
The GL which you are setting the same GL is getting error.
You have checked the GL in FS00 or FSP0, If you have not checked in FS00 then check in FSSo whether it is extended to Company code. -
Hi all,
What does processing status code "Error" indicate in rcv_headers_interface.There is no error message in po_interface_errors.There is nothing available in the log of Receiving Transaction Processor.Can someone guide me what exactly this means?
Thanks in advance!!Hi Sandy;
Please see below notes which could be helpful
Resolving records stuck in the Receiving Transactions Interface [ID 50903.1]
http://docs.oracle.com/cd/E19509-01/820-4390/ggtrm/index.html
Regard
Helios -
hi,
I am getting following error in MIRO transaction ....Can anybody please fix this ?
"In company code 3000, the number range 51 is missing for the year 2008"
Regards
VijayHI,
Please check the nuber ranges whether that has been selected as external for the Invoicing.
If external then please check whether the said no range starting from 51 is included in the external no assignment or no?
If not then yiu may have to add the same no range and then check.
Hope this helps.
Regards,
Prasanna
Award pls if helpful. -
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 -
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
gopalHello 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 -
Hi all,
In my program I am trying to handle errors in call transaction method using bdcmsgcoll and format_message.To check this I have given some false data like trying to create materials which are already in mara tables. The data is not updated in the mara tables but No error messages are populated into the bdcmsgcoll structure. The status of all messges is success. How do messages get populated into bdcmsgcoll ?
I am forwardimng my code too. Can anyone please explain me what's happening ? For what type of errors, Error messages get poplated into bdcmsgcoll ?
report Z_MAT_CALL
no standard page heading line-size 255.
data : begin of material occurs 0,
matnr like mara-matnr, " Material Number
mbrsh like mara-mbrsh, " Industry sector
mtart like mara-mtart, " material Type
maktx like makt-maktx, " Material Description
meins like mara-meins, " Base Unit of Measure
end of material.
data fnam type string value 'C:\BW\MAT.TXT'.
*---- BDCDATA
data : bdcdata like bdcdata occurs 0 with header line,
itab like bdcmsgcoll occurs 0 with header line,
mesg(100).
*---- Uploading data into internal table from flat File.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = fnam "'C:\BW\MAT.TXT'
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
tables
data_tab = material.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at material.
perform bdc_dynpro using 'SAPLMGMM' '0060'.
perform bdc_field using 'BDC_CURSOR'
'RMMG1-MTART'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RMMG1-MATNR'
material-matnr.
perform bdc_field using 'RMMG1-MBRSH'
material-mbrsh.
perform bdc_field using 'RMMG1-MTART'
material-mtart.
perform bdc_dynpro using 'SAPLMGMM' '0070'.
perform bdc_field using 'BDC_CURSOR'
'MSICHTAUSW-DYTXT(02)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'MSICHTAUSW-KZSEL(01)'
'X'.
perform bdc_field using 'MSICHTAUSW-KZSEL(02)'
'X'.
perform bdc_dynpro using 'SAPLMGMM' '4004'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
perform bdc_field using 'MAKT-MAKTX'
material-maktx.
perform bdc_field using 'BDC_CURSOR'
'MARA-MEINS'.
perform bdc_field using 'MARA-MEINS'
material-meins.
perform bdc_field using 'MARA-MTPOS_MARA'
'NORM'.
perform bdc_transaction using 'MM01'.
refresh bdcdata.
endloop.
*LOOP AT iTAB.
*WRITE: / iTAB-TCODE,
*iTAB-DYNAME,
*iTAB-DYNUMB,
*iTAB-MSGTYP,
*iTAB-MSGSPRA,
*iTAB-MSGID,
*iTAB-MSGNR.
*ENDLOOP.
Start new screen *
FORM BDC_DYNPRO USING PROGRAM DYNPRO.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
CLEAR BDCDATA.
ENDFORM.
Insert field *
FORM BDC_FIELD USING FNAM FVAL.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
CLEAR BDCDATA.
ENDFORM.
Form bdc_transaction
form bdc_transaction using value(tcode).
call transaction tcode using bdcdata
mode 'N'
update 'S' messages into itab.
if sy-subrc Ne 0.
read table itab with key msgtyp = 'E'.
if sy-subrc = 0.
perform check.
endif.
endif.
endform. " bdc_transaction
Form check
form check .
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = itab-msgid
lang = sy-langu
no = itab-msgnr
v1 = itab-msgv1
v2 = itab-msgv2
v3 = itab-msgv3
v4 = itab-msgv4
IMPORTING
msg = mesg
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
endform. " check
Regards,
Varun.Hi
DATA : T_BDCMSGCOLL TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE.
DATA : WA_BDCMSGCOLL TYPE BDCMSGCOLL.
DATA : ERR_LOG TYPE MESSAGE.
Call Transaction MM01
IF W_FLAG NE 'X'.
CALL TRANSACTION 'MM01' USING T_BDCDATA OPTIONS FROM WA_CTU_PARAMS
MESSAGES INTO T_BDCMSGCOLL.
COMMIT WORK AND WAIT.
DESCRIBE TABLE T_BDCMSGCOLL LINES N.
IF N <> 0.
LOOP AT T_BDCMSGCOLL INTO WA_BDCMSGCOLL.
CLEAR ERR_LOG.
W_MSGNO = WA_BDCMSGCOLL-MSGNR.
CALL FUNCTION 'WRITE_MESSAGE'
EXPORTING
MSGID = WA_BDCMSGCOLL-MSGID
MSGNO = W_MSGNO
MSGTY = WA_BDCMSGCOLL-MSGTYP
IMPORTING
MESSG = ERR_LOG.
Error that occurs during transactoon
IF ERR_LOG-MSGTY = 'E'.
MOVE-CORRESPONDING T_UPLOAD TO T_DOWNLOAD.
MOVE ERR_LOG-MSGTX TO T_DOWNLOAD-MSG.
APPEND T_DOWNLOAD.
ENDIF.
ENDLOOP.
ENDIF.
ENDIF.
check structure declaration and code it may be useful
regards
vinod -
Help with my code (error)
* Main.java
* Created on November 19, 2007, 8:23 PM
package bank;
* @author Tyler Platt
public class BankAccount {
public double totalBalance;
public int totalAccount = 0;
public string[] transactionHistory;
public int numTransactions;
public static void main(String[] args){
public void deposit(double amount) ****************ERROR HERE**************************************
if(numTransactions >= transactionHistory.length)
system.out.println ("Error: To many transactions");
else
if (amount > 0)
totalBalance = totalBalance + amount;
transactionHistory[numTransactions] = "Deposit: $" + amount;
numTransactions = numTransactions + 1;
else
system.out.println ( "Error: Must be Positive amount");
public void withdraw (double amount)
if (numTransactions >= transactionHistory.length)
system.out.println ("Error: To many Transaction");
else
if (amount < totalBalance)
totalBalance = totalBalance - amount;
transactionHistory[numTransaction] = "Withdraw: $" + amount;
numTransactions = numTransactions + 1;
else
system.out.println ("Error: Insufficient Funds");
//End Withdraw Method
//Constructor
public BankAccount (double totalBalance)
transactionHistory = new String[10];
this.totalBalance = totalBalance;
numTransactions = 0;
totalAccounts = totalAccounts + 1;
//display info
public void display ()
system.out.println ( "totalAccounts: " + totalAccounts);
system.out.println ("Information about current bank account: ");
system.out.println ( "totalBalance: " + totalBalance);
system.out.println ("Transaction history: ");
for (i = 0; i < numTransaction; i++)
system.out.println ( transactionHistory[numTransaction]);
I get error
C:\Documents and Settings\xxx\BankAcct\src\bankacct\Main.java:26: illegal start of expression
public void deposit(double amount)dontbethatguy86 wrote:
I'll probibly just scrap this code and start a new one. Trying to fix it is createing more confusion than writing a new one. Thanks for your help.I disagree - I've seen far worse. At least you posted something. I found the errors were numerous, but easy to fix.
You'll recognize your code here. Just be more careful. Pay attention to capitalization, because it matters to Java. "system" is not the same as "System". - %
PS - I didn't check your code to see if it was correct, and I am not endorsing this style. But it's not awful. It was easy to fix with IntelliJ. Five minutes, tops.
package bank;
* BankAccount
* @author Tyler Platt
* Created on November 19, 2007, 8:23 PM
public class BankAccount
public double totalBalance;
public int totalAccounts = 0;
public String[] transactionHistory;
public int numTransactions;
public static void main(String[] args)
public void deposit(double amount)
if (numTransactions >= transactionHistory.length)
System.out.println("Error: To many transactions");
else
if (amount > 0)
totalBalance = totalBalance + amount;
transactionHistory[numTransactions] = "Deposit: $" + amount;
numTransactions = numTransactions + 1;
else
System.out.println("Error: Must be Positive amount");
public void withdraw
double amount)
if (numTransactions >= transactionHistory.length)
System.out.println("Error: To many Transaction");
else
if (amount < totalBalance)
totalBalance = totalBalance - amount;
transactionHistory[numTransactions] = "Withdraw: $" + amount;
numTransactions = numTransactions + 1;
else
System.out.println("Error: Insufficient Funds");
//End Withdraw Method
//Constructor
public BankAccount(double totalBalance)
transactionHistory = new String[10];
this.totalBalance = totalBalance;
numTransactions = 0;
totalAccounts = totalAccounts + 1;
//display info
public void display
System.out.println("totalAccounts: " + totalAccounts);
System.out.println("Information about current bank account: ");
System.out.println("totalBalance: " + totalBalance);
System.out.println("Transaction history: ");
for (int i = 0; i < numTransactions; i++)
System.out.println(transactionHistory[numTransactions]);
} -
Invalid Key code Error while installing crystal report server 11
While installing crystal report server 11,i am facing an erro which says Invalid Key code Error.I had raised this issue to SAP customer support and attaching the conversation that we had.PLEASE HELP me to resolve the issue.
MAILS--Dear Mohit,
Thanks for the patience.
We have received the below update from the Licensing Team.
You received your permanent key in respect of these licenses - the key is for Crystal Reports Server XI.
You did not purchase these licenses for Crystal Reports Server, but purchased it for Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer. The software included was version XIR2, but you elected to use version XI instead and received key .
You would need to enroll the licenses in maintenance if you want to upgrade them.
In case of any queries please create a ticket via the Service Market Place.
Regards,
Jessy
Customer Interaction Center
SAP Active Global Support
Hello Jessy,
The customer received their permanent key in respect of these licenses - the key is for Crystal Reports Server XI.
They did not purchase these licenses for Crystal Reports Server, they purchased Crystal Reports and a 5-named user license for Crystal Reports was included as a special offer. The software included was version XIR2, but they elected to use version XI instead and they received key .
They cannot decide to upgrade now - they must enrol these licenses in maintenance if they want to upgrade them.
Kind regards,
Rosemary
From: BOSAPASIA
Sent: 29 September 2009 05:49
To: Savage, Rosemary
Subject: FW: Crystal Reports Server Installation Issue
Importance: High
HI Rose ,
Need your assistance on the below issue.
Customer purchased Crystal Report Server XI R2 in 2005. When he is trying to install it now, he is getting an Invalid Key code Error.
He has provided us the Scanned copies of the Key code and the registration number.Can you please help and check if he can be provided with a Keycode.
Regards,
Jessy
CIC Team Lead
Customer Interaction Center
Global Support Centre India
SAP Labs India Pvt Ltd
Hi,
Providing you with the required details to proceed further
Registration Number-
Registration Email Address-taxmantra.support
And also please find attached the scanned copy of the Registration key we got for the Crystal report server.
Dear Mohitk,
Thank you for your information.
I checked with the concerned colleague and received the below update:
Please check from where you got this key code. If from a paper, please scan it to us. Please let them track to the original paper or email.
If you have registered the key code, please provide us the registration number or registration email address so that we will try to check for you.
If you did not register before, as the promotion is over so the key code could not be replaced.
I request you to kindly check the same at your end and revert with the details.
Moreover, there are two ways for Crystal Report customer to get support.
One is customer with bundled product such like BOE and under maintenance. These customers will have an S-user ID and password to log a case in service market place via http://service.sap.com/message
A learning map was provided, listed on left column.
The other is customer with only Crystal report product, the support is via SDN.
http://service.sap.com =>Crystal Reports and Xcelsius Support=>Crystal Reports and Xcelsius Forums
Customers can first check whether other customer has got the same issue and find the reply from our engineers.
You may also post your own thread for support.
Anything else I could help, please do not hesitate to contact again.
Hi,
I am providing you with the details required to resolve the issue related to Crystal report installation,for reference of the issue please refer the mail below.
Please find attached the Scanned Document containing the details as per the details required by you.
Hope to see a quick resolution for the issue.
Dear Mohit,
Thank you for your e-mail.
As discussed, I understand that youu2019ve procured Crystal Reports Server 11 in 2006. However youu2019re facing issues with key codes while reinstalling the same. We request you to kindly provide us with below details for further assistance.
Your customer number:
Your customer name and address:
Purchase order number:
Any other products purchased along with Crystal Reports Server 11
Any S-User Id:
Any old case ID:
Please feel free to contact us if any further queries.
Hi,
I am raising this concern on behalf on Taxmantra project (Tata Consultancy Services noida).
We have bought licensed Crystal Reports Server 11 near by 2006.We are trying to install the crystal server but while installing ,we have encountered with an error message that:-
"The product key code you have entered is incorrect"
We are facing the same issue in 2006,I am attaching with this email the conversations that was held in 2006 to get the correct key code.
Please help us to resolve the issue as early as possible.
My contact number:
If you need any further information do let me knowAjit,
By design, the product is not able to be installed under the superuser account.
1. Create a new user and specify a home directory for the user without a quota set.
2. Copy or move the installation files to a directory that the new user can read. I suggest you move the installation files directly into the new user's home directory.
3. Logon as the new user (or su - newuser)
4. run the installation shell script using that new user's account.
NOTE: Ensure the system meets the requirements from the supported platforms documents.
.Tony -
The phone company was here working on something while I was gone. They sat down at my computer (iMac) and since then HDR toning doesn't work. Get the code: Error 48: File or folder does not exist. Line: 11 -> $.evalFile(g_StacScriptFolderPatch + "StackSupport.jsx"); How can this be fixed?
Go to //Applications/Adobe Photoshop [Version]/Presets/ Scripts/Stack Scripts Only/ and see if StackSupport.jsx is there. If it is not, uninstall and reinstall Photoshop to have it added back in. If it is there, first try recreating the Photoshop Preferences (hold down Command+Option+Shift while launching Photoshop).
-
HT5113 "Invalid code error" and "can't connect to the iTunes Store." Any suggestions?
I keep getting an "invalid code error" when trying to preview a course with the enroll code. When I click on the link to the course, I get an error that says "can't connect to the iTunes Store." Any suggestions?
I tried previewing a test course I made about a year ago. I was able to request access to the course, went into Course Manager and approved it, but hours later it still says awaiting approval on my iPad.
Any ideas as to what could be going on, aside from a cruel April Fool's joke?
Thanks.
DavidHow about trying to sign out of your account on the iPad, restart the iPad, sign back into the account and then try again?
Settings>Store>Apple ID - tap on your ID and sign out - restart - go back - sign in.
Other than going through the support article - if you haven't already done so - the only other thing I can think of is to reset/reboot the iPad. That can clear the memory and it does help solve a lot of "hinky" issues.
Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
Maybe you are looking for
-
Slim doesn't works but LXDE is ok
Hello (and sorry for my english ) I installed today arch linux on my laptop. At the beginning, everything was ok, slim worked fine. After playing with the policykit issue (see "I won the struggle against hal and policykit": http://bbs.archlinux.org/
-
Reading pane not showing up in email on ipad
The reading pane of my email is not showing up on my iPad how do I fix it?
-
How to do the page menu effect
I am a newcomer I would like to create my menu with a rollover effect just like on this page. http://designova.net/simple/index-animated.html
-
Now what? Help with .jar files
Hey. I just finished a program. I want to share it with my friends or anyone else. I can create a .jar file but I have no idea what to do next. Is there an easy way to "publish" your programs (like create a .exe file?). Any help or ideas would be app
-
How to implement If and then logic in Numbers?
Having looked in the formulas section of both teh Help and User guides I can see that it is possible to compare using the IF function...and that produces a True or False output...but any further than that and I am lost. i can't seem to find the 'THEN