Doubt in this code can any one clarify this
this is a code in program generated by sap query
SELECT VBRKBUKRS VBRKBZIRK VBRKFKDAT VBRKKUNAG VBRK~SPART
VBRKVBELN VBRKVKORG VBRKVTWEG VBRKXBLNR VBRP~FKIMG
VBRPMATKL VBRPMATNR VBRPPOSNR VBRPVBELN VBRP~VKBUR
VBRPVKGRP VBRPVRKME VBFAERDAT VBFAMEINS VBFA~POSNN
VBFAPOSNV VBFARFMNG VBFAVBELN VBFAVBELV VBFA~VBTYP_N
VBFA~VBTYP_V
INTO (VBRK-BUKRS , VBRK-BZIRK , VBRK-FKDAT , VBRK-KUNAG , VBRK-SPART
, VBRK-VBELN , VBRK-VKORG , VBRK-VTWEG , VBRK-XBLNR , VBRP-FKIMG
, VBRP-MATKL , VBRP-MATNR , VBRP-POSNR , VBRP-VBELN , VBRP-VKBUR
, VBRP-VKGRP , VBRP-VRKME , VBFA-ERDAT , VBFA-MEINS , VBFA-POSNN
, VBFA-POSNV , VBFA-RFMNG , VBFA-VBELN , VBFA-VBELV , VBFA-VBTYP_N
, VBFA-VBTYP_V )
FROM ( VBRK
INNER JOIN VBRP
ON VBRPVBELN = VBRKVBELN
INNER JOIN VBFA
ON VBFAPOSNV = VBRPPOSNR
AND VBFAVBELV = VBRPVBELN )
WHERE VBRK~BUKRS IN SP$00009
AND VBRK~BZIRK IN SP$00012
AND VBRK~FKDAT IN SP$00002
AND VBRK~KUNAG IN SP$00003
AND VBRK~SPART IN SP$00013
AND VBRK~VBELN IN SP$00001
AND VBRK~VKORG IN SP$00010
AND VBRK~VTWEG IN SP$00011
AND VBRP~MATKL IN SP$00008
AND VBRP~VKBUR IN SP$00015
AND VBRP~VKGRP IN SP$00014
AND VBFA~VBTYP_N IN SP$00004
AND VBFA~VBTYP_V IN SP$00005.
%DBACC = %DBACC - 1.
IF %DBACC = 0.
STOP.
ENDIF.
CHECK SP$00004.
CHECK SP$00005.
CHECK SP$00009.
CHECK SP$00012.
CHECK SP$00002.
CHECK SP$00003.
CHECK SP$00013.
CHECK SP$00001.
CHECK SP$00010.
CHECK SP$00011.
CHECK SP$00008.
CHECK SP$00015.
CHECK SP$00014.
CHECK SP$00006.
PERFORM TEXTFIELD_REFRESH(RSAQEXCE).
PERFORM TEXTFIELD_CONTEXT(RSAQEXCE) USING 'VBRK' VBRK.
PERFORM TEXTFIELD_CONTEXT(RSAQEXCE) USING 'VBRP' VBRP.
PERFORM TEXTFIELD_CONTEXT(RSAQEXCE) USING 'VBFA' VBFA.
PERFORM TEXTFIELD_CALL(RSAQEXCE) USING VBRP 'VBRP' 'MATKL'
TEXT_VBRP_MATKL.
PERFORM TEXTFIELD_CALL(RSAQEXCE) USING VBFA 'VBFA' 'VBTYP_N'
TEXT_VBFA_VBTYP_N.
PERFORM TEXTFIELD_CALL(RSAQEXCE) USING VBFA 'VBFA' 'VBTYP_V'
TEXT_VBFA_VBTYP_V.
ADD 1 TO %COUNT-VBRK.
%LINR-VBRK = '01'.
EXTRACT %FG01.
%LINR-VBRK = '02'.
EXTRACT %FG02.
%EXT-VBRP02 = 'X'.
EXTRACT %FGWRVBRP02.
%LINR-VBRK = '03'.
EXTRACT %FG03.
%LINR-VBRK = '04'.
EXTRACT %FG04.
%EXT-VBFA04 = 'X'.
EXTRACT %FGWRVBFA04.
%LINR-VBRK = '05'.
EXTRACT %FG05.
ENDSELECT.
in this code what check statement does
Hi Avinash kodarapu,
The use of check statement is ...
Terminating a Loop Pass Conditionally
To terminate a single loop pass conditionally, use the
CHECK <condition> statement in the statement block of
the loop.
If the condition is not true, any remaining statements
in the current statement block after the CHECK statement
are ignored, and the next loop pass starts. <condition>
can be any logical expression.
DO 4 TIMES.
CHECK SY-INDEX BETWEEN 2 and 3.
WRITE SY-INDEX.
ENDDO.
The output is:
2 3
The first and fourth loop passes are terminated without
the WRITE statement being processed, because SY-INDEX is
not between 2 and 3.
So what the check statement does is that it checks if
SPXXXXX values are null or not. If SPXXXXX values are
null the current loop terminates and starts with next
value for the select statement.
Hope this helps you.
Regards,
Maheswaran.B
Similar Messages
-
I have purchased a app store gift card and scratched the code off and two of the numbers to the code came off under the sticky thing is there any way of retrieving this cade so i can use it please an soneone please help
Hi,
Here is a Support Article that will help:
http://support.apple.com/kb/HT6021
Cheers,
GB -
Can any one send purchase order flow with detail
hi i have one doubt during purchase order can any one send flow of purchase order
Ravi,
What Is The DataFlow Of MM?
The dataflow as functional process below are the points:
1) Purchasing Requsition -> sent by inventory dept to purcharsing dept
2) Request for Quotation(RFQ)-> Purchasing Dept shall ask the vendors to give the quotation for the requested materials by inventory.
3) Quotation -> Quotation is sent by vendors to the company
4) Purchase order-> Based on all paramers of a quotation sent by vendors. Vendors are selected from whom the material has to be obtained. The company gives purchase order to the vendor.
5) Good's receipt -> vendors sends the goods to the company with goods receipt
6) Invoice verification -> this done based on good's receipt. this means that the ordered goods have reached or not.
7) Payment -> payment is done based on invoice verification. this is (FI/CO) *-- Santosh Kumaar.M
Full MM Transaction Codes Flow:
RFQ to Vendor - ME41
Raising Quotation - ME47
Comparison of Price - ME49
Creation of PO - ME21N
Goods Receipt - MIGO
Invoice (Bill PAssing) - MIRO
Goods Issue - MB1A
Physical Inventory - MI01( Create doc)
MI04 (Enter Count)
MI07 (Post)
The FI - MM integration:
First you define the g/l master records.
1) Inventry raw material a/c
2) GR/IR clearing a/c
3) Raw material consumption a/c
Above like this you define all required g/l accounts then you will go to T.CODE - OBYC
Double click BSX (this is transaction key)
" GBB
" WRX
" PRD
These are transaction keys important.
Then you go to T CODE - OMSY (this is also important) then
Material creation T Code MM01
then
1) Purchase order T.code ME21N
2) Goods received " MIGO
3) Invoice verification " MIRO
The FI - MM integration finished
PO Flow
http://sap-img.com/materials/what-is-the-dataflow-of-mm.htm
http://sap-img.com/materials/what-is-the-dataflow-of-mm.htm
Don't forget to reward if useful... -
Can any one tell what is the problem in this code?
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.awt.geom.*;
import java.util.*;
public class AppletTest2 extends JApplet implements ActionListener,MouseMotionListener,WindowListener{
JFrame fr = new JFrame("Visual Tool -- Work Flow Editor");
JPanel panel1 = new JPanel();
JPanel panel2 = new JPanel();
JButton sButton = new JButton("Source");
JButton rButton = new JButton("Redirection");
JButton dButton = new JButton("Destination");
JButton connect = new JButton("Connect");
BasicStroke stroke = new BasicStroke(2.0f);
int flag = 1 ;
Vector lines = new Vector();
JButton sBut,rBut,dBut;
int x1 = 0 ;
int y1 = 0 ;
int x2 = 0 ;
int y2 = 0;
int x3 = 0;
int y3 = 0;
int i=0;
int j=0;
int k=0;
int l = 100;
int b = 50;
public void init(){
/*********Frame ******************/
fr.getContentPane().setLayout(new BorderLayout());
fr.setSize(700,500);
fr.getContentPane().add(panel1,BorderLayout.CENTER);
fr.getContentPane().add(panel2,BorderLayout.SOUTH);
fr.addWindowListener(this);
/*****************PANEL 1*********************/
panel1.setLayout(null);
panel1.setBounds(new Rectangle(0,0,400,400));
panel1.setBackground(new Color(105,105,205));
/************************PANEL 2 *************/
panel2.setLayout(new FlowLayout());
panel2.setBackground(new Color(105,205,159));
panel2.add(sButton);
panel2.add(rButton);
panel2.add(dButton);
panel2.add(connect);
connect.setToolTipText("Use this button after selecting From and To position to connect");
/***************************LISTENER********************/
sButton.addActionListener(this);
rButton.addActionListener(this);
dButton.addActionListener(this);
connect.addActionListener(this);
fr.setVisible(true);
fr.setResizable(false);
} // init clse
/************************** START METHOD **********************************************/
public void start(){
System.out.println("inside start");
paint(panel1.getGraphics());
/*******************************APPLET METHODS **************************************************/
public void stop(){}
public void destroy(){}
/******************************MOUSE MOTION LISTENERS METHOD*************************************/
public void mouseMoved(MouseEvent e){System.out.println("moved");}
public void mouseDragged(MouseEvent e){System.out.println("dragged");}
/***************************************ACTION EVENT IMPLEMENTAION *******************************/
public void actionPerformed(ActionEvent e){
if (e.getSource().equals(sButton)){
sourceObject("Source Object");
else if (e.getSource().equals(rButton)){
redirectionObject("Redirection");
i = i+1;
else if (e.getSource().equals(dButton)){
destinationObject("Destination");
j= j+1;
else if (e.getSource().equals(connect)){
System.out.println("am inside connect");
paint(panel1.getGraphics());
else if(e.getSource().equals(sBut)){
System.out.println("am s button");
x1 = sBut.getX() + l;
y1 = sBut.getY() + (b/2);
else if(e.getSource().equals(rBut)){
System.out.println("am r button");
x2 = rBut.getX() ;
y2 = rBut.getY()+ b/2;
System.out.println("x2 : " + x2 + "y2 :" +y2 );
else if(e.getSource().equals(dBut)){
System.out.println("am d button");
x3 = dBut.getX();
y3 = dBut.getY()+ b/2;
} // action close
/**********************Main **********************************/
public static void main(String args[]){
JApplet at = new AppletTest2();
at.init();
at.start();
/********************my methods starts here *******************/
public void sourceObject(String name){
sBut = new JButton(name);
panel1.add(sBut);
sBut.setBounds(new Rectangle(20,208,l,b));
sBut.addActionListener(this);
System.out.println("am inside the source object") ;
public void redirectionObject(String name){
rBut = new JButton(name);
panel1.add(rBut);
rBut.setBounds(new Rectangle(290,208,l,b));
rBut.addActionListener(this);
System.out.println("am inside the redirection :" + j) ;
public void destinationObject(String name){
dBut = new JButton(name);
panel1.add(dBut);
System.out.println("am inside the destination object") ;
if (j == 0)
dBut.setBounds(new Rectangle(566,60,l,b));
System.out.println("am inside the destination:" + j) ;
} else if (j == 2)
dBut.setBounds(new Rectangle(566,208,l,b));
System.out.println("am inside the destination :" + j) ;
} else if (j == 1)
dBut.setBounds(new Rectangle(566,350,l,b));
System.out.println("am inside the destination :" + j) ;
dBut.addActionListener(this);
/* public void connectObject(Object obj1,Object obj2){
System.out.println("nothing");
/************************************* PAINT **************************/
public void paint(Graphics g){
System.out.println("inside paint");
Graphics2D g2 = (Graphics2D) g;
g2.setStroke(stroke);
if(flag == 1){
System.out.println("inside flag");
int np = lines.size();
System.out.println(np);
for (int I=0; I < np; I++) {
Rectangle p = (Rectangle)lines.elementAt(I);
System.out.println("width" + p.width);
g2.setColor(Color.red);
g2.drawLine(p.x,p.y,p.width,p.height);
System.out.println(p.x +"" +""+ p.y + ""+ ""+ p.width+ "" + ""+ p.height);
flag = -1;
}else if(flag == -1){
if(x1 != 0 && y1 != 0 && x2 != 0 && y2 != 0 ){
// Graphics2D g2 = (Graphics2D) g;
// g2.setStroke(stroke);
g2.setColor(Color.red);
g2.drawLine(x1,y1,x2,y2);
lines.addElement(new Rectangle(x1,y1,x2,y2));
x1 = 0 ;y1 = 0 ;
x2 = 0 ;y2 = 0 ;
// g2.drawLine(100,100,200,200);
else if (x2 != 0 && y2 != 0 && x3 != 0 && y3 != 0 )
// Graphics2D g2 = (Graphics2D) g;
// g2.setStroke(stroke);
g2.setColor(Color.green);
g2.drawLine(x2,y2,x3,y3);
lines.addElement(new Rectangle(x2,y2,x3,y3));
x2 = 0; y2 = 0 ;
x3 = 0 ; y3 = 0 ;
else if (x1 != 0 && y1 != 0 && x3 != 0 && y3 != 0)
// Graphics2D g2 = (Graphics2D) g;
// g2.setStroke(stroke);
g2.setColor(Color.red);
g2.drawLine(x1,y1,x3,y3);
lines.addElement(new Rectangle(x1,y1,x3,y3));
x1 = 0; y1 = 0 ;
x3 = 0 ; y3 = 0 ;
// repaint();
/********************************WINDOW LISTENER IMPLEMENTATION *****************************/
public void windowActivated(WindowEvent we) {
flag = 1;
paint(panel1.getGraphics());
System.out.println("windowActivated -- event 1");
//start();
public void windowClosed(WindowEvent we) {
System.out.println("windowClosed -- 2");
public void windowClosing(WindowEvent we){
System.out.println("windowClosing -- 3");
public void windowDeactivated(WindowEvent we) {
System.out.println("windowDeactivated -- 4");
public void windowDeiconified(WindowEvent we) {
flag = 1;
System.out.println("windowDeiconified -- 5");
paint(panel1.getGraphics());
public void windowIconified(WindowEvent we) {
System.out.println("windowIconified -- 6");
//paint(panel1.getGraphics());
public void windowOpened(WindowEvent we) {
// flag = 1;
// paint(panel1.getGraphics());
System.out.println("windowopened -- 7");
The problem am facing here is that when i minimize the frame and maximize , my old lines are getting disappared.
For avoiding that i am storing the old coordinates and
try to redraw , when maximize.
but the lines are coming for flash of second and disappearing once again ?
can any one help?
thanks allVery interestingly the same code is repainting in
Linux SUSE,jdk1.3.
but not in WINNT , jdk 1.3
Any reason ?
Is the swing 100 % platform independenet ?????
Does swing also uses native thread ??? -
Can any one debug this code????
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.awt.geom.*;
import java.util.*;
public class AppletTest2 extends JApplet implements ActionListener,MouseMotionListener,WindowListener{
JFrame fr = new JFrame("Visual Tool -- Work Flow Editor");
JPanel panel1 = new JPanel();
JPanel panel2 = new JPanel();
JButton sButton = new JButton("Source");
JButton rButton = new JButton("Redirection");
JButton dButton = new JButton("Destination");
JButton connect = new JButton("Connect");
BasicStroke stroke = new BasicStroke(2.0f);
int flag = 1 ;
Vector lines = new Vector();
JButton sBut,rBut,dBut;
int x1 = 0 ;
int y1 = 0 ;
int x2 = 0 ;
int y2 = 0;
int x3 = 0;
int y3 = 0;
int i=0;
int j=0;
int k=0;
int l = 100;
int b = 50;
public void init(){
/*********Frame ******************/
fr.getContentPane().setLayout(new BorderLayout());
fr.setSize(700,500);
fr.getContentPane().add(panel1,BorderLayout.CENTER);
fr.getContentPane().add(panel2,BorderLayout.SOUTH);
fr.addWindowListener(this);
/*****************PANEL 1*********************/
panel1.setLayout(null);
panel1.setBounds(new Rectangle(0,0,400,400));
panel1.setBackground(new Color(105,105,205));
/************************PANEL 2 *************/
panel2.setLayout(new FlowLayout());
panel2.setBackground(new Color(105,205,159));
panel2.add(sButton);
panel2.add(rButton);
panel2.add(dButton);
panel2.add(connect);
connect.setToolTipText("Use this button after selecting From and To position to connect");
/***************************LISTENER********************/
sButton.addActionListener(this);
rButton.addActionListener(this);
dButton.addActionListener(this);
connect.addActionListener(this);
fr.setVisible(true);
fr.setResizable(false);
} // init clse
/************************** START METHOD **********************************************/
public void start(){
System.out.println("inside start");
paint(panel1.getGraphics());
/*******************************APPLET METHODS **************************************************/
public void stop(){}
public void destroy(){}
/******************************MOUSE MOTION LISTENERS METHOD*************************************/
public void mouseMoved(MouseEvent e){System.out.println("moved");}
public void mouseDragged(MouseEvent e){System.out.println("dragged");}
/***************************************ACTION EVENT IMPLEMENTAION *******************************/
public void actionPerformed(ActionEvent e){
if (e.getSource().equals(sButton)){
sourceObject("Source Object");
else if (e.getSource().equals(rButton)){
redirectionObject("Redirection");
i = i+1;
else if (e.getSource().equals(dButton)){
destinationObject("Destination");
j= j+1;
else if (e.getSource().equals(connect)){
System.out.println("am inside connect");
paint(panel1.getGraphics());
else if(e.getSource().equals(sBut)){
System.out.println("am s button");
x1 = sBut.getX() + l;
y1 = sBut.getY() + (b/2);
else if(e.getSource().equals(rBut)){
System.out.println("am r button");
x2 = rBut.getX() ;
y2 = rBut.getY()+ b/2;
System.out.println("x2 : " + x2 + "y2 :" +y2 );
else if(e.getSource().equals(dBut)){
System.out.println("am d button");
x3 = dBut.getX();
y3 = dBut.getY()+ b/2;
} // action close
/**********************Main **********************************/
public static void main(String args[]){
JApplet at = new AppletTest2();
at.init();
at.start();
/********************my methods starts here *******************/
public void sourceObject(String name){
sBut = new JButton(name);
panel1.add(sBut);
sBut.setBounds(new Rectangle(20,208,l,b));
sBut.addActionListener(this);
System.out.println("am inside the source object") ;
public void redirectionObject(String name){
rBut = new JButton(name);
panel1.add(rBut);
rBut.setBounds(new Rectangle(290,208,l,b));
rBut.addActionListener(this);
System.out.println("am inside the redirection :" + j) ;
public void destinationObject(String name){
dBut = new JButton(name);
panel1.add(dBut);
System.out.println("am inside the destination object") ;
if (j == 0)
dBut.setBounds(new Rectangle(566,60,l,b));
System.out.println("am inside the destination:" + j) ;
} else if (j == 2)
dBut.setBounds(new Rectangle(566,208,l,b));
System.out.println("am inside the destination :" + j) ;
} else if (j == 1)
dBut.setBounds(new Rectangle(566,350,l,b));
System.out.println("am inside the destination :" + j) ;
dBut.addActionListener(this);
/* public void connectObject(Object obj1,Object obj2){
System.out.println("nothing");
/************************************* PAINT **************************/
public void paint(Graphics g){
System.out.println("inside paint");
Graphics2D g2 = (Graphics2D) g;
g2.setStroke(stroke);
if(flag == 1){
System.out.println("inside flag");
int np = lines.size();
System.out.println(np);
for (int I=0; I < np; I++) {
Rectangle p = (Rectangle)lines.elementAt(I);
System.out.println("width" + p.width);
g2.setColor(Color.red);
g2.drawLine(p.x,p.y,p.width,p.height);
System.out.println(p.x +"" +""+ p.y + ""+ ""+ p.width+ "" + ""+ p.height);
flag = -1;
}else if(flag == -1){
if(x1 != 0 && y1 != 0 && x2 != 0 && y2 != 0 ){
// Graphics2D g2 = (Graphics2D) g;
// g2.setStroke(stroke);
g2.setColor(Color.red);
g2.drawLine(x1,y1,x2,y2);
lines.addElement(new Rectangle(x1,y1,x2,y2));
x1 = 0 ;y1 = 0 ;
x2 = 0 ;y2 = 0 ;
// g2.drawLine(100,100,200,200);
else if (x2 != 0 && y2 != 0 && x3 != 0 && y3 != 0 )
// Graphics2D g2 = (Graphics2D) g;
// g2.setStroke(stroke);
g2.setColor(Color.green);
g2.drawLine(x2,y2,x3,y3);
lines.addElement(new Rectangle(x2,y2,x3,y3));
x2 = 0; y2 = 0 ;
x3 = 0 ; y3 = 0 ;
else if (x1 != 0 && y1 != 0 && x3 != 0 && y3 != 0)
// Graphics2D g2 = (Graphics2D) g;
// g2.setStroke(stroke);
g2.setColor(Color.red);
g2.drawLine(x1,y1,x3,y3);
lines.addElement(new Rectangle(x1,y1,x3,y3));
x1 = 0; y1 = 0 ;
x3 = 0 ; y3 = 0 ;
// repaint();
/********************************WINDOW LISTENER IMPLEMENTATION *****************************/
public void windowActivated(WindowEvent we) {
flag = 1;
paint(panel1.getGraphics());
System.out.println("windowActivated -- event 1");
//start();
public void windowClosed(WindowEvent we) {
System.out.println("windowClosed -- 2");
public void windowClosing(WindowEvent we){
System.out.println("windowClosing -- 3");
public void windowDeactivated(WindowEvent we) {
System.out.println("windowDeactivated -- 4");
public void windowDeiconified(WindowEvent we) {
flag = 1;
System.out.println("windowDeiconified -- 5");
paint(panel1.getGraphics());
public void windowIconified(WindowEvent we) {
System.out.println("windowIconified -- 6");
//paint(panel1.getGraphics());
public void windowOpened(WindowEvent we) {
// flag = 1;
// paint(panel1.getGraphics());
System.out.println("windowopened -- 7");
The problem am facing here is that when i minimize the frame and maximize , my old lines are getting disappared.
For avoiding that i am storing the old coordinates and
try to redraw , when maximize.
but the lines are coming for flash of second and disappearing once again ?
can any one help?
thanks allYou are probably seeing both a window un-iconify AND a window resize.
Your best bet is to create an off screen buffer update that and then copy it to the screen. Just as you use the appropriate Java2d gc.createCompatibleImage(...) you should be ok. You will never have to worry about loosing your on-screen image again. Using an off screen buffer would also simplify your code as your paint would not have to be so crazy with all of those if(..) else if ... statements. -
Hi guys..I am new to this apple.I have developed ipad2 apps . I want to know how to change ipad apps to iphone apps with out changing design and code?can any one tell me?
You are in the wrong forum. This is a user forum. Try the developers forum.
-
Can any one help me in this code
Hi all,
I have created a selection screen and my aim is to display some fields or some block dynamically by choosing some radio button is it possible.
can any one help me in this.
REPORT z_g_test.
TABLES: spfli,sbook,sscrfields.
SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE text-001.
SELECT-OPTIONS:s_carrid FOR spfli-carrid.
SELECTION-SCREEN END OF BLOCK 1.
PARAMETERS:rad1 RADIOBUTTON GROUP g1 USER-COMMAND us1,
rad2 RADIOBUTTON GROUP g1 DEFAULT 'X' .
SELECTION-SCREEN BEGIN OF SCREEN 001 as subscreen ."WITH FRAME TITLE text-002.
SELECT-OPTIONS: s_fldate FOR sbook-fldate.
SELECTION-SCREEN END OF SCREEN 001.
DATA ok_code LIKE sy-ucomm.
INITIALIZATION.
START-OF-SELECTION.
SELECT * FROM spfli WHERE carrid IN s_carrid.
ENDSELECT.
END-OF-SELECTION.
WRITE:spfli-carrid.
AT SELECTION-SCREEN.
CASE sscrfields-ucomm.
WHEN'US1'.
* call screen 001 starting at 55 40.
ENDCASE.
Is i am going on the right way
Regards,
Lisa.
Message was edited by: Lisa Roy
Message was edited by: Lisa Roy
Message was edited by: Lisa RoyThis is what I meant. Copy this and try as it is and see if it serves your purpose.
REPORT ztest1 .
TABLES: spfli, sscrfields, sbook.
SELECTION-SCREEN BEGIN OF TABBED BLOCK tabb1 FOR 4 LINES.
SELECTION-SCREEN TAB (25) tabs1 USER-COMMAND ucomm1
DEFAULT SCREEN 001.
SELECTION-SCREEN TAB (25) tabs2 USER-COMMAND ucomm2
DEFAULT SCREEN 002.
SELECTION-SCREEN END OF BLOCK tabb1.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE abc.
PARAMETERS: p_date LIKE sy-datum.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF SCREEN 001 AS SUBSCREEN .
SELECT-OPTIONS: s_fldate FOR sbook-fldate.
SELECTION-SCREEN END OF SCREEN 001.
SELECTION-SCREEN BEGIN OF SCREEN 002 AS SUBSCREEN .
SELECT-OPTIONS:s_carrid FOR spfli-carrid.
SELECTION-SCREEN END OF SCREEN 002.
INITIALIZATION.
tabs1 = 'Search by flight date'.
tabs2 = 'Search by flight number'.
abc = 'Some other parameters'.
AT SELECTION-SCREEN OUTPUT.
CASE sscrfields-ucomm.
WHEN 'UCOMM1'.
tabb1-prog = sy-repid.
tabb1-dynnr = 001.
tabb1-activetab = 'TABS1'.
WHEN 'UCOMM2'.
tabb1-prog = sy-repid.
tabb1-dynnr = 002.
tabb1-activetab = 'TABS2'.
ENDCASE. -
as title can any one help me thank you
Error 1604
This error is often related to USB timing. Try changing USB ports, using a different dock connector to USB cable, and other available USB troubleshooting steps (troubleshooting USB connections. If you are using a dock, bypass it and connect directly to the white Apple USB dock connector cable. If the issue persists on a known-good computer, the device may need service.
If the issue is not resolved by USB isolation troubleshooting, and another computer is not available, try these steps to resolve the issue:
Connect the device to iTunes, confirm that the device is in Recovery Mode. If it's not in Recovery Mode, put it into Recovery Mode.
Restore and wait for the error.
When prompted, click OK.
Close and reopen iTunes while the device remains connected.
The device should now be recognized in Recovery Mode again.
Try to restore again.
If the steps above do not resolve the issue, try restoring using a known-good USB cable, computer, and network connection. -
Have doubt?? Can any one clear it
Hi guys i have doubt.It will be nice if
some one clears it
around.
Question:
when making a connection to the database using
ConnectionPooling should we close
connection,statementobject and resultSet.
like this(this is the way i am doing too.)
try
---opening a connection,rs,stmt
other code
}catch() {
finally{
if(rs!=null)
rs.close();
if(stmt!=null)
stmt.close();
if(conn!=null)
conn.close()
Doubt:
Is it not Sufficient to close the connection.Can any one
explain in detail why resultset and statment should be
closed.From my understanding, close releases resources on the object, so I would suspect that each DB driver implements their resources independently. It would be DB driver specific if closing the connection would cascade the resource cleanup to any objects that were created within that connection. I perform the same logic you do at the end of my DB calls. I have each in a try/catch since close throws SQLException, and I would prefer if each got the chance to execute. I don't do anything with an exception if close fails, because there really isn't anything you can do.
try {
...something to DB
}finally
try {
if(rs != null )
rs.close();
}catch(Exception e){}
try {
if(cursor != null )
cursor.close();
}catch(Exception e){}
try {
if(conn != null )
conn.close();
}catch(Exception e){}
} -
Hello i am having a problem in my 4s that it dosent run any USSD code it goes on calling , can any one help me i am maqsood from Karachi Pakistan
Ok so I've done what you said and this is what it's come back ....
I don't know that these are the errors , but they're the things which don't look right ...
Throughout the shut down there is a recurring line ;
It says ;
Com.apple.launchd 1 0x100600e70.anonymous.unmount 301 PID still valid
Then there are 2 more which I think are related ;
Com.apple.securityd 29 PID job has I overstayed its welcome , forcing removal.
Then the same with fseventd 48 and diskarbitrationd 13
Oh and on Launchd1 : System : stray anonymous job at shut down : PID 301 PPID13 PGID 13 unmount...
Then the last process says "about to call: reboot (RB_AUTOBOOT).
Continuing...
And stops ...
Hope this means something to you ... Thanks again for your help so far :-) -
Can any one send select query for this?
Hi,
can any one plese send select query for the following query.please send as early as possible.
Loop through the I_BSID internal table to fill records in I_OUTPUT.Combine data from I_BSID, I_KNKK, I_KNKK_KNKLI, I_KNA1 and I_KNVV into I_OUTPUT based on the linking conditions .Field Description Source are
I_OUTPUT-BUKRS Company code I_BSID-BUKRS
I_OUTPUT-KUNNR Customer number I_BSID-KUNNR
I_OUTPUT-NAME1 Customer Name I_KNA1-NAME1
I_OUTPUT-KNKLI Credit account I_KNKK-KNKLI
I_OUTPUT-KDGRP Customer Group I_KNKK-KDGRP
I_OUTPUT-KLIMK Credit Limit I_KNKK_KNKLI-KLIMK
I_OUTPUT-KVGR1 Business Unit I_KNVV-KVGR1
I_OUTPUT-REBZG Invoice Number I_BSID-REBZG
I_OUTPUT-BLDAT Invoice Date I_BSID-BLDAT
I_OUTPUT-WAERS Document Currency I_BSID-WAERS
I_OUTPUT-DUE_DATE Due Date Based on below
Calculation
Get the Payment terms days combining I_BSID and I_T052 based on the linking conditions mentioned above. Note : a) Baseline Date : If baseline date I_BSID-ZFBDT is blank , use the Document Date.b) Payment Term Days :If I_BSID-ZBD3T is not blank, take this as Payment Term Days for Due date calculation.
If I_BSID-ZBD3T is Blank, then get payment term days from I_T052 based on I_BSID-ZTERM. If there are more than one record in I_T052 for the given Payment term, get the day part from baseline date and select the first record where the day limit I_T052-ZTAGG is greater than the day part.If I_BSID-ZBD3T is blank and I_BSID-ZTERM is also blank, then take Y000 (Due Immediately) as Payment term and proceed with the above logic. Set the payment term field blank while printing.
Calculate Due date : For Debits, Determine Due Date = Baseline Date + Payment term Days(not discount days) For Credits Due date = Baseline date.Then, move the amount I_BSID-DMBTR to respective buckets (Not yet Due, Current Due, Past due 1-30, Past Due 31-60 etc.) Based on the due date.
Thanks&Regards,
praveen kumar.AHI,
To get Open Items you can use Function module:
data:i_items TYPE STANDARD TABLE OF rfpos.
CALL FUNCTION 'CUSTOMER_OPEN_ITEMS'
EXPORTING
bukrs = p_bukrs
kunnr = wa_customer-kunnr
TABLES
t_postab = i_items
EXCEPTIONS
no_open_items = 1
OTHERS = 2.
Table I_items will have all the open items for that Customer in the given company code.
Well for Clear Items: Try
GET_CLEARED_ITEMS or FMITPOFM_CLEARED_ITEMS_GET.
Hope it helps.
Manish -
Can any one tell me how to get rid of error code ox80010108
can any one tell me how to get rid of error code ox80010108 when i put a dvd in my hp touchsmart 520 thanks
Hello @charly6,
Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
I understand that you are getting the error 0x80010108 when you insert your CD into your Optical Drive on your HP Touchsmart 520 Desktop PC. The error you are receiving is related to Windows Essentials and I suggest that you download and install the latest version from the Windows Essentials website. I believe that Windows Essentials was aware of this error and have corrected it in their updates.
Please re-post if you require additional support. Thank you for posting on the HP Forums. Have a great day!
Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
Dunidar
I work on behalf of HP
Find out a bit more about me by checking out my profile!
"Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter -
My wife and I both have iCloud accounts and would like to share photo's etc. Can any one please advise if this is possible and how to do it?
I have a Macbook-pro and Ipad, my wife has a much loved ipad.It's all described in iCloud Help here: http://help.apple.com/icloud/#mmc0cd7e99
-
Can any one help me to code a browser
hi ,
I am Anil, I am doing an application in java. it needs a browser as IE or Morzilla . i tried to implement the browser using jdic.
i add jdic.jar files as a external jar file and added it to my project. when i run the program in eclipse it works fine. when i want to create a jar file to my application it shows the follwing error..
when i click on that jar file , it shows a Java Virtual Machine Launcher dialog box and in that dialog box it shows error Could not Find the main class. Program will exit ..
this is the error.
can any one help me to over come the error or any alternative method to implement a browser..DarrylBurke wrote:
Corss poster!
[http://www.java-forums.org/advanced-java/30298-how-write-job-aggregator-java-j2ee.html]
dbNot anymore, Fubarable has axed that thread. -
Hello guys..!! I have got my new iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!
Go to Settings/General/Reset - Erase all content and settings. the connecto to iTunes and restore as a New phone. Do not restore any backup. If the problem persists you have a hardware problem. Take it to Apple for exchange.
This assumes that the phone is not hacked or jailbroken. If it is you will have to go elsewhere on the internet for help.
Maybe you are looking for
-
Creation of New fast entry infotype using PA70
Hi all, I am new to HR ABAP.I have got a requirement that i need to create new fast entry infotype using PA70.Please gide for the development. Thanks and regards, venkat
-
Adobe 8 will not print fillable forms
Using Gutsy, I go to my site where I have to fill out a PDF form. I can fill the form no problem but when I try to print, the document goes to the queue then it stops. Nothing else happens, it just sits there. My printer is an Epson Stylus cx3810. Fu
-
What do i do if my ipod wont turn on?
I tried to restore my ipod because i forgot my password and now it wont turn on!!! Will it turn on? if so how do i get it on?!?!?!?! please help me!!
-
Hi I know it's a very simple solution but I know little bit javascript. so please help me, I want to change the width of <td> element using javascript or JQuery. I have the code like this, <table id="topemp"> <tr> <td id="empid" width="50" height="50
-
Help with MI:4 Ghost Protocol
So I purchased the Ghost Protocol BD + DVD + Digital Copy online from BestBuy.com. There is no digital copy, there is the BD, DVD and a special features BD. Where is my digital copy, am I missing something? I have a long plane ride coming up and t