Not able to translate OTR
hi all,
can someone plz tell how to translate OTR, i went to
se63->sotr, gave details and pressed EDIT .. it shows an error that "objetc doesnt exist"
i gave alias name (for object name ) and translation area
(there was only one option , so i selected that)
Hi Shalaxy,
I have had such problems before in SE63 (the same happens for translating SAPScripts) and the only solution I found so far was the following:
Just fill in something like <part of name> and use F4 help to select the text, then it should be no problem! This is because it seems like SE63 is not happy with only the name, but wants some additional data too.
Good luck!
Similar Messages
-
OTR issue: Not able to dispaly in German
Hi All,
I have created an OTR text in BSP application .
These are the steps that I have followed:
1) created OTR text and maintained the translation in Tcode SOTR_EDIT
2)used it in the program as follows :
<htmlb:checkbox id = "Display_Incidents"
text = "<%= otr(zdfps_google/checkbox_title1) %>"
checked = 'X' />
I am still not able to display the text in German.
As mentioned in many other threads and blogs I have not used the method cl_bsp_get_text_by_alias=>get_text
for getting the translated texts. is this necessary? if so, I have many texts to be translated, so will i have to use this method for each and every OTR text?
Your input will be greatly appreciated.
Thanks,
VasukiHi,
The code you have for OTR is correct.
Ex: <htmlb:textView text = "<%=otr(ZSK_OTR/TO)%>" />
is fine...
This should give you the translation in different languages, if you have already maintained them.
Just try to drag and drop the OTR again on your HTM page and also verify which language you logged in.
Regards,
Sreekanth -
Not able to use variable on 0LOC_CURRCY in Currency Translation in Query
Hi Gurus,
I am using currecny translation in query for a key figure for which currecy is 0LOC_CURRCY.
Exchange Rate which i am using is updated Yearly. So time reference is 0Calyear (star of calendar year).
Source Currency option is - Source Currency from Data Record
Target Currency - Target Currency Selection with Translation
For target currency, I am using a user input variable which is on characteristics 0CURRENCY.
I want to use a variable which should be on characteristics 0LOC_CURRCY (because it gives Key and Text both in the selection screen of the query). I have created a variable on 0LOC_CURRCY but I am not able to find it in the target currency while defining currency conversion for the key figure.
Please let me know if anybody has any solution.
Regards,
GauravHi Gaurav,
Instead of defining target currency as "Target Currency Selection with Translation", use the option of "Target currency from Variable" and mention the varibale created on 0loc_currcy there.
This way, you dont need to mention the target currency variable on the key figure. It would autmatically be populated.
Naveen.A -
Not able to see Webi labels in Translation Manager
Hi,
I am using Translation manager in BOXI 3.1. I am not able to see the report labels(not universe objects) in the translation manager when I open the report in the translation manager. I can only see the prompts in the translation manager. Is it possible to include labels also in the translation manager so that i can use different labels for different languages. eg:- report title, free cells etc....
If I cannot use report title in the translation manager I will not be able to use same report for different languages as the most visible part of the report will be report title.
Thanks
Shameerhi,
Translation manager detects only Objects/Classes/Prompts/Hierarchies.
But not Free-standing cells.
Following is the text copied from SAP Translation Manager User Guide.
Translation Manager handles:
u2022 XI 3.0 Universe Designer (unv files): all universe metadata.
u2022 XI 3.0 Web Intelligence (wid files): document prompts only.
Regards,
Vamsee -
I am not able to install translate in safari
safari does not accept installation of translate extention
Tank you for your help. I forgot to say that i am not able to installa a plugin of translate, probably my Safari is not set properly, i have tried to reinstall original but also insuccesfull.
-
Hi ,
We need to print some text data in printer. As we print a report, with numbers, and columns, we need font widht to be constant for all the charecters for producing properly aligned reports. [ like in courier or monospace fonts]. In the code below, I am not able to set the font for my printer. In the print() method, I tried to set font as monospace for the graphics object, but it did not have any effect. It looks like it always print with Ariel font. For displaying in layouts, it works find. But not with printer. Please help.
import java.awt.*;
import java.awt.font.*;
import java.awt.geom.*;
import java.awt.print.*;
import java.text.*;
* The PrintText application expands on the
* PrintExample application in that it images
* text on to the single page printed.
public class PrintText implements Printable {
* The text to be printed.
private static final String mText = "this is the string to be printed";
* Our text in a form for which we can obtain a
* AttributedCharacterIterator.
private static final AttributedString mStyledText = new AttributedString(mText);
* Print a single page containing some sample text.
static public void doPrint() {
/* Get the representation of the current printer and
* the current print job.
PrinterJob printerJob = PrinterJob.getPrinterJob();
/* Build a book containing pairs of page painters (Printables)
* and PageFormats. This example has a single page containing
* text.
Book book = new Book();
book.append(new PrintText(), new PageFormat());
/* Set the object to be printed (the Book) into the PrinterJob.
* Doing this before bringing up the print dialog allows the
* print dialog to correctly display the page range to be printed
* and to dissallow any print settings not appropriate for the
* pages to be printed.
printerJob.setPageable(book);
/* Show the print dialog to the user. This is an optional step
* and need not be done if the application wants to perform
* 'quiet' printing. If the user cancels the print dialog then false
* is returned. If true is returned we go ahead and print.
boolean doPrint = printerJob.printDialog();
if (doPrint) {
try {
printerJob.print();
System.out.println("successfully Printed");
} catch (PrinterException exception) {
System.err.println("Printing error: " + exception);
* Print a page of text.
public int print(Graphics g, PageFormat format, int pageIndex) {
/* We'll assume that Jav2D is available.
Graphics2D g2d = (Graphics2D) g;
/* Move the origin from the corner of the Paper to the corner
* of the imageable area.
g2d.translate(format.getImageableX(), format.getImageableY());
/* Set the text color.
g2d.setPaint(Color.black);
/* Use a LineBreakMeasurer instance to break our text into
* lines that fit the imageable area of the page.
Point2D.Float pen = new Point2D.Float();
AttributedCharacterIterator charIterator = mStyledText.getIterator();
int tabCount=100;
int[] tabLocations = new int[tabCount+1];
int i = 0;
for (char c = charIterator.first(); c != charIterator.DONE; c = charIterator.next()) {
if (c == '\n') {
tabLocations[i] = charIterator.getIndex();
System.out.println("found newline at tabLocations[" + i + "] = "+ tabLocations[i] );
i++;
tabCount=i;
tabLocations[tabCount] = charIterator.getEndIndex() - 1 ;
int currentTab = 0;
float verticalPos = 20;
charIterator = mStyledText.getIterator();
LineBreakMeasurer measurer = new LineBreakMeasurer(charIterator, g2d.getFontRenderContext());
TextLayout layout;
float wrappingWidth = (float) format.getImageableWidth();
while (measurer.getPosition() < charIterator.getEndIndex()) {
if (currentTab < tabCount )
layout = measurer.nextLayout(wrappingWidth,tabLocations[currentTab]+1,true);
if (measurer.getPosition() == tabLocations[currentTab]+1) {
currentTab++;
else
layout = measurer.nextLayout(wrappingWidth);
pen.y += layout.getAscent();
float dx = layout.isLeftToRight()? 0 : (wrappingWidth - layout.getAdvance());
layout.draw(g2d, pen.x + dx, pen.y);
pen.y += layout.getDescent() + layout.getLeading();
System.out.println("Print result : "+ Printable.PAGE_EXISTS);
return Printable.PAGE_EXISTS;
}I don't see how it would have worked on the screen. Is that what you meant by "For displaying in layouts, it works find."? You never called setFont(...) on the Graphics or Graphics2D object in your paint method. Use g2d.setFont(new Font("Monospaced", Font.PLAIN, size)) and you should be fine.
Jeff -
VPN clients not able to ping Remote PCs & Servers : ASA 5520
VPN is connected successfully. But not able to ping any remote ip or fqdn from client pc. But able to ping ASA 5520 firewalls inside interface. Also some clients able to access, some clients not able to access. I new to these firewalls. I tried most of ways from internet, please any one can help asap.
Remote ip section : 192.168.1.0/24
VPN IP Pool : 192.168.5.0/24
Running Config :
ip address 192.168.1.2 255.255.255.0
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
interface GigabitEthernet0/3
shutdown
no nameif
no security-level
no ip address
interface Management0/0
shutdown
no nameif
no security-level
no ip address
management-only
passwd z40TgSyhcLKQc3n1 encrypted
boot system disk0:/asa722-k8.bin
ftp mode passive
clock timezone GST 4
dns domain-lookup outside
dns domain-lookup inside
dns server-group DefaultDNS
name-server 213.42.20.20
domain-name default.domain.invalid
access-list outtoin extended permit tcp any host 83.111.113.114 eq 3389
access-list outtoin extended permit tcp any host 83.111.113.113 eq https
access-list outtoin extended permit tcp any host 83.111.113.114 eq smtp
access-list outtoin extended permit tcp any host 83.111.113.114 eq https
access-list outtoin extended permit tcp any host 83.111.113.114 eq www
access-list outtoin extended permit tcp any host 83.111.113.115 eq https
access-list outtoin extended permit tcp any host 94.56.148.98 eq 3389
access-list outtoin extended permit tcp any host 83.111.113.117 eq ssh
access-list fualavpn_splitTunnelAcl standard permit 192.168.1.0 255.255.255.0
access-list outside_nat0_outbound extended permit ip 192.168.5.0 255.255.255.0
92.168.1.0 255.255.255.0
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 1
2.168.5.0 255.255.255.0
access-list inet_in extended permit icmp any any time-exceeded
access-list inet_in extended permit icmp any any unreachable
access-list inet_in extended permit icmp any any echo-reply
access-list inet_in extended permit icmp any any echo
pager lines 24
logging enable
logging asdm informational
logging from-address [email protected]
logging recipient-address [email protected] level errors
logging recipient-address [email protected] level emergencies
logging recipient-address [email protected] level errors
mtu outside 1500
mtu inside 1500
ip local pool fualapool 192.168.5.10-192.168.5.50 mask 255.255.255.0
ip local pool VPNPool 192.168.5.51-192.168.5.150 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-522.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound outside
nat (inside) 1 192.168.1.0 255.255.255.0
static (inside,outside) 94.56.148.98 192.168.1.11 netmask 255.255.255.255
static (inside,outside) 83.111.113.114 192.168.1.111 netmask 255.255.255.255
access-group inet_in in interface outside
route outside 0.0.0.0 0.0.0.0 83.111.113.116 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
group-policy DfltGrpPolicy attributes
banner none
wins-server none
dns-server none
dhcp-network-scope none
vpn-access-hours none
vpn-simultaneous-logins 10
vpn-idle-timeout 30
vpn-session-timeout none
vpn-filter none
vpn-tunnel-protocol IPSec l2tp-ipsec webvpn
password-storage disable
ip-comp disable
re-xauth disable
group-lock none
pfs disable
ipsec-udp disable
ipsec-udp-port 10000
split-tunnel-policy tunnelall
split-tunnel-network-list none
default-domain none
split-dns none
intercept-dhcp 255.255.255.255 disable
secure-unit-authentication disable
user-authentication disable
user-authentication-idle-timeout 30
ip-phone-bypass disable
leap-bypass disable
nem disable
backup-servers keep-client-config
msie-proxy server none
msie-proxy method no-modify
msie-proxy except-list none
msie-proxy local-bypass disable
nac disable
nac-sq-period 300
nac-reval-period 36000
nac-default-acl none
address-pools none
client-firewall none
client-access-rule none
webvpn
functions url-entry
html-content-filter none
homepage none
keep-alive-ignore 4
http-comp gzip
filter none
url-list none
customization value DfltCustomization
port-forward none
port-forward-name value Application Access
sso-server none
deny-message value Login was successful, but because certain criteria have no
been met or due to some specific group policy, you do not have permission to u
e any of the VPN features. Contact your IT administrator for more information
svc none
svc keep-installer installed
svc keepalive none
svc rekey time none
svc rekey method none
svc dpd-interval client none
svc dpd-interval gateway none
svc compression deflate
group-policy fualavpn internal
group-policy fualavpn attributes
dns-server value 192.168.1.111 192.168.1.100
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value fualavpn_splitTunnelAcl
username test password I7ZgrgChfw4FV2AW encrypted privilege 0
username Mohamed password Vqmmt8cR/.Qu7LhU encrypted privilege 0
username Moghazi password GMr7xgdqmGEQ2SVR encrypted privilege 0
username Moghazi attributes
password-storage enable
username fualauaq password E6CgvoOpTKphiM2U encrypted privilege 0
username fualauaq attributes
password-storage enable
username fuala password IFtijSYb7LAOV/IW encrypted privilege 15
username Basher password Djf15nXIJXmayfjY encrypted privilege 0
username Basher attributes
password-storage enable
username fualafac password VGC/7cKXW1A6eyXS encrypted privilege 0
username fualafac attributes
password-storage enable
username fualaab password ONTH8opuP4RKgRXD encrypted privilege 0
username fualaab attributes
password-storage enable
username fualaadh2 password mNEgLxzPBeF4SyDb encrypted privilege 0
username fualaadh2 attributes
password-storage enable
username fualaain2 password LSKk6slwsVn4pxqr encrypted privilege 0
username fualaain2 attributes
password-storage enable
username fualafj2 password lE4Wu7.5s7VXwCqv encrypted privilege 0
username fualafj2 attributes
password-storage enable
username fualakf2 password 38oMUuwKyShs4Iid encrypted privilege 0
username fualakf2 attributes
password-storage enable
username fualaklb password .3AMGUZ1NWU1zzIp encrypted privilege 0
username fualaklb attributes
password-storage enable
username fualastr password RDXSdBgMaJxNLnaH encrypted privilege 0
username fualastr attributes
password-storage enable
username fualauaq2 password HnjodvZocYhDKrED encrypted privilege 0
username fualauaq2 attributes
password-storage enable
username fualastore password wWDVHfUu9pdM9jGj encrypted privilege 0
username fualastore attributes
password-storage enable
username fualadhd password GK8k1MkMlIDluqF4 encrypted privilege 0
username fualadhd attributes
password-storage enable
username fualaabi password eYL0j16kscNhhci4 encrypted privilege 0
username fualaabi attributes
password-storage enable
username fualaadh password GTs/9BVCAU0TRUQE encrypted privilege 0
username fualaadh attributes
password-storage enable
username fualajuh password b9QGJ1GHhR88reM1 encrypted privilege 0
username fualajuh attributes
password-storage enable
username fualadah password JwVlqQNIellNgxnZ encrypted privilege 0
username fualadah attributes
password-storage enable
username fualarak password UE41e9hpvcMeChqx encrypted privilege 0
username fualarak attributes
password-storage enable
username fualasnk password ZwZ7fVglexrCWFUH encrypted privilege 0
username fualasnk attributes
password-storage enable
username rais password HrvvrIw5tEuam/M8 encrypted privilege 0
username rais attributes
password-storage enable
username fualafuj password yY2jRMPqmNGS.3zb encrypted privilege 0
username fualafuj attributes
password-storage enable
username fualamaz password U1YUfQzFYrsatEzC encrypted privilege 0
username fualamaz attributes
password-storage enable
username fualashj password gN4AXk/oGBTEkelQ encrypted privilege 0
username fualashj attributes
password-storage enable
username fualabdz password tg.pB7RXJx2CWKWi encrypted privilege 0
username fualabdz attributes
password-storage enable
username fualamam password uwLjc0cV7LENI17Y encrypted privilege 0
username fualamam attributes
password-storage enable
username fualaajm password u3yLk0Pz0U1n.Q0c encrypted privilege 0
username fualaajm attributes
password-storage enable
username fualagrm password mUt3A60gLJ8N5HVr encrypted privilege 0
username fualagrm attributes
password-storage enable
username fualakfn password ceTa6jmvnzOFNSgF encrypted privilege 0
username fualakfn attributes
password-storage enable
username Fualaain password Yyhr.dlc6/J7WvF0 encrypted privilege 0
username Fualaain attributes
password-storage enable
username fualaban password RCJKLGTrh7VM2EBW encrypted privilege 0
username John password D9xGV1o/ONPM9YNW encrypted privilege 15
username John attributes
password-storage disable
username wrkshopuaq password cFKpS5e6Whp0A7TZ encrypted privilege 0
username wrkshopuaq attributes
password-storage enable
username Talha password 3VoAABwXxVonLmWi encrypted privilege 0
username Houssam password Cj/uHUqsj36xUv/R encrypted privilege 0
username Faraj password w2qYfE3DkYvS/oPq encrypted privilege 0
username Faraj attributes
password-storage enable
username gowth password HQhALLeiQXuIzptCnTv1rA== nt-encrypted privilege 15
username Hameed password 0Kr0N1VRmLuWdoDE encrypted privilege 0
username Hameed attributes
password-storage enable
username Hassan password Uy4ASuiNyEd70LCw encrypted privilege 0
username cisco password IPVBkPI1GLlHurPD encrypted privilege 15
username Karim password 5iOtm58EKMyvruZA encrypted privilege 0
username Shakir password BESX2bAvlbqbDha/ encrypted privilege 0
username Riad password iB.miiOF7qMESlCL encrypted privilege 0
username Azeem password 0zAqiCG8dmLyRQ8f encrypted privilege 15
username Azeem attributes
password-storage disable
username Osama password xu66er.7duIVaP79 encrypted privilege 0
username Osama attributes
password-storage enable
username Mahmoud password bonjr0B19aOQSpud encrypted privilege 0
username alpha password x8WO0aiHL3pVFy2E encrypted privilege 15
username Wissam password SctmeK/qKVNLh/Vv encrypted privilege 0
username Wissam attributes
password-storage enable
username Nabil password m4fMvkTgVwK/O3Ms encrypted privilege 0
aaa authentication telnet console LOCAL
aaa authentication ssh console LOCAL
aaa authentication enable console LOCAL
http server enable
http 0.0.0.0 0.0.0.0 outside
http 192.168.1.4 255.255.255.255 inside
http 192.168.1.100 255.255.255.255 inside
http 192.168.1.111 255.255.255.255 inside
http 192.168.1.200 255.255.255.255 inside
http 83.111.113.117 255.255.255.255 outside
http 192.168.1.17 255.255.255.255 inside
http 192.168.1.16 255.255.255.255 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto dynamic-map outside_dyn_map 20 set pfs
crypto dynamic-map outside_dyn_map 20 set transform-set ESP-3DES-SHA
crypto map outside_map 65535 ipsec-isakmp dynamic outside_dyn_map
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
tunnel-group fualavpn type ipsec-ra
tunnel-group fualavpn type ipsec-ra
tunnel-group fualavpn general-attributes
address-pool fualapool
address-pool VPNPool
default-group-policy fualavpn
tunnel-group fualavpn ipsec-attributes
pre-shared-key *
tunnel-group fualavpn ppp-attributes
authentication pap
authentication ms-chap-v2
authentication eap-proxy
telnet 0.0.0.0 0.0.0.0 outside
telnet 0.0.0.0 0.0.0.0 inside
telnet timeout 5
ssh 0.0.0.0 0.0.0.0 outside
ssh 192.168.1.0 255.255.255.0 inside
ssh timeout 5
console timeout 0
management-access inside
class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns migrated_dns_map_1
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns migrated_dns_map_1
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect icmp
inspect icmp error
service-policy global_policy global
prompt hostname context
Cryptochecksum:38e41e83465d37f69542355df734db35
: endHi,
What about translating the traffic on the local ASA (Active unit) for traffic received from the VPN tunnel to the internal interface IP address? You can try something like nat (outside,inside) source dynamic obj-VpnRemoteTraffic interface destination static StandbyIP StandbyIP
Regards, -
Not able to update the project using 'BAPI_PROJECT_MAINTAIN'.
I want to create a project , with reference to an already existing project.
I am using 'BAPI_PROJECT_GETINFO' to get the data of the existing project.
The bapi gives the following:
1) e_project_definition.
2) e_wbs_element_table.
3) e_wbs_hierarchie_table
I am passing the u2018e_project_definitionu2019 to 'BAPI_PROJECTDEF_CREATE' to create project.The project is created successfully.
But I am not able to update the project with u2018e_wbs_element_tableu2019
and u2018e_wbs_hierarchie_tableu2019. I am using 'BAPI_PROJECT_MAINTAIN' to update the project.
The program is not giving an error, but it is also not updating the E_WBS_ELEMENT_TABLE and E_WBS_HIERARCHIE_TABLE.
I am attaching the code below.
*& Report ZTEST_PC.
DATA: project_definition TYPE bapipr-project_definition,
with_activities TYPE bapipr-with_activities,
with_milestones TYPE bapipr-with_milestones,
with_subtree TYPE bapipr-with_subtree,
e_project_definition TYPE bapi_project_definition_ex,
return TYPE bapireturn1.
DATA: i_wbs_element_table TYPE TABLE OF bapi_wbs_elements,
e_wbs_element_table TYPE TABLE OF bapi_wbs_element_exp,
e_wbs_milestone_table TYPE TABLE OF bapi_wbs_milestone_exp,
e_wbs_hierarchie_table TYPE TABLE OF bapi_wbs_hierarchie,
e_activity_table TYPE TABLE OF bapi_network_activity_exp,
e_message_table TYPE TABLE OF bapi_meth_message.
DATA: wa_wbs_element_table TYPE bapi_wbs_element_exp,
wa_wbs_hierarchie_table TYPE bapi_wbs_hierarchie.
DATA: l_new_proj_no TYPE prpss-posid.
DATA: l_project_definition TYPE bapi_project_definition.
DATA: l_project_definition_upd TYPE bapi_project_definition_up.
DATA: l_project_definition_stru TYPE bapi_project_definition.
DATA :l_pspnr TYPE ps_intnr,
l_pspid TYPE ps_pspid,
l_pro_def(9) TYPE c.
DATA :l_proj TYPE proj.
DATA :l_len TYPE i VALUE '0'.
DATA: lt_dd03l TYPE TABLE OF dd03l,
ls_dd03l TYPE dd03l.
DATA: fieldname(50), fieldname1(50) TYPE c.
DATA: p_ddic_name(40), struc(40), fun_struc(50) TYPE c.
FIELD-SYMBOLS: <struc>, <c>, <sc>, <def_field> TYPE any.
DATA : i_method_project TYPE TABLE OF bapi_method_project,
wa_method_project TYPE bapi_method_project.
DATA : l_index TYPE bapi_method_project-refnumber.
DATA : it_wbs_element_table TYPE TABLE OF bapi_wbs_element,
it_wbs_hierarchie_table TYPE TABLE OF bapi_wbs_hierarchie.
DATA : wl_wbs_element_table TYPE bapi_wbs_element,
wl_wbs_hierarchie_table TYPE bapi_wbs_hierarchie.
DATA : l_wbs_element_table_update TYPE bapi_wbs_element_update.
DATA : i_wbs_element_table_update TYPE TABLE OF bapi_wbs_element_update.
Get the project info of the Project 'C01.10995'
CALL FUNCTION 'CONVERSION_EXIT_ABPSN_INPUT'
EXPORTING
input = 'C01.10995'
IMPORTING
output = project_definition.
CALL FUNCTION 'BAPI_PROJECT_GETINFO'
EXPORTING
project_definition = project_definition
IMPORTING
e_project_definition = e_project_definition
return = return
TABLES
i_wbs_element_table = i_wbs_element_table
e_wbs_element_table = e_wbs_element_table
e_wbs_milestone_table = e_wbs_milestone_table
e_wbs_hierarchie_table = e_wbs_hierarchie_table
e_activity_table = e_activity_table
e_message_table = e_message_table.
Automate the process the process to get the next number for the func module 'CN_SUCHE_FREIE_NUMMER'.
CLEAR : l_pspnr, l_pspnr, l_pspid, l_pro_def.
SELECT MAX( pspnr ) FROM proj INTO l_pspnr.
SELECT SINGLE * FROM proj INTO l_proj WHERE pspnr EQ l_pspnr.
l_pspid = l_proj-pspid.
CALL FUNCTION 'CONVERSION_EXIT_ABPSN_OUTPUT'
EXPORTING
input = l_pspid
IMPORTING
output = l_pspid.
l_pro_def = l_pspid+4(5) + 1.
CONDENSE l_pro_def.
CONCATENATE 'C01.' l_pro_def INTO l_pspid .
function module to generate the nect free number between the given range.
CALL FUNCTION 'CN_SUCHE_FREIE_NUMMER'
EXPORTING
search_imp = '2'
prps_s_imp = l_pspid
prps_e_imp = 'C01.29999'
no_dialog = 'X'
IMPORTING
prps_exp = l_new_proj_no.
IF sy-subrc <> 0.
EXIT.
ENDIF.
Update the fields of 'l_project_definition_upd' as 'X' for the fields which has values in 'E_PROJECT_DEFINITION'.
Get the New Project Number.
MOVE-CORRESPONDING e_project_definition TO l_project_definition.
l_project_definition-project_definition = l_project_definition-project_definition+0(3).
l_new_proj_no = l_new_proj_no+4(5).
CONCATENATE l_project_definition-project_definition '.' l_new_proj_no INTO l_project_definition-project_definition.
TRANSLATE l_project_definition-project_definition TO UPPER CASE.
MOVE-CORRESPONDING l_project_definition TO l_project_definition_stru.
Create the New project with the New project Number.
CALL FUNCTION 'BAPI_PROJECTDEF_CREATE'
EXPORTING
project_definition_stru = l_project_definition_stru.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ' '.
Populate internal table i_method_project for the bapi_project_maintain func module.
CLEAR : wa_wbs_element_table,wl_wbs_element_table,wa_wbs_hierarchie_table,
wl_wbs_hierarchie_table, it_wbs_element_table, it_wbs_hierarchie_table.
CLEAR : wa_method_project, i_method_project, l_index .
l_index = 0.
LOOP AT e_wbs_element_table INTO wa_wbs_element_table.
MOVE-CORRESPONDING wa_wbs_element_table TO wl_wbs_element_table .
APPEND wl_wbs_element_table TO it_wbs_element_table .
wa_method_project-objecttype = 'WBS_ELEMENT'.
wa_method_project-method = 'CREATE'.
wa_method_project-objectkey = wa_wbs_element_table-wbs_element.
l_len = strlen( wa_wbs_element_table-wbs_element ).
Setting Levels as reference number.
CASE l_len.
WHEN '9'.
l_index = 1.
WHEN '12'.
l_index = 2.
WHEN '15'.
l_index = 3.
WHEN '18'.
l_index = 4.
ENDCASE.
wa_method_project-refnumber = l_index .
TRANSLATE wa_method_project-objectkey TO UPPER CASE.
APPEND wa_method_project TO i_method_project.
CLEAR :wa_method_project, l_index.
ENDLOOP.
l_index = l_index + 1.
wa_method_project-refnumber = ' '. "l_index .
wa_method_project-objecttype = ' '. "'WBS_ELEMENT'.
wa_method_project-method = 'SAVE'.
wa_method_project-objectkey = ' '.
APPEND wa_method_project TO i_method_project.
CLEAR wa_method_project.
LOOP AT e_wbs_hierarchie_table INTO wa_wbs_hierarchie_table.
MOVE-CORRESPONDING wa_wbs_hierarchie_table TO wl_wbs_hierarchie_table.
APPEND wl_wbs_hierarchie_table TO it_wbs_hierarchie_table.
ENDLOOP.
Update the fields of 'l_project_definition_upd' as 'X' for the fields which has values in 'E_PROJECT_DEFINITION' respectively.
CLEAR : l_project_definition_upd.
p_ddic_name = 'BAPI_PROJECT_DEFINITION_UP'.
struc = 'l_project_definition_upd'.
fun_struc = 'E_PROJECT_DEFINITION'.
TRANSLATE: p_ddic_name TO UPPER CASE,
struc TO UPPER CASE.
SELECT * FROM dd03l INTO TABLE lt_dd03l WHERE tabname = p_ddic_name.
LOOP AT lt_dd03l INTO ls_dd03l.
ASSIGN ls_dd03l-fieldname TO <c>.
fieldname = ls_dd03l-fieldname .
CONCATENATE fun_struc '-' fieldname INTO fieldname.
ASSIGN (struc) TO <struc>.
ASSIGN COMPONENT <c> OF STRUCTURE <struc> TO <sc>.
ASSIGN (fieldname) TO <def_field>.
IF NOT <def_field> IS INITIAL .
<sc> = 'X'.
ENDIF.
ENDLOOP.
Update the fields of 'l_wbs_element_table_update' as 'X' for the fields which has values in 'e_wbs_element_table' respectively.
READ TABLE e_wbs_element_table INTO wa_wbs_element_table INDEX '1'.
CLEAR : l_wbs_element_table_update, fieldname1, p_ddic_name, struc, fun_struc .
p_ddic_name = 'BAPI_WBS_ELEMENT_UPDATE'.
struc = 'l_wbs_element_table_update'.
fun_struc = 'WA_WBS_ELEMENT_TABLE'.
TRANSLATE: p_ddic_name TO UPPER CASE,
struc TO UPPER CASE.
SELECT * FROM dd03l INTO TABLE lt_dd03l WHERE tabname = p_ddic_name.
LOOP AT lt_dd03l INTO ls_dd03l.
ASSIGN ls_dd03l-fieldname TO <c>.
fieldname = ls_dd03l-fieldname .
CONCATENATE fun_struc '-' fieldname INTO fieldname.
ASSIGN (struc) TO <struc>.
ASSIGN COMPONENT <c> OF STRUCTURE <struc> TO <sc>.
ASSIGN (fieldname) TO <def_field>.
IF NOT <def_field> IS INITIAL .
<sc> = 'X'.
ENDIF.
ENDLOOP.
Append the value of l_wbs_element_table_update TO the table i_wbs_element_table_update for Bapi_project_maintain.
CLEAR i_wbs_element_table_update.
APPEND l_wbs_element_table_update TO i_wbs_element_table_update.
CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
EXPORTING
i_project_definition = l_project_definition
i_project_definition_upd = l_project_definition_upd
TABLES
i_method_project = i_method_project
i_wbs_element_table_update = i_wbs_element_table_update
i_wbs_element_table = it_wbs_element_table.
i_wbs_hierarchie_table = it_wbs_hierarchie_table.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = ' '.
Please help me to solve the issue.I am not sure why it is not working?? Try for any other alternate function modules.
But i see one issue with your coding, always check the return table message type and use commit work, instead of sy-subrc check. This fails for BAPI's -
Missing images and not able to use copy and paste anymore - just blank rect
Hello!
I've a problem that really scares me.
I use severall png and pdf images. But at one point keynote looses the media and just displays these grey rectangles instead of some images. I tried to figure out if it just happens with pdf images and replaced the missing pdf images through png24 images with transparency. It first worked fine (they showed up) and then it tells images can not be saved. If I open the presentation again, the images are missing. And it seems that the more images and slides i put in the presentation, the more images are missing…
But there is more: I even can't copy and paste these images anymore. If I try to copy one of the images I just have replaced (because they have been lost by saving), it just pastes the blank grey rectangle instead of the image.
This really is a problem because I now have to repetitive tasks (like same animation for the same image in the same size) over and over again. And when I save the doc – they are al gone again…
It really scares me and I don't have an idea how to solve this.
It also happens, if I repleace an pdf image with an png image and than try to copy this new png image. However I am able to drag the image from the Finder again.
I am working on a PB G4, 1.5 GHz, 1 GB RAM.
My Keynote Version is 3.0.2.
The Keynote Dokument is saved and opened from a G4 X-Serve wich is only used by Macs (so no Windows Filesystem anywhere). I still have anough space on both, my local and the server volume. I don't transfer the Keynote document. So it should not be a problem with the names on the files… And the files are just exported from Adobe Illustrator (png 24 files with "save for web" and the pdf files are saved as Illustrator pdf) – so they should really be fine and not corrupted…
At this time the Keynote document has a size of 179 MB (because of a video) and only 16 slides. And the theme was built from scratch – so no import from Powerpoint or so…
I looked through the Keynote preferences and found a thing like (sorry self-translated from german version to english) "scale placed images to slide-size". I wondered if keynote saves a copy of the sacaled image after that and corrupts the image itself? But I don't think so.
I've had these problems with earlier versions of Keynote, but it occured just sporadically and I could solve it through pasting it again. But this time I can not solfe it anymore.
Does anybody encounter same problem? Or has a hint?
I really would appreciate, because I have to finish the presentation very soon and are not able to work properly with that. Furthermore, I am scared of saving and opinging the presentation again, because the lost files can not be replaced…I now have a hint:
As a colleague said, he encountered some problems with usagerights on our fileserver (XServe). He said he wasn't able to read files he put on the server himself again…
If this is true, the same could have happened to Keynote for placed images, as Keynote writes these images as separate files in the doc package…
I will try to work on my local volume and see if it solfes the problem.
But sooner or later I will have to place the whole thing on the server again…
Do you think this is the reason? -
Dear All
I have one Forefront Client Security server which exist on Storage, before 3 days Storage was goen down and when it ups we are not able to open FCS/MOM console and getting errors given below
plesae help>>
Event Type: Warning
Event Source: SQLAgent$FCSDB
Event Category: (3)
Event ID: 208
Date: 2/6/2014
Time: 12:10:00 PM
User: N/A
Computer: COMV-FCS-GGN
Description:
The description for Event ID ( 208 ) in Source ( SQLAgent$FCSDB ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag
to retrieve this description; see Help and Support for details. The following information is part of the event: OnePoint - TodayStatisticsUpdateComputersAndAlerts, 0xB315BE3B7359194DA14F3B22838F57EA, Failed, 2014-02-06 12:10:00, The job failed. The Job
was invoked by Schedule 20 (TodayStatisticsUpdateComputersAndAlerts Schedule). The last step to run was step 2 (Update Alerts)..
Event Type: Error
Event Source: Microsoft Operations Manager
Event Category: (1)
Event ID: 21213
Date: 2/6/2014
Time: 12:34:07 PM
User: NT AUTHORITY\NETWORK SERVICE
Computer: COMV-FCS-GGN
Description:
The description for Event ID ( 21213 ) in Source ( Microsoft Operations Manager ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the
/AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: 1, IDispatch error #3222.
Event Type: Warning
Event Source: Microsoft Operations Manager
Event Category: None
Event ID: 20607
Date: 2/6/2014
Time: 12:32:24 PM
User: NT AUTHORITY\NETWORK SERVICE
Computer: COMV-FCS-GGN
Description:
The description for Event ID ( 20607 ) in Source ( Microsoft Operations Manager ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the
/AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: COMV-FCS-GGN, -2147217770, IDispatch error #3222, ConfigurationGetOnePointFreeSpace, d:\bt\4\private\product\core\engine\managers\perfcountermanager\src\momperfcountermanager.cpp,
984.
Event Type: Error
Event Source: FcsMs
Event Category: None
Event ID: 10002
Date: 2/6/2014
Time: 12:32:05 PM
User: N/A
Computer: COMV-FCS-GGN
Description:
The description for Event ID ( 10002 ) in Source ( FcsMs ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve
this description; see Help and Support for details. The following information is part of the event: The Management Server Service could not import the updated antimalware definition. The component reporting the error returned the following details:
Cannot open database "OnePoint" requested by the login. The login failed.
Details
Error number: 4060
Severity level: 11
State: 1
Server: COMV-FCS-GGN\FCSDB
Procedure:
Line: 1
Result code: 0x80004005
Connection string:
Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=OnePoint;Data Source=COMV-FCS-GGN\FCSDB;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=COMV-FCS-GGN;Use Encryption for Data=False;Tag with
column collation when possible=False.
Event Type: Error
Event Source: DataTransformationServices
Event Category: None
Event ID: 81
Date: 2/6/2014
Time: 12:16:19 PM
User: N/A
Computer: COMV-FCS-GGN
Description:
The description for Event ID ( 81 ) in Source ( DataTransformationServices ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE=
flag to retrieve this description; see Help and Support for details. The following information is part of the event:
Error Source: Microsoft Data Transformation Services (DTS) Package
Error Description:Package failed because Step 'DTSStep_DTSTransferObjectsTask_1' failed.
Error code: 80040428
\Error Help File:sqldts80.hlp
Error Help Context ID:0
Package Name: Microsoft Forefront Client Security
Package Description: Microsoft Forefront Client Security DTS
Package ID: {4589F8C7-17D3-4A87-BB5B-0DBF47B6D00A}
Package Version: {B02AC71F-35F8-45BA-ABA9-2EBFA5F33F62}
Package Execution Lineage: {00A27827-0F39-4D31-BDED-AA77A00ACF12}
Executed On: COMV-FCS-GGN
Executed By: SYSTEM
Execution Started: 2/6/2014 12:16:02 PM
Execution Completed: 2/6/2014 12:16:19 PM
Total Execution Time: 16.969 seconds
Package Steps execution information:
Step 'DTSStep_DTSTransferObjectsTask_1' failed
Step Error Source: Microsoft SQL-DMO (ODBC SQLState: 01000)
Step Error Description:[Microsoft][ODBC SQL Server Driver][SQL Server]Database 'OnePoint' cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server errorlog for more information.
Step Error code: 8004039E
Step Error Help File:SQLDMO80.hlp
Step Error Help Context ID:1131
Step Execution Started: 2/6/2014 12:16:18 PM
Step Execution Completed: 2/6/2014 12:16:19 PM
Total Step Execution Time: 0.547 seconds
Progress count in Step: 0
Step 'DTSStep_DTSTransferObjectsTask_3' was not executed
Step 'DTSStep_DTSExecuteSQLTask_1' was not executed
Step 'DTSStep_DTSDynamicPropertiesTask_1' succeeded
Step Execution Started: 2/6/2014 12:16:18 PM
Step Execution Completed: 2/6/2014 12:16:18 PM
Total Step Execution Time: 0.015 seconds
Progress count in Step: 0
Step 'DTSStep_DTSExecuteSQLTask_2' succeeded
Step Execution Started: 2/6/2014 12:16:18 PM
Step Execution Completed: 2/6/2014 12:16:18 PM
Total Step Execution Time: 0.063 seconds
Progress count in Step: 0
Step 'DTSStep_DTSExecuteSQLTask_3' was not executed.
===========================
Event Type: Error
Event Source: SQL Server Report Service
Event Category: None
Event ID: 0
Date: 2/5/2014
Time: 12:34:44 PM
User: N/A
Computer: COMV-FCS-GGN
Description:
Service cannot be started. Microsoft.ReportingServices.Diagnostics.Utilities.EventLogSourceNotFound: The event source "Schedule and Delivery Processor" does not exist.
at Microsoft.ReportingServices.Diagnostics.Utilities.RSEventLog.Init()
at Microsoft.ReportingServices.Diagnostics.Globals.Init(RSConfigurationManager configManager, RunningApplication app, Boolean resetAllPerfCounters)
at Microsoft.ReportingServices.Diagnostics.Globals.Init(RSConfigurationManager configManager, RunningApplication app)
at Microsoft.ReportingServices.Library.ServiceAppDomainController.Start(Boolean firstTime)
at Microsoft.ReportingServices.NTService.ReportService.OnStart(String[] args)
at System.ServiceProcess.ServiceBase.ServiceQueuedMainCallback(Object state)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.Hi,
Based on my research, this event ID 81 occurs if the account that the SQL Server agent runs as on the server with the Reporting database does not have permissions to
the collection database on the other server. This most frequently happens if the SQL Server agent is running as Local System.
If you are using an existing SQL Server computer for Client Security, you may not have the SQL Server Agent service using a domain user account.
For Client Security to work correctly, you must give permissions for the account under which the SQL Server Agent service runs on the reporting database to the collection database on the
management, collection, and reporting servers.
In addition, the event ID 10002 is usually due to the installation of Client Security not being fully configured.
Best regards,
Susie -
Hi All,
I have a one doubt i am not able to post the document. After the withholding tax setting i am not able to post the document. I am getting the error Account determination not defined for translation SKT in chart of account. Please help me.
Thanks in advance.
Thanks
Srikanth GajullaDear Srikanth,
Error occurred due to payment difference is loss and that should be adjusted with cash discount loss account and assigned the GL account which should be posted here.
use the T-Code - OBXI and the GL account. check the screen shot.
Regards,
PK. -
Not able to close the Org Period
Hi,
We recently upgrated from 11.5.10.2 to 12.1.3, and we are not able to close the org due to error in tables WSM_LOT_MOVE_TXN_INTERFACE and WSM_LOT_SPLIT_MERGES_INTERFACE. The records are getting reflected as 'Pending WSM interface' - Resolution Required.
These records are back dated, with year as 2007/2009 and for some Jul'11, for which period has been closed except Jul'11 which is - 'Closed not Summarized'.
Sample records are like
Pending Shop Floor Lot Split Merge Transactions WSM_LOT_SPLIT_MERGES_INTERFACE Resolution Required
Header Id Transaction Id Transaction Type,Transaction,Date,Transaction Reason,Reference,Lot,Process,Status,WIP,Flag,Split,Flag,Group Id Request Id Error Message,
1030,Lot Based Inventory,Translate,25-OCT-07 07-3547-B4 Error 2 1 1031 210415824 Invalid lot_number in Starting Lots,11547,Lot Based Inventory,Translate,25-OCT-07 07-3547-B4 Error 2 1 ,11548 211066708 Invalid lot_number in Starting Lots
Pending Shop Floor Lot Move Transactions WSM_LOT_MOVE_TXN_INTERFACE Resolution Required
587560686 2 12-MAR-09 09-4139-C1 Error 17200 50 END 999 END 20156699 290394731 Error:WSMPLBMI.MoveTransac
tion(stmt_num=240) :
Has any one faced same issues with OSFM/INV modules closing process ?
Regards
Adarsh KHi,
Please check the charecterstic of Book Area 01 in customization. If net book value has been maintained as negative, then you have to run depreciation to make it negative.
If depreciation for all asset has not been run a particular fiscal year then you cannot close the fiscal year.
Please check wheather depreciation for all additional assets has been run or not.
Hope you have understood.
Regards
Tapan -
Not able to upload file in DMS(Document Mang. system) using Web dynpro ABAP
Hi All,
I am facing a problem while uploading the file into the DMS ( Document Management System ) from Webdnrpo .
I am using the BAPI - BAPI_DOCUMENT_CREATE2 to create the document .
CASE - 1
when i am providing the storage category mention below and no data carrier1
ls_documentfiles-storagecategory = 'ZHMEL_CS'. it is not able to upload the document in the DMS system and when i check
in the debugg mode it giving error as ""Error while checking in and storing: C:\TEST.TXT "" .
CASE - 2
When i am not using the storage category and providing the the data carrier as default
ls_documentdata-DATACARRIER1 = 'DEFAULT'. It is able to create the document in the DMS but i am not able to read that document .
I checked with DMS Consultant that DMS is configured for ZOL ( documenttype) with a storage category as 'ZHMEL_CS'.
The code which i have used is below :
ls_documentdata-documenttype = 'ZOL'.
ls_documentdata-documentversion = '00'.
ls_documentdata-documentpart = '000'.
ls_documentdata-description = 'Test Document'.
ls_documentdata-laboratory = '001'.
ls_documentdata-WSAPPLICATION1 = 'TXT'.
ls_documentdata-DOCFILE1 = 'C:\TEST.TXT'.
ls_documentdata-SAVEDOCFILE1 = 'C:\TEST.TXT'.
*ls_documentdata-FILESIZE1 = 000000000000.
*ls_documentdata-FILESIZE2 = 000000000000.
ls_documentdata-WSAPPLICATION1 = 'TXT'.
ls_documentfiles-DOCUMENTTYPE = 'ZOL'.
ls_documentfiles-DOCUMENTPART = '000'.
ls_documentfiles-DOCUMENTVERSION = '00'.
ls_documentfiles-storagecategory = 'ZHMEL_CS'.
ls_documentfiles-WSAPPLICATION = 'TXT'.
ls_documentfiles-DOCPATH = 'C:\'.""lv_filename.
ls_documentfiles-DOCFILE = 'TEST.TXT'."lv_filename.
ls_documentfiles-description = 'Test Document'.
ls_documentfiles-language = 'EN'.
ls_documentfiles-CHECKEDIN = 'X'.
APPEND ls_documentfiles to lt_documentfiles .
*&----Fill Descriptions
w_descr-language = 'EN'.
w_descr-language_iso = 'EN'.
w_descr-description = 'Test'.
append w_descr to lt_descr.
clear w_descr.
**w_hostname = 'HMEL-DV1R3_DR3_00'.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
documentdata = ls_documentdata
*hostname = 'content-srv'
*pf_http_dest = 'SAPHTTPA'
*pf_ftp_dest = 'SAPFTPA'
IMPORTING
DOCUMENTNUMBER = lv_DOCUMENTNUMBER
return = gv_return
TABLES
documentdescriptions = lt_descr
documentfiles = lt_documentfiles.
Please let me know your valuable inputs on the same ..
Edited by: Omm Awasthi on Dec 30, 2010 12:22 AM
Edited by: Omm Awasthi on Dec 30, 2010 12:25 AMHi omm , from functional side your require a document type and content repository
I have used below code in a function module to create document , we have create object link as PO to the doc.
FUNCTION ZFM_SR_CREATE_FROM_EXTERNAL .
""Local Interface:
*" IMPORTING
*" VALUE(IV_DOCUMENTNUMBER) TYPE DOKNR OPTIONAL
*" VALUE(IV_DOCUMENTTYPE) TYPE DOKAR OPTIONAL
*" VALUE(IV_DOCUMENTVERSION) TYPE DOKVR OPTIONAL
*" VALUE(IV_DOCUMENTPART) TYPE DOKTL_D OPTIONAL
*" VALUE(IV_STORAGE_CAT) TYPE CV_STORAGE_CAT OPTIONAL
*" VALUE(IV_DOKST) TYPE DOKST OPTIONAL
*" VALUE(IT_DM_FILES) TYPE ZDM_TT_FILES OPTIONAL
*" VALUE(IV_EBELN) TYPE EBELN
*" EXPORTING
*" VALUE(EV_DOCUMENTNUMBER) TYPE DOKNR
*" VALUE(ES_RETURN) TYPE BAPIRET2
V00.00 DD.MM.YYYY *
*********************New Method of Uploading File*********************************
CONSTANTS path_name TYPE dms_path
VALUE '/tmp/'.
CONSTANTS log TYPE dms_path VALUE '/tmp/logFO.txt'.
DATA: ls_draw TYPE bapi_doc_draw2,
lt_documentfiles TYPE TABLE OF bapi_doc_files2,
ls_documentfiles TYPE bapi_doc_files2,
ls_dm_files TYPE zdm_files,
lv_filename TYPE string,
lv_ext TYPE string,
lv_file_type TYPE draw-dappl,
lv_file_name TYPE dms_path,
lv_msg(80) TYPE c,
lt_objectlinks TYPE TABLE OF bapi_doc_drad,
ls_objectlinks TYPE bapi_doc_drad,
lv_ebelp TYPE ebelp
Prepare Data
MOVE iv_documentnumber TO ls_draw-documentnumber.
MOVE iv_documenttype TO ls_draw-documenttype.
MOVE iv_documentversion TO ls_draw-documentversion.
MOVE iv_documentpart TO ls_draw-documentpart.
ls_draw-statusextern = iv_dokst.
ls_draw-statusintern = iv_dokst.
ls_draw-username = sy-uname.
LOOP AT it_dm_files INTO ls_dm_files.
SPLIT ls_dm_files-filepath AT '.' INTO lv_filename lv_ext.
CALL FUNCTION 'CV120_DOC_GET_APPL'
EXPORTING
pf_file = ls_dm_files-filepath
IMPORTING
pfx_dappl = lv_file_type.
TRANSLATE lv_file_type TO UPPER CASE.
OPEN DATASET log FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
TRANSFER lv_ext TO log.
ls_documentfiles-wsapplication = lv_file_type.
TRANSLATE ls_documentfiles-wsapplication TO UPPER CASE.
CONCATENATE path_name
lv_filename
lv_ext
INTO lv_file_name.
CONDENSE lv_file_name NO-GAPS.
TRANSFER lv_file_name TO log.
OPEN DATASET lv_file_name FOR OUTPUT IN BINARY MODE MESSAGE lv_msg.
*Transfer Attachment Content to Application Server
TRANSFER ls_dm_files-content TO lv_file_name.
CLOSE DATASET lv_file_name.
TRANSFER 'move data to lt_files' TO log.
ls_documentfiles-storagecategory = iv_storage_cat.
ls_documentfiles-docfile = lv_file_name.
ls_documentfiles-DOCUMENTVERSION = IV_DOCUMENTVERSION.
APPEND ls_documentfiles TO lt_documentfiles.
CLEAR lv_file_name.
CLOSE DATASET log.
ENDLOOP.
IF iv_ebeln IS NOT INITIAL.
ls_objectlinks-objecttype = 'EKPO'.
SELECT SINGLE ebelp INTO lv_ebelp FROM ekpo WHERE
ebeln = iv_ebeln
AND loekz eq space.
CONCATENATE iv_ebeln lv_ebelp INTO ls_objectlinks-objectkey.
APPEND ls_objectlinks TO lt_objectlinks.
ENDIF.
CALL FUNCTION 'BAPI_DOCUMENT_CREATE2'
EXPORTING
documentdata = ls_draw
pf_ftp_dest = 'SAPFTPA'
pf_http_dest = 'SAPHTTPA'
IMPORTING
documentnumber = ev_documentnumber
return = es_return
TABLES
objectlinks = lt_objectlinks
documentfiles = lt_documentfiles.
DATA: ls_doc_data type bapi_doc_draw2,
ls_doc_datax type bapi_doc_drawx2,
ls_return type bapiret2.
Set value for document data
ls_doc_data-statusextern = 'IW'.
ls_doc_data-statusintern = 'IW'.
Set value for document data check
ls_doc_datax-statusextern = 'X'.
ls_doc_datax-statusintern = 'X'.
CALL FUNCTION 'BAPI_DOCUMENT_CHANGE2'
EXPORTING
DOCUMENTTYPE = 'ROS'
DOCUMENTNUMBER = IV_DOCUMENTNUMBER
DOCUMENTPART = IV_DOCUMENTPART
DOCUMENTVERSION = IV_DOCUMENTVERSION
DOCUMENTDATA = ls_doc_data
DOCUMENTDATAX = ls_doc_datax
HOSTNAME =
DOCBOMCHANGENUMBER =
DOCBOMVALIDFROM =
DOCBOMREVISIONLEVEL =
SENDCOMPLETEBOM = ' '
pf_ftp_dest = 'SAPFTPA'
pf_http_dest = 'SAPHTTPA'
CAD_MODE = ' '
ACCEPT_EMPTY_BOM = ' '
IMPORTING
RETURN = ls_return
TABLES
CHARACTERISTICVALUES =
CLASSALLOCATIONS =
DOCUMENTDESCRIPTIONS =
OBJECTLINKS =
DOCUMENTSTRUCTURE =
DOCUMENTFILES = lt_documentfiles.
LONGTEXTS =
COMPONENTS =
move es_return to ES_RETURN.
IF es_return-type CA 'EA' ."NE 'E' AND es_return-type NE 'A'.
"do nothing
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
ENDIF.
LOOP AT lt_documentfiles INTO ls_documentfiles.
DELETE DATASET ls_documentfiles-docfile.
ENDLOOP.
ENDFUNCTION. -
Not able to edit the words "chapter" and "section" in the document workflow
Hi all,
I would like to point out something that could be a bug. The 2 words "chapter" and "section" are not editable in the document workflow: I can just change the title for each chapter and the title for each section, but I am not able to change the words "chapter" and "section".
The problem is, iBooks Author is using the words "chapter" and "section" (heading 1) to build the TOC: if I am using iBooks Author in English, but I am writing a text in French, I am not able to change "Chapter" into "Chapitre". The only way to go, what I found out, is to close the app, change the OSX Lion system language, log out, re-open iBooks Author and start a new book: opening an English book in the French version of iBooks Author will not change automatically the language in the workflow.
Does anybody has a trick to edit the words "chapter" and "section"?
Best regards,
MauroHi KT,
Thank you, but it's still in english.
I changed to "only number", then wrote the word "chapter" in french or italian or german before the number, then deleted the preview on the iPad and made a new preview, I still have the same result: the word "chapter" is still in the language of the app.
To be clear: I am writing a text using iBooks Author in italian. I have to translate the same text in french, the fastest way would be to rework the italian version (I already have all the multimedia stuff inside). I changed the italian word "Capitolo" (chapter) to the french one "Chapitre" (using the advices of AodhFFXI and K T). And for the first slide of the chapter that's fine.
But if I "close down" the first chapter slide or if I click on the top left botton to go to the chapter TOC, there I still have the word in italian, even if the word has been deleted in the layout: -
I am not able to edit the spry menu via dreamweaver
After having configured a spry-menu-horizontal-bar in my we page the
day before, I cam back to add more links, however, I found this error
message:
The following translator were not loaded due to errors:
PHP_MySQL.htm, has configuration information that is invalid.
Spry.htm: has configuration that is invalid.
SplyWidget.htm: has configuration information that is invalid.
XSLT.htm: has configuration information that is invalid
I am not able to edit the spry menu via dream weaver and doing the
modifications by hand is cumbersome and prone to errors.
Does anyone know how to solve this problem?
Have a good day!
http://www.tandooristyle.ca/ArbolOne1.htmlNot sure exactly why, but somethings don't look normal like why you have a PHP_MYSQL.htm file?
Anyways, bets to post this on the Dreamweaver forum instead of the Developer Toolbox forum. You will get a much quicker response as this has nothing to do with the Adobe Dreamweaver Developer's Toolkit.
Brad Lawryk
Adobe Community Expert, Dreamweaver
Adobe Usergroup Manager, Northern British Columbia Adobe User Group
Maybe you are looking for
-
HT3728 airport utility does not see my time capsule
I got a Time Capsule for Christmas, have hooked it up, turned it on, then the Airport Utility. The airport utility has not found it - I have reset it using the button on the back several times and still nothing. I have also restarted my computer, whi
-
Merge and Combine PDF files in a numerical order
Greetings! I'm using Adobe Acrobat to create a photo LookBook or an eBook. I'm importing and merging straight from .JPEG's and Acrobat work's great. The JPEG's are sorted by capture date, renamed and numbered as such: "10_File.Name.jpg". However, onc
-
Until I installed an Adobe update, my firefox worked fine, I have had to restore my computer and restart firefox due to advertising which was installed along with the update. Now each time I click on a webpage, a new tab opens and I can no longer vie
-
Name of .exe file generated from Air Help
Is there a way to customize the name of the .exe file generated by the Air Help output? I can specify the name of the .air file. But when the Air application is installed, the .exe filename is the same as the help title ("Help Title" field in the Ado
-
Getting Errors setting up BC Email
Hi, I'm receiving an error message when trying to set up an email address with Business Catalyst. The primary domain for this website is www.weddingphotography-temecula.com and I also have anthonydavid.photography setup to be the "Default Domain" fo