Common Include
HI Guys,
i have written a common include which should be used by any program. The include consists of generating the spool and writing to PDF.
But i have a problem with the piece of code below
IF WF_VALID <> SPACE.
NEW-PAGE PRINT ON PARAMETERS WF_PARAMS NO DIALOG.
LOOP AT IT_EMP INTO WA_EMP.
WRITE:/ WA_EMP-ORT01, WA_EMP-ORT02 " Output written to Spool
ENDLOOP.
NEW-PAGE PRINT OFF.
ENDIF .
The write statement cannot be common for all the programs. And i cannot write this in the main programs as it is in the middle of the include. Is there any solution for this.
Thanks in advance
madhu reddy
HI Seshu,
Thanks a lot for the quick response. So you mean to say that if 4 people use the include. Then they can write their own statements using this condition in the include so that the remaining part of the include will function the same way.The number of write statements will increase but the remainig code will be same. Am i interpreting correctly?
So it will be like
IF WF_VALID <> SPACE.
NEW-PAGE PRINT ON PARAMETERS WF_PARAMS NO DIALOG.
if sy-cprog = program name
write: xxxxxxxxxx
endif
if sy-cprog = program name
write: xxxxxxxxxx
endif
if sy-cprog = program name
write: xxxxxxxxxx
endif
NEW-PAGE PRINT OFF.
ENDIF .
Thanks
Similar Messages
-
Is there any include that is common to both the exit.
First exit is EXIT_SAPLEINM_002.
and the second exit is EXIT_SAPMM06E_006.No, there is nothing in common between these two...EXITS
Just curious to know why are we bothered abt the common ones at alll...
Let us know more to help u...
Regds
Karthik -
Including html code into my iWeb site
Hi,
I would like to include googles Analytics tracking code to my website. In order to do this, they say I have to
"Copy and paste the code segment into the bottom of your content, immediately before the </body> tag of each page you are planning to track. If you use a common include or template, you can enter it there. "
What does that mean? And can I do that in IWeb?
Thanks for a reply,
Anne WertheimI'm not totally sure what you are asking, but I do know this> Go to Insert: HTML Snippet... copy and paste the HTML code there...and it should work.. .just about ANY html did it on mine.
Even the counters...but now I'm hosting with mobilme... propietarty, but works.... try it.
Is that what you are asking? -
T code LTRS - Create include to multiple fields.
Dear Folks,
I have multiple fields for that i have to pass date and time which should be write in Include.
Please guide me how to do it in ABAP way. or any sample code.
- Regards,
AmolHi Amol,
zh_date = sy-datum wont work.
There is one way of achieving your requirement-
I will explain with an example here-
I have 2 tables for eg-
ZTEST1 ( with two fields mandt and matnr only in ECC)
ZTEST2 (with two fields mandt and matnr only in ECC)
step 1 Using LTRS - table settings I extend table ztest1 with two additional fields ZHDATE and ZHTIME.
step 2 Using LTRS - rule assignment and add logic in rule assignment as below rule -" event related"
and called an include specifically for ZTEST1 table
which has code-
if <WA_S_ZTEST1>-MATNR NE SPACE.(WA_S --indicates source fields)
<WA_R_ZTEST1>-ZHDATE = SY-DATUM.(WA_R --indicates result set fields)
<WA_R_ZTEST1>-ZHTIME = SY-UZEIT.
ELSE.
SKIP_RECORD.
ENDIF
I perform the same set of steps again for table ZTEST2 with a new include and same logic, just replaced ZTEST1 with ZTEST2.
You cannot have a common include for two tables if you are going for event related rule type.
Hope this helps you.
Regards,
Saritha K -
Include file is not found by MDS
In my home.jspx file, I have <jsp:directive.include file="/common/includes/layout.jspf"/> which essentially to include layout file and the path is relative to context root. I got the following error:
INFO: Using the ProviderURI /mdssys/ViewController/src/main/webapp/secure/ml3/homepage/home.jspx that is returned from custom provider for processing requests.
Jun 13, 2007 7:46:33 PM oracle.jsp.logger.JspMessages infoCannotDispatchJspPage
INFO: Unable to dispatch JSP Page : Exception:oracle.mds.exception.MDSRuntimeException: No metadata found for metadata object "/common/includes/layout.jspf"
No metadata found for metadata object "/common/includes/layout.jspf"
Interestingly enough that mds doesn't use the web application root context as the reference.
Anybody has found or knows how to solve this problem?
Thanks.I found the way to fix this. In my case, I included "J2ee_1.3.01.jar" in to the project libraries which caused the problem. So just get rid of that jar file from the project libraries.
-
Error in compiling Photoshop CC 2014 sample project
Hi,
I am trying to compile SDK sample project "outbound". but it is showing errors, as "Parse Issue: Unknown type name 'DialogPtr' " in DialogUtilities.h .
DialogUtilities.h file is in "Adobe Photoshop CC 2014:photoshopsdk:pluginsdk:samplecode:common:includes".
even if I add this path in project settings it still shows the errors.
how can I make this work?
I am using Photoshop CC 2014 and Xcode version is 4.6.3 (4H1503)
If you have any idea regarding project settings then please let me know.
Thanks and regards,
Priyanka.Are you using the CC 2014 release of the SDK?
The DialogUtilities.h for mac do not work. They are the old Carbon API's. See the Dissolve example for an Objective-C UI.
I would comment out the DialogUtilities.h include and other associated headers for Carbon UI. Some Carbon calls still work that are unrelated to UI. -
How can I convert from color balance in FCE to color balance in FCPX?
Let me start off by saying that I've been having an issue with a project in Final Cut Express - a project I'd put a lot of time into and thought I was finished with. Before continuing on, I encourage you to take a look at my other thread: https://discussions.apple.com/message/18702933?ac_cid=op123456#18702933
Realizing that there may be no one who can walk me through fixing my project as is, I decided to download a trial version of Final Cut Pro X and see if I could replicate my project there and have more success (after all, it was only a matter of time before I switched anyway).
So, in my original project in FCE, I keyed a lot of frames with different color balances. I downloaded the Ripple Training color balance effect to do just that, but the sliders are set up differently. In FCE, they range from -1 to 1. In FCPX, they range from 0 to 1. I'm wondering how I can conveniently convert the values from FCE to FCPX. Being terrible at math has made this much harder.
Just by drawing a diagram, like the following, I can figure out the basics:
FCE
[-1]-----[-.5]-----[0]-----[.5]-----[1]
is equal to:
FCPX
[0]-----[.25]-----[.5]-----[.75]-----[1]
Since I have very specific numbers, not all of which can be easily converted using a basic diagram like the one above, I definitely need some help here. For example, one of the values in FCE is .77. What would that be equal to in FCPX? It's probably something simple, but like I said, I'm stupid when it comes to math.
Thanks to anyone who can provide me with some help here, although I still hope that I'll end up having no reason to redo everything in FCPX.Well, the "math answer" is .885…but I'm afraid that's not likely to be of much help. FCPX and FCE have absolutely nothing in common, including filters land color correction. So even if you sent the time comverting all your numeric values, I'm guessing you'll wind up with a mess and be very frustrated with all the time wasted in the workaround.
If I read your original FCE thread correctly, I if it were my project., I'd do a test on a short clip in X to see whether yoi can the effects and quality you expect. If you can, great. Build you project from scratch and learn a new NLE at the same time.
Good luck.
Russ -
Error in compiling sample project of photoshop CC 2014
Hi,
I am trying to compile sample project "Outbound" of Photoshop CC 2014, but it is showing me error, "Parse Issue: Unknown type name 'DialogPtr' " in DialogUtilities.h file .
DialogUtilities.h is part of "samplecode:common:include" folder. I have also added this path in header search path, but it is still not working.
Application I am using is "Photoshop CC 2014"
and Xcode version is "Version 4.6.3 (4H1503)"
If anyone have idea about this then please let me know.
Thanks,
PriyankaAre you using the CC 2014 release of the SDK?
The DialogUtilities.h for mac do not work. They are the old Carbon API's. See the Dissolve example for an Objective-C UI.
I would comment out the DialogUtilities.h include and other associated headers for Carbon UI. Some Carbon calls still work that are unrelated to UI. -
Sy-tabix and sy-dbcnt and sy-dynrr? significance
hi all,
Can anyone let me know the significance of sy-tabix and sy-dbcnt and sy-dynrr?
found while debugging any abap programs.
can anyone explain me with an example.
thanxs and regds
harithasy-dynnr-current screen number
sy-tabix-current loop pass.....
sy-dbcnt---number of database records processed
Sy-dycnt - I never used
Sy-tabix ,suppose you have internal table,you want to modify some record based on condition
loop at itab.
itab-fld2 = 2000.
modify itab index sy-tabix. -> here itab modfies currnet internal table index.
endloop.
SY-DYNNR - We use this one in module pool program,some times there would be conditions.
let me take one simple example :
you have two screens for one program.
you want to validate ,you want to give message. i have common include
now first screen i need to give one message
i will write simple code
if sy-dynnr = 100.
message
endif.
same thing i use for other screen too
Thanks
Seshu -
Difference between connection pooling and simple connection
Anybody please tell me what is the Difference between connection pooling and simple connection and also where we define connection pooling and how.
Thanks
Please reply soon
amitindiaCreating and closing connection to the database is a relatively slow process. Equally connections use database resources so you can't just open as many as you want.
A connection pool maintains a number of open connections throughout the lifetime of the application. Instead of opening and closing the connections your application just "borrows" them from the pool when they're needed.
If the pool runs out of connections it will usually create new ones as needed until you reach some predefined upper limit.
A good connection pool will also manage connections which have failed for any reason, and report code which fails to return connections to the pool (ie connection leaks).
The number of connections created at startup is referred to as the "low water mark" and the maximum number that the pool will allow to be opened at any given time is the "high water mark". If no connections are available client code will generally block until one is released.
If by "defined" you mean where can you get a working implementation then your database or application server vendor is likely to provide one. Also the Apache Jakarta Commons includes [url http://jakarta.apache.org/commons/dbcp/]an implementation which you can use with any JDBC driver.
Dave. -
Not able to create sales order using BAPI - BAPI_SALESORDER_CREATEFROMDAT2
Hi Experts,
I am not able to create sales order . I am using BAPI - BAPI_SALESORDER_CREATEFROMDAT2
to create sales order .I am passing external sales order number to the parameter
SALESDOCUMENTIN.
I am getting following error.
"524 |Only quantity 1 EA is allowed (Item 00001"
Here EA is UOM(Unit of measurement).
Below is the sample program through which i am trying to create the sales order.
*& Report ZSDC_SALES_TEST
report zsdc_sales_test.
*DATA: wa_bapi_header TYPE bapisdhd1.
Include Name - ZSDC_SALES_ORD_UPLOAD_TOP
Program Name - ZSDC_SALES_ORD_UPLOAD_1393
Program Title - Include for Data Declaration and selection screen
Created by - Lalitha W
Created on - 18-Nov-2008
Object ID - SD_C_1393_SALES_ORDER_UPLOAD
Request Id - SD3K905579
Description - This is a common INCLUDE for data declarations and
*selection screen details.
HISTORY
Date |Developer |Req by | Description |Reference ID
| | | |
| | | |
TYPE-POOLS
*TYPE-POOLS: truxs, abap, slis.
TABLES
*TABLES: t100.
TYPES
types:begin of ty_header,
auart(4) type c, " Sales Order Type
vkorg(4) type c, " Sales Organization
vtweg(2) type c, " Distrubution Channel
spart(2) type c, " Division
kunnr_1(10) type c, " Sold to Party
kunnr_2(10) type c, " Ship to Party
augru(3) type c, " Order Reason
bstkd(35) type c, " PO Number
bstdk(10) type c, " PO Date
ketdat(10) type c, " Required Delivery Date
zterm(4) type c, " Payment Terms
inco1(3) type c, " Inco Terms -1
inco2(28) type c, " Inco Terms -2
prsdt(10) type c, " pricing date
waerk(5) type c, " Document Currency
vkbur(4) type c, " Sales Office
vkgrp(3) type c, " Sales group
pltyp(2) type c, " Price List type
kdgrp(2) type c, " Customer Group
bstkd_e(35) type c, " Ship-to-party PO number
submi(10) type c, " Collective Number
bname(35) type c, " Name
ihrez(12) type c, " Your Reference
kschl_1(4) type c, " Condition Type
kbetr_1(11) type c, " Amount
kschl_2(4) type c, " Condition Type
kbetr_2(11) type c, " Amount
kschl_3(4) type c, " Condition Type
kbetr_3(11) type c, " Amount
partner_1(25) TYPE c, " Partner(Bill To Party Number)
partner_2(25) TYPE c, " Partner(Payer Number)
partner_3(25) TYPE c, " Partner(Sales Responsible Number)
partner_4(25) TYPE c, " Partner(Order admin)
partner_5(25) TYPE c, " Partner(Contact person)
partner_1(10) type c, " Partner(Bill To Party Number)
partner_2(10) type c, " Partner(Payer Number)
partner_3(10) type c, " Partner(Sales Responsible Number)
partner_4(10) type c, " Partner(Order admin)
partner_5(10) type c, " Partner(Contact person)
tdspras_1(2) type c,
text_1(500) type c, " Text Before Items Z012
tdspras_2(2) type c,
text_2(500) type c, " Invocie Up Z034
tdspras_3(2) type c,
text_3(500) type c, " Invocie Down Z035
tdspras_4(2) type c,
text_4(500) type c, " Customer Reference Continue Z018
tdspras_5(2) type c,
text_5(500) type c, " Dispatch Marks/ Order Z019
tdspras_6(2) type c,
text_6(500) type c, " Ordered By Z003
tdspras_7(2) type c,
text_7(500) type c, " Sales Parameters Z002
kvgr1(3) type c, " Industry
kvgr2(3) type c, " customer BU
end of ty_header.
types: begin of ty_item,
bstkd(35) type c, " PO Number
bstdk(10) type c, " PO Date
bstkd_e(35) type c, " Ship-to-party PO number
posnr(6) type c, " POSTION NUMBER
matnr(18) type c, " Material Number
kwmeng(18) type c, " Order Quantity
pstyv(4) type c, " Sales doc. item categ
kursk(18) type c, " EXCHANGE RATE****
ffprf(8) type c, " DIP PROFILE
werks(4) type c, " Delivering Plant
vstel(4) type c, " SHIPPING POINT
lgort(4) type c, " STORAGE LOCATION
route(6) type c, " Route
kurrf(18) type c, " EXCHANGE RATE-FI
ntgew(18) type c, " Net Weight
brgew(18) type c, " Gross Weight
gewei(3) type c, " Weight Unit
prctr(10) type c, " profit center
abgrs(6) type c, " RESULT ANALYSIS KEY
kalsm_k(4) type c, " COSTING SHEET
kschl_1(4) type c, " Condition Type
kbetr_1(11) type c, " Amount
kschl_2(4) type c, " Condition Type
kbetr_2(11) type c, " Amount
kschl_3(4) type c, " Condition Type
kbetr_3(11) type c, " Amount
text_1(500) type c, " material Text 0001
tdspras_1(1) type c,
text_2(500) type c, " Pr Text 9001
tdspras_2(1) type c,
end of ty_item.
types: begin of ty_schedule_line,
bstkd(35) type c, "PO number
bstdk(10) type c, "PO date
bstkd_e(35) type c, "Ship-to-party PO number
posnr(6) type c, "sales doc.Item
etdat(10) type c, "Schedule line date
wmeng(2) type c, "Order Quantity
end of ty_schedule_line.
types: begin of ty_err ,
auart(4) type c, " Sales Order Type
vkorg(4) type c, " Sales Organization
vtweg(2) type c, " Distrubution Channel
spart(2) type c, " Division
kunnr_1(10) type c, " Sold to Party
kunnr_2(10) type c, " Ship to Party
augru(3) type c, " Order Reason
bstkd(35) type c, " PO Number
bstdk(10) type c, " PO Date
ketdat(10) type c, " Required Delivery Date
zterm(4) type c, " Payment Terms
inco1(3) type c, " Inco Terms -1
inco2(28) type c, " Inco Terms -2
prsdt(10) type c, " pricing date
waerk(5) type c, " Document Currency
vkbur(2) type c, " Sales Office
vkgrp(3) type c, " Sales group
pltyp(2) type c, " Price List type
kdgrp(2) type c, " Customer Group
bstkd_e(35) type c, " Ship-to-party PO number
submi(10) type c, " Collective Number
bname(35) type c, " Name
ihrez(12) type c, " Your Reference
kschl_1(4) type c, " Condition Type
kbetr_1(11) type c, " Amount
kschl_2(4) type c, " Condition Type
kbetr_2(11) type c, " Amount
kschl_3(4) type c, " Condition Type
kbetr_3(11) type c, " Amount
partner_1(25) type c, " Partner(Bill To Party Number)
partner_2(25) type c, " Partner(Payer Number)
partner_3(25) type c, " Partner(Sales Responsible Number)
partner_4(25) type c, " Partner(Order admin)
partner_5(25) type c, " Partner(Contact person)
tdspras_1(2) type c,
text_1(500) type c, " Text Before Items Z012
tdspras_2(2) type c,
text_2(500) type c, " Invocie Up Z034
tdspras_3(2) type c,
text_3(500) type c, " Invocie Down Z035
tdspras_4(2) type c,
text_4(500) type c, " Customer Reference Continue Z018
tdspras_5(2) type c,
text_5(500) type c, " Dispatch Marks/ Order Z019
tdspras_6(2) type c,
text_6(500) type c, " Ordered By Z003
tdspras_7(2) type c,
text_7(500) type c, " Sales Parameters Z002
kvgr1(3) type c, " Industry
kvgr2(3) type c, " customer BU
message(600) type c,
end of ty_err.
types: begin of ty_t685a,
kschl type kschl,
krech type krech,
end of ty_t685a.
INTERNAL TABLES
***header
data: g_krech_1(4) type c, " Calculation type for condition
g_krech_2(4) type c, " Calculation type for condition
g_krech_3(4) type c. " Calculation type for condition
g_krech_4(4) TYPE c, " Calculation type for condition
g_krech_5(4) TYPE c, " Calculation type for condition
g_krech_6(4) TYPE c, " Calculation type for condition
g_krech_7(4) TYPE c, " Calculation type for condition
g_krech_8(4) TYPE c, " Calculation type for condition
g_krech_9(4) TYPE c, " Calculation type for condition
g_krech_10(4) TYPE c, " Calculation type for condition
g_krech_11(4) TYPE c, " Calculation type for condition
g_krech_12(4) TYPE c, " Calculation type for condition
g_krech_13(4) TYPE c, " Calculation type for condition
g_krech_14(4) TYPE c, " Calculation type for condition
g_krech_15(4) TYPE c, " Calculation type for condition
g_krech_16(4) TYPE c, " Calculation type for condition
g_krech_17(4) TYPE c, " Calculation type for condition
g_krech_18(4) TYPE c, " Calculation type for condition
g_krech_19(4) TYPE c, " Calculation type for condition
g_krech_20(4) TYPE c. " Calculation type for condition
Items
data: g_krech_item_1(4) type c, " Calculation type for condition
g_krech_item_2(4) type c, " Calculation type for condition
g_krech_item_3(4) type c. " Calculation type for condition
g_krech_item_4(4) TYPE c, " Calculation type for condition
g_krech_item_5(4) TYPE c, " Calculation type for condition
g_krech_item_6(4) TYPE c, " Calculation type for condition
g_krech_item_7(4) TYPE c, " Calculation type for condition
g_krech_item_8(4) TYPE c, " Calculation type for condition
g_krech_item_9(4) TYPE c, " Calculation type for condition
g_krech_item_10(4) TYPE c, " Calculation type for condition
g_krech_item_11(4) TYPE c, " Calculation type for condition
g_krech_item_12(4) TYPE c, " Calculation type for condition
g_krech_item_13(4) TYPE c, " Calculation type for condition
g_krech_item_14(4) TYPE c, " Calculation type for condition
g_krech_item_15(4) TYPE c, " Calculation type for condition
g_krech_item_16(4) TYPE c. " Calculation type for condition
data: it_t685a type standard table of ty_t685a.
data: wa_bapi_header type bapisdhd1,
wa_bapi_headerx TYPE bapisdhd1x,
it_bapi_item type table of bapisditm,
it_bapi_itemx TYPE TABLE OF bapisditmx,
it_bapi_cond type table of bapicond,
it_bapi_condx TYPE TABLE OF bapicondx,
it_bapi_partner type table of bapiparnr,
it_bapi_shdl type table of bapischdl,
it_bapi_shdlx TYPE TABLE OF bapischdlx,
it_bapi_order_text type TABLE OF BAPISDTEXT,
it_bapireturn type table of bapiret2.
data: wa_bapi_item like line of it_bapi_item,
wa_bapi_itemx LIKE LINE OF it_bapi_itemx,
wa_bapi_cond like line of it_bapi_cond,
wa_bapi_condx LIKE LINE OF it_bapi_condx,
wa_bapi_partner like line of it_bapi_partner,
wa_bapi_shdl like line of it_bapi_shdl,
wa_bapi_shdlx LIKE LINE OF it_bapi_shdlx,
wa_bapi_order_text like LINE OF it_bapi_order_text,
wa_bapireturn like line of it_bapireturn.
*DATA: zmode(1) VALUE 'N'.
data: it_header type standard table of ty_header.
*DATA: it_temp_header TYPE STANDARD TABLE OF ty_header.
data: it_item type standard table of ty_item.
*DATA: it_temp_item TYPE STANDARD TABLE OF ty_item.
data: it_err type standard table of ty_err.
data: it_fline1 type standard table of tline,
wa_fline1 type tline.
data: it_thead1 type thead.
data: it_fline2 type standard table of tline,
wa_fline2 type tline.
data: it_thead2 type thead.
data: it_fline3 type standard table of tline,
wa_fline3 type tline.
data: it_thead3 type thead.
data: it_fline4 type standard table of tline,
wa_fline4 type tline.
data: it_thead4 type thead.
data: it_fline5 type standard table of tline,
wa_fline5 type tline.
data: it_thead5 type thead.
data: wa_header like line of it_header,
wa_item like line of it_item,
wa_err type ty_err,
wa_bill LIKE LINE OF it_bill,
wa_bill1 LIKE LINE OF it_bill,
wa_iterr like line of it_err,
wa_t685a like line of it_t685a.
wa_bill_item TYPE ty_bill_item.
data: it_schedule_line type standard table of ty_schedule_line,
wa_schedule_line type ty_schedule_line.
data: sales_order_no type bapivbeln-vbeln.
data: ext_sales_order_no type bapivbeln-vbeln.
Variable to be used to separate the fields which are concatenated by a
runtime character
*DATA: g_tabchar(1) TYPE c VALUE cl_abap_char_utilities=>horizontal_tab.
*DATA: wa_truxs_t_text_data TYPE truxs_t_text_data.
*DATA: g_filename TYPE string,
g_path TYPE string,
g_fullpath TYPE string,
g_user_action TYPE i,
g_file_encoding TYPE abap_encoding.
*DATA : g_text(8192),
data : g_mstring1(100) type c,
g_mstring2(100) type c,
g_mstring3(100) type c,
g_mstring4(100) type c,
g_mstring5(100) type c.
data: g_count1 type ebelp,
g_str_count1(6) type c.
data: g_count type ebelp,
g_str_count(6) type c.
*DATA: f_subrc LIKE sy-subrc,
f_subrc1 LIKE sy-subrc,
f_error(500) TYPE c,
item1(27) TYPE c,
item2(27) TYPE c,
item3(27) TYPE c,
item4(27) TYPE c,
i TYPE ekpo-ebelp.
*DATA: g_billplan_header TYPE c,
g_billplan_item TYPE c.
data : g_external_so type vbak-vbeln. "SO
SELECTION-SCREEN
selection-screen begin of block frame1 with frame title text-001 .
parameters:p_file1 type rlgrap-filename, "OBLIGATORY, "Header data.
p_file2 type rlgrap-filename, "OBLIGATORY, "Item Data.
p_file3 type rlgrap-filename, "Schedule line.
p_file4 type rlgrap-filename ."OBLIGATORY. "Error file.
selection-screen end of block frame1.
start-of-selection.
wa_bapi_header-doc_type = 'Z0MX'. "order type
wa_bapi_header-sales_org = '0130'."sales org
wa_bapi_header-distr_chan = '13'. "distr channel
wa_bapi_header-division = '13'. "division
Old code from copied program
wa_bapi_header-purch_no_s = wa_header-kunnr_2. " Ship to party
New code as required in Finland project
We are using to Header ->Order Tab -> Ship to Party -> Purchase order no (BSTKD_E) to store Old legacy SO number
wa_bapi_header-purch_no_s = 'MX100443'. "External SO i.e Old legacey SO number
wa_bapi_header-ref_1_s = '0000666666'. "Sold to party
wa_bapi_header-ord_reason = wa_header-augru.
wa_bapi_header-purch_no_c = 'ddr1234'. " PO number
wa_bapi_header-purch_date = sy-datum. " PO date
wa_bapi_header-req_date_h = sy-datum. " Required Delivery Date
wa_bapi_header-pmnttrms = '01'. " Payment Terms
wa_bapi_header-incoterms1 = wa_header-inco1.
wa_bapi_header-incoterms2 = wa_header-inco2.
wa_bapi_header-price_date = wa_header-prsdt. " Pricing date
wa_bapi_header-currency = wa_header-waerk. " Document Currency
wa_bapi_header-sales_grp = wa_header-vkgrp. " Sales group
wa_bapi_header-price_list = wa_header-pltyp. " Price list type
wa_bapi_header-cust_group = wa_header-kdgrp. " Cust Group
wa_bapi_header-ship_type = wa_header-vsart. " Shipping Type
wa_bapi_header-purch_no_s = wa_header-bstkd_e. " Ship-to-party po number
wa_bapi_header-collect_no = wa_header-submi. " Collective No.
wa_bapi_header-name = wa_header-bname. " Name
wa_bapi_header-ref_1 = wa_header-ihrez. " Your Reference
wa_bapi_header-cust_grp1 = wa_header-kvgr1. " Industry
wa_bapi_header-cust_grp2 = wa_header-kvgr2. " Customer BU
*ENDFORM. " f_header
IF wa_header-partner_1 IS NOT INITIAL.
wa_bapi_partner-partn_role = 'AG'.
wa_bapi_partner-partn_numb = '0000666666'.
wa_bapi_partner-itm_number = '000000'.
append wa_bapi_partner to it_bapi_partner.
clear wa_bapi_partner.
ENDIF.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = wa_header-partner_2
importing
output = wa_header-partner_2.
IF wa_header-partner_2 IS NOT INITIAL.
wa_bapi_partner-partn_role = 'WE'.
wa_bapi_partner-partn_numb = '0000666666'.
wa_bapi_partner-itm_number = '000000'.
append wa_bapi_partner to it_bapi_partner.
clear wa_bapi_partner.
ENDIF.
perform f_item.
data : order_items_inx type table of bapisditmx with header line.
order_items_inx-material = 'X'. "
order_items_inx-target_qty = 'X'. "
order_items_inx-comp_quant = 'X'. "
order_items_inx-trgqty_den = 'X'.
order_items_inx-rnddlv_qty = 'X'.
order_items_inx-updateflag = 'I'.
order_items_inx-target_qu = 'X'.
order_items_inx-plant = 'X'. "
append order_items_inx.
call function 'BAPI_SALESORDER_CREATEFROMDAT2'
exporting
salesdocumentin = 'MX11111152'
order_header_in = wa_bapi_header
order_header_inx = wa_bapi_headerx
importing
salesdocument = sales_order_no
tables
return = it_bapireturn
order_items_in = it_bapi_item
order_items_inx = order_items_inx
order_partners = it_bapi_partner
order_conditions_in = it_bapi_cond.
if sy-subrc is initial.
commit work.
endif.
*& Form f_item
text
form f_item .
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = wa_item-posnr
importing
output = wa_item-posnr.
wa_item-posnr = '000010'.
IF sy-subrc EQ 0. "IS INITIAL.
move wa_item-posnr to g_str_count."commented out by shakti
ENDIF.
wa_bapi_item-itm_number = wa_item-posnr. " Line item
WA_BAPI_ITEM-PO_ITM_NO = WA_ITEM-EBELP.
wa_bapi_item-division = wa_item-spart.
wa_bapi_item-purch_no_c = 'ddr1234'. " po number
wa_bapi_item-purch_date = sy-datum. " po date
wa_bapi_item-purch_no_s = 'MX11111112'. " Ship-to-party po number
wa_item-matnr = 'MAXIMO_SERVICE'.
call function 'CONVERSION_EXIT_MATN1_INPUT'
exporting
input = wa_item-matnr
importing
output = wa_item-matnr
exceptions
length_error = 1
others = 2.
if sy-subrc is initial.
wa_bapi_item-material = wa_item-matnr. "material
endif.
wa_bapi_item-target_qty = '1'. " Order qty
wa_bapi_item-comp_quant = '1'.
wa_bapi_item-target_qu = 'EA'.
wa_bapi_item-fixed_quan = '1'.
wa_bapi_item-comp_quant = wa_item-kwmeng.
wa_bapi_item-trgqty_den = '1'.
wa_bapi_item-rnddlv_qty = wa_item-kwmeng.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = wa_item-ps_psp_pnr
IMPORTING
output = wa_item-ps_psp_pnr.
IF sy-subrc = 0.
wa_bapi_item-wbs_elem = wa_item-ps_psp_pnr.
ENDIF.
wa_bapi_item-item_categ = 'ZMAX'.
wa_bapi_item-ex_rate_fi = wa_item-kurrf.
wa_bapi_item-dli_profil = wa_item-ffprf. " Dynamic item processor profile
wa_bapi_item-route = wa_item-route. " route
wa_bapi_item-exchg_rate = wa_item-kursk.
wa_bapi_item-plant = '2090'. " Plant
wa_bapi_item-ship_point = 'FN11'. " Shipping point
wa_bapi_item-store_loc = wa_item-lgort. " stg loc
REPLACE ALL OCCURRENCES OF ',' IN wa_item-ntgew WITH '.'.
REPLACE ALL OCCURRENCES OF ',' IN wa_item-brgew WITH '.'.
wa_bapi_item-net_weight = wa_item-ntgew. "
wa_bapi_item-gross_wght = wa_item-brgew. "
call function 'CONVERSION_EXIT_CUNIT_INPUT'
exporting
input = wa_item-gewei
language = sy-langu
importing
output = wa_item-gewei.
EXCEPTIONS
unit_not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
wa_bapi_item-untof_wght = 'KG'. " weight unit
replace all occurrences of ',' in wa_item-kursk with '.'.
replace all occurrences of ',' in wa_item-kurrf with '.'.
wa_bapi_item-profit_ctr = wa_item-prctr. " Profit center
wa_bapi_item-resanalkey = wa_item-abgrs. " RESULT ANALYSIS KEY
wa_bapi_item-cstg_sheet = wa_item-kalsm_k. " COSTING SHEET
append wa_bapi_item to it_bapi_item.
endform. " f_item
Thanks & regards,
Chetansee the following to create sales order:-
*& Report ZSALESORDER
*&DEVELOPED BY JANI KRUPA 4.10.2008
REPORT ZSALESORDER.
Parameters
Sales document type
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text FOR FIELD p_auart.
PARAMETERS: p_auart TYPE auart OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Sales organization
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text1 FOR FIELD p_vkorg.
PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Distribution channel
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text2 FOR FIELD p_vtweg.
PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Division.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text3 FOR FIELD p_spart.
PARAMETERS: p_spart TYPE spart OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SKIP 1.
Sold-to
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text4 FOR FIELD p_sold.
PARAMETERS: p_sold TYPE kunnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Ship-to
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text5 FOR FIELD p_ship.
PARAMETERS: p_ship TYPE kunnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SKIP 1.
Material
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text6 FOR FIELD p_matnr.
PARAMETERS: p_matnr TYPE matnr OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Quantity.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text7 FOR FIELD p_menge.
PARAMETERS: p_menge TYPE kwmeng OBLIGATORY.
SELECTION-SCREEN END OF LINE.
Plant
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text9 FOR FIELD p_plant.
PARAMETERS: p_plant TYPE werks_d .
SELECTION-SCREEN END OF LINE.
Complete Deliver
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 2(20) v_text10 FOR FIELD p_autlf.
PARAMETERS: p_autlf TYPE autlf DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
Data declarations.
DATA: v_vbeln LIKE vbak-vbeln.
DATA: header LIKE bapisdhead1.
DATA: headerx LIKE bapisdhead1x.
DATA: item LIKE bapisditem OCCURS 0 WITH HEADER LINE.
DATA: itemx LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
DATA: partner LIKE bapipartnr OCCURS 0 WITH HEADER LINE.
DATA: return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: lt_schedules_inx TYPE STANDARD TABLE OF bapischdlx
WITH HEADER LINE.
DATA: lt_schedules_in TYPE STANDARD TABLE OF bapischdl
WITH HEADER LINE.
DATA: lt_schedules_ink TYPE STANDARD TABLE OF bapisdhead1
WITH HEADER LINE.
Initialization.
INITIALIZATION.
v_text = 'Order type'.
v_text1 = 'Sales Org'.
v_text2 = 'Distribution channel'.
v_text3 = 'Division'.
v_text4 = 'Sold-to'.
v_text5 = 'Ship-to'.
v_text6 = 'Material'.
v_text7 = 'Quantity'.
v_text9 = 'Plant'.
v_text10 = 'Complete delivery'.
Start-of-selection.
START-OF-SELECTION.
Header data
Sales document type
header-doc_type = p_auart.
headerx-doc_type = 'X'.
Sales organization
header-sales_org = p_vkorg.
headerx-sales_org = 'X'.
Distribution channel
header-distr_chan = p_vtweg.
headerx-distr_chan = 'X'.
Division
header-division = p_spart.
headerx-division = 'X'.
headerx-updateflag = 'I'.
*Complete delivery
header-COMPL_DLV = p_autlf.
header-COMPL_DLV = 'X'.
Partner data
Sold to
partner-partn_role = 'AG'.
partner-partn_numb = p_sold.
APPEND partner.
Ship to
partner-partn_role = 'WE'.
partner-partn_numb = p_ship.
APPEND partner.
ITEM DATA
itemx-updateflag = 'I'.
Line item number.
item-itm_number = '000010'.
itemx-itm_number = 'X'.
Material
item-material = p_matnr.
itemx-material = 'X'.
Plant
item-plant = p_plant.
itemx-plant = 'X'.
Quantity
item-target_qty = p_menge.
itemx-target_qty = 'X'.
item category
itemx-ITEM_CATEG = 'X'.
APPEND item.
APPEND itemx.
ITEM DATA
itemx-updateflag = 'I'.
Line item number.
item-itm_number = '000020'.
itemx-itm_number = 'X'.
Material
item-material = p_matnr.
itemx-material = 'X'.
Plant
item-plant = p_plant.
itemx-plant = 'X'.
Quantity
item-target_qty = p_menge.
itemx-target_qty = 'X'.
APPEND item.
APPEND itemx.
Fill schedule lines
lt_schedules_in-itm_number = '000010'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000010'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Fill schedule lines
lt_schedules_in-itm_number = '000020'.
lt_schedules_in-sched_line = '0001'.
lt_schedules_in-req_qty = p_menge.
APPEND lt_schedules_in.
Fill schedule line flags
lt_schedules_inx-itm_number = '000020'.
lt_schedules_inx-sched_line = '0001'.
lt_schedules_inx-updateflag = 'X'.
lt_schedules_inx-req_qty = 'X'.
APPEND lt_schedules_inx.
Call the BAPI to create the sales order.
CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
EXPORTING
sales_header_in = header
sales_header_inx = headerx
IMPORTING
salesdocument_ex = v_vbeln
TABLES
return = return
sales_items_in = item
sales_items_inx = itemx
sales_schedules_in = lt_schedules_in
sales_schedules_inx = lt_schedules_inx
sales_partners = partner.
Check the return table.
LOOP AT return WHERE type = 'E' OR type = 'A'.
EXIT.
ENDLOOP.
IF sy-subrc = 0.
WRITE: / 'Error in creating document'.
ELSE.
Commit the work.
COMMIT WORK AND WAIT.
WRITE: / 'Document ', v_vbeln, ' created'.
ENDIF. -
How to display data in Table control?
Hi Experts,
Can anyone please explain me how to display the data from two different tables(those two table is related with 1 field) into a single table control?
For Example: T1 has fields (F1,F2) and
T2 has fields (F3,F4) --> here F3 is foreign key for F1
I need to display the data F1,F2,F3,F4 into the table control.
Can anyone explain me?
Thanks in Advance,
Regards,
RaghuHi,
If F3 is foreign key for F1, then both fields will have same values. Then why do you need to display both F1 and F3? Either one of them is enough. Try the following code.
types: begin of t_table,
F1 type T1-F1,
F2 type T1-F2,
F4 type T2-F4,
end of t_table.
data: i_table type standard table of t_table with header line.
select F1 F2 F4 into table i_table from T1 inner join T2 on T1F1 = T2F3.
You should create three columns in the table control with names i_table-F1, i_table-F2, i_table-F3.
After populating the internal table, refresh the control with the following statement.
REFRESH CONTROL <NAME> FROM SCREEN <SCREEN_NO>.
All the above statements should be in your PBO Module.
Regards,
Hema
Message was edited by:
Sorry, Declarations can be in the common include. Select statement and refresh statement should be in PBO.
Hema Nagarajan -
Screen sharing doesn't work without a gateway
I'm back from a short trip and find that my gateway died in the meantime.
I have a LAN with quite a few Macs, some of them being Mac minis used as servers with no attached screens.
I can't use screen sharing anymore on my LAN to control any Mac that has not been set up to use my failover gateway. Only the Macs whose network set up has been changed to fully use the failover gateway can be controled. Unfortunately, this gateway and has limitations not allowing me to use it with every Mac/iPad etc. here. If I set up a Mac to use the failover gateway, but with no internet access allowed, that Mac remains uncontrolable with screen sharing.
So I'd like someone more experienced to answer these questions:
- How is it that an operational gateway with a working internet access is mandatory for LAN screen sharing ?
- Are authentication services responsible for the troubles here ?
Help would be greatly appreciated,
JMWhile I understand the terms, I do not yet fully understand what your IP network looks like.
By "usual gateway", are you referring to a hardware device — commonly called a "gateway router" — that's been replaced here, or to the IP gateway settings present within most (all?) hosts on an IP network?
IP needs a gateway for traffic outside of the subnet. That commonly includes DNS traffic, either from the DNS server(s) on your LAN, or for IP hosts that are communicating more directly. This can also include determining the source of in-bound IP traffic, as that involves DNS translations.
Swapping gateway routers can also sometimes require flushing the ARP caches, depending on what hardware and software is involved. (Normally the new device will broadcast that on the LAN and thus update the caches, but sometimes things get a little wonky.) This if it's at the same address. If it's at different addresses, then the DHCP server, DHCP clients and static-addressed hosts all need to be updated.
In general (and because I'm not certain of your configuration), I prefer to avoid using Macs as IP routers, as they're expensive for and comparatively clumsy at that task. I prefer to use dedicated devices for that, and often preferanly including an embedded VPN server as I'd mentioned earlier.
Again, I'm not clear about your configuration, so the above might not address your question. -
ALUI Customization Deploying a Custom Project Step 2: Build and Deploy JARs
Hi,
I'm trying to deploy custom project after succesfully completing the installation and debug of AL UI Customization. As given in the documentation (see link below) in the step 2 Build and Deploy I see error given below on executing "ant install" command. Can somebody please identify the error in this?
http://edocs.bea.com/alui/devdoc/docs60/Plumtree_Development_Environment/UI_Customization/PlumtreeDevDoc_DevEnv_DeployProject_Java.htm
D:\plumtree_ui_source\portalui\6.1.x>ant install
Buildfile: build.xml
Trying to override old definition of task copy
global.init:
[copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\${
build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
[echo] Ant Contrib successfully loaded.
[copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\${
build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to copy.
init:
[echo] Using ANT built-in compass loader
[copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\${
build.home}\components\RECENT\compass\LATEST\java-loader\compass-loader.jar to c
opy.
[echo]
[echo] Could not fine Socrates build location. Setting compass to
[echo] offline mode.
[echo]
[comp-loader] -----------------------------------------------------
[comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
[comp-loader] Storing loaded properties in System
[comp-loader] Stored 67 properties
[comp-loader] Loaded Compass ( 0 file(s) copied, 17 task(s) defined )
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 24 component(s)
[comp-props] [ customer-repo_ptwebui ]
[comp-props] Created Properties for 24 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 15 component(s)
[comp-props] [ customer-repo_ptwebui_dotnet ]
[comp-props] Created Properties for 15 component(s)
install:
Duplicated project name in import. Project global defined first in D:\plumtree_u
i_source\portalui\6.1.x\_buildcommon\scripts\ant\common\include\global.xml and a
gain in D:\plumtree_ui_source\portalproduct\6.1.x\_buildcommon\scripts\ant\commo
n\include\global.xml
Trying to override old definition of task uri://plumtree.com/ant/common/properti
es:definebasicprops
Trying to override old definition of task uri://plumtree.com/ant/common/properti
es:loadprojectproperties
Trying to override old definition of task uri://plumtree.com/ant/common/cp-stage
:loadcomponentprops
global.init:
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
[echo] Ant Contrib successfully loaded.
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to co
py.
epglobal.init:
[echo] Using ANT built-in compass loader
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\RECENT\compass\LATEST\java-loader\compass-loader.jar
to copy.
[echo]
[echo] Could not fine Socrates build location. Setting compass to
[echo] offline mode.
[echo]
[comp-loader] -----------------------------------------------------
[comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
[comp-loader] Already loaded
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_nopull ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 29 component(s)
[comp-props] [ customer-repo_java ]
[comp-props] Created Properties for 29 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 14 component(s)
[comp-props] [ customer-repo_dotnet ]
[comp-props] Created Properties for 14 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_noarch ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 2 component(s)
[comp-props] [ customer-repo_win32 ]
[comp-props] Created Properties for 2 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_solaris32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_linux32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_aix32 ]
[comp-props] Created Properties for 1 component(s)
init:
clean:
[delete] Deleting directory D:\plumtree_ui_source\portalproduct\6.1.x\build
install:
[ant] Parent project doesn't contain any reference 'compass.loader'
global.init:
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
[echo] Ant Contrib successfully loaded.
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to co
py.
epglobal.init:
[echo] Using ANT built-in compass loader
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\RECENT\compass\LATEST\java-loader\compass-loader.jar
to copy.
[echo]
[echo] Could not fine Socrates build location. Setting compass to
[echo] offline mode.
[echo]
[comp-loader] -----------------------------------------------------
[comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
[comp-loader] Already loaded
[mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\registe
rdir
[mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\feature
dir
[mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\install
code
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_nopull ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 29 component(s)
[comp-props] [ customer-repo_java ]
[comp-props] Created Properties for 29 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 14 component(s)
[comp-props] [ customer-repo_dotnet ]
[comp-props] Created Properties for 14 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_noarch ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 2 component(s)
[comp-props] [ customer-repo_win32 ]
[comp-props] Created Properties for 2 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_solaris32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_linux32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_aix32 ]
[comp-props] Created Properties for 1 component(s)
init:
[echo]
[echo] The property BuildEnvironment.IA_HOME either is not set
[echo] in your build.properties file or is set to an incorrect
[echo] location. You will be unable to build an installer. This
[echo] does not affect developer installations. Developers can
[echo] ignore this warning.
[echo]
[echo] Current value: ${BuildEnvironment.IA_HOME}
[echo]
build-registerscripts:
[echo] Environment variables necessary for versioning not set. BUILD_MAJOR
, BUILD_MINOR, BUILD_SERVICEPACK, and BUILD_HOTFIX must be set in order to get a
ccurate version information.
[devinstall] install-portalui-java
[fastmarshall] Parent project doesn't contain any reference 'compass.loader'
global.init:
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\thirdparty\ant-contrib\0.6\ant-contrib-0.6.jar to copy.
[echo] Ant Contrib successfully loaded.
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\${build.home}\components\INTERNAL\ptanttasks\115250\cust\ptanttasks.jar to co
py.
epglobal.init:
[echo] Using ANT built-in compass loader
[copy] Warning: Could not find file D:\plumtree_ui_source\portalproduct\6.1
.x\marshallcode\${build.home}\components\RECENT\compass\LATEST\java-loader\compa
ss-loader.jar to copy.
[echo]
[echo] Could not fine Socrates build location. Setting compass to
[echo] offline mode.
[echo]
[comp-loader] -----------------------------------------------------
[comp-loader] Compass Loader: <186756> (06/01/2005 12:52 PM)
[comp-loader] Already loaded
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_nopull ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 29 component(s)
[comp-props] [ customer-repo_java ]
[comp-props] Created Properties for 29 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 14 component(s)
[comp-props] [ customer-repo_dotnet ]
[comp-props] Created Properties for 14 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_noarch ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 2 component(s)
[comp-props] [ customer-repo_win32 ]
[comp-props] Created Properties for 2 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_solaris32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_linux32 ]
[comp-props] Created Properties for 1 component(s)
[comp-props] Version: <206776> (11/15/2005 11:59 AM)
[comp-props] [ general ]
[comp-props] Created Properties for 1 component(s)
[comp-props] [ customer-repo_aix32 ]
[comp-props] Created Properties for 1 component(s)
epmarshall.init:
[mkdir] Created dir: D:\plumtree_ui_source\portalproduct\6.1.x\build\warbuil
ddir
Trying to override old definition of task comp-collate
Trying to override old definition of task comp-stage
init:
epmarshall.marshall-java:
portalui.marshall-java:
[comp-collate] Version: <null> (null)
[comp-collate] Collate [java-portalui]
BUILD FAILED
D:\plumtree_ui_source\portalui\6.1.x\_buildcommon\scripts\ant\portalui\include\p
ortalui-dev.xml:34: The following error occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:1177: The following err
or occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:652: The following erro
r occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:733: The following erro
r occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\devinstall.xml:478: The following erro
r occurred while executing this line:
D:\plumtree_ui_source\portalproduct\6.1.x\marshallcode\marshall_portalui.xml:69:
No File: D:\bea\alui\_customer_repository\portalui\6.1.x\local\java-ptwebui\jav
a-ptwebui.mf
Total time: 1 minute 15 secondsaThanks for the help! It started building after commenting the DTD tag include in the xml.
But build failed with few warnings and errors.
two of the warnings are as follows (FYI I've compass folder as you suggested in other thread)
#1
[copy] Warning: Could not find file D:\plumtree_ui_source\portalui\6.1.x\pt
webui\portaluiinfrastructure\${build.home}\thirdparty\ant-contrib\0.6\ant-contri
b-0.6.jar to copy.
#2
Could not fine Socrates build location. Setting compass to
offline mode.
=============================
AND the ERROR message is as given below
precompile:
buildjava:
[javac] Compiling 154 source files to D:\plumtree_ui_source\portalui\6.1.x\ptwebui\portalpages\build\x86\classes\java
[javac] D:\plumtree_ui_source\portalui\6.1.x\ptwebui\portalpages\java\prod\src\com\plumtree\portalpages\condition\conditiontypes\ConditionTypeClientIPAddress.java:158: compareTo(java.lang.String) in java.lang.String cannot be applied to
(java.lang.Object)
[javac] if ("*".compareTo(arIPAddress) != 0 && ((XPConver
t.ToInteger(arIPAddress[i]) < 0) || ((i == 0) && (XPConvert.ToInteger(arIPAddres
s[i]) == 0)))) {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 1 error
BUILD FAILED
D:\plumtree_ui_source\portalui\6.1.x\build_core.xml:103: The following error occurred while executing this line:
D:\plumtree_ui_source\portalui\6.1.x\ptwebui\build_core.xml:80: The following error occurred while executing this line:
D:\plumtree_ui_source\portalui\6.1.x\_buildcommon\scripts\ant\common\include\default-build.xml:142: The following error occurred while executing this line:
D:\plumtree_ui_source\portalui\6.1.x\_buildcommon\scripts\ant\common\antlib\java.xml:35: Compile failed; see the compiler error output for details. -
Issues with viewing Interactive PDF.
I am a professor and use Indesign to design my digital slideshows—both images and videos. After exporting as Interactive PDF I view the files through Acrobat. I have two problems. After viewing one of the videos in acrobat I am not able to move on to the next image or video. The video just ends and the screen stays black. My workaround is to hit 'escape' to exit full screen mode. Upon entering fullscreen mode again I am able to resume viewing the PDF. There must be a better solution than this. My second problem is that the MOV files don't have sound when viewed in acrobat as interactive PDFS, yet these same MOV have sound when viewed with quicktime. Any ideas?
There's no way within the default workflow tools in Acrobat to automatically advance a PDF when a video annotation stops playing, but you can do it by replacing the video player widget with a customized one and adding some JavaScript to the PDF. However it'll need to be done in Acrobat after the PDF has been exported.
As to the audio in your MOV file, it's because it's not in the correct format. Acrobat and Adobe Reader can render Flash video or native H.264 video streams, and AAC or MP3 audio, but cannot play the Linear PCM audio that is commonly included in Quicktime files (e.g. from a DSLR camera). You'll need to transcode the file into the correct format (H.264/AAC) - which is one reason why Acrobat Suite and Creative Suite collections include Adobe Media Encoder.
Maybe you are looking for
-
ITunes 10 glitch on Macbook Pro (Snow Leopard)
..this happens whenever i press the plus sign for it to become the mini version, but when i maximize it again, a weird glitch occurs that won't go away until i perform a killall iTunes in Terminal. I dont know why it happens, it never did it before u
-
Upgrade to Photoshop CS5 from CS3/CS2/6.0
I purchased Adobe Photoshop 6.0, then upgraded to CS2, then CS3. Can I upgrade to CS5? If so, can I install the trial and later activate it once I have the key? Since the key is an upgrade key, what is it going to ask for to verify the fact that the
-
Using a counter channel as a DO
Hello, Could you please tell me if there is any possible way to use a ctr channel of an 6212 OEM as a DO channel. Thank you in advanced
-
While updating the iOS version on my iPad it entered Recovery Mode. The screen is blank and I can not get it to complete the recovery process. I have tried several times using both a MACBook and a Windows 7 based computer running the latest iTunes pr
-
My iphone has malfuctioned and is not useable, but everything is saved to icloud. I cannot figure how to access the photo stream from iCloud from the iphone camera , onto the new iMac. I was able to download my entire iTunes library onto my new iMac