Language conversion problem in VL02n T-code.
Hi experts,
I have a requirement where i need to change the icon Text of a standard Application Tool bar of VL02N T-code to japanese language.
The thing is when i log in and see in japanese language its getting converted, but client want different icon text on that button.
i tried to change the icon text by logging into japanese language. Its getting changed. But Icon text in english is getting into some symbols.
Answers will be rewarded.
Hi,
You can use transaction SE63 to do this. Depending on the SAP release the menupath is a little bit different. For 46C it is Translation -> Short text -> Data dictionary -> data elements
<b>Reward points</b>
Regards
Similar Messages
-
Smartforms o/p 2 PDF conversion problem , plz see my code
Hi Smartform Guys
1)I m getting error <b>"CONVT_NO_NUMBER "</b> in converting my Smartform output to PDF.
*Printing of Export Invoice, Packing List,Enclosure to Packing List & *
*Case Marking in one SMART FORMS Layout *
REPORT ZSD_REP_MULTI_PRINT.
TABLES :
vbak,
vbap,
vbpa,
vbfa,
VBRK,
VBRP,
LIKP,
LIPS,
KONV,
objk,
tvko,
ser01,
sadr,
equi,
makt,
mast,
t005t,
kna1,
t001w,
T001,
ADRC,
sscrfields,
zpp_plcmi, "Packing list history For Conf: Item data
zplh, "PACKING LIST HISTORY : HEADER DATA
zpli. "PACKING LIST HISTORY : ITEM DATA
DATA: FM_NAME TYPE RS38L_FNAM,
P_E_DEVTYPE TYPE RSPOPTYPE,
P_JOB_OUTPUT_INFO TYPE SSFCRESCL OCCURS 2000 WITH HEADER LINE,
P_OUTPUT_OPTIONS TYPE SSFCOMPOP OCCURS 0 WITH HEADER LINE,
P_CONTROL_PARAMETERS TYPE SSFCTRLOP OCCURS 0 WITH HEADER LINE ,
P_DOC LIKE DOCS OCCURS 2000 WITH HEADER LINE,
P_LINES LIKE TLINE OCCURS 200,
P_BIN_FILESIZE TYPE I,
P_LANGUAGE TYPE SFLANGU,
P_BIN_FILE TYPE XSTRING.
DATA: T_ITEM TYPE ZSD_TABL_LITEM,
WA_ITEM TYPE ZSD_STRUCT_LITEM,
T_ADRS LIKE ZSD_STRUCT_ADRS OCCURS 0 WITH HEADER LINE,
MSLINES LIKE TLINE OCCURS 1 WITH HEADER LINE,
TIDNO LIKE STXL-TDID,
TNAME LIKE STXL-TDNAME,
TOBJT LIKE STXL-TDOBJECT,
SSORD LIKE VBAK-VBELN,
TOT LIKE VBAK-NETWR,
WORD LIKE SPELL.
SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001.
PARAMETERS: P_DELNO LIKE LIKP-VBELN OBLIGATORY,
P_INVNO LIKE VBRK-VBELN OBLIGATORY,
P_DATE LIKE SY-DATUM.
SELECTION-SCREEN END OF BLOCK blk1.
AT SELECTION-SCREEN.
CLEAR T_ADRS.
REFRESH T_ITEM.
T_ADRS-INVNO = P_INVNO.
T_ADRS-INVDAT = P_DATE.
SELECT SINGLE VBELV INTO VBFA-VBELV
FROM VBFA
WHERE VBELN = P_DELNO
AND VBTYP_N = 'J' .
SSORD = VBFA-VBELV.
*Exporter's Address
SELECT SINGLE BUKRS_VF INTO VBAK-BUKRS_VF
FROM VBAK
WHERE VBELN = VBFA-VBELV.
SELECT SINGLE ADRNR
INTO T001-ADRNR
FROM T001
WHERE BUKRS = VBAK-BUKRS_VF.
SELECT SINGLE NAME1 STREET CITY1 POST_CODE1 COUNTRY
INTO (T_ADRS-NAME1,T_ADRS-STREET,T_ADRS-CITY1,
T_ADRS-POST_CODE1, ADRC-COUNTRY)
FROM ADRC
WHERE ADDRNUMBER EQ T001-ADRNR.
SELECT SINGLE LANDX
INTO T_ADRS-COUNTRY
FROM T005T
WHERE SPRAS = 'EN'
AND LAND1 = ADRC-COUNTRY.
**BUYERS NO & DATE
SELECT SINGLE BSTNK BSTDK INTO (T_ADRS-BSTNK,T_ADRS-BSTDK)
FROM VBAK
WHERE VBELN = VBFA-VBELV.
*Consignee Address & Buyer Other Than Consignee
SELECT SINGLE KUNNR KUNAG INTO (LIKP-KUNNR, LIKP-KUNAG)
FROM LIKP WHERE VBELN = P_DELNO.
IF LIKP-KUNNR = LIKP-KUNAG.
SELECT SINGLE NAME1 NAME2 STRAS ORT01 PSTLZ REGIO TELF1 ADRNR
INTO (T_ADRS-CNAME1, T_ADRS-CNAME2, T_ADRS-CSTREET,
T_ADRS-CCITY, T_ADRS-CPCODE, T_ADRS-CREGIO,
T_ADRS-CTELF1, KNA1-ADRNR)
FROM KNA1
WHERE KUNNR = LIKP-KUNNR.
SELECT SINGLE COUNTRY INTO ADRC-COUNTRY
FROM ADRC
WHERE ADDRNUMBER EQ KNA1-ADRNR.
SELECT SINGLE LANDX
INTO T_ADRS-CCOUNTRY
FROM T005T
WHERE SPRAS = 'EN'
AND LAND1 = ADRC-COUNTRY.
T_ADRS-ONAME1 = T_ADRS-CNAME1 .
T_ADRS-ONAME2 = T_ADRS-CNAME2 .
T_ADRS-OSTREET = T_ADRS-CSTREET .
T_ADRS-OCITY = T_ADRS-CCITY.
T_ADRS-OPCODE = T_ADRS-CPCODE .
T_ADRS-OREGIO = T_ADRS-CREGIO.
T_ADRS-OTELF1 = T_ADRS-CTELF1 .
T_ADRS-OCOUNTRY = T_ADRS-CCOUNTRY.
ELSE.
SELECT SINGLE NAME1 NAME2 STRAS ORT01 PSTLZ REGIO TELF1 ADRNR
INTO (T_ADRS-CNAME1, T_ADRS-CNAME2, T_ADRS-CSTREET,
T_ADRS-CCITY, T_ADRS-CPCODE, T_ADRS-CREGIO,
T_ADRS-CTELF1, KNA1-ADRNR)
FROM KNA1
WHERE KUNNR = LIKP-KUNNR.
SELECT SINGLE COUNTRY INTO ADRC-COUNTRY
FROM ADRC
WHERE ADDRNUMBER EQ KNA1-ADRNR.
SELECT SINGLE LANDX
INTO T_ADRS-CCOUNTRY
FROM T005T
WHERE SPRAS = 'EN'
AND LAND1 = ADRC-COUNTRY.
*Buyer Other than Consignee
SELECT SINGLE NAME1 NAME2 STRAS ORT01 PSTLZ REGIO TELF1 ADRNR
INTO (T_ADRS-ONAME1, T_ADRS-ONAME2, T_ADRS-OSTREET,
T_ADRS-OCITY, T_ADRS-OPCODE, T_ADRS-OREGIO,
T_ADRS-OTELF1, KNA1-ADRNR)
FROM KNA1
WHERE KUNNR = LIKP-KUNAG.
SELECT SINGLE COUNTRY INTO ADRC-COUNTRY
FROM ADRC
WHERE ADDRNUMBER EQ KNA1-ADRNR.
SELECT SINGLE LANDX
INTO T_ADRS-OCOUNTRY
FROM T005T
WHERE SPRAS = 'EN'
AND LAND1 = ADRC-COUNTRY.
ENDIF.
*Other's Ref
TIDNO = 'Z071'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-OREF = mslines-tdline(25).
EXIT.
ENDLOOP.
*Buyer's Order No Ref
TIDNO = 'Z023'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-BUYER = mslines-tdline(25).
EXIT.
ENDLOOP.
*Exporter Ref
TIDNO = 'Z072'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-XPREF = mslines-tdline(25).
EXIT.
ENDLOOP.
*Pre-Carraige By
TIDNO = 'Z074'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-PCRG = mslines-tdline(25).
EXIT.
ENDLOOP.
*Place Of reciept by Pre-Carraige
TIDNO = 'Z073'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-PLPCRG = mslines-tdline(25).
EXIT.
ENDLOOP.
*Vessel/Flight No
TIDNO = 'Z075'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-VFNO = mslines-tdline(25).
EXIT.
ENDLOOP.
*Port Of Loading
TIDNO = 'Z077'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-PLOAD = mslines-tdline(25).
EXIT.
ENDLOOP.
*Port Of Discharge
TIDNO = 'Z076'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-PDISG = mslines-tdline(25).
EXIT.
ENDLOOP.
*Final Destination
TIDNO = 'Z070'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-FDEST = mslines-tdline(25).
EXIT.
ENDLOOP.
*Terms Of Delivery & Payment
TIDNO = 'Z080'.
TNAME = SSORD.
TOBJT = 'VBBK'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
T_ADRS-TERMS = mslines-tdline(50).
EXIT.
ENDLOOP.
APPEND T_ADRS.
*BODY SECTION FOR LINE ITEMS
SELECT POSNR KWMENG VRKME WAERK
INTO (VBAP-POSNR, VBAP-KWMENG, VBAP-VRKME, VBAP-WAERK)
FROM VBAP
WHERE VBELN = SSORD.
*Mark/Case No
TIDNO = '0002'.
CONCATENATE SSORD
VBAP-POSNR
INTO TNAME.
TOBJT = 'VBBP'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
WA_ITEM-MARKNO = mslines-tdline(40).
EXIT.
ENDLOOP.
*Packing Type
TIDNO = '0003'.
CONCATENATE SSORD
VBAP-POSNR
INTO TNAME.
TOBJT = 'VBBP'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
WA_ITEM-PACKTYP = mslines-tdline(40).
EXIT.
ENDLOOP.
*Goods Description
TIDNO = '0001'.
CONCATENATE SSORD
VBAP-POSNR
INTO TNAME.
TOBJT = 'VBBP'.
PERFORM FINDTEXT.
LOOP AT MSLINES.
WA_ITEM-PACKTYP = mslines-tdline(40).
EXIT.
ENDLOOP.
*Goods Quantity
WA_ITEM-QTY = VBAP-KWMENG.
WA_ITEM-VRKME = VBAP-VRKME.
*Goods Rate
SELECT SINGLE KNUMV INTO VBAK-KNUMV FROM VBAK WHERE VBELN = SSORD.
SELECT SINGLE KBETR WAERS
INTO (WA_ITEM-RATE, WA_ITEM-WAERS)
FROM KONV
WHERE KNUMV = VBAK-KNUMV
AND KPOSN = VBAP-POSNR
AND KSCHL = 'PR00'.
*Goods Amount
WA_ITEM-AMOUNT = WA_ITEM-QTY * WA_ITEM-RATE.
WA_ITEM-WAERK = VBAP-WAERK.
TOT = TOT + WA_ITEM-AMOUNT.
APPEND WA_ITEM TO T_ITEM.
ENDSELECT.
T_ADRS-TOT = TOT.
CALL FUNCTION 'SPELL_AMOUNT'
EXPORTING
AMOUNT = TOT
CURRENCY = VBAP-WAERK
FILLER = ' '
LANGUAGE = SY-LANGU
IMPORTING
IN_WORDS = WORD
EXCEPTIONS
NOT_FOUND = 1
TOO_LARGE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
TEXT = WORD-WORD.
CONCATENATE TEXT
'DECIMAL'
WORD-WORD
INTO TEXT
SEPARATED BY ' '.
T_ADRS-TOT_WORDS = WORD-WORD.
APPEND T_ADRS.
START-OF-SELECTION.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'Z_SD_REP_MULTI_PRINT'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
P_LANGUAGE = 'EN'.
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
I_LANGUAGE = P_LANGUAGE
I_APPLICATION = 'SAPDEFAULT'
IMPORTING
E_DEVTYPE = P_E_DEVTYPE.
P_OUTPUT_OPTIONS-XSFCMODE = 'X'.
P_OUTPUT_OPTIONS-XSF = SPACE.
P_OUTPUT_OPTIONS-XDFCMODE = 'X'.
P_OUTPUT_OPTIONS-XDF = SPACE.
P_OUTPUT_OPTIONS-TDPRINTER = P_E_DEVTYPE.
P_OUTPUT_OPTIONS-TDDEST = 'LOCL'.
APPEND P_OUTPUT_OPTIONS.
P_CONTROL_PARAMETERS-NO_DIALOG = 'X'.
P_CONTROL_PARAMETERS-GETOTF = 'X'.
P_CONTROL_PARAMETERS-NO_CLOSE = SPACE.
APPEND P_CONTROL_PARAMETERS.
CALL FUNCTION FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS = P_CONTROL_PARAMETERS
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS = P_OUTPUT_OPTIONS
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO = P_JOB_OUTPUT_INFO
JOB_OUTPUT_OPTIONS =
TABLES
T_ADRS = T_ADRS
T_ITEM = T_ITEM
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
P_OTF[] = P_JOB_OUTPUT_INFO-OTFDATA.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
USE_OTF_MC_CMD = 'X'
ARCHIVE_INDEX =
IMPORTING
BIN_FILESIZE = P_BIN_FILESIZE
TABLES
OTF = P_JOB_OUTPUT_INFO-OTFDATA
DOCTAB_ARCHIVE = P_DOC
LINES = P_LINES
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
BREAK-POINT.
CALL FUNCTION 'WS_DOWNLOAD'
EXPORTING
BIN_FILESIZE = P_BIN_FILESIZE
CODEPAGE = ' '
FILENAME = 'C:\TEMP.PDF'
FILETYPE = 'BIN'
MODE = ''
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
COL_SELECT = ' '
COL_SELECTMASK = ' '
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH = P_BIN_FILESIZE
TABLES
DATA_TAB = P_LINES
FIELDNAMES =
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_WRITE_ERROR = 2
INVALID_FILESIZE = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = P_BIN_FILESIZE
FILENAME = 'C:\Documents and Settings\pvipin\Desktop\sd.pdf'
FILETYPE = 'BIN'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
IMPORTING
FILELENGTH =
*TABLES
DATA_TAB = P_LINES.
FIELDNAMES =
**EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22 .
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*& Form FINDTEXT
text
FORM FINDTEXT.
REFRESH mslines.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = tidno
language = sy-langu
name = tname
object = tobjt
TABLES
lines = mslines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
DELETE mslines WHERE tdline IS INITIAL.
ENDFORM. "FINDTEXTThnx in Advnce
Moni
Message was edited by: md monirujjaman
Message was edited by: md monirujjaman
Message was edited by: md monirujjaman
Message was edited by: md monirujjaman
Message was edited by: md monirujjaman
Message was edited by: md monirujjaman
Message was edited by: md monirujjaman
Message was edited by: md monirujjaman
Message was edited by: md monirujjamanHello,
I think the following statement is causing problem.
P_OTF[] = P_JOB_OUTPUT_INFO-OTFDATA.
either give:
P_OTF[] = P_JOB_OUTPUT_INFO-OTFDATA[].
or
directly pass P_JOB_OUTPUT_INFO-OTFDATA into FM parameter.
This is because you are filling only header into P_OTF and NOT the Contents of internal table by the statement
P_OTF[] = P_JOB_OUTPUT_INFO-OTFDATA.
let me know whether it works.
Regards, Murugesh AS
have alook at this thread:
Re: SX_OBJECT_CONVERT_OTF_PDF
this may help you
Message was edited by: Murugesh Arcot
Message was edited by: Murugesh Arcot -
SAP language conversion problem
i have a requirement in which the language of the SAP is coming as non english language, although i am loged in as EN in the log on pad... Can anyoone help me on this. They problem I am facing is that the customized fields are coming as non english language rest all i am getting in english.. and there are hell lot of customization. thanks in advance
Hi,
For example u want to display that "Hai " in Chinese language...for that sentence u have to wrote german language Manually by following steps
1. Open the file FormView.wdcontroller_zh.xlf by double-clicking it. This file is displayed in the S2X Editor.
2. On the Header tab page, change the source language to German by selecting this language from the dropdown list.
3.Switch to the Resource Text tab page.In that window there is an option TEXT enter the Chinese word in that field then, press ENTER.
Sample Applications click below,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/internationalization%20of%20web%20dynpro%20applications.pdf
http://help.sap.com/saphelp_nw70/helpdata/en/21/9499f2f50ca44a85e9611f14fbdc21/frameset.htm
Message was edited by:
Suresh T -
Language Conversion problem.
I follow the tutorial for converting english(us) to germany (de) ...no problem
when i try to convert english (us) to chinese (zh)....it doesnt convert
any idea ...Hi,
For example u want to display that "Hai " in Chinese language...for that sentence u have to wrote german language Manually by following steps
1. Open the file FormView.wdcontroller_zh.xlf by double-clicking it. This file is displayed in the S2X Editor.
2. On the Header tab page, change the source language to German by selecting this language from the dropdown list.
3.Switch to the Resource Text tab page.In that window there is an option TEXT enter the Chinese word in that field then, press ENTER.
Sample Applications click below,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/internationalization%20of%20web%20dynpro%20applications.pdf
http://help.sap.com/saphelp_nw70/helpdata/en/21/9499f2f50ca44a85e9611f14fbdc21/frameset.htm
Message was edited by:
Suresh T -
Problem in Chinese Language conversion
HI ,
I have some probelm in chinese language conversion.
Scenario:
1.I am trying to send the saleorder details as a mail, from the output types of sale order.
2.The details of the related cutomer in sales order is maintained in chinese in (XD01)
3.When I login in chinese language the mail generated is having chinesse texts as expected..But when i login in english language, the mail generates some JUNK values in place of chinese texts in SOST.
Note: If i generate a mail by loging in English, i need the chinese text as such maintained in XD01.Please give a solution for this problem.Why is this a problem? It is just a way of letting Chinese users know about a new set of discussion forums in their language.
-
ORA-03120 :two-task conversion routine:integer overflow Vendor code 3120
Hi,
I got below mentioned error message, while i run the procedure in sql developer
ORA-03120 :two-task conversion routine:integer overflow Vendor code 3120What version of the database are you on? 9.2.0.8 for a guess?
>
ORA-03120 is associated with bug 5671074 on Oracle Enterprise Edition; Version 9.2.0.8, occurring on any platform:
After applying the 9.2.0.8 patchset, compilation of functions and/or materialized view refreshes that reference remote databases via database links start failing with:
ORA-04052: error occurred when looking up remote object OMS.PREMISE@JEAUSER_OMPR_L.WORLD
ORA-00604: error occurred at recursive SQL level 1
ORA-03120: two-task conversion routine: integer overflow
ORA-02063: preceding line from JEAUSER_OMPR_L
Bug 5671074 "ORA-4052/ORA-3106 on Create / Refresh of Materialized View", can cause this problem. Contrary to the bug abstract and description, this bug does not just apply to materialized view creation and refresh. It can occur for any PL/SQL that references a remote object via database link where the 'Endianness' of the two platforms differs. If one platform is 'Big-Endian', and another platform is 'Little-Endian', then this bug can be triggered between them. A list of the endianness of different platforms can be obtained from the following query (note that the v$transportable_platform view is only available in 10.1 and above):
To resolve ORA-03120, this solution is given:
To implement the solution, it will be necessary to apply the one-off patch for Bug 5671074 to the 9.2.0.8 database. One-off patches to 9.2.0.8 for most platforms are already available for download on MOSC. Bug 5671074 to the 9.2.0.8 database. One-off patches to 9.2.0.8 for most platforms are already available for download on MOSC.
>
If not, post more information: {message:id=9360002} -
Question on Language Conversion exit
Does anybody know whether Language Conversion exit gets executed when sourcing data from SAP systems (R/3, CRM)?
I am sourcing data from CRM, SPRAS(2 digit) is mapped to 0LANG(1 digit) in the transfer structure. Spanish(ES) and English(EN) for some reason is interpreted as English(E) instead of E and S.
In T002 table I see both the entries for english (E) and spanish (S) and if the conversion exit would have applied, these two digit language code from the datasource should be converted to the corresponding one digit code.
Can I assume that these conversion routines are executed only when sourcing data from non-sap systems.
Please let me know your ideas.
thanks
GeorgeConversion routine ISOLA converts the two-digit ISO language abbreviation INPUT into its SAP internal OUTPUT presentation. These are assigned using the LAISO and SPRAS fields in table T002. An INPUT that cannot be
converted (because it is not defined as T002-LAISO) produces an error message and triggers the UNKNOWN_LANGUAGE exception.
Because they are compatible, single-digit entries are supported in that they are transferred to OUTPUT unchanged. They are not checked against table T002.
The difference between upper and lower case letters is irrelevant with two-digit entries however with single-digit entries, upper and lower case letters stand for different languages.
Now I have no system availabilty...try to search in SE37 with ISOLA and then F4...
Did you debug your transfer rules ?
Bye,
Roberto -
Dreamweaver cc html entity conversion problem in mac -NO utf-8 related answer please
I probably am fighting against a bug existing in DW for a while, and i'm really on the edge of bursting out!
Here are the specifications:
Dreamweaver CC from creative cloud (also tested w/ CS5.5 too) installed on mac, OS and DW user interfaces are english, and on mac turkish keyboard layout is also installed.
I have been using DW for maybe 15 years, since it was macromedia.. But was always on windows. This is the first time I use it on mac. Here is my problem step by step:
1- Dreamweaver > Pereferences > New Document > Default Encoding: Western (ISO Latin 1) (NOT UTF-8 PLEASE, IT KEEPS THE CHARS UNCHANGED, ISO LATIN1 IS IMPORTANT)
2- Go to Design View,
3- There are 6 special characters in Turkish (times 2 for the caps versions of course), type:
ĞÜŞİÖÇğüşıöç
4- Go back to code view, what i should have seen was:
ĞÜŞİÖÇğüşıöç
But I see:
ĞÜŞİÖÇğüşıöç
There are 3 chars (and capital versions) NOT converted to html entity at all. Which were: ĞŞİğşı
But I should have seen them as: ĞŞİğşı
Any help would be appreciated, I do not want to leave my old friend DW just because of a weird conversion problem...Ok, when you look at the code view, what do you see exactly?
do you see unconverted
ĞÜŞİÖÇğüşıöç
or converted
ĞÜŞİÖÇğüşıöç
Here is one of my reasons:
I sometimes create newsletters in turkish for my customers, and the html files i prepare are sent to customers attached as inline through various versions of outlook or thunderbird, or through i completely different email sender company (none is sent by me, i only create the html file). And most of the time the headers and some coding are cut off from the code when used to send as newsletter, and i have no control at all on it. so i have to create absolute correct viewed/rendered html files since i have no control at all on which sending method will be used or which os or browser or mail system will be used to open it... -
Hi ABAPers
While sending smartform as a mail attachment(PDF Format) i am facing problem.
While opening the PDF attachment in SOST (T-code), It shows a error pop up.(I.e., Conversion Problem in PDF). Some pages are getting opened as a blank page and some are not getting opened.
What may be the prolem.
Please help Me out ............
But it works properly in IDES version.
In IDES i have ADOBE 5.0 Version, In Live server it is ADOBE 6.0 ,7.0.Hi,
Thanks for your feedback
There is no problem in the coding , is there any thing we have to do in configuration level regarding PDF ?????
*& Report ZVNPAML
REPORT zvnpaml.
TABLES: somlrec90.
DATA: it_zvnpa TYPE TABLE OF zvnpa,
it_zvnpa1 TYPE TABLE OF zvnpa,
wa_zvnpa TYPE zvnpa,
it_head TYPE TABLE OF zvnpa,
it_head1 TYPE TABLE OF zvnpa,
wa_head TYPE zvnpa,
wa_head1 TYPE zvnpa,
fmname TYPE rs38l_fnam,
tot TYPE zvnpa-wrshb,
otfout TYPE ssfcrescl,
outopt type SSFCRESOP,
pdftab TYPE TABLE OF tline WITH HEADER LINE,
datab TYPE TABLE OF itcoo WITH HEADER LINE,
conpar TYPE ssfctrlop,
mailrec TYPE swotobjid,
outopt TYPE ssfcompop,
jobopt TYPE ssfcresop,
jobout TYPE ssfcrescl,
w_return TYPE ssfcrescl,
it_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
binsz LIKE sood-objlen,
i_tline TYPE TABLE OF tline WITH HEADER LINE,
wa_buffer TYPE string,"To convert from 132 to 255
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE.
DATA: wa_doc_data TYPE sodocchgi1,
it_pack TYPE TABLE OF sopcklsti1,
wa_pack TYPE sopcklsti1,
it_mailhead TYPE TABLE OF solisti1, " OCCURS 1 WITH HEADER LINE,
wa_mailhead TYPE solisti1,
it_mailbody TYPE TABLE OF solisti1, " OCCURS 0 WITH HEADER LINE,
wa_mailbody TYPE solisti1,
it_receiverid TYPE TABLE OF somlrec90, " OCCURS 10 WITH HEADER LINE.
wa_receiverid TYPE somlrec90,
it_attach LIKE solisti1 OCCURS 0 WITH HEADER LINE,
wa_attach TYPE solisti1,
lncnt TYPE i.
DATA: lv_spool TYPE tsp01-rqident,
wa_line TYPE tsp01-rqident,
it_pdf_output TYPE TABLE OF tline.
SELECTION-SCREEN BEGIN OF BLOCK vendor WITH FRAME TITLE text-w03.
*PARAMETERS: pa_lifnr TYPE lfa1-lifnr,
pa_bukrs TYPE zvnpa-bukrs,
PARAMETERS: pa_augdt TYPE zvnpa-augdt.
SELECT-OPTIONS: pa_mail FOR somlrec90-receiver NO INTERVALS.
SELECTION-SCREEN END OF BLOCK vendor.
SELECT * FROM zvnpa INTO CORRESPONDING FIELDS OF TABLE it_zvnpa1
WHERE augdt = pa_augdt
AND bukrs = '2000'
AND flag <> 'X'.
konto = pa_lifnr AND
bukrs = pa_bukrs AND
IF it_zvnpa1 IS NOT INITIAL.
SORT it_zvnpa1 BY konto.
LOOP AT it_zvnpa1 INTO wa_zvnpa.
APPEND wa_zvnpa TO it_zvnpa.
CLEAR: wa_zvnpa.
AT END OF konto.
SORT it_zvnpa BY ttref augbl wrshb shkzg.
*it_head[] = it_zvnpa[].
LOOP AT it_zvnpa INTO wa_zvnpa WHERE shkzg = 'S'.
APPEND wa_zvnpa TO it_head1.
CLEAR: wa_zvnpa.
ENDLOOP.
*delete adjacent duplicates from it_head comparing ttref.
SORT it_head1 BY ttref augbl wrshb shkzg.
LOOP AT it_head1 INTO wa_head1.
tot = tot + wa_head1-wrshb.
wa_head = wa_head1.
AT END OF ttref.
wa_head-wrshb = tot.
APPEND wa_head TO it_head.
CLEAR: wa_head,tot.
ENDAT.
CLEAR: wa_head1.
ENDLOOP.
SORT it_head BY ttref augbl wrshb shkzg.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZVNPASF'
IMPORTING
fm_name = fmname.
conpar-no_dialog = 'X'.
conpar-getotf = 'X'.
outopt-tddest = 'LOCL'.
outopt-urlcall = fmname.
outopt-tdnoprev = 'X'.
outopt-tdnewid = 'X'.
CALL FUNCTION fmname
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = conpar
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = outopt
user_settings = ' '
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = w_return
JOB_OUTPUT_OPTIONS =
TABLES
it_zvnpa = it_zvnpa
it_head = it_head.
READ TABLE w_return-spoolids INTO wa_line INDEX 1.
IF sy-subrc = 0.
lv_spool = wa_line.
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = lv_spool
no_dialog = ' '
dst_device = 'LOCL'
TABLES
pdf = it_pdf_output
EXCEPTIONS
err_no_otf_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_dstdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11.
it_otf[] = w_return-otfdata[].
IF it_otf[] IS NOT INITIAL.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
max_linewidth = 132
IMPORTING
bin_filesize = binsz
TABLES
otf = it_otf
lines = i_tline.
LOOP AT i_tline.
TRANSLATE i_tline USING ' ~'.
CONCATENATE wa_buffer i_tline INTO wa_buffer.
ENDLOOP.
TRANSLATE wa_buffer USING '~ '.
DO.
i_record = wa_buffer.
APPEND i_record.
SHIFT wa_buffer LEFT BY 255 PLACES.
IF wa_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
ENDIF.
IF i_record[] IS NOT INITIAL.
it_attach[] = i_record[].
CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
EXPORTING
LINE_WIDTH_SRC = '132'
LINE_WIDTH_DST = '255'
TRANSFER_BIN = ' '
TABLES
content_in = i_tline[]
content_out = IT_ATTACH[]
EXCEPTIONS
ERR_LINE_WIDTH_SRC_TOO_LONG = 1
ERR_LINE_WIDTH_DST_TOO_LONG = 2
ERR_CONV_FAILED = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
it_attach[] = w_return-otfdata[].
IF it_pdf_output[] IS NOT INITIAL.
it_attach[] = it_pdf_output[].
wa_mailbody-line = 'Dear Sir / Madam,'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Please be informed that we have remitted the payment towards your outstanding bills as per the attachment:'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = ' '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = ' '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Best Regards,'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Mary. G '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Finance department'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Intimate Fashions (I) Pvt Ltd'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = ' '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'Please do not print this email unless it is absolutely necessary. Become environment friendly.'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'E-MAIL DISCLAIMER.'.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'If you are not the addressee of this mail, please delete this. Intimate Fashions does not accept any liability on the improper usage of this mail. It may also be legally '.
APPEND wa_mailbody TO it_mailbody.
wa_mailbody-line = 'privileged. Internet communications cannot be guaranteed to be timely, secure or virus free'.
APPEND wa_mailbody TO it_mailbody.
DESCRIBE TABLE it_mailbody LINES lncnt.
wa_doc_data-obj_descr = 'Remittance details - Brunet'.
wa_doc_data-expiry_dat = sy-datum + 10.
wa_doc_data-obj_name = 'TRIAL'.
wa_doc_data-sensitivty = 'F'.
wa_doc_data-doc_size = lncnt * 255.
CLEAR wa_pack.
CLEAR wa_pack-transf_bin.
wa_pack-doc_type = 'RAW'.
wa_pack-transf_bin = ' '.
wa_pack-head_start = 1.
wa_pack-head_num = 0.
wa_pack-body_start = 1.
wa_pack-body_num = lncnt.
wa_pack-doc_size = lncnt * 255.
APPEND wa_pack TO it_pack.
CLEAR: lncnt,wa_pack.
DESCRIBE TABLE it_attach LINES lncnt.
wa_pack-transf_bin = 'X'.
wa_pack-head_start = 1.
wa_pack-head_num = 1.
wa_pack-body_start = 1.
wa_pack-body_num = lncnt.
wa_pack-doc_type = 'PDF'.
wa_pack-obj_name = 'VNPA'.
CONCATENATE 'Vendor Payment Advice' '.PDF' INTO wa_pack-obj_descr.
wa_pack-obj_descr = 'Vendor Payment Advice'.
READ TABLE it_attach INDEX lncnt. "INTO WA_ATTACH
wa_pack-doc_size = ( lncnt - 1 ) * 255 + STRLEN( it_attach ).
wa_pack-doc_size = lncnt * 255.
APPEND wa_pack TO it_pack.
CLEAR: lncnt,wa_pack.
wa_mailhead = 'Vendor Payment Advice'.
APPEND wa_mailhead TO it_mailhead.
CLEAR: wa_mailhead.
LOOP AT pa_mail.
wa_receiverid-receiver = pa_mail-low.
wa_receiverid-rec_type = 'U'.
APPEND wa_receiverid TO it_receiverid.
CLEAR:wa_receiverid.
ENDLOOP.
wa_receiverid-receiver = 'xxxxx'. "(I have given mail id here )
wa_receiverid-rec_type = 'U'.
APPEND wa_receiverid TO it_receiverid.
wa_receiverid-receiver = 'xxxxx'. "(I have given mail id here )
wa_receiverid-rec_type = 'U'.
APPEND wa_receiverid TO it_receiverid.
wa_receiverid-receiver = 'xxxxx'. "(I have given mail id here )
wa_receiverid-rec_type = 'U'.
APPEND wa_receiverid TO it_receiverid.
CLEAR:wa_receiverid,lncnt.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = wa_doc_data
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = it_pack
object_header = it_mailhead
contents_bin = it_attach[]
contents_txt = it_mailbody
CONTENTS_HEX = it_attach
OBJECT_PARA =
OBJECT_PARB =
receivers = it_receiverid
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8.
IF sy-subrc = 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
LOOP AT it_zvnpa INTO wa_zvnpa.
wa_zvnpa-flag = 'X'.
MODIFY it_zvnpa FROM wa_zvnpa TRANSPORTING flag.
ENDLOOP.
MODIFY zvnpa FROM TABLE it_zvnpa.
ENDIF.
ENDIF.
CLEAR: wa_zvnpa,it_zvnpa,it_otf,it_otf[],w_return,lncnt,
wa_doc_data,
wa_head,it_head,it_head1,
i_record,i_record[],
i_tline,i_tline[],
it_pack,
wa_pack,
it_mailhead,
wa_mailhead,
it_mailbody,
wa_mailbody,
it_receiverid,
wa_receiverid,
it_attach.
ENDAT.
ENDLOOP.
ENDIF. -
Hi experts,
I have a requirement where i need to change the icon Text of a standard Application Tool bar of VL02N T-code to japanese language.
The thing is when i log in and see in japanes language its getting converted, but client want different icon text on that button.
i tried to change the icon text by logging into japanese language. Its getting changed. But Icon text in english is getting into some symbols.
Answers will be rewarded.HIi Priya,
Check the Delivery status is PGI completed
If the PGI done you can,t change the delivery,
If you are not able to chnage even before PGI then that may be related to some technical issue take help from BASIS people.
I hope it will help you
Regards,
Murali. -
I am making code to try to make a game and my problem is that my code
will not let it change the hit everytime so im getting the first guy to hit 1 then next hits 8 and so on and always repeats.
Another problem is that I would like it to attack with out me telling it how much times to attack. I am using Object oriented programming.
Here is the code for my objects:
import java.lang.*;
import java.io.*;
import java.net.*;
import java.util.*;
import java.util.Random;
import static java.lang.Math.*;
import java.awt.*;
import java.awt.color.*;
class rockCrab {
//Wounding formula
double sL = 70; // my Strength Level
double bP = 1; // bonus for prayer (is 1 times prayer bonus)
double aB = 0; // equipment stats
double eS = (sL * bP) + 3; // effective strength
double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640)); // my base damage
//Attack formula
double aL = 50; // my Attack Level
double eD = 1; // enemy's Defence
double eA = aL / eD; // effective Attack
double eB = 0; // equipment bonus'
double bA = ((eA/10) * (eB/10)); // base attack
//The hit formula
double fA = random() * bA;
double fH = random() * bD;
double done = rint(fH - fA);
//health formula
double health = floor(10 + sL/10 * aL/10);
rockCrab() {
void attack() {
health = floor(10 + sL/10 * aL/10);
double done = rint(fH - fA);
fA = random() * bA;
fH = random() * bD;
done = rint(fH - fA);
System.out.println("Rockcrab hit" +done);
import java.lang.*;
import java.io.*;
import java.net.*;
import java.util.*;
import java.util.Random;
import static java.lang.Math.*;
import java.awt.*;
import java.awt.color.*;
class self {
//Wounding formula
double sL = 1; // my Strength Level
double bP = 1; // bonus for prayer (is 1 times prayer bonus)
double aB = 0; // equipment stats
double eS = (sL * bP) + 3; // effective strength
double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640)); // my base damage
//Attack formula
double aL = 1; // my Attack Level
double eD = 1; // enemy's Defence
double eA = aL / eD; // effective Attack
double eB = 0; // equipment bonus'
double bA = ((eA/10) * (eB/10)); // base attack
//The hit formula
double fA = random() * bA;
double fH = random() * bD;
double done = rint(fH - fA);
//health formula
double health = floor(10 + sL/10 * aL/10);
self() {
void attack() {
health = floor(10 + sL/10 * aL/10);
fA = random() * bA;
fH = random() * bD;
done = rint(fH - fA);
System.out.println("You hit" +done);
}Here is the main code that writes what the objects do:
class fight {
public static void main(String[] args) {
self instance1 = new self();
rockCrab instance2 = new rockCrab();
instance2.health = instance2.health - instance1.done;
System.out.println("You hit: " +instance1.done);
System.out.println("rockCrabs health: " + instance2.health);
instance1.health = instance1.health - instance2.done;
System.out.println("RockCrab hit: " +instance2.done);
System.out.println("rockCrabs health: " + instance1.health);
instance2.health = instance2.health - instance1.done;
System.out.println("You hit: " +instance1.done);
System.out.println("rockCrabs health: " + instance2.health);
instance1.health = instance1.health - instance2.done;
System.out.println("RockCrab hit: " +instance2.done);
System.out.println("rockCrabs health: " + instance1.health);
instance2.health = instance2.health - instance1.done;
System.out.println("You hit: " +instance1.done);
System.out.println("rockCrabs health: " + instance2.health);
instance1.health = instance1.health - instance2.done;
System.out.println("RockCrab hit: " +instance2.done);
System.out.println("rockCrabs health: " + instance1.health);
instance2.health = instance2.health - instance1.done;
System.out.println("You hit: " +instance1.done);
System.out.println("rockCrabs health: " + instance2.health);
instance1.health = instance1.health - instance2.done;
System.out.println("RockCrab hit: " +instance2.done);
System.out.println("rockCrabs health: " + instance1.health);
}when the code is run it says something like this:
you hit 1
RockCrabs health is 9
RockCrab hit 7
your health is 38
you hit 1
RockCrabs health is 8
RockCrab hit 7
your health is 31
you hit 1
RockCrabs health is 7
RockCrab hit 7
your health is 24
you hit 1
RockCrabs health is 6
RockCrab hit 7
your health is 17
my point is whatever some one hits it always repeats that
my expected output would have to be something like
you hit 1
RockCrabs health is 9
RockCrab hit 9
your health is 37
you hit 3
RockCrabs health is 6
RockCrab hit 4
your health is 33
you hit 2
RockCrabs health is 4
RockCrab hit 7
your health is 26
you hit 3
RockCrabs health is 1
RockCrab hit 6
your health is 20
Edited by: rade134 on Jun 4, 2009 10:58 AM[_Crosspost_|http://forums.sun.com/thread.jspa?threadID=5390217] I'm locking.
-
Conversion problem in PURCHASE ORDER
Hi all,
wrong conversion was done in Quantities/Weights tab of item overview during creation of Purchase Order,instead of putting order unit " 1 tonne = 1000kg" it was wrongly fix as "5 tonne = 4536kg", the order has been receive and issue , but during stock taking this conversion problem is giving wrong Quantity for the material in MB5B . Pls what can i do to resolve this.Hi
If stock exists then kindly do the reverse process as below
1.Cancel material docuemt---MBST (Material document no and fiscial year)
2.Delete the P.O line items --Me22n
3.Enter the fresh line items in the same P.O
If partial stock Exists then do the Physical inventory process to adjust the Stock
Regards
Damu -
Problem in modifying the code using work area concept
Hi,
I am working on a code in which i am on the code in which i am using the modify statement but it is not giving the right output.
here's d code:-
LOOP AT T_ITPO5 INTO W_ITPO5.
LOOP AT T_ITPO4 INTO W_ITPO4 WHERE AUFNR = W_ITPO5-AUFNR.
LOOP AT T_ITPO4 INTO W_ITPO4 FROM WV_INDEX.
IF W_ITPO4-AUFNR EQ W_ITPO5-AUFNR.
IF ITPO4-NTGEW <> 0 .
CALL FUNCTION 'ZGET_ITEM_WEIGHT'
EXPORTING
P_BUID = W_ITPO4-WERKS
P_ITEMID = W_ITPO4-MATNR
P_QTY = 1
P_UOM = W_ITPO4-MEINS
P_UOM1 = 'KG'
IMPORTING
P_RETVAL = W_ITPO4-WTKG.
TOTWT1 = W_ITPO4-WTKG * W_ITPO4-MENGE.
IF W_ITPO4-BWART = '261'.
W_ITPO5-I_QTY = W_ITPO5-I_QTY + TOTWT1.
ELSEIF W_ITPO4-BWART = '101' OR W_ITPO4-BWART = '531'.
W_ITPO5-I_QTY = W_ITPO5-I_QTY - TOTWT1.
ENDIF.
ENDLOOP.
MODIFY T_ITPO5 INDEX SY-TABIX FROM W_ITPO5.
MODIFY T_ITPO5 FROM W_ITPO5 TRANSPORTING AUFNR.
ENDLOOP.
WRITE: / 'PRD.NO ITEM DESCRIPTION WIP(KGS)'.
ULINE.
LOOP AT T_ITPO5 INTO W_ITPO5.
READ TABLE T_ITPO1 INTO W_ITPO1 WITH KEY AUFNR = W_ITPO5-AUFNR.
SELECT SINGLE MAKTG FROM MAKT INTO W_ITPO5-ITEMDESC WHERE MATNR = W_ITPO1-MATNR.
if sy-subrc = 0 .
WRITE: / W_ITPO5-AUFNR,W_ITPO5-ITEMDESC,W_ITPO5-I_QTY.
TOT_QTY = TOT_QTY + W_ITPO5-I_QTY.
else.
write 'Unsuccessful'.
endif.
ENDLOOP.
ULINE.
FORMAT COLOR 3.
WRITE: / 'GTOTAL',55 TOT_QTY.
FORMAT COLOR OFF.
plzz provide me guidelines to solve this problem.here's d code;-
TYPES: BEGIN OF ITPO1,
AUFNR TYPE AFPO-AUFNR, "Order Number
PSMNG TYPE AFPO-PSMNG, "Order item quantity
WEMNG TYPE AFPO-WEMNG, "Quantity of goods received for the order item
DWERK TYPE AFPO-DWERK, "Plant
MATNR LIKE AFPO-MATNR, "Item Id
END OF ITPO1.
DECLARATION FOR AUFM TABLE
TYPES: BEGIN OF ITPO4,
AUFNR TYPE AUFM-AUFNR, "Order Number
BWART TYPE AUFM-BWART, "Movement Type (Inventory Management)
MENGE TYPE AUFM-MENGE, "Quantity
MEINS TYPE AUFM-MEINS, "Base Unit of Measure
BLDAT TYPE AUFM-BLDAT, "Document Date in Document
WERKS TYPE AUFM-WERKS, "Plant
MATNR TYPE AUFM-MATNR, "Material Number
NTGEW TYPE MARA-NTGEW, "Net Weight
WTKG TYPE MARA-NTGEW,
END OF ITPO4,
BEGIN OF ITPO5 ,
AUFNR TYPE AUFM-AUFNR,
MENGE TYPE AUFM-MENGE,
I_QTY TYPE AUFM-MENGE,
ITEMDESC LIKE MAKT-MAKTG,
END OF ITPO5.
WORK AREA AND INTERNAL TABLE DECLARATION
DATA : W_ITPO1 TYPE ITPO1,
W_ITPO4 TYPE ITPO4,
W_ITPO5 TYPE ITPO5,
T_ITPO1 TYPE ITPO1 OCCURS 0,
T_ITPO4 TYPE ITPO4 OCCURS 0,
T_ITPO5 TYPE ITPO5 OCCURS 0.
VARIABLES
DATA: TOTWT1 LIKE AUFM-MENGE,
TOT_QTY LIKE AUFM-MENGE.
PARAMETERS N SELECT-OPTIONS
PARAMETERS: PLANT LIKE AFPO-DWERK.
SELECT-OPTIONS: PO_DATE FOR AFKO-GSTRP.
LOOP AT T_ITPO5 INTO W_ITPO5.
LOOP AT T_ITPO4 INTO W_ITPO4 WHERE AUFNR = W_ITPO5-AUFNR.
CALL FUNCTION 'ZGET_ITEM_WEIGHT'
EXPORTING
P_BUID = W_ITPO4-WERKS
P_ITEMID = W_ITPO4-MATNR
P_QTY = 1
P_UOM = W_ITPO4-MEINS
P_UOM1 = 'KG'
IMPORTING
P_RETVAL = W_ITPO4-WTKG.
TOTWT1 = W_ITPO4-WTKG * W_ITPO4-MENGE.
IF W_ITPO4-BWART = '261'.
W_ITPO5-I_QTY = W_ITPO5-I_QTY + TOTWT1.
ELSEIF W_ITPO4-BWART = '101' OR W_ITPO4-BWART = '531'.
W_ITPO5-I_QTY = W_ITPO5-I_QTY - TOTWT1.
ENDIF.
ENDLOOP.
MODIFY T_ITPO5 INDEX SY-TABIX FROM W_ITPO5.
MODIFY T_ITPO5 FROM W_ITPO5 TRANSPORTING AUFNR.
ENDLOOP.
WRITE: / 'PRD.NO ITEM DESCRIPTION WIP(KGS)'.
ULINE.
LOOP AT T_ITPO5 INTO W_ITPO5.
READ TABLE T_ITPO1 INTO W_ITPO1 WITH KEY AUFNR = W_ITPO5-AUFNR.
SELECT SINGLE MAKTG FROM MAKT INTO W_ITPO5-ITEMDESC WHERE MATNR = W_ITPO1-MATNR.
if sy-subrc = 0 .
WRITE: / W_ITPO5-AUFNR,W_ITPO5-ITEMDESC,W_ITPO5-I_QTY.
TOT_QTY = TOT_QTY + W_ITPO5-I_QTY.
else.
write 'Unsuccessful'.
endif.
ENDLOOP.
ULINE.
FORMAT COLOR 3.
WRITE: / 'GTOTAL',55 TOT_QTY.
FORMAT COLOR OFF.
I want to have output that the production order is displayed along with the deficit quantity. but using this concept it shows only production order no. and qty 0. -
How to debug file content conversion problems?
Hi,
I'm trying to debug a file content conversion problem. I'm mapping a few nodes in an IDOC to a file of fixed length fields. I'm using the "<Node A>.fieldFixedLengths", "<Node B>.fieldFixedLengths", "<Node C>.fieldFixedLengths", etc. parameters to specify the fixed length records.
However, a certain node (for e.g. Node B) is causing a problem and if it is present in the IDOC, the output file does not get created. Upon checking the XI monitor, I notice that the file gets mapped correctly and thus the problem lies when the file adapter does the file content conversion. How do I debug this because there is no descriptive error in the XI log? If this node is not present, the file gets generated fine.
Thanks,
Basant GuptaHi,
If your SXMB_MONI shows, success status, then go to RWB->Message Monitoring->Message display tool and then check Audit log for the analysis,
So it wil help you debug the situation.
If there is no error, then check RWB->Component Monitoring->Adapter Monitoring for you file communciation channel..
/people/michal.krawczyk2/blog/2005/01/02/simple-adapter-and-message-monitoring
Regards,
Moorthy -
Language conversion of text on buttons in application toll bar of report -
Hello,
Can you please let us know,
How to convert the language(EN -> FR) the text for buttons in application tool bar of a report . I have tried with SE63. If SE63, pl let me know the navigation path ?
Regards
BadariHi,
This would happen in much the same way as text-elements and would be a straightforward language conversion.
For your [reference|http://www.sapdev.co.uk/country/Lang_Conv_Issues.htm].
May it helps you.
Regards,
DS.
Maybe you are looking for
-
TABLES : vbfa, vbrk. DATA : BEGIN OF itab OCCURS 0 , posnv LIKE vbfa-posnv, vbtyp_n LIKE vbfa-vbtyp_n, vbelv LIKE vbfa-vbelv, vbeln LIKE vbrk-vbeln, END OF itab. DATA : BEGIN OF itab1 OCCURS 0, vbelv LIKE vbf
-
I am receiving this error with the following code, which counts the number of work days between two parameters and I don't see the problem. Please help. Public Function GetDateCount(ByVal StartDate AS DateTime, ByVal EndDate AS DateTime) AS Integer
-
[SOLVED] PyGTK: select a line in a textbuffer on mouse clic
Hello! I am working on a dictionary using CEDICT in pyhton+GTK and on the GUI I have a textbuffer which I use to display some candidates after a word is looked up and I would like to let the user to clic a candidate to display the corresponding trans
-
when is crati've going to start supporting m4a format. i just downloaded the latest media source and it did not even pick up the m4a file. i had convert them to mp3 using xilisoft.
-
File IO operations using servlets
Hi, I want to read and process some files (on the server) and write the results using Java servlets. Is there any tutorial/resource for the beginners for doing this. I would be grateful for any assistance. Thanx, -bool