Structure urgent plz
Hi all,
I am using the key figure sturcture in the rows for some RKF on amount,
At the same time i am having another requirement where I hav to restrict the data on the every month from jan - dec and also hav to calculate the value for every quater. I am planning to make use of Variable offsets hope it will work fine.
For this I am creating the structure where i am going to restrict year on year1,.....year12.
Is my process is fine.Does any other changes are required.
Plz let me know
Regards
hi KK
what you can try is
create a structure in row where you insert selections
1st selection include 0CALMONTH restrict on january
2nd selection include 0CALmonth again and restrict on february
etc... till December
Then insert a fromula for the first quarter with 1st selection + 2nd + 3rd
The same for 2nd quarter with 4th selection, 5th, 6th
etc...
You can include a variable to determine year to be applied on the RKF
Otherwise you can put a variable that dtermines the actual calmonth on the fisrt selection (meaning you have 12 sliding months) and deal with offsets as you mentionned.
hope this helps.
regards
Boujema
Similar Messages
-
How to install adapters in pi 7.0 ex(tibco adapter) its urgent plz help
hi friends
can any one help me how to insatlll the tibco adapter in pi 7.0 its urgent plz help
thanks in advance
bye
rajaHi Raj,
Is your Sender System Tibco If so Use JMS Adapter to get the Data from tibco and Use IDOC Adapter to Post in R3. For this you no need to Install any Adapter in XI System.
Similar discussions ,
XI integration with Tibco
XI Integration with Tibco EMS (Using JMS Adapter)
Regards
Agasthuri Doss -
How to restrict key board function keys ex:-F10 in forms 6i.urgent plz..
how to restrict key board function keys ex:-F10 in forms 6i.urgent plz..
Hi,
At Form level, write trigger for WHEN_KEY_DOWN, check for F10 and put action as NULL.
Regards,
Amol -
How to restrict fuction keys ex:-F10 in forms 6i.urgent plz..
how to restrict fuction keys ex:-F10 in forms 6i.urgent plz..
If F10 is the Save button, than just simply program key-commit as:
begin
null;
end;BTW: never say URGENT here on the forum. It is considered very impolite! -
Trre like structure in JComboBox. (VERY VERY URGENT , PLZ. HELP)
hi,
Question is I want to get a tree like structure in my comboBox. I have built a custom component just like FileDialog. In my comboBox I have a directory showing that inturn contains directories inside. When I pop up my component my parent directory is shown in the comboBox and the child directories are shown in the panel underneath it. Just like FileDialog. When I select any child directory it's name is added under the parent directory and indented to the right a little in my comboBox and in my panel the child's sub-directories are shown. If I again click a parent directory in my comboBox the chiild directory is removed and in the panel again my parent directories child directories are shown it's just like FileDialog. How can i achieve this functionality. Any help or piece of code is appreciated
Thank youI am kind of guessing here, but this sounds like a
similar problem to that you'd have implementing a
treetable.
Check out the sun treetable tutorial, especially the
cell renderer parts wich is really how the tree is
displayed.
I guess you need to replicate that for your list (part
of the combo box). Let me know how you get on, I'll
try and work with you on this as I'd like to learn how
to do that myself.For a real tree table, check out the Swing Connection articles (it's about more that this renderering problem).
http://java.sun.com/products/jfc/tsc/articles/index.html
Anyway, for this problem, there are two solutions. Somehow draw a JTree when the drop down is clicked instead of the individual rows (I have no clue how to do this) or develop a new renderer.
The renderer would implement ListCellRenderer. The default renderer is based on a JLabel, but I know of no method to indent the JLabel by itself, so option 2 is a new renderer based on a JPanel with a flow layout with left alignment. The indentation can be achieved by adjusting the horizontal gap.of the layout.
You might also need to call invalidate(), followed by validate(), on the panel after adjusting the gap. This is because modifying the constraints on the layout does not cause it automatically to re-layout the components on the container. -
Urgent Plz reply: java.lang.Class not found exception
Hi All,
I am novice to j2me, I am tryiing communicate data between client and Java server. I have given project name client and midlet class name FileViewer.java.
It is compiling succesfully
but when I run it , it is giving error
Unable to create Midlet FileViewer.java
java.lang.classnot found excetption: FileViewer.java
at com.sun.midp.midlet.selector.commandaction(+47)
at javax.microedition.lcdui.Display$displayaccessor.commandaction.(+152)
at com.sun.kvem.midp.lcdui.EmulEventHandler$eventloop.run(+459)
Here is the code
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.io.*;
import java.io.*;
public class FileViewer extends MIDlet implements CommandListener
private Display display; // Reference to Display object
private TextBox tbViewer; // View file contents in a textbox
private Command cmView; // Command to view file
private Command cmExit; // Command to exit
private String url = "http://www.corej2me.com/midpbook_v1e1/scratch/fileViewer.hlp";
public FileViewer()
display = Display.getDisplay(this);
// Define commands
cmView = new Command("View", Command.SCREEN, 2);
cmExit = new Command("Exit", Command.EXIT, 1);
tbViewer = new TextBox("Viewer", "", 250, TextField.ANY);
tbViewer.addCommand(cmView);
tbViewer.addCommand(cmExit);
tbViewer.setCommandListener(this);
public void startApp()
display.setCurrent(tbViewer);
private void viewFile() throws IOException
HttpConnection http = null;
InputStream iStrm = null;
try
// Create the connection
http = (HttpConnection) Connector.open(url);
// Client Request
// 1) Send request method
http.setRequestMethod(HttpConnection.GET);
// 2) Send header information (this header is optional)
http.setRequestProperty("User-Agent", "Profile/MIDP-1.0 Configuration/CLDC-1.0");
// 3) Send body/data - No data for this request
// Server Response
// 1) Get status Line
System.out.println("Msg: " + http.getResponseMessage());
System.out.println("Code: " + http.getResponseCode());
// 2) Get header information
if (http.getResponseCode() == HttpConnection.HTTP_OK)
// 3) Get data (show the file contents)
iStrm = http.openInputStream();
int length = (int) http.getLength();
if (length > 0)
byte serverData[] = new byte[length];
iStrm.read(serverData);
tbViewer.setString(new String(serverData));
Alert alTest = new Alert("Alert Test", new String(serverData), null, null);
display.setCurrent(alTest);
finally
// Clean up
if (iStrm != null)
iStrm.close();
if (http != null)
http.close();
public void pauseApp()
public void destroyApp(boolean unconditional)
public void commandAction(Command c, Displayable s)
if (c == cmView)
try
viewFile();
catch (Exception e)
System.out.println(e.toString());
else if (c == cmExit)
destroyApp(false);
notifyDestroyed();
If some body has knowledge why this error is coming plz share wiht me Its urgent .
Thanks in advance.
ThanxNo, the "-g" version just means it has the debug flag turned on when they compile it.
Your problem is CLASSPATH and how to set it properly.
Use the -classpath option on java.exe when you run. Read the javadocs on the tools to find out how.
% -
Refreshing JEditorPane (Urgent) plz help
hello programmers,
i'm building an html editor:
My html editor has a split pane, the 2 pane got of the split pane are JEditorPanes, one on which i write tag and the other i display them,... thankfully all's working great, my syntax is highlighting and the html is displayed well but i've got the following problem:
when i save a html page , i wanna my browser (on the right side of the slipt pane) to display the html page... it's ok .. it displays it with the method JHTMLEditorPane.setPage(file:/// directory/ file) but the problem is that when i save the page again using the same filename... my html page on the JHTMLEditorPane stays the same... it does not update...
is their a refresh function for the JEditorPane? how can i update my JHTMLPane to reflect the changes i've brought to it? ONe thing , the page changes when i save it by aother file name..... PLz help it's very urgent!!!!!!!
BernardHave you tried to close and then re-open the file in your editorpane after you've saved?
It will work when you change the name because it has to open the file as new. Java can't dynamically update values upon files like C does with pointers. -
Its urgent:plz tel me what is the steps move to produection oaf page.
Hi All,
I developed one oaf page.that page move to production.
i already move to produection but its not working fine.
its throw an error.
plz tell me what is the steps follow when move to production.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = /wnsgs/oracle/apps/ap/agingbuckets/webui/AgingBucketsPG;
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:529)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1005)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
at oa_html._OA._jspService(_OA.java:85)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._RF._jspService(_RF.java:102)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
## Detail 0 ##
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /wnsgs/oracle/apps/ap/agingbuckets/webui/AgingBucketsPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1350)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1005)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
at oa_html._OA._jspService(_OA.java:85)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._RF._jspService(_RF.java:102)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /wnsgs/oracle/apps/ap/agingbuckets/webui/AgingBucketsPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1350)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1005)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
at oa_html._OA._jspService(_OA.java:85)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at oa_html._RF._jspService(_RF.java:102)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:534)
thanks
Seshu.
Edited by: its urgent on Feb 8, 2012 2:31 AMDeployement steps:
1) Copy the Class files and move to into server
We can get class file >>F:\OAF\jdevhome\jdev\myclasses\imp
\myprojects
(imp) Load into server (java TOP) >>D:\oracle\viscomn\java\
2) Run the XML import Scripts in Command Prompt
F:\OAF\jdevbin\jdev\bin
For every Page and every Lov region
3) Next Go to apps
System administrator Create Function for a page
Description tab:
Function Name : IMP_STUDENT_REGISTRATION
User Function Name: Imp Student Registration
Description : Imp Student Registration
Properties Tab:
Type: SSWA JSP function
WebHTML Tab
Function:
HTML call: OA.jsp?page=/imp/oracle/apps/po/student/webui/ImpStudentResitrationPG
Note: DO the same for all the pages
4) Attach these Functions to Imp Student Operations menu to Imp Student Operations responsibility to User.
5) Bounce the apache.
Regards
Meher Irk -
hi gurus,
i have a problem in bdc programm there is 3 screen using transaction f-27
there is two amount field as(wrbtr,wrbtr2)
two screen are run fine but the 3 screen does't take data automatically from flat file plz help me its urgent see my codes and give me solution.
TYPES: BEGIN OF it_output,
bldat(10) TYPE C, "Document Date
blart TYPE bkpf-blart, "Document Type
bukrs TYPE bkpf-bukrs, "Company Code
budat(10) TYPE C, "Posting Date
monat TYPE bkpf-monat, "Period
waers TYPE bkpf-waers, "Currency
xblnr TYPE bkpf-xblnr, "Reference Field
docid TYPE fs006-docid, "Document ID
newbs TYPE rf05a-newbs, "Posting Key
newko TYPE rf05a-newko, "Account Code
wrbtr(16) TYPE C, "Amount in Document currency
zfbdt(10) TYPE C, "Baseline Date
newbs2 TYPE rf05a-newbs, "Account Key2
newko2 TYPE rf05a-newko, "Account code2
wrbtr2(16) TYPE C, "Amount2
END OF it_output.
DATA lt_output TYPE it_output OCCURS 0 WITH HEADER LINE.
DATA it_bdc LIKE bdcdata OCCURS 0 WITH HEADER LINE.
DATA it_messtab LIKE bdcmsgcoll OCCURS 1 WITH HEADER LINE.
D A T A *
DATA: message TYPE string.
DATA: p_file1 type string.
S E L E C T - O P T I O N S / P A R A M E T E R S *
SELECTION-SCREEN BEGIN OF BLOCK block0 WITH FRAME.
PARAMETERS : p_file LIKE rlgrap-filename OBLIGATORY.
SELECTION-SCREEN END OF BLOCK block0.
A T S E L E C T I O N - S C R E E N *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
EXPORTING
static = 'X'
mask = space
CHANGING
file_name = p_file.
S T A R T - O F - S E L E C T I O N
START-OF-SELECTION.
PERFORM upload.
PERFORM bdc.
PERFORM write_message.
*& Form bdc
text
FORM bdc.
LOOP AT lt_output.
READ TABLE lt_output INDEX 1.
PERFORM bdc_dynpro USING 'SAPMF05A' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RF05A-NEWKO'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'BKPF-BLDAT' lt_output-bldat.
PERFORM bdc_field USING 'BKPF-BLART' lt_output-blart.
PERFORM bdc_field USING 'BKPF-BUKRS' lt_output-bukrs.
PERFORM bdc_field USING 'BKPF-BUDAT' lt_output-budat.
PERFORM bdc_field USING 'BKPF-MONAT' lt_output-monat.
PERFORM bdc_field USING 'BKPF-WAERS' lt_output-waers.
PERFORM bdc_field USING 'BKPF-XBLNR' lt_output-xblnr.
PERFORM bdc_field USING 'FS006-DOCID' lt_output-docid.
PERFORM bdc_field USING 'RF05A-NEWBS' lt_output-newbs.
PERFORM bdc_field USING 'RF05A-NEWKO' lt_output-newko.
PERFORM bdc_dynpro USING 'SAPMF05A' '0302'.
PERFORM bdc_field USING 'BDC_CURSOR' 'RF05A-NEWKO'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
PERFORM bdc_field USING 'BSEG-WRBTR' lt_output-wrbtr.
PERFORM bdc_field USING 'BSEG-ZFBDT' lt_output-zfbdt.
PERFORM bdc_field USING 'RF05A-NEWBS' lt_output-newbs2."newbs2
PERFORM bdc_field USING 'RF05A-NEWKO' lt_output-newko2."newko2
PERFORM bdc_dynpro USING 'SAPMF05A' '0301'.
PERFORM bdc_field USING 'BDC_CURSOR' 'BSEG-WRBTR'.
PERFORM bdc_field USING 'BDC_OKCODE' '=BU'.
PERFORM bdc_field USING 'BSEG-WRBTR' lt_output-wrbtr2."wrbtr2
PERFORM bdc_field USING 'BSEG-MWSKZ' '**'.
PERFORM bdc_field USING 'BSEG-ZTERM' 'C007'.
PERFORM bdc_field USING 'BSEG-ZBD1T' '7'.
CALL TRANSACTION 'F-27' USING it_bdc mode 'A'
MESSAGES INTO it_messtab.
CLEAR it_bdc. REFRESH it_bdc.
ENDLOOP.
ENDFORM. "bdc
*& Form write_message
text
FORM write_message.
LOOP AT it_messtab .
CLEAR message.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = sy-msgid
lang = 'EN'
no = sy-msgno
v1 = sy-msgv1
v2 = sy-msgv2
v3 = sy-msgv3
v4 = sy-msgv4
IMPORTING
msg = message.
CASE it_messtab-msgtyp.
WHEN 'S'.
WRITE:/ message.
CLEAR message.
WHEN 'E'.
FORMAT COLOR 6 ON.
WRITE:/ message.
CLEAR message.
ENDCASE.
ENDLOOP.
ENDFORM. "write_message
FORM BDC_DYNPRO *
--> PROGRAM *
--> DYNPRO *
FORM bdc_dynpro USING program dynpro.
it_bdc-program = program.
it_bdc-dynpro = dynpro.
it_bdc-dynbegin = 'X'.
APPEND it_bdc.
CLEAR it_bdc.
ENDFORM. "BDC_DYNPRO
FORM *
FORM bdc_field USING fnam fval.
it_bdc-fnam = fnam.
it_bdc-fval = fval.
APPEND it_bdc.
CLEAR it_bdc.
ENDFORM. "BDC_FIELD
*& Form upload
text
--> p1 text
<-- p2 text
FORM upload .
p_file1 = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = p_file1
FILETYPE = 'DAT'
tables
data_tab = lt_output
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
NO_AUTHORITY = 6
UNKNOWN_ERROR = 7
BAD_DATA_FORMAT = 8
HEADER_NOT_ALLOWED = 9
SEPARATOR_NOT_ALLOWED = 10
HEADER_TOO_LONG = 11
UNKNOWN_DP_ERROR = 12
ACCESS_DENIED = 13
DP_OUT_OF_MEMORY = 14
DISK_FULL = 15
DP_TIMEOUT = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " upload
i am also send u my flat file the client says that in amount filed of 3rd screen we will give the * asterick or other amount plz take it.
thank
plz help me.
jay
Edited by: jayant kumar on Apr 30, 2008 12:42 PMhi jayant,
Declare '**' as a character constant and pass this constant to the Subroutine.
data : c_astrick type char2 value '**'.
PERFORM bdc_field USING 'BSEG-MWSKZ c_astrick.
Reward points if it is helpful.
Regards,
srilatha. -
RECORDING WITH F-32 .......ITS URGENT PLZ HELP ME
HI GUYS
HERE IS MY REQUIREMENT
I WANT TO DO A RECORDING USING F-32 AND I HAVE TO DO THE FOLLOWING WAYS
1- ENTER ACCOUNT
2-COMPANY CODE
3-CLEARING DATE
4-OPENITEM SELETION
5-I HAVE TO SELECT THE REFERENCE RADIO BUTTON
HERE IS MY ERROR , I DONT KNOW WHAT ARE THE VALUE I HAVE TO ENTER IN THE REFERENCE FIELD AND HOW TO PROCEED ,PLZ HELP ME IT IS VERY VERY URGENT FOR ME.
THANKS A LOT
MRUTYUNThis should get you started:
FORM clearing USING p_purch_order
p_cus
p_ven.
DATA: okcode(3).
CLEAR bdcdata.
CLEAR messtab.
REFRESH bdcdata.
REFRESH messtab.
MESSAGE s205 WITH 'Clearing A/R Invoice to Invoice Receipt.'.
PERFORM dynpro USING:
'X' 'SAPMF05A' '0131', "Clear Customer: Header Data
' ' 'RF05A-AGKON' bill_to,
' ' 'BKPF-BUDAT' today_ch,
' ' 'BKPF-BUKRS' 'UOFT',
' ' 'BKPF-WAERS' 'CAD',
' ' 'RF05A-XNOPS' 'X',
' ' 'RF05A-XPOS1(2)' 'X',
' ' 'BDC_OKCODE' '/16'. "Process Open Items
PERFORM dynpro USING:
'X' 'SAPMF05A' '0730', "Amount popup
' ' 'BDC_OKCODE' '/16'. "Process Open Items
PERFORM dynpro USING:
'X' 'SAPMF05A' '0730'. "Press enter
PERFORM dynpro USING:
'X' 'SAPMF05A' '0710',"Clear Customer: Enter selection criteri
' ' 'RF05A-AGBUK' 'UOFT',
' ' 'RF05A-AGKON' bill_to,
' ' 'RF05A-AGKOA' 'D',
' ' 'RF05A-XNOPS' 'X',
' ' 'RF05A-XMULK' 'X',
' ' 'RF05A-XPOS1(1)' 'X',
' ' 'BDC_OKCODE' '/16'. "Process Open Items
PERFORM dynpro USING:
'X' 'SAPMF05A' '0609', "Additional Accounts popup
' ' 'RF05A-AGKON(1)' p_ven,
' ' 'RF05A-AGKOA(1)' 'K',
' ' 'RF05A-XNOPS(1)' 'X'.
PERFORM dynpro USING:
'X' 'SAPDF05X' '1102', "Clear Customer: Select open item
' ' 'BDC_OKCODE' 'OMX'. "Select all
PERFORM dynpro USING:
'X' 'SAPDF05X' '1102', "Clear Customer: Select open item
' ' 'BDC_OKCODE' '/6'. "Inactive
PERFORM dynpro USING:
'X' 'SAPDF05X' '1102', "Clear Customer: Select open item
' ' 'BDC_OKCODE' '/6'. "Find
PERFORM dynpro USING:
'X' 'SAPDF05X' '2000', "Select search criteria popup
' ' 'BDC_OKCODE' '/24'. "Next page
PERFORM dynpro USING:
'X' 'SAPDF05X' '2000', "Select search criteria popup
' ' 'RF05A-XPOS1(10)' 'X'. "Allocation
PERFORM dynpro USING:
'X' 'SAPDF05X' '0731', "Search for Allocation
' ' 'RF05A-SEL01(1)' p_purch_order. "PO
PERFORM dynpro USING:
'X' 'SAPDF05X' '1102', "Clear Customer: Select open item
' ' 'BDC_OKCODE' 'OMX'. "Select all
PERFORM dynpro USING:
'X' 'SAPDF05X' '1102', "Clear Customer: Select open item
' ' 'BDC_OKCODE' '/05'. "Active
IF p_test = space.
okcode = '/11'. "save
ELSE.
okcode = 'BS'. "simulate
ENDIF.
PERFORM dynpro USING:
'X' 'SAPDF05X' '1102',
' ' 'BDC_OKCODE' okcode. " save or check
IF p_test NE space. "exit from screen after check
PERFORM dynpro USING:
'X' 'SAPMF05A' '0700',
' ' 'BDC_OKCODE' '/15'. "Save or check
PERFORM dynpro USING: "popup
'X' 'SAPLSPO1' '0200',
' ' 'BDC_CURSOR' 'SPOP-OPTION1'. "choose yes
ENDIF.
CALL TRANSACTION 'F-32' USING bdcdata MODE u_mode UPDATE 'S'
MESSAGES INTO messtab.
PERFORM get_message TABLES messtab USING text 'CL'.
IF text IS INITIAL.
PERFORM batch_input USING 'F-32'.
ENDIF.
ENDFORM. " CLEARING
Rob -
Hi Friends
Here is my query,
I am changing the tcode FBL3N to add one extra field into it and to display data in the name1 field for the spcific entries in the selection screen,
After selecting the All item radio button and giving the range in the select-options when i am pressing F8 it is giving me the correct output,after that when i am trying to display the name1 field by selecting the ctrl+f8 button and pressing the apply button it is giving me the error as
"An internal error has arisen in the form routine ANALYZE_ACT_FIELDCAT
for program RFITEM_INC.
This is due to inconsistencies between table T021S (special fields) and
structure RFPOSEXT."
I changed everything to Y* but still it is giving the error.
Plz help me in this if someone face the same prob or someone having idea on this.
Thanks a lot in Advance
Mrutyun^Hi Mrutyunjaya,
Did you manage to resolve this error?
Thanks and Regards
Pras -
Urgent plz help me out about cartesian product
plz...its urgent,can anyone help in the following query where iam getting cartesian product,so how to get result without cartesian product
this is the query
SELECT DISTINCT MIS.segment1 "ITEM CODE",
MIS.DESCRIPTION "DESCRIP"
,MIS.Primary_uom_code "UOM",
MTL.LOT_NUMBER "LOT NUMBER"
,A.PARTY_NUMBER "CUSTOMER NUMBER",
A.PARTY_NAME "CUSTOMER NAME",
(A.ADDRESS1||A.ADDRESS2||A.ADDRESS3||A.ADDRESS4) "SHIP TO",
B.DELIVERY_DETAIL_ID "DO NO",B.SHIPPED_QUANTITY "SHIPPED QUANTITY"
,C.ULTIMATE_DROPOFF_DATE "ISSUED DATE"
,D.ORDER_NUMBER "SALES ORDER NUMBER"
,E.LINE_NUMBER "SALES ORDER LINE"
FROM MTL_SYSTEM_ITEMS MIS
,MTL_TRANSACTION_LOT_NUMBERS MTL
,HZ_PARTIES A,
WSH_DELIVERY_DETAILS B,
WSH_NEW_DELIVERIES C,
OE_ORDER_HEADERS_ALL D,
OE_ORDER_LINES_ALL E
WHERE MIS.INVENTORY_ITEM_ID=MTL.INVENTORY_ITEM_ID
AND B.INVENTORY_ITEM_ID=MIS.INVENTORY_ITEM_ID
AND A.PARTY_ID=B.CUSTOMER_ID
AND B.DELIVERY_DETAIL_ID=C.DELIVERY_ID
AND MIS.INVENTORY_ITEM_ID=E.INVENTORY_ITEM_ID
AND D.HEADER_ID=E.HEADER_IDA lot of times when I get duplicate results, I'll do a select * and see why. Often one of those tables will have a sequenced value that could repeat several times for a combination of values.
If thats the case, you may need to add something like:
...and a.id = (select min(id)
from b
where a.col = b.col) -
Maitaining of AP Datasource (Urgent) plz help ...
hi Edwin ,
This is prakash,
My requirement is to design the Account Payables (line item) cube for that one i am using business content datasource is 0FIAP_3 this is the line item details ,in intial stage i want to add the some more fields like (allocation number,business area,material,purchase order date) these fields are not avilable for predefined structure.i want these fields also so, how can i add the fields ? ,is it going to enhancement or to add the extract structure ?
iam confusued so plz help me
advanced thanks
prakash
Message was edited by:
Prakash V
Message was edited by:
Prakash VHi,
Follow the information given in the below help;
http://help.sap.com/saphelp_bw32/helpdata/en/af/16533bbb15b762e10000000a114084/frameset.htm
That means if the required field is available either in BSIK or in BSAK, then just add the field to CI_BSIK and no code in CMOD.
With rgds,
Anil Kumar Sharma .P -
How to get & use xml data with jstl libraries? (URGENT PLZ)
I am using jstl to get and use xml data
I needs to perform operations on the parsed xml document with other libraries of jstl. How can i do that.
I used Dom variable to parse my document as:
<x:parse varDom="test"> <c:import url="project.xml"/> </x:parse>
where my project.xml is:
<?xml version="1.0" encoding="iso-8859-1"?>
<project> <projectName>myProject</projectName> </project>
I can dislay this value in html by
<x:out select="$test/project/projectName"/>
But I need a string value sotred in variable such as <c:set var="pname" value="???">
HOW CAN I SET THIS VALUE IN CORE VARIABLE THAT IS, USING <c:set...> SO THAT IT CAN BE USED ANYWHERE IN JSP PAGE TO CONCATE RETURNED STRING IN OTHER STRING VARIABLES DEFINED BY CORE LIB?
Jessy
Message was edited by:
jessy
Message was edited by:
jessyI believe that <c:set> should do that but i am facing problem in it. Look into this jsp scriptlet:
1-<x:parse varDom="test"> <c:import url="project.xml"/> </x:parse>
2-<x:set var="ds" select="$test/project/projectName"/>
3-<x:out select="$ds"/> <br>
4-<c:set var="tt" value="${ds}" />
5-<c:out value="${tt}" />
In line 3 variable ds returns: myProject
In line 5 variable tt returns: [[projectName: null]]
perhaps on line 4 ds is storing some array to tt and i am not calling correct array element. I tried many options but still could not find solution. Plz Plz do something urgent for me. Thanks
Jessy
Message was edited by:
jessy -
MySQL connectivity Problem URGENT plz
Hi
plz can any one help me... its urgent
i need java to connect to MySQL database.with mm.mysql.Driver
the following sample code is just copied from the site and made changes in hostname, dbname and username.
classpath has been given correctly for the mm.mysql.Driver package (mysql.jar).
Thanx in advance....
Result
compilation --> success
while executing i get the following Error.
java.sql.SQLException: General Error: null
at org.git.mm.mysql.connection.<init>(Connection.java)
at org.git.mm.mysql.Driver.connect(Driver.java)
at java.sql.DriverManager.getConnection(DriverManager.java: 515)
at java.sql.DriverManager.getConnection(DriverManager.java: 197)
at JDBCDemoCreate.getConnection(JDBCDemoCreate.java: 36)
at JDBCDemoCreate.<init>(JDBCDemoCreate.java: 14)
java.lang.NullPointerException
at JDBCDemoCreate.<init>(JDBCDemoCreate.java: 17)
at JDBCDemoCreate.main(JDBCDemoCreate.java: 47)
Here is the code. can any one try this !
// JDBCDemoCreate.java
1. import java.util.*;
2. import java.sql.*;
3.
4. public class JDBCDemoCreate {
5.
6. private static final String hostname = "hostname";
7. private static final String port = "3306";
8. private static final String database = "dbname";
9. private static final String username = "username";
10. private static final String password = "";
11.
12. public JDBCDemoCreate() {
13.
14. Connection c = getConnection();
15.
16. try {
17. Statement s = (Statement)c.createStatement();
18. s.executeUpdate("CREATE TABLE rich ( id int primary key, name char(25) )");
19. } catch ( Exception e ) {
20. e.printStackTrace();
21. }
22.
23. }
24.
25. private Connection getConnection() {
26 // Register the driver using Class.forName()
27. try {
28. Class.forName("org.gjt.mm.mysql.Driver").newInstance();
29. } catch ( Exception e ) {
30. e.printStackTrace();
31. }
32.
33. // ask the DriverManager for a connection to the database
34. Connection conn = null;
35. try {
36. conn = DriverManager.getConnection("jdbc:mysql://" + hostname +
37. ":"+ port +"/" + database +
38. "?user=" + username +
39. "&password=" + password );
40. } catch (Exception e) {
41. e.printStackTrace();
42. }
43. return conn;
44. }
45.
46. public static void main( String[] args ) {
47. new JDBCDemoCreate();
48. }
49.}Hi!
You can try with this code coz, i worked with this code only and then i can talk to the database.
Connection con;
Class.forName("org.gjt.mm.mysql.Driver";
con = DriverManager.getConnection("jdbc:mysql:///db?user=root&password=");
Try it out!
Queries regarding this is welcome. Either in this forum itself or u can contact in the mail, the id is
[email protected]
Regards,
dinesh
Maybe you are looking for
-
Can I use an Ipod bought in USA in Germany, with Itunes.de?
-
How can i delete folders from my email on an iphone 5
I have extra folders in my email maiboxes i have a new iphone 5 i would like to delete the ones i do not need
-
Hi All, Here the linked server is created between sql server 2012 64 bit and sql server 2005 32 bit. I am getting the below error when i try to access linked server from third server. I have created linked from Instance 1 to Instance 2. When i acces
-
Hi Max, If you remember in one of my last post I asked for changing the column headings in ALV display for example from 'Material' to 'Material used'. I am using CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM
-
Unsupported Location (Ordering Photo Book in iPhoto iOS)
Anyone know why I cannot order a photo book through the latest version of iPhoto (v2.0) for iOS on my iPad 3?. Is the service not live yet? When I try to input my address it tells me I am in an Unsupported Location and deliveries cannot be made to t