UNICODE and sap generated programs
Hi folks,
we're just in a project unicode-conversion of R/3 Enterprise, now we figured out some problems:
a lot of programs which are generated from info-structures like S0* structures reside in the sap-namespace and these are local objects, not transportable.
As these reports don't have the unicode-flag, they make syntax-errors in unicode-systems. So how to deal with them, do we have to generate these sources from customizing - or is there one report from SAP how can do this job????
kind regars,
oliver
Hello Oliver,
Did you get a report to fix this problem?
regards
Sven
Similar Messages
-
Automatically "Code Check" and "Compile/Generate" program or function
Hello Experts;
We will do upgrade to ECC 6.0 at near time.
Our basis team will give us sendbox systems.
And then We will enter the all z or y programs and check "Unicode Checks active".
I want to do automatically "Code Check" and "Compile/Generate" with program.
But I don't know "which use function or program"
Please help me this point.
Thanks.
Best regards.HIi,
Try Tcode : SGEN
or
try this link
mass compile customer programs
Regards
Rajashiva.R -
Data analysis and SAP supplied programs etc
1.What transactions do you use for data analysis?
2.What are the techniques involved in using SAP supplied programs?
Do we prefer to write your own programs to load master data? Why?
3.What is a currency factoring technique?
4.What is output determination?
5.Setting up a BDC program where you find information from?Hi,
Please check transaction code <b>BDLR</b>.
Regards,
Ferry Lianto -
Query generated program not imported to Quality server
Hi All,
I am working on a query. It is an existing query which has been converted to an ABAP program in Z.
The requirement was to make some minor changes in the existing report, like change in the selection screen and include an extra column in the output.
report.
when I checked the transaction it had a Z program, when i went into it, it was a SAP generated program with the report name starting in Z.
It was not possible to make the changes in the existing program.
So i created a new Infoset YSTP_INFOSET with the requested changes and a new user group YSTP_USRGP assigned to the infoset in SQ02 and SQ03 respectively.
Query area is a global area.
I created a new query in SQ01 and when i executed gave me correct result.
i went to SE38 there it displayed the program name AQZZYSTP_USRGP==ZQUERY_WYT3===
this name i assigned to the transaction in SE93.
It was working fine till it was moved to the quality system. In the next system when i tried to test i got a short dumb telling that the report was not found.
The Infoset and the User group are present in the quality system. but the program is not moved.
Please tell me how to move this? its an urgent issue and it needs to be solved today.
Points will be awarded .
Please help.
Regards,
RekhaHi Cristophe,
Yes the user groups is copied and pasted in the transaction. Attaching the screen shots for your reference.
I have assigned all the users in user group. Attaching that screen shot as well.
@Raymond - could you please let me know how to transport. I have tried the truck icon in user group and infoset i have tried to transport but i dont get any transport request. Please let me know how to solve this.
Am i assigning the users correct? let me know please.
Regards,
Rekha -
Generated Program from transformation
Hi,
I have created a transformation and transported it into production. I had to changed one of the routine on a key figure. The last changed key figure is now executed last in the generated program.
Example:
Start routine: declared global variables X and Y.
Transformation: 3 key figures
A
B
C
Routine is used to calculate A. This value is passed to the global variable X. X is then used in B and passed to global variable Y. Y is then used to calculate C.
When i first created the transformation, the sequence was working well. But after the change in routine on A. The sequence is changed and the generated program has a sequence:
B
C
A
The key figures in the transformation remain in the same order as before.
Is this the way the generated program works. Is there any way to resequence the generated program based on the order of the key figures in the transformation.
Or deleting and recreating the transformation the only way.
Thank you,
Ravi.if you have just changed the routine then it should not change the execution sequence...
can you make these changes at start routine itself??
Edited by: Sharayu Kumatkar on Apr 23, 2009 11:16 AM -
Unicode :Generated programs
Hi,
Can somebody please let me know how to check if there are any <b>Generated programs</b> in SAP system( for example : Programs generated by customizing)
As per Unicode documentation, generated programs are not considered as customer programs and also are not looked at by UCCHECK transaction.
Generated programs must be <b>Regenerated</b> for Unicode system to set the Unicode flag and use New Unicode Syntax.
I want to know how to handle Generated programs in Unicode system?
Regards,
YogitaHi,
Can anyone please help to answer above question regarding regenerating ABAP programs in Unicode system?
Thanks for help in advance.
Regards,
Yogita -
Problem in transporting generated program of SAP Query
<h5> Hi all,
I created a SAP query in development server and generated the program for the same, I transported the infoset and the user group etc. to the next server but couldnot transfer the program, since the program is not a Z Program, so coudlnot save it and capture it in request so that the same can be transported.
What could be the possible solution for the same????
Regards, </h5>Yep, this gets a bit tricky. Remember that SAP Query is designed as an end-user tool. To this end, the creation of queries could be done in a productive environment. The maintenance of infosets could be restricted to Development systems only. I know that some sites do not allow this.
Through the use of authorisations, you could appoint an administrator to generate the queries in PRD for the users.
The name of the ABAP is a combination of the query name, infoset and the client number (I think - going from memory). You could possibly change the package name of the generated program and then attach it to a transport, but it becomes very messy and I wouldn't recommend it. -
What is the programming (ABAP) difference between Unicode and non Unicode?
What is the programming(ABAP) difference between Unicode and non Unicode?
Edited by: NIV on Apr 12, 2010 1:29 PMHi
The difference between programming in Unicode or not Unicode is that you should consider some adjustments to make on the Program "Z" to comply with the judgments Unicode Standard.
In the past, developments in SAP using multiple systems to encode the characters of different alphabets. For example: ASCII, EBCDI, or double-byte code pages.
These coding systems mostly use 1 byte per character, which can encode up to 256 characters. However, other alphabets such as Japanese or Chinese use a larger number of characters in their alphabets. That's why the system using double-byte code page, which uses 2 bytes per character.
In order to unify the different alphabets, it was decided to implement a single coding system that uses 2 bytes per character regardless of what language is concerned. That system is called Unicode.
Unicode is also the official way to implement ISO/IEC 10646 and is supported in many operating systems and all modern browsers.
The way of verifying whether a program was adjusted or not, is through the execution of the UCCHECK transaction. Additionally, you can check by controlling syntax (making sure that this asset verification check Unicode).
The main decisions to adjust / replace are (examples):
ASSIGN H-SY-INDEX TEXT TO ASSIGN <F1> by
H-SY-INDEX TEXT (*) TO <F1>.
DATA INIT (50) VALUE '/'. by
DATA INIT (1) VALUE '/'.
DESCRIBE FIELD text LENGTH lengh2 by
DESCRIBE FIELD text LENGTH lengh2 in character mode.
T_ZSMY_DEMREG_V1 = record_tab by
record_tab TO MOVE-Corresponding t_zsmy_demreg_v1.
escape_trick = hot3. by
escape_trick-x1 = hot3.
itab_txt TYPE wt by
ITAB_TXT TYPE TABLE OF TEXTPOOL
DATA: string3 (3) TYPE X VALUE B2023 '3 'by
DATA: string3 (6) B2023 TYPE c VALUE '3 '.
OPEN DATASET file_name IN TEXT MODE by
OPEN DATASET file_name FOR INPUT IN TEXT MODE ENCODING NON-UNICODE.
or
OPEN DATASET file_name FOR INPUT IN TEXT MODE ENCODING DEFAULT.
CODE FROM PAGE TRANSLATE a_codepage record by
record TRANSLATE USING a_codepage.
CALL FUNCTION 'DOWNLOAD' by
CALL METHOD cl_gui_frontend_services => gui_download
CALL FUNCTION 'WS_DOWNLOAD' by
CALL METHOD cl_gui_frontend_services => gui_download
CALL FUNCTION 'UPLOAD' by
CALL METHOD cl_gui_frontend_services => gui_upload
CALL FUNCTION 'WS_UPLOAD' by
CALL METHOD cl_gui_frontend_services => gui_upload
PERFORM USING HEAD APPEND_XFEBRE +2. by
PERFORM USING HEAD APPEND_XFEBRE +2 (98).
Best Regars
Fabio Rodriguez -
Calling SAP script program in BAPI and want to display in html format
Dear All,
I am writing bapi and calling sap script program in it.
I want output in html format pl suggest me
same coding is working for report giving error in sapscript only.
types: begin of tt_html,
html type w3html,
end of tt_html.
data: list_tab type standard table of abaplist.
SELTAB-SELNAME = 'S_INVNO'.
SELTAB-KIND = 'S'.
SELTAB-SIGN = 'I'.
SELTAB-OPTION = 'EQ'.
SELTAB-LOW = INVOICE_NUM1.
SELTAB-HIGH = INVOICE_NUM2.
APPEND SELTAB.
submit ZSDRDINVPNBRPT with selection-table seltab
exporting list to memory and return.
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = MTAB_REPORT_LIST
EXCEPTIONS
not_found = 1
OTHERS = 2.
CALL FUNCTION 'WRITE_LIST'
EXPORTING
WRITE_ONLY = 'X'
TABLES
listobject = MTAB_REPORT_LIST
EXCEPTIONS
EMPTY_LIST = 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.
CALL FUNCTION 'WWW_LIST_TO_HTML'
TABLES
HTML = MTAB_REPORT_HTML
EXCEPTIONS
OTHERS = 1.
LOOP AT MTAB_REPORT_HTML.
ENDLOOP.For displaying output in html format,
u can either use BSP ( Business Server Pages)
or Webdynpro.
Reward if helpful. -
Customer Statement using SAP Script and Standard print program RFKORD10
Using sap script and standard print program RFKORD10 I need to create a customer statement where the main window will be as follows
Invoice # InvoiceDate CustomerPO Debit Amt Credit Amt Total
6 7 8 9 10 11
6 7 8 9 10 11
Totals 12 13 14
Where company code BKORM-KUKRS
Invoice BSID-BELNR
Invoice date BSID-BLDAT
Customer PO VBKD-BSTKD
For each document number selected there will be one to many records in VBRP. For each invoice item in VBRP:
u2022 Select BSTKD from VBKD where
o VBELN = VBRP-VGBEL and
o POSNR = VBRP-VGPOS
u2022 If no hits then select BSTKD from VBKD where
o VBELN = VBRP-VGBEL
If there is more than one PO per invoice then list them in the Customer PO field without repeating the other fields.PO shouldnu2019t come more than once per invoice.
Debit Amt if BSEG-SHKZG = S then WRBTR ELSE 0
Credit Amt if BSEG-SHKZG = H then WRBTR ELSE 0
Total Debit Amt u2013 Credit Amt
Totals Subtotals
It will be of great help if some one can help me with the script and the alterations required in standard print program RFKORD10
Points will b rewarded for sure.
Thanks.Hi Suganya,
The custom form is getting displayed properly. But the requirement is to have it as an editable PDF. So the functional team is working on configuring the settings of PDF forms with customers email address.
But for right now, i customized the standard form F140_ACC_STAT_01 and standard print program RFKORD10_PDF and did the configuration. It is getting displayed (I tested only with the transaction FBL5N - customer open line items..)
Please let me know any further details on this.
Poornima -
How to send sap generated invoice numbers using rffoedi1 program
Hi all
we are generating PEXR2002 IDocs using RFFOEDI1 program . The program is populating the invoice number field in IDoc with the value from reference number field in MIRO screen. Is there any way that we can populate the SAP generated invoice number also in the IDoc.Hi Steve,
Have you tried the user-exits or BADi available.
Regards,
Atish -
Search print program and sap script
hii , how can i find trigring print program and sap script for a particular purchase order.
regards Aditya
Edited by: aditya shrivastaba on Apr 14, 2008 9:59 AMHey,
First go with Me22 or 23 with po that you had, and then check with output type for that in the transaction. After that go to TNAPR table and check the corresponding form and print program.
Or else, go with NAST table in that put PO num in 123456 and put in OBJKY field in nast table. It will give you the output type of it, so that u can find the print program and lay out in TNAPR
Many thanks,
Raghu. -
How and where does SAP standard programs update the master tables...
Hello there,
How and where does SAP standard programs update the master tables...
to be precise.. if a (any) transaction occurs the programs behind it holds the data in temporary structures.
where and when does it get updated in the master table.
can anyone tell me how it happens?
I Know that from the where used list one can find the corresponding table but most of the time it wont suffice
I am expecting a proper answer.
Santosh BHello Santosh,
you need to do some self-reading on the following topic
Updates in the SAP System (BC-CST-UP)
http://help.sap.com/saphelp_47x200/helpdata/en/e5/de86e135cd11d3acb00000e83539c3/frameset.htm
Regards,
Siddhesh -
Delete Generated programs in transformations in SAP BI
Hi Experts,
I am facing an issue while deleting an old include program which was no more used in the transformation.
While deleting the include program its still showing that its used in the generated program.
But the transformation was deleted long back.
Now could some one help me in deleting the generated program and the include.
Thanks in advance.Hi,
You need to deactivate the Function group and Function Module and delete the include program.
Regards,
Suman -
Error when generating program /SAPAPO/TSM141 and Errors in source system
Hello APO Experts!
I had to include a new key figure in the cube and the planning area with configuration semantic = 000.
The problem is, in my DEV system, the modification was perfect. Then when I did in the QA system, I´ve got the error "Error when generating program /SAPAPO/TSM141" and u201CErrors in source systemu201D when trying to load data in the Infopackage.
Do you have any idea of what this could be?
Best Regards
NikHello,
The problem may come from the inconsistency between the datasource settings and the content in table /SAPAPO/TSAREATE.
- SE16, go to table /SAPAPO/TSAREATE, input the planning area name, check the extraction structure, which is started from '/1APO/EXT_STRU'.
- SE16, go to table /SAPAPO/TSAREAEX, input the datasource name, and check the extraction structure.
Are the two extraction structures the same or different ?
If they're different, please read the below solutions, otherwise, you can ignore the following.
In general and most customer cases this inconsistency happens during transporting of datasource alone. In many cases the planning area is directly created at target system and datasoucre transported from a a different system which causes incorrect export structure entry in planning area table.
Please refer to following content from note 549184:
Q4: Why could I have extraction problem after transport of DataSource?
A4: DataSources for DP/SNP planning areas depend directly on the structure of the planning areas. That's why the planning area MUST ALWAYS be transported with or before the DataSource.
The simple solution will be to create a dummy data source for this planning area. This will regenerate the extract structure for all other data sources as well and update the corresponding tables. After that you can delete the dummy datasource.
After delete the dummy datasource, in case of inconsistency, please also run the report /SAPAPO/TS_PSTRU_GEN report for
- Basis - form routines
- Create planning objects
- Planning area extractor
with the flags "Reset generation time stamp" and "Generate" set.
And in order to transfer datasource correctly, please also refer to the consulting note 514524.
Best Regards,
Ada
Maybe you are looking for
-
Macbook Pro will not reliably connect to our wifi router - any suggestions?!
Hi My partner has recently bought a second-hand (but fully functional) Macbook Pro running OS X 10.5.8 to set up in our home office. Our wireless router is not in the same room (it's in the living room via the hallway) but no other computer or device
-
Hi there, I have a tilelist with images from flickr. if you click on one of them, they open up in a popup. I would like to determine the size of the big image and use a slider to scale it. It seems as if the size is set to zero every time I try to sc
-
E450 disk installation - format does not see disk
We have an E450 with three disk controllers. One with four drives and two RAID controllers with eight drives. Both RAID controllers are RAID5. The four drive controller has two 9GB drives. One RAID controller has eight 9GB drives. The other RAID cont
-
ORACLE8 SERVER RELEASE 8.0.4 ENTERPRISE EDITION NEW FEATURES
제품 : ORACLE SERVER 작성날짜 : 2004-08-16 Oracle8 Server Release 8.0.4 Enterprise Edition New Features ============================================================ 97.12월 Solaris용 Oracle8.0.4가 출시된 것을 필두로 Q3 중에 Major Platform용 Oracle8.0.4가 나올 것으로 예상됩니다. 8.
-
Add slide numbers to the Adobe skin progress bar
Hi all. How do I add slide numbers to my tutorials? Thanks a million. Tim.