Logic required for the following
hello all,
this is naveen.
i hope you will help me out with the following.
I'm creating a screen with vendor id,country,name and no push buttons.
in the next screen i'm having purchase doc., purchase group, company code along with insert and exit push buttons.
when i enter the data in the in both the screens and press insert only data from the second screen is uploading into the master table.
I request you to provide the correct PBO and PAI logic for this in a simple way.
points will be rewarded.
thanks
naveen
PROGRAM ZVENDORMPOOL .
*& Module USER_COMMAND_0100 INPUT
text vendor first screen.
tables : lfa1.
DATA : BEGIN OF IT OCCURS 0,
LIFNR LIKE LFA1-LIFNR,
LAND1 LIKE LFA1-LAND1,
NAME1 LIKE LFA1-NAME1,
END OF IT.
MODULE USER_COMMAND_0100 INPUT.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module USER_COMMAND_0110 INPUT
text vendor second screen
TABLES : EKKO.
DATA : BEGIN OF JT OCCURS 0,
EBELN LIKE EKKO-EBELN,
BUKRS LIKE EKKO-BUKRS,
EKORG LIKE EKKO-EKORG,
EKGRP LIKE EKKO-EKGRP,
END OF JT.
MODULE USER_COMMAND_0110 INPUT.
CASE SY-UCOMM.
WHEN 'INSE'.
INSERT: LFA1, EKKO.
WHEN 'EXIT'.
LEAVE PROGRAM.
ENDCASE.
ENDMODULE. " USER_COMMAND_0110 INPUT
Following are the screens designed
Ist screen with out any push buttons(PB).
2nd screen with PB.
When we click the insert PB in second screen data from both screens should be updated in corresponding master data tables.
(both screen logic is written in pai only by me)
pls got through and give suggestion)
Similar Messages
-
Logic required for the requirement (urgent)
HI experts,
can anyone help me out regarding the following logic.
The logic will check for both complete and partial goods receipts and invoice receipts. Based on the PO line item history it will calculate the totals into following categories:
(1) Total PO Line Item value with both GR & IR
(2) Total PO Line Item value with GR but no IR
(3) Total PO Line Item value with IR but no GR
For a single PO line, it is possible to have the Total Line Item Value divided into one or more of the above three categories at the same time. For example, if for a PO line item with 100 unit at $10.00 per unit, there is a GR for 50 Units and IR for only 30 units, the three columns above will be populated as:
(1) Total PO Line Item value with both GR & IR 30 x 10 = 300
(2) Total PO Line Item value with GR but no IR 20 x 10 = 200
(3) Total PO Line Item value with IR but no GR 0 x 10 = 0
Similarly, if for a PO line item with 100 units and $10.00 per unit, there is a GR for 50 units and IR for 70 units, the three columns will be populated as:
(1) Total PO Line Item value with both GR & IR 50 x 10 = 500
(2) Total PO Line Item value with GR but no IR 0 x 10 = 0
(3) Total PO Line Item value with IR but no GR 20 x 10 = 200
Regards,
NagarajMaybe this example will help....
report zrich_0002 .
data: iekbe type table of ekbe with header line.
data: xmbew type mbew.
data: xekpo type ekpo.
data: begin of ibuckets occurs 0,
ebeln type ekpo-ebeln,
ebelp type ekpo-ebelp,
pgrir type p decimals 2, " Total GR & IR
pgr type p decimals 2, " Total GR
pir type p decimals 2, " Total IR
pgrni type p decimals 2, "GR no IR
pirng type p decimals 2, "IR no GR
end of ibuckets.
parameters: p_ebeln type ekko-ebeln,
p_ebelp type ekpo-ebelp.
start-of-selection.
clear iekbe. refresh iekbe.
select * into table iekbe from ekbe
where ebeln = p_ebeln
and ebelp = p_ebelp
and vgabe in ('1','2').
loop at iekbe.
clear ibuckets.
ibuckets-ebeln = iekbe-ebeln.
ibuckets-ebelp = iekbe-ebelp.
select single * from ekpo into xekpo
where ebeln = iekbe-ebeln
and ebelp = iekbe-ebelp.
select single * from mbew into xmbew
where matnr = xekpo-matnr.
case iekbe-vgabe.
when '1'.
ibuckets-pgrir = iekbe-menge * xmbew-stprs.
ibuckets-pgr = iekbe-menge * xmbew-stprs.
when '2'.
ibuckets-pgrir = iekbe-menge * xmbew-stprs.
ibuckets-pir = iekbe-menge * xmbew-stprs.
endcase.
collect ibuckets.
endloop.
loop at ibuckets.
ibuckets-pgrni = ibuckets-pgr - ibuckets-pir.
ibuckets-pirng = ibuckets-pir - ibuckets-pgr.
if ibuckets-pgrni < 0.
clear ibuckets-pgrni.
endif.
if ibuckets-pirng < 0.
clear ibuckets-pirng.
endif.
modify ibuckets.
endloop.
loop at ibuckets.
write:/ ibuckets-ebeln,
ibuckets-ebelp ,
ibuckets-pgrir,
ibuckets-pgr ,
ibuckets-pir ,
ibuckets-pgrni ,
ibuckets-pirng .
endloop.
Regards,
Rich Heilman -
Logic needed for the following data
Hi All,
I have procedure in that I am calling a cursor to fetch the records. This query is returning the following data
DI
SZ
DII
CWT
Top
down
9 1/2
9.625
8.921
36
18
1602
13 1/2
13.375
12.515
61
19
1962
18 1/2
18.625
17.755
87.5
20
503
26
26
24.75
105
20
103
9 1/2
9.625
8.835
40
1602
3858
7
7
6.276
26
1683
6352
I want to print just these values ..
9 1/2
9.625
8.921
36
18
1602
9 1/2
9.625
8.835
40
1602
3858
7
7
6.276
26
1683
6352
As you can see in these values top and down are overlapping.
I tried several ways to sort the query on the fields and have some logic, but I am always getting one row extra which is not overlapping.
Can someone please give me the logic to get the desired result through conditions in Procedure/function/package
ThanksBrendanP wrote:
26 AND t.top
"AND t.top....."... what?
Here's another solution, giving the least overlap over the greatest distance...
SQL> ed
Wrote file afiedt.buf
1 with data as (select 1 id , 18 top, 1602 down from dual union all
2 select 2,19, 1962 from dual union all
3 select 3,20, 503 from dual union all
4 select 4,20, 103 from dual union all
5 select 5,1602, 3858 from dual union all
6 select 6,1683, 6352 from dual
7 )
8 -- -------------------------------------------------------
9 -- END OF TEST DATA JUST USE QUERY BELOW AGAINST OWN TABLE
10 -- -------------------------------------------------------
11 ,idealpath as (
12 select id, path, idpath
13 from (
14 select id, path, idpath, cmlt_diff, min_diff, cvrg, max_cvrg
15 from (
16 select x.id
17 ,x.path
18 ,idpath
19 ,to_number(y.column_value) as cmlt_diff
20 ,min(to_number(y.column_value)) over (partition by cvrg) as min_diff
21 ,cvrg
22 ,max(cvrg) over () as max_cvrg
23 from (
24 select connect_by_root(id) as id
25 ,down-connect_by_root(top) as cvrg
26 ,ltrim(sys_connect_by_path(prior down-top,'+'),'+') as cmlt_diff
27 ,ltrim(sys_connect_by_path(top||'-'||down,':'),':') as path
28 ,ltrim(sys_connect_by_path(id,':'),':') as idpath
29 from data
30 where connect_by_isleaf = 1
31 connect by nocycle top between prior top and prior down
32 and not down between prior top and prior down
33 ) x
34 ,xmltable(nvl(cmlt_diff,'0')) y
35 )
36 where cvrg = max_cvrg
37 )
38 where cmlt_diff = min_diff
39 )
40 --
41 select d.id, d.top, d.down
42 from data d
43 ,(select level l, to_number(regexp_substr(idpath,'[^:]+',1,level)) as id
44 from idealpath
45 connect by regexp_substr(idpath,'[^:]+',1,level) is not null) bp
46 where bp.id = d.id
47* order by bp.l
SQL> /
ID TOP DOWN
1 18 1602
2 19 1962
6 1683 6352 -
Hi All,
What are the ports required for the Audio, Video and A/V conferencing when the following clients are enabled for QoS in Lync 2013 server?
Client Type
Port range and Protocol required for Audio
Port range and Protocol required for
Video
Port range and Protocol required for
A/Vconferencing
Windows Desktop Client
Windows mobile App
Iphone
Ipad
Andriod phone
Andriod Tablet
MAC desktop client
Please advise. Many Thanks.Out of the box, 1024-65535 for all of the client ports. :)
https://technet.microsoft.com/en-us/library/gg398833.aspx
You'll want to tune your client ports a bit
https://technet.microsoft.com/en-us/library/jj204760.aspx as seen here, and then the client ports would use those ranges which is easier to set QoS markings. I'm not sure the mobile clients respect that setting.
Elan's got the best writeup for Windows clients here:
http://www.shudnow.net/2013/02/16/enabling-qos-for-lync-server-2013-and-various-clients-part-1/
However, the marking of the packets is the tricky part. Windows can do it via Group Policy, but for the other clients you'll need to have the network specifically prioritize ports regardless of DSCP markings. You have to do it based on ports
as the traffic could be peer to peer.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
SWC Unified Communications
This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Conversion logic for the following!!
Hi,
Experts
can you help me to build a conversion logic for the following
1.BKPF-BLART .setting it to 'ZF'.
2.BKPF-MONAT derived from posting date
3.BKPF-WAERS set to GBP
4.Dr/.Cr indicator BSEG-SHKZG.
If Posting Key (BSEG-BSCHL) is u201840u2019 then this indicator (BSEG- SHKZG)is u2018Su2019 (Debit)
If Posting Key (BSEG-BSCHL) is u201850u2019 then this indicator (BSEG- SHKZG)is u2018Hu2019 (Credit)
5.a)If Cost Object Type is u2018Cu2019 (= Cost Centre), then Cost Collection Object Id shall be mapped to BSEG- KOSTL.
BSEG- PRCTR should be derived from the Cost Centre Master data CSKS- PRCTR.
Effective date should fall between the validity dates CSKS-DATAB and CSKS-DATBI
b)If Cost Object Type is u2018Iu2019 (= Internal Order), then Cost Collection Object Id shall be mapped to BSEG- AUFNR.
BSEG - PRCTR should be derived from the Internal Order Master data AUFK-PRCTR
c)If Cost Object Type is u2018Wu2019 (= Work Breakdown Structure element), then Cost Collection Object Id shall be mapped to BSEG-PROJK.
BSEG - PRCTR should be derived from the WBS Master data PRPS-PRCTR
d)If Cost Object Type is u2018Pu2019 (= Profit Centre), then Cost Collection Object Id shall be mapped to BSEG - PRCTR.
6.Ledger Group BKPF-LDGRP. Set it to u2018Blanku2019 so that the document is posted to all ledgers.
7.Set BSEG-KOKRS (Controlling Area) to 1000.Please do not dump your specs here expecting others to do you work.
matt -
Solution needed for the following Requirement..
Hi Friends,
Need an answer for the following . Its for Voluntary Time Recording...
1) Maintain IT0007 with the percentage of employment for both part time and full time employees.
2) The Max Flexi-time for part-time and full-time employees is 37.5/40 hours per week.
3) Maintain attendance infotype.
4) Notification to be sent to the manager once the flexi-time reaches a limit of +15/-15 hours per week. This has to be done through workflow.
5) For the fulltime employees, the flexitime applicable is only +15 as they will maintain absence quota.
6) Once the request is approved , the flexi-time data has to get save in the database.
7) In the quota overview, the daily view is to be removed. The time accounts detail should not be there. The only relevant columns to be displayed are Key Date(Default is current date), Type(Flexitime) and Current Balance(in hours)
If you can please let me know of the configuration changes and workflow changes too...
Thanks,
KumarModerator message - Please do not post your requirements and ask the forum to do your work for you.
post locked -
Need Mapping logic for the following scenario
Hi everyone,
I need a mapping logic for the following scenario.
For the same order no with same material no, the quantity should be summed and only one idoc should be created.
For the same order no with different material no, no need to sum the quantity and only one idoc should be created.
For example:
Source Structure:
Ord No Mat No QTY
12 1 2
13 1 3
13 2 1
12 2 4
15 1 5
14 3 7
12 1 6
Target Structure:
Ord No Mat No QTY
12 1 8
12 2 4
13 1 3
13 2 1
14 3 7
15 1 5
Thanks in AdvanceTry the graphical mapping as shown below using concat with a space as delimite and UDF to split the value again by space.
1. Idoc node
(RootContext)
OrdNo
|concat[ ] -> sort[asending] -> SplitByValue -> collapseContexts -> Idoc
MatNo case sensitive [ValueChange]
(RootContext)
2. OrdNo
OrdNo(RC)
|concat[ ] -> sort[asending] ->SplitByValue->collapseContexts->SplitByVale-> UDF to fetch ordno -> OrdNo
MatNo(RC) case sensitive [ValueChange] [eachValue] (return var1.split(" ")[0];)
3. MatNo
OrdNo(RC)
|concat[ ] -> sort[asending] -> SplitByValue ->collapseContexts->SplitByVale-> UDF to fetch ordno -> MatNo
MatNo(RC) case sensitive [ValueChange] [eachValue] (return var1.split(" ")[1];)
4. Qty
[asending,case sensitive]
-- sortByKey -----> formatByExample -> sum ->Qty
OrdNo(RC) | | ^
|concat[ ] -> | Qty(RC) |
MatNo(RC) | |
--sort[asending]-> SplitByValue
case sensitive [ValueChange]
Regards,
Sunil Chandra -
Provide the java code for the following scenario.
Hi Experts,
I have tried with all the combinations for this scenario. As per my understanding i require java code for the following scenario
so that it becomes easy........
I require a Message mapping for this Logic.
In the Source there are 4 fields and, the Target side, the fields should appear like this.
Source Structure- File
Record
|-> Header
Order_No
Date
|-> Item
Mat_No
Quantity
Target Structure-IDoc
IDoc
|-> Header
|-> Segment
Delivery_Order_No
Recv_Date
|-> Item
|-> Segment
Delivery_Order_No
Material_Num
Recv_Quantity.
The Logic is for every Order number an IDOC is generated.And if the Material num matches then the quantity should be added. and important note is that the material numbers are different for every order number. That means if a material number is 2 in the order number A. Then the material number can never be 2 in any of the order numbers.Here is the following with an example for the above scenario.
For example:-
we have
Source Structure- File
Order-no Date Mat_No Quantity
1 01/02/2011 A 10
1 01/02/2011 B 15
1 01/02/2011 A 10
2 01/02/2011 C 10
2 01/02/2011 C 10
3 01/02/2011 D 20
3 01/02/2011 D 10
3 01/02/2011 E 25
Target Structure-IDoc
Delivery_Order_No Recv_Date Material_Num Recv_Quantity
1 01/02/2011 A 20
1 01/02/2011 B 15
2 01/02/2011 C 20
3 01/02/2011 D 30
3 01/02/2011 E 25
So for this example total of 5-Idocs created. That means for this example if Order_No is 1 When the Mat_No is A the quantity gets added. For this Scenario 1 IDoc with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) is generated by adding the quantity field in the Target Side. Similarly if Order_No is 1 when the Mat_No is B then separate IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) in the Target Side. Similarly, if Order_No is 2 when the Mat_No is C, an IDoc is generated with four Fields 2 in Header(Delivery_Order_No, Recv_Date) and 2 in Item(Material_Num, Recv_Quantity) by adding the quantity field in the Target Side. ike wise the process goes on upto 3.Kindly do the needy..
Kindly provide the java code.
Thanq very much in advance..what i have understood from ur example is that u want to generate an idoc for unique combination of Order-no and Mat_No
if yes then chk the below mapping..
change the context of Order_No, Date, Mat_No and Quantity to Record (right click-> context)
1)
Order-no
----------------------concat[;]---sort----splitbyvalue(valuechanged)-----collapse context---IDoc
Mat_No
2)
Order-no
--------concat[;]---sort----splitbyvalue(value changed)---collapse context---UDF1--splitbyvalue(each value)--Delivery_Order_No
Mat_No
3)
Order-no
-----------concat[;]---sortbykey----------------------- \
Mat_No / \
Date--------------- / \
----------------------------------------------------------FormatByExample-----collapsecontext---splitbyvalue(each value)----Recv_Date
Order-no /
-----------concat[;]---sort----splitbyvalue(value changed)
Mat_No
4)
Order-no
--------concat[;]---sort----splitbyvalue(value changed)---collapse context-UDF2--splitbyvalue(each value)--Material_Num
Mat_No
5)
Order-no
-----------concat[;]---sortbykey
Mat_No /
Quantity --------------- /
----------------------------------------------------------FormatByExample-----SUM(under statistic)----Recv_Quantity
Order-no
-----------concat[;]---sort----splitbyvalue(value changed)
Mat_No
UDF1:
String [] temp= a.split(";");
return temp[0];
UDF2:
String [] temp= a.split(";");
return temp[1]; -
In web dynpro i want explanation/definition for the following things
Hi dudes,
I want explanation *** definition for the following
(1) web dynpro
(2) Cardinality
(3) methods
(4) Nodes
(5) Attributes
(6) Interface
(7) Views
(8) Windows
(9) Mapping
(10)Binding
(11)Model
(12)ControllerHi,
Here are the defintions for the terms you hav requested-
Web Dynpro Architecture
Definition
Web Dynpro is the SAP NetWeaver programming model for user interfaces (UIs).
The Web Dynpro model is based on the Model View Controller paradigm, and has the
following features that build on the classic dynpro model:
Clear separation of business logic and display logic
Uniform metamodel for all types of user interfaces
Execution on a number of client platforms
Extensive platform independence of interfaces
Web Dynpro provides support for developing Web representation of a business application.
You use specific tools to describe the properties of a Web Dynpro application in the form of
Web Dynpro metadata. The necessary source code is then generated automatically and
executed at runtime. In addition to the events offered by the framework, you can also define
your own events for a Web Dynpro application. However, the event handling must always be
programmed in separate source code areas which are executed automatically when the event
is triggered at runtime.
In Web Dynpro, each user interface is always made up of the same basic elements. These
elements of the metamodel can be statically declared using Web Dynpro tools.
It is also possible to implement elements of the metamodel at runtime and to change them or
reintegrate them at runtime. Using these implementations, you can make any changes or
enhancements to a user interface that has been created by declarative methods by
generating new interface structures at runtime.
This means that you can combine declarative processes and the implementation of source
code.
A Web Dynpro component is a reusable entity. It summarizes all components that are
required as part of this programming unit for an executable Web Dynpro application.
The Web Dynpro component concept offers a number of advantages:
Structuring of the programming
Creation of easily manageable application blocks
Reusability of whole components
Decoupling of software projects in both time and space
The Web Dynpro component contains any number of windows and views and their
corresponding controllers. Additional Web Dynpro components can also be referenced.
View
A view describes the layout and behavior of a rectangular area of a user interface.
Every Web Dynpro application has at least one view. The layout of a view is made up of
different user interface elements, which can be nested in each other. The positioning of
interface elements in one view is supported by the supplied layout variants.
In addition to the visible part, the layout, a view also contains a controller and a context. The
data to which the elements of the view can be bound are stored and managed in the view
context, enabling them to be represented or used on the screen. The view controller can
contain methods for data retrieval or for processing user input.
Window
A window is used to combine several Views and View Sets (the concept of view sets is only
offered in Web Dynpro for Java). A view can only be displayed by the browser if it has been
embedded in a window. A window always contains one or more views, which are connected
by navigation links. One of these views, or a view set, is specified as the start view and is
displayed the first time the window is called.
Windows have inbound and outbound plugs.
Inbound Plugs and Outbound Plugs
A window has one or several inbound or outbound plugs. Using these plugs, a window can be
included into a navigation chain. The concept of these plugs corresponds to the concept of
the plug for a view. Each plug of a window is visible within the entire window and can be used
for navigating within this window. In addition, one or several plugs can be made accessible to
the component interface so that they are visible even beyond the limits of the component in
question. They thus belong to the interface view of the relevant window.
They are used to navogate from one view to other and pass the data between the views. Which view to be called next from current view - the flow of views is descriebd here using Plugs.
Controller
Controllers are the active parts of a Web Dynpro application. They define how the user can
interact with the Web Dynpro application. The data that a controller can access is defined in
the corresponding context. Different instances of controllers and contexts exist within a Web
Dynpro application.
View Controller
Each view has exactly one view controller, which processes the actions performed by the user in the view.
A view also has exactly one view context, which contains the data required for the view.
Interface Controller
Each Web Dynpro component contains exactly one component controller. This controller is a
global controller that is visible also outside the component. It is thus part of the interface of a
Web Dynpro component.
Context
Definition
The data used in the component or in the view are stored in the context. Read-write access to
this data is available using the controllers as a starting point.
Structure
The data from the contexts is managed in a hierarchical structure. Each context has a root
node, underneath which the individual data fields (attributes) are stored in a tree structure.
You create this tree structure according to the structure of your application.
CONTEXT is generally called as a ROOT Node.
Each context has nodes and attributes also.
Cardinatlity
Each node contains data fields that represent one of the following:
u2022
An individual instance of an object type
u2022
A table of instances.
This property of a node is known as its cardinality. The following table summarizes the
possible cardinalities for a node:
Cardinality Description
1:1 The node contains only one element instance, which is instantiated automatically.
0:1 The node contains only one element instance, which must not be instantiated.
1:n The node can contain multiple element instances, of which at least one must always be
instantiated (and is instantiated automatically).
0:n The node can contain multiple element instances, of which none have to be instantiated.
Further information about this and other properties of context nodes is available in the section
Context-Nodes: Properties.
Recursion Nodes
Dynamic node nesting is possible within a context, creating what is called a recursion node.
The node that is used for recursion is always a predecessor of the new node. The newly
created recursion node is a reference to a predecessor node and therefore cannot be
processed separately. Instead it takes on the structure of the node to be repeated.
Data Binding and Mapping
Within the Web Dynpro architecture, the contexts of the different controllers can be linked in
different ways:
u2022
A UI element of the user interface of the view can be linked with an element of the view
context.
u2022
A mapping can be defined between two global controller contexts, or from a view
context to a global controller context.
The context of a global controller can be linked to a Web Dynpro Model.
Defining Mapping Between Two Contexts
The elements of a view context can be locally defined. In this case (represented in the graphic
below as a "Local Node"), all the contained attributes are only visible within the relevant view.
When the view disappears, the attribute values are deleted.
Event
The component controller allows you to create events.
Events are used to communicate between controllers and enable one controller to trigger
event handlers in a different controller.
Cross-component communication can be implemented using the interface controlleru2019s events.
Events that were created in the component controller are visible within the component only.
Inbound Plugs
Inbound plugs in a view also react like an event. Therefore, when a view is called using an
inbound plug, the event handler that is optionally available for the inbound plug is always
called first. In this case event handling takes place within the current view controller.
UI Element Events
Some UI elements, such as the Button element have special events that are linked with user
actions. These events are predefined and have to be linked with an action at design time.
Actions for UI Element Events
Some UI elements such as the button element can react to a useru2019s interaction: clicking on
the corresponding pushbutton can trigger a handling method to be called within the view
controller. Such UI elements are equipped with one or several general events, which can be
linked with a specific action at design time (switching to a subsequent view, for example). If
such an action is created, an event handler method for this action is created automatically. In
this way, you can equip a UI element event (which has been inserted several times into a
view) with different actions as necessary. The event is then processed by the corresponding
event handler depending on the action that is linked.
Interfaces of Web Dynpro Components
Each component has an interface in order to enable communication between Web Dynpro
components and to enable a component to be called up by a user. This interface consists of
two parts:
Interface View of a Window Contained in a Component
The interface view of a Web Dynpro window is used to link a window with a Web Dynpro
application that can be called by the user.
Reward if helpful.
Best Wishes,
Chandralekha -
Function modules for the following
Hi,
I want to know the function modules for the following purposes.
1) Check whether a date is valid or not
2) Calculate the no of days between two dates.
Expecting an early response.
Thanks n Regards,
AmitHi,
PARAMETERS: p_list LIKE t009b-bumon AS LISTBOX
VISIBLE LENGTH 11 OBLIGATORY ,
p_list1 LIKE t009b-bdatj OBLIGATORY.
SELECTION-SCREEN POSITION POS_HIGH.
PARAMETERS: p_list2 LIKE t009b-bumon AS LISTBOX
VISIBLE LENGTH 11 OBLIGATORY,
p_list3 LIKE t009b-bdatj OBLIGATORY.
Calling Function Module for calculating no of days between the
selected period
CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
EXPORTING
par_month = p_list
par_year = p_list1
IMPORTING
par_days = ws_n_days.
CALL FUNCTION 'NUMBER_OF_DAYS_PER_MONTH_GET'
EXPORTING
par_month = p_list2
par_year = p_list3
IMPORTING
par_days = ws_n_days1.
For Concatenating the month and year into the date format
CONCATENATE p_list1 p_list ws_i INTO ws_c_date1.
CONCATENATE p_list3 p_list2 ws_n_days1 INTO ws_c_date2.
date = ws_c_date1 - ws_c_date2.
In the above sample code the selection screen has month and year as input.
Also check this link
http://www.sapdevelopment.co.uk/tips/date/datehome.htm
Check FM
<b>RP_CALC_DATE_IN_INTERVAL</b> Add/subtract years/months/days from a date
<b>SD_DATETIME_DIFFERENCE</b> Give the difference in Days and Time for 2 dates
<b>Also for checking valid date:</b>
U can specify the date field as
Select-options: s_date like likp-date(similar to ur requirement)
This itself ceck for the valid date no seperate validation needed.
Thanks & Regards,
Judith. -
When `ve downloaded the latest itunes and then i go to install it i get a message saying there is a problem with this windows installer package a program required for the install to complete could not be run, contact your support personnal or package vendor any ideas anyone ? thanks
Try the following user tip:
"There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows -
Sender FCC for the following structure.
Hi,
I am using the following source structure:
<Goods> 0..unbounded(Data Type)
<HeaderData>(1..1)
<1>
<2>
<3>
<ItemData>(1..unbounded)
<10>
<11>
<12>
<13>
<n>
1:What will be the FCC details for the above structure?
2:Solution for the following error:
"Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: 'xml.documentName' is a mandatory parameter if more than one recordset per message is specifiedMandatory parameter 'xml.keyfieldName': no value found"
Regards,
Vishal.P836340 wrote:>
> 1:What will be the FCC details for the above structure?
Document Name: your msg type
Document Offset:
Recordset Name:
Recordset Namespace:
Recordset Structure: HeaderData,1,ItemData,*
Recordset Sequence: Ascending\Descending
Recordset per Message: *
KeyField Name: give one value which u want to use as a key
KeyField Type: String(Case Sensitive)
header.fieldFixedLengths fix length according to your requirement eg: 2,2,2
header.keyFieldValue value of field which fixed as key field in header
header.fieldNames 1,2,3
body.fieldFixedLengths fix length according to your requiremen eg: 2,2,2,2
body.keyFieldValue 02 value of field which fixed as key field in item
body.fieldNames 10,11,12,13
> 2:Solution for the following error:
> "Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: 'xml.documentName' is a mandatory parameter if more than one recordset per message is specifiedMandatory parameter 'xml.keyfieldName': no value found"
It is because you would have missed the values for the mandatory fields like documentName and keyfieldName
Thanks,
Arivarasu
Edited by: Arivarasu S on Aug 5, 2009 9:32 PM
Edited by: Arivarasu S on Aug 5, 2009 9:33 PM
Edited by: Arivarasu S on Aug 5, 2009 9:35 PM -
I have a requirement for the Standard report like QA33
Hi All
I have a requirement for the Standard report like QA33. The requirement is that, in the output of QA33,
The Requisitioner, Purchasing group and Tracking Number should be displayed
Please give me suggestions to do this
I searched for User Exits and I found QEVA0004, QEVA0005, QEVA0006, QEVA0007, QEVA0008, QEVA0009, QEVA0010, QLCO0001, QSS10001.
In the Above which exits I can use and how to implement them
Pls reply
Thnx in Advance
Regards
P KAMALWhen changing or deleting one or more lines of the internal table
"\PROGRAM=ZRQEEAL10\DATA=SELECT_FIELDS" or when inserting in the table
"\PROGRAM=ZRQEEAL10\DATA=SELECT_FIELDS", 0 was used as
the line index. An index less than or equal to zero is not
allowed.
The error can occur when using the following options:
1. "INDEX idx" for specifying the line number in the table
"\PROGRAM=ZRQEEAL10\DATA=SELECT_FIELDS"
where you want to change, insert or delete.
2. "FROM idx" for specifying the start index when deleting a line
area from or inserting a line area into the table
"\PROGRAM=ZRQEEAL10\DATA=SELECT_FIELDS".
3. "TO idx" for specifying the end index when deleting a line
area from or inserting a line area into the table
"\PROGRAM=ZRQEEAL10\DATA=SELECT_FIELDS".
At the time of the termination, the table contained 2 lines.
This is the error
I went to se80 and copied the whole program - > but getting this error -
Pre-requisites required for the local configuration of the Weblogic portal
Hi All,
I have got the code from the client. It is appenntly came to know that Code has been developed in Weblogic workshop.
When we build teh application we are getting the following web services related Errors:
ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
ERROR: ERROR
ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
ERROR: ERROR
ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
ERROR: ERROR
ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
ERROR: ERROR
ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
ERROR: ERROR
ERROR: DESCRIPTION:An unexpected exception occurred while attempting to locate the run-time information for this Web Service. Error: java.lang.NullPointerException:null
WARNING: SUGGESTION:An unexpected error occurred. Please contact [email protected] for further assistance.
PortaleWebApp: Created control beans for 19 controls in 12703 milliseconds
BUILD FAILED
ERROR: Build failed with 15 error(s).
When we deploy in the Portal weblogic server, Application is deploying with out any errors. But it is not showing any login page when I start the PTLoginMain.portal file.
As I am completly new to this Weblogic Portal server, Please let me know, Do i need to configure the any setting before starting the application. I mean to ask you that Pre-requisites required for the local configuration of the Weblogic portal Server.
Any Help would be much appriciated.
Regards & thanks,
Nirmala Vijaay Sekhar Varreand your server address can be resolved or not?
Are you accessing the server from Windows or Linux?
- On Linux try editing the /etc/hosts file and add something like: 10.241.110.105 server1.etcetera
- On Windows try editing the C:\WINDOWS\system32\drivers\etc\hosts file and add something like: 10.241.110.105 server1.etcetera
When this works, contact your system administrator and ask him or her to map an ip to your hostname in DNS and DHCP
such that the servername automatically resolves the ip-address -
Requirement for the Q monitoring report
Hi experts,
i have this requirement. could you please tell me the solution.
<b>Requirement for the Q monitoring report
Transaction code LL01
Requirement: The report to be generated for the open documents in all six warehouses D01 to D06.
Option can be that one batch job should be created in ECQ which will run everyday and give us the report.
Variants are set for all warehouses to capture the report.
Please note that theses variant is set to capture all the Stocks in interim storage types except 915
Additional Variant is also set into the report to take the CREATED BY field in the displayed data. This can also be automated in the report.
The steps which we follow to get the report is as follows
Thanks & Regards
Venkat</b>Hi,
I donot think such Multi level Consumption Report is available. I think if use collective order concept, u can get it. Otherwise u have to pass the list Production order number for each BOM level at COOIS.
or u have to develop customized report.
Pradeep
Maybe you are looking for
-
Reinstalled Arch, sound works but not when I login
Hey guys I just reinstalled Arch, card has worked fine before (M-Audio Revolution 7.1). It works fine now, too, as I have a little "welcome.wav" file that plays when I reach GDM on boot, and it plays just fine but as soon as I log in I can't get any
-
Creating multivalue parameter in SSRS on top of DB2 views
How to create multivalue parameterized report in SSRS for belo scenerio: Data source is DB2 and we don't need to write whole query as expression while creating dataset. But if we don't need to write whole query as expression in SSRS, is that possible
-
Problem in the BDC program to upload the data from a flat file.
Hi, I am required to write a BDC program to upload the data from a flat file. The conditions are as mentioned below:- 1) Selection Screen will be prompted to user and user needs to provide:- File Path on presentation server (with F4 help for this obl
-
Web Service + Complex Type + Java Studio Creator
Hy all!! I am using Ubuntu 7.04 + Java Studio Creator 2 and i'm trying to use a webservice. This webservice uses a Complex Type and was made in PHP. I guarantee that this webservice is working with complex type because i've tested using a PHP client.
-
Web Photo Gallery Missing from Photoshop CS4
Has anyone else found this to be valuable feature that is no longer available? We used this feature regularly as a method for proofing our customers and I have found that the one that is included in Bridge is sorely lacking from the Photoshop version