How to create datasource for standalone application using JPA
In the persistence.xml configuration file, we have data source got it from web server configuration file, and created by server like Jboss or tomcat.
I just wonder how to create this same data source via Java stand-alone application?
I have Java standalone application embedded Jetty server running with JPA module. Question is how to setup or create data source from my Java application just like web server; which called by persistence.xml?
Thanks,
Hello,
Sharepoint deployment is completely different. I don't think you can deploy any solution as wizard in prod so you have to first identify what you want to deploy.
If you just want to deploy only web application then backup/restore process is available in sharepoint. you can use STSADM or powershell to deploy your web app.
http://technet.microsoft.com/en-us/library/ee748618%28v=office.14%29.aspx
If there is any custom code or .NET code then create a WSP package and deploy it on prod. If you have multiple WSP's then create a batch file (as exe package) then run this package on prod.
http://www.ironspeed.com/Designer/9.1.1/WebHelp/Part_VI/SharePoint_Solution_Package_WSP_Deployment.htm
Let us know in case any doubt
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help
Similar Messages
-
How to create DataSource for FlatFile Source Systems
Hi,
I am practicing BI7.I am familiar with BW 3.5 but while practicing BI7 i am facing some problems.I am trying to load master data of an infoobject (STUDENTID) STUDENTID ATTR.
After creating Appl Comp and when i am trying to create transformations for the master data attribute i am unable to assign data source.I came to know that i have to create datsource at this step.But dont know how to create datasource for FlatFiles.
Can anyone give me stpes how to create DataSource.
Thanks in advance,
SunnyHi
Find below help link for procedure
http://help.sap.com/saphelp_nw04s/helpdata/en/43/01ed2fe3811a77e10000000a422035/frameset.htm
and below are some help links which will be usefull in BI7.0
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
Look at this new features in Bi 7.0
http://help.sap.com/saphelp_nw04s/helpdata/en/a4/1be541f321c717e10000000a155106/content.htm
how to's in BI 7.0
http://help.sap.com/saphelp_nw04s/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
Demo's
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/ba95531a-0e01-0010-5e9b-891fc040a66c [original link is broken]
Report designer new component
Most of ur solutions u can get through help or SDN search
Regards,
Ravi -
How to Create Placement for contingent worker using API in 11i?
We need to Create Placement for contingent workers using an API or program without using EBS forms.
On the People form, there is an Action - Create Placement that does just what we need. We can select an Ex-contingent worker, create placement, and save. This creates a new Period Of Placement (PDP) record for the contingent worker with a new primary assignment. The result is the contingent worker can have multiple periods of placement to reflect different jobs they have worked on, for example one contract from Jan 10 - April 4, another from May 1 - 20, and a third starting Aug 7 without an end (yet).
There are several APIs we find in the Integration Repository for 11i dealing with Contingent Workers, Assignments, and changing a Period of Placement, but we can't find any for creating a PDP.
Thank you if you can advise on how to do this.
SkipWe need to Create Placement for contingent workers using an API or program without using EBS forms.
On the People form, there is an Action - Create Placement that does just what we need. We can select an Ex-contingent worker, create placement, and save. This creates a new Period Of Placement (PDP) record for the contingent worker with a new primary assignment. The result is the contingent worker can have multiple periods of placement to reflect different jobs they have worked on, for example one contract from Jan 10 - April 4, another from May 1 - 20, and a third starting Aug 7 without an end (yet).
There are several APIs we find in the Integration Repository for 11i dealing with Contingent Workers, Assignments, and changing a Period of Placement, but we can't find any for creating a PDP.
Thank you if you can advise on how to do this.
Skip -
How to create DataSource for BI Source System in RSA1?
I have a BI Source System defined, however I can't figure out a way to create a new DataSource for it. I can create DataSource objects for all my other Source Systems, but I can't figure out how to do this for this BI system.
I select my BI Source System, right-click, choose "Display DataSource tree". When I right-click from the DataSource tree, I expect to get "Create Application Component" and "Create DataSource" options, but instead I only see "Replicate Tree Metadata" and "Replicate DataSources" options.
How can I create DataSource objects for my BI system?Hi,
I guess you want to create a custom developed source in BI itself. For that you need to create the data source in RSO2 and inside you need to give the specific aplication component under which you want this DS to be in. Generate a data souce and then go to BI My self Source system and then replicate that particular appl component o view your data source.
Hope this helps
Regards,
Srini -
How to create setup for Java Application?
Hello,
I have created one Java Application. Now I want to create setup for that. I want to know if there is any tool is available for Java Application. If yes, then please help me to get that.
My emal id is "[email protected]"
Thanks in advance.
SamGo to www.zerog.com
Download InstallAnyWhere4now (free)
it is Awsome youll love it
M
bakbjo -
How to create help for java application
Thanks very much for any suggestions how to create help file for java application
how to set up the environment variable JAVAHELP_HOME
-
How to create framework for web application through coded UI
I was creating a sample application:
Step1: opened internal Explorer and typed http://www.bing.com/
Step2: typed sachin and click on search
Step4: clicked on "Sachin Tendulkar - Wikipedia, the free encyclopedia"
I wrote the code. It was working but, my concern is line number of code. I have to identify object but before that I have to identify parents item and every new page it will change. I also follow this link (Hand-coding
a Coded UI Test) but, it was showing error in HtmlProperties
Here is my code:
BrowserWindow browserWindow = BrowserWindow.Launch(new System.Uri("http://www.bing.com/"));
BrowserWindow bw1 = new BrowserWindow(); // (browserWindow);
bw1.SearchProperties[UITestControl.PropertyNames.Name] = "Bing - Windows Internet Explorer";
bw1.SearchProperties[UITestControl.PropertyNames.ClassName] = "IEFrame";
bw1.SearchProperties[UITestControl.PropertyNames.TechnologyName] = "MSAA";
// bw1.DrawHighlight();
HtmlDocument document = new HtmlDocument(bw1);
document.SearchProperties[HtmlDocument.PropertyNames.Id] = null;
document.SearchProperties[HtmlDocument.PropertyNames.RedirectingPage] = "False";
document.SearchProperties[HtmlDocument.PropertyNames.FrameDocument] = "False";
document.FilterProperties[HtmlDocument.PropertyNames.Title] = "Bing";
document.FilterProperties[HtmlDocument.PropertyNames.AbsolutePath] = "/";
document.FilterProperties[HtmlDocument.PropertyNames.PageUrl] = "http://www.bing.com/";
document.WindowTitles.Add("Bing");
HtmlEdit ed = new HtmlEdit(document);
// htmlt ed = new HtmlEdit(document);
ed.SearchProperties[HtmlEdit.PropertyNames.Id] = "sb_form_q";
ed.SearchProperties[HtmlEdit.PropertyNames.Name] = "q";
ed.FilterProperties[HtmlEdit.PropertyNames.Class] = "b_searchbox";
ed.Text = "sachine";
HtmlInputButton button = new HtmlInputButton(document);
button.SearchProperties[HtmlButton.PropertyNames.Id] = "sb_form_go";
button.SearchProperties[HtmlButton.PropertyNames.Name] = "go";
button.FilterProperties[HtmlButton.PropertyNames.Type] = "submit";
// button.DrawHighlight();
Mouse.Click(button);
BrowserWindow bw2 = new BrowserWindow(); // (browserWindow);
bw2.SearchProperties[UITestControl.PropertyNames.Name] = "sachine - Bing";
bw2.SearchProperties[UITestControl.PropertyNames.ClassName] = "IEFrame";
// bw1.SearchProperties[UITestControl.PropertyNames.TechnologyName] = "MSAA";
// bw1.DrawHighlight();
HtmlDocument document2 = new HtmlDocument(bw2);
document2.SearchProperties[HtmlDocument.PropertyNames.Id] = null;
document.SearchProperties[HtmlDocument.PropertyNames.RedirectingPage] = "False";
// document.SearchProperties[HtmlDocument.PropertyNames.FrameDocument] = "False";
document2.FilterProperties[HtmlDocument.PropertyNames.Title] = "sachine - Bing";
document2.FilterProperties[HtmlDocument.PropertyNames.AbsolutePath] = "/search";
document2.FilterProperties[HtmlDocument.PropertyNames.PageUrl] = "http://www.bing.com/search?q=sachine&qs=n&form=QBLH&pq=sachine&sc=8-7&sp=-1&sk=&cvid=7ea461a67db341c1a6e6d14071f6ca29";
document2.WindowTitles.Add("sachine - Bing");
// document2.DrawHighlight();
HtmlCustom hc = new HtmlCustom(document2);
hc.SearchProperties[HtmlDocument.PropertyNames.Id] = "b_results";
hc.SearchProperties[HtmlDocument.PropertyNames.TagInstance] = "1";
// hc.DrawHighlight();
HtmlHyperlink hhl = new HtmlHyperlink(hc);
hhl.SearchProperties[HtmlDocument.PropertyNames.Id] = null;
hhl.SearchProperties[HtmlDocument.PropertyNames.InnerText] = "Sachin Tendulkar - Wikipedia, the free encyclopedia";
hhl.SearchProperties[HtmlDocument.PropertyNames.TagName] = "A";
hhl.FilterProperties[HtmlHyperlink.PropertyNames.AbsolutePath] = "/wiki/Sachin_Tendulkar";
// hhl.SearchProperties[HtmlDocument.PropertyNames.TagInstance] = "26";
// hc.SearchProperties[HtmlDocument.PropertyNames] = "http://en.wikipedia.org/wiki/Sachin_Tendulkar";
hhl.FilterProperties[HtmlHyperlink.PropertyNames.Href] = "http://en.wikipedia.org/wiki/Sachin_Tendulkar";
hhl.FilterProperties[HtmlHyperlink.PropertyNames.Class] = null;
hhl.WindowTitles.Add("sachine - Bing");
How to minimise no of line in this code.
vikashHi Viorel,
Thank you for your response.
I can reduce the size using helper variables but, I have written 100 lines of code for simple steps(already mentioned). Can I reduce ?
eg: I Created HtmlEdit object to type in text box but, for that, first I have to create their parents (BrowseWindow and HtmlDocument) objects. can I bypass their parents objects or reduce?
vikash -
Creating DataSources for File Source Systems in csv format in sap bw 7.0
Hi,
Please explain how to Create DataSources for File Source Systems in csv format in sap bw 7.0. WITH SCREENSHOTS
Thanks
JINI
Edited by: Jini Jayan on Jun 11, 2008 11:36 AMStep 1. Select Source systems under Modelling in the left panel. In the right panel, right-click Source systems and select Createu2026.
Step 2. Select the FileSystem, manual meta data, data using file inte option, and then click to continue.
Step 3. Enter a name and a description for the source system, and then click to create the source system.
Now create an application component
Step 1. Select InfoSources under Modelling in the left panel. In the right panel, right-click InfoSources and select Create application componentu2026.
Step 2. Enter a name and a description for the application component, and then click to continue. (BW automatically adds a prefix of "Z" to the technical names of application components, unlike the naming system used for other BW objects.If u give the name as AC_DEMO it will be saved as ZAC_DEMO in the system.
Now create infosource
Step 1.Select InfoSources under Modelling in the left panel. Right-click the newly created Application Component , and then select Create InfoSourceu2026.
Step 2. Select the option Master data/texts/hierarchies, and then click to continue.
Step 3. Enter your infoobject name, and then click to continue.
Now you will be asked
Infosource(name) assigned to Appln component(name)?
Click continue
Now go back to workbench and see the Infoobject listed under the Application component name (under Infosource)
Right click the infoobject name and select Assign Datasource
Enter the Infoobject name as Infosource name and the source system name and continue
Now you ll get datasource assignment confirmations for Infosource_ATTR and Infosource_TEXT for master data and text.
Click yes and continue
Now you ll be taken to the Infosource(master data) change screen
Source system name will be given
Below that u need to give the datasource name u2026.._ATTR
Click Activate.
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
For ex if your infoobj are IO_MATNUM and IO_MATNAME (material number and material name) copy and paste as
IO_MATNUM IO_MATNAME
MAT001 TEA
MAT002 COFFEE
MAT003 SUGAR
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_ATTR.csv
Now back to the Infosourcechange screen
Source system name will be given
Below that u need to give the datasource name u2026.._TEXT
And activate
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_TEXT.csv
Now create Infoobject to load data
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (Master data), enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_ATTR
Now take care to select the first item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
In the same way
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (text)enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_TEXT
Now take care to select the second item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
Click the icon below admn workbench to go to monitor and check the load
Or you go back to Infosourceu2014Appln Componentu2014InfoObju2014right clickmaintain master data
Click execute
You can see the data load
Hope this helps!!! -
Creating Alias for any application which has been integrated into portal
Hi All,
How to create Alias for any application which has been integrated into Portal?
What is portal alias?
What is URL alias?
What is the difference between all the three?
Thanks,
Jyothi.
Edited by: Venkata Naga Jyothi on Nov 23, 2011 10:18 AMHi jyothi,
1. For your first question Regarding How to create Alias for any application which has been integrated into Portal? Can you please be more clear here my question is why do you need to create alias for applications that are integrated into the portal.
2. For your second and third questions find the below links
http://help.sap.com/saphelp_nw70/helpdata/en/6e/8590f1d6d349c9adc34c6a8085189b/content.htm
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10da65ed-615b-2d10-efbc-ed07a5385633?QuickLink=index&overridelayout=true
Thanks,
Rahul.
Edited by: rahul.girmaji on Nov 23, 2011 6:29 PM -
How 2 creat report for displaying the details of a Delivery Document using
how to create report for displaying the details of a Delivery Document using the tables LIKP, LIPS
thank you
regards,
jagrut bharatkumar shukla
points will be rewardedHI
I AM GIVING YOU MY DELIVERY DOCUMENT CODE...MODIFY IT ACCORDING TO YOUR REQUIREMENT
*& Report ZDELIVERY *
report zdelivery message-id z9bhu .
types: begin of t_likp,
vbeln type likp-vbeln, "Delivery
erdat type likp-erdat, "Date for rec creation
* LFDAT TYPE LIKP-LFDAT, "Delevery Date
* WAERK TYPE LIKP-WAERK, "Currency
kunnr type likp-kunnr, "Ship-To Party
kunag type likp-kunag, "Sold-to party
traty type likp-traty, "Means-of-Transport
end of t_likp.
types: begin of t_lips,
vbeln type lips-vbeln, "Delivery
posnr type lips-posnr, "Delivery item
matnr type lips-matnr, "Material Number
arktx type lips-arktx, "Short Text for Sales Order Item
lfimg type lips-lfimg, "Actual quantity delivered
netpr type lips-netpr,
* MEINS TYPE LIPS-MEINS, "Base Unit of Measure
vgbel type lips-vgbel, "Doc no of the reference document
end of t_lips.
types: begin of t_vbpa,
vbeln type vbpa-vbeln, "SD DocumenT Number
posnr type vbpa-posnr, "Item number
parvw type vbpa-parvw, "Partner function
kunnrb type vbpa-kunnr, "Customer Number 1
end of t_vbpa.
types: begin of t_kna1,
kunnr type kna1-kunnr, "Customer Number 1
name1 type kna1-name1, "Name 1
ort01 type kna1-ort01, "City
adrnr type kna1-adrnr, "Address
end of t_kna1.
types: begin of t_li_vbpa,
vbeln type likp-vbeln, "Delivery
erdat type likp-erdat, "Date for rec creation
* LFDAT TYPE LIKP-LFDAT, "Delevery Date
* WAERK TYPE LIKP-WAERK, "Currency
kunnr type likp-kunnr, "Ship-To Party
kunag type likp-kunag, "Sold-to party
traty type likp-traty, "Means-of-Transport
vbeln1 type lips-vbeln, "Delivery
posnr type lips-posnr, "Delivery item
matnr type lips-matnr, "Material Number
arktx type lips-arktx, "Short Text for Sales Order Item
lfimg type lips-lfimg, "Actual quantity delivered
netpr type lips-netpr, "Net Price
* MEINS TYPE LIPS-MEINS, "Base Unit of Measure
vgbel type lips-vgbel, "Doc no of the reference document
vbeln3 type vbpa-vbeln, "SD DocumenT Number
parvw type vbpa-parvw, "Partner function
kunnrb type vbpa-kunnr, "Customer Number 1
end of t_li_vbpa.
types: begin of t_final,
vbeln type likp-vbeln, "Delivery
erdat type likp-erdat, "Date for rec creation
kunnr type likp-kunnr, "Ship-To Party
kunag type likp-kunag, "Sold-to party
traty type likp-traty, "Means-of-Transport
vbeln1 type lips-vbeln, "Delivery
posnr type lips-posnr, "Delivery item
matnr type lips-matnr, "Material Number
arktx type lips-arktx, "Short Text for Sales Order Item
lfimg type lips-lfimg, "Actual quantity delivered
netpr type lips-netpr, "Net Price
vgbel type lips-vgbel, "Doc no of the reference document
vbeln3 type vbpa-vbeln, "SD DocumenT Number
parvw type vbpa-parvw, "Partner function
kunnrb type vbpa-kunnr, "Customer Number 1
name1 type kna1-name1, "Name 1
ort01 type kna1-ort01, "City
adrnr1 type kna1-adrnr, "Address
name2 type kna1-name1, "Name 1
ort02 type kna1-ort01, "City
adrnr2 type kna1-adrnr, "Address
name3 type kna1-name1, "Name 1
ort03 type kna1-ort01, "City
adrnr3 type kna1-adrnr, "Address
end of t_final.
* D A T A D E C L A R A T I O N
*&*********Internal Table Declaration****************&*
data: it_likp type standard table of t_likp.
data: it_lips type standard table of t_lips.
data: it_vbpa type standard table of t_vbpa.
data: it_kna1 type standard table of t_kna1.
data: it_li_vbpa type standard table of t_li_vbpa.
data: it_li_vbpa_temp type standard table of t_li_vbpa.
data: it_final type standard table of t_final.
*&*********Work Area Declaration********************&*
data: wa_likp type t_likp.
data: wa_lips type t_lips.
data: wa_vbpa type t_vbpa.
data: wa_kna1 type t_kna1.
data: wa_li_vbpa type t_li_vbpa.
data: wa_li_vbpa_temp type t_li_vbpa.
data: wa_final type t_final.
*&*********Data Declaration************************&*
data: d_vbeln type likp-vbeln.
data: flag type i value 0.
* S E L E C T I O N S C R E E N D E C L A R A T I O N
selection-screen begin of block block2 with frame title text-001.
select-options: s_vbeln for d_vbeln obligatory. "Delivery no
selection-screen end of block block2.
* A T S E L E C T I O N - S C R E E N E V E N T S
*AT SELECTION-SCREEN.
*PERFORM VALIDATE_DATA.
* S T A R T O F S E L E C T I O N E V E N T S
start-of-selection.
perform fetch_data.
perform merge_data_kna1.
*INCLUDE Z9BT_SH_***4_FORMS.
call function 'OPEN_FORM'
exporting
* APPLICATION = 'TX'
* ARCHIVE_INDEX =
* ARCHIVE_PARAMS =
device = 'PRINTER'
* DIALOG = 'X'
* FORM = ' '
language = sy-langu
* OPTIONS =
* MAIL_SENDER =
* MAIL_RECIPIENT =
* MAIL_APPL_OBJECT =
* RAW_DATA_INTERFACE = '*'
* SPONUMIV =
* IMPORTING
* LANGUAGE =
* NEW_ARCHIVE_PARAMS =
* RESULT =
exceptions
canceled = 1
device = 2
form = 3
options = 4
unclosed = 5
mail_options = 6
archive_error = 7
invalid_fax_number = 8
more_params_needed_in_batch = 9
spool_error = 10
codepage = 11
others = 12
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
sort it_final by vbeln.
loop at it_final into wa_final.
call function 'START_FORM'
exporting
* ARCHIVE_INDEX =
form = 'Z9BT_DELIVERY'
language = sy-langu
* STARTPAGE = ' '
* PROGRAM = ' '
* MAIL_APPL_OBJECT =
* IMPORTING
* LANGUAGE =
exceptions
form = 1
format = 2
unended = 3
unopened = 4
unused = 5
spool_error = 6
codepage = 7
others = 8
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function 'WRITE_FORM'
exporting
element = 'ITEM_LIST'
function = 'SET'
type = 'BODY'
window = 'MAIN'
* IMPORTING
* PENDING_LINES =
* EXCEPTIONS
* ELEMENT = 1
* FUNCTION = 2
* TYPE = 3
* UNOPENED = 4
* UNSTARTED = 5
* WINDOW = 6
* BAD_PAGEFORMAT_FOR_PRINT = 7
* SPOOL_ERROR = 8
* CODEPAGE = 9
* OTHERS = 10
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function 'END_FORM'
* IMPORTING
* RESULT =
exceptions
unopened = 1
bad_pageformat_for_print = 2
spool_error = 3
codepage = 4
others = 5
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endloop.
call function 'CLOSE_FORM'
* IMPORTING
* RESULT =
* RDI_RESULT =
* TABLES
* OTFDATA =
exceptions
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
codepage = 5
others = 6
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
*& Form VALIDATE_DATA
* text
* --> p1 text
* <-- p2 text
form validate_data .
select single vbeln into wa_likp-vbeln
from likp where vbeln in s_vbeln.
append wa_likp to it_likp.
if sy-subrc <> 0.
flag = 1.
endif.
endform. " VALIDATE_DATA
*& Form FETCH_DATA
* text
* --> p1 text
* <-- p2 text
form fetch_data .
select a~vbeln
a~erdat
a~kunnr
a~kunag
a~traty
b~vbeln
b~posnr
b~matnr
b~arktx
b~lfimg
b~netpr
b~vgbel
c~vbeln
c~parvw
c~kunnr
into table it_li_vbpa
from likp as a
left outer join lips as b on a~vbeln = b~vbeln
inner join vbpa as c on b~vgbel = c~vbeln
where a~vbeln in s_vbeln and
c~parvw = 'RE'.
endform. " FETCH_DATA
*& Form MERGE_DATA_KNA1
* text
* --> p1 text
* <-- p2 text
form merge_data_kna1 .
if it_li_vbpa[] is not initial.
it_li_vbpa_temp[] = it_li_vbpa[].
sort it_li_vbpa_temp by kunnr.
delete adjacent duplicates from it_li_vbpa_temp comparing kunnr.
loop at it_li_vbpa into wa_li_vbpa.
read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
wa_li_vbpa-kunag.
if sy-subrc <> 0.
wa_li_vbpa_temp = wa_li_vbpa.
append wa_li_vbpa_temp to it_li_vbpa_temp.
endif.
read table it_li_vbpa_temp into wa_li_vbpa_temp with key kunnr =
wa_li_vbpa-kunnrb.
if sy-subrc <> 0.
wa_li_vbpa_temp = wa_li_vbpa.
append wa_li_vbpa_temp to it_li_vbpa_temp.
endif.
endloop.
endif.
if it_li_vbpa_temp[] is not initial.
select kunnr
name1
ort01
adrnr into table it_kna1 from kna1
for all entries in it_li_vbpa_temp
where kunnr = it_li_vbpa_temp-kunnr.
endif.
loop at it_li_vbpa into wa_li_vbpa .
wa_final-vbeln = wa_li_vbpa-vbeln.
wa_final-erdat = wa_li_vbpa-erdat.
*it_final-LFART = it_li_vbpa-LFART.
wa_final-kunnr = wa_li_vbpa-kunnr.
wa_final-kunag = wa_li_vbpa-kunag.
*it_final-VSTEL = it_li_vbpa-VSTEL.
wa_final-traty = wa_li_vbpa-traty.
wa_final-vbeln1 = wa_li_vbpa-vbeln.
wa_final-posnr = wa_li_vbpa-posnr.
wa_final-matnr = wa_li_vbpa-matnr.
wa_final-arktx = wa_li_vbpa-arktx.
wa_final-lfimg = wa_li_vbpa-lfimg.
wa_final-netpr = wa_li_vbpa-netpr.
*wa_final-GEWEI = it_li_vbpa-GEWEI.
*it_final-VOLUM = it_li_vbpa-VOLUM.
*it_final-VOLEH = it_li_vbpa-VOLEH.
wa_final-vgbel = wa_li_vbpa-vgbel.
wa_final-vbeln3 = wa_li_vbpa-vbeln.
*wa_final-PARVW = wa_li_vbpa-PARVW.
wa_final-kunnrb = wa_li_vbpa-kunnrb.
read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnr.
if sy-subrc = 0.
wa_final-name1 = wa_kna1-name1.
wa_final-ort01 = wa_kna1-ort01.
wa_final-adrnr1 = wa_kna1-adrnr.
endif.
read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunag.
if sy-subrc = 0.
wa_final-name2 = wa_kna1-name1.
wa_final-ort02 = wa_kna1-ort01.
wa_final-adrnr2 = wa_kna1-adrnr.
endif.
read table it_kna1 into wa_kna1 with key kunnr = wa_li_vbpa-kunnrb.
if sy-subrc = 0.
wa_final-name3 = wa_kna1-name1.
wa_final-ort03 = wa_kna1-ort01.
wa_final-adrnr3 = wa_kna1-adrnr.
endif.
append wa_final to it_final.
clear wa_final.
endloop.
endform. -
How to build ear files for ADF application using Ant task
How to build ear files for ADF applications using Ant. The ojdeploy ant task can not find application-level deployment profiles. I am trying to automated build and release for ADF application.
Any help is highly appreciated.
Thanks
ShivaHi Timo
Thanks for your reply.
I have successfully created ear file using ojdeploy on jenkins. however when am trying to auto deploy using WLDeploy ant task am getting the following
error :
weblogic.application.ModuleException: :oracle.mds.config.MDSConfigurationException:MDS-01335: namespace "/oracle/webcenter/quicklinks/scopedMD" mapped to metadata-store-usage "WebCenterFileMetadataStore" but its definition was not found in MDS configuration
Please advise how to handle this.
As am a newbie to ADF, could you please advise if it is possible for the ADF application deployments can be automated for different environments using jenkins due to this MDS dependencies.
Appreciate your help.
Thanks
Shiva -
What are the uses of MVC, Extension and how to create it for begineers pls
what are the uses of MVC, Extension and how to create it for begineers pls
dont give link for tutorials please explain ,
thank you,
Regards,
Jagrut BahratKumar ShuklaHi,
Check out this link :
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/0f/ab3a3c9ca75402e10000000a114084/content.htm</a>
It is the best possible explanation and documentation that you'll get.
Thanks,
Tatvagna. -
How to create documentation for report programs and how to use it
how to create documentation for report programs and how to use it in the selection screen by placing an icon in the Applicatin Tool bar. If i click this icon the help documentation has to display.
Note: Exaple <b>RSTXSCRP</b> programs selection screenHi
1 goto SE38 transaction, give the program name
2 Click on documentation radiobutton & then press change
3 Write your PURPOSE, PREREQUISITES etc details
4 Save the same & Activae it.
The icon will come automatically on selection screen
Thanks
Sandeep
Reward if useful -
How do you create a stand alone application using DAQmx when your application SCXI hardware isn't on the computer I am using to create the application? The DAQmx assitant won't allow me to create a task with hardware that isn't in my system.
You will need to have at least the DAQ device in your computer to add the chassis. When you add the chassis, don't auto detect the modules. You will have to add the terminal blocks and tell MAX which SCXI module will be connected to the DAQ device. Just make sure you don't test the chassis, when its not there.
I hope this helps.
Joshua -
How to create variant for table/view ?
Hi,
When I go through SM30, I find a radio button called variant. I don't know the effect.
Can anyone tell me how to create variant for table / view ?
I want to know when we need to create variant for table/view.
Best regards,
Chris Guhi ,
Whenever you start a program in which selection screens are defined, the system displays a set of input fields for database-specific and program-specific selections. To select a certain set of data, you enter an appropriate range of values.
For further information about selection screens, refer to Selection Screens in the ABAP User's Guide.
If you often run the same program with the same set of selections (for example, to create a monthly statistical report), you can save the values in a selection set called a variant
Procedure
To create a new variant:
1. On the ABAP Editor initial screen, enter the name of the program for which you want to create a variant, select Variants, and choose Change.
2. On the variant maintenance initial screen, enter the name of the variant to be created.
Note the naming convention for variants (see below).
3. Choose Create.
If the program has more than one selection screen, a dialog box for screen assignment appears. The dialog box does not appear if the program only has one selection screen. The selection screen appears in this case.
4. If there is more than one selection screen, select the screens for which you want to create the variant
5. Choose Continue.
The (first) selection screen for the report appears.
If your program has more than one selection screen, use the scroll buttons in the left-hand corner of the application toolbar to navigate between them and to fill the fields with values. If you keep scrolling forwards, the Continue button appears on the last selection screen.
6. Enter the desired selection values, including multiple selection and dynamic selection.
7. Choose Continue.
Maybe you are looking for
-
How to use dynamic file as welcome-file-list in web.xml
I have configured my web.xml file as this, <web-app> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.face
-
Why does iTunes 64-bit install in the 32-bit Program Files folder?
If "iTunes 8.2.1 for Windows (64 bit)" is really a 64 bit application then why does the installer want to put the program into C:\Program Files (x86)\ on Vista 64-bit instead of C:\Program Files\? Is this just sloppy work by the Apple programmers or
-
How do i delete albums on my iphone 4s
Trouble deleting photos from 4s
-
IPhone isn't recognising Contacts when receiving phone calls!
Whenever someone tries to call me, even if they don't have a private number and are in my contacts, it is coming up as 'Unknown' caller. Please help!
-
NameNotFoundException:com/collaxa/system/DomainManagerBean not found
I am trying to invoke a Business Process from a web application. The business process is deployed in OC4J BPEL PM Server and the web application is deployed in the OC4J AS that comes with the BPEL PM Server. The code that i wrote to invoke the busine