Hi friends i have one doubt on price indicator.
for subcontrcacting semifinished goods what should be the price control indicator( V/ S ). and i also like to know why.
Hi.
Price control indicator is totally depends on the customer requirement.
If you opt for standard price you have the liberty to change over to moving avg price at any time.
Also systems will, calculate the moving avg price and it will be displayed in the material master but this is only for statistical use only.
But when you choose price control as V initially, you cannot revert back to S unless Costing department evaluates it.
If it helps award me.
Cheers!!!
Umakanth
Similar Messages
-
I have one doubt on Checkbox Conditions
Hi Friends,
I have one doubt on Checkbox Conditions. I had download data into Excel Format. My requirement is suppose I have select 4 checkbox into table click on Download I want to download 4 records into Excel Format.
Now I have Select 4 Checkbox click on download button total records is downloaded
My Req:: I have select 4 checkbox into table click on Download I want to download 4 records into Excel Format.
So I had done Coding also. What I am doing that coding is
1. I have to create one Value Node(IPoDetails_ExcelData)
2. Now Data is available in this Value Node (PoDetails_OutTab)
3. what I am doing here Get the data from this value node (PoDetails_OutTab) and set that data to this Value Node (IPoDetails_ExcelData). Finally add the data to this Value Node (IPoDetails_ExcelData).
Could you check my code. If any problem in that code pls help me.
public void onActiondownloadToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActiondownloadToExcel(ServerEvent)
IPrivatePO_Details_ResultView.IPoDetails_ExcelDataNode ExcelNode = wdContext.nodePoDetails_ExcelData();
IPrivatePO_Details_ResultView.IPoDetails_ExcelDataElement ExcelEle;
wdComponentAPI.getMessageManager().reportSuccess("ExcelNode:"+ExcelNode);
IPrivatePO_Details_ResultView.IPoDetails_OutTabNode StockNode = wdContext.nodePoDetails_OutTab();
wdComponentAPI.getMessageManager().reportSuccess("StockNode:"+StockNode);
IPrivatePO_Details_ResultView.IPoDetails_OutTabElement StockEle ;
//wdComponentAPI.getMessageManager().reportMessage(IMessageCO_EnterStockDetails.SF_UPLOAD, null ,false);
for(int i = 0 ;i<StockNode.size();i++)
{ //wdComponentAPI.getMessageManager().reportSuccess("StockNode.size:"+StockNode.size());
StockEle = StockNode.getPoDetails_OutTabElementAt(i);
//wdComponentAPI.getMessageManager().reportSuccess("StockEle:"+StockEle);
if(StockEle.getCheckBox()== true)
{ wdComponentAPI.getMessageManager().reportSuccess("StockNodeCheck:"+StockEle.getCheckBox());
ExcelEle = ExcelNode.createPoDetails_ExcelDataElement();// Create Element
wdComponentAPI.getMessageManager().reportSuccess("ExcelEle:"+ExcelEle);
ExcelEle.setConf_Shp_Date(StockEle.getConf_Shp_Date()); wdComponentAPI.getMessageManager().reportSuccess("Conf_Shp_Date:"StockEle.getConf_Shp_Date()); wdComponentAPI.getMessageManager().reportSuccess("ExcelEleConf_Shp_Date:"ExcelEle.getConf_Shp_Date());
ExcelEle.setMaterial(StockEle.getMaterial());
ExcelEle.setMatl_Desc(StockEle.getMatl_Desc());
ExcelEle.setOa_Quantity(StockEle.getOa_Quantity());
ExcelEle.setOpn_Quantity(StockEle.getOpn_Quantity());
ExcelEle.setPo_Item(StockEle.getPo_Item());
ExcelEle.setPo_Number(StockEle.getPo_Number()); wdComponentAPI.getMessageManager().reportSuccess("Po_Number:"StockEle.getPo_Number()); wdComponentAPI.getMessageManager().reportSuccess("ExcelElePo_Number:"ExcelEle.getPo_Number());
ExcelEle.setPo_Status(StockEle.getPo_Status());
ExcelEle.setUom(StockEle.getUom());
ExcelEle.setStat_Date(StockEle.getStat_Date());
ExcelEle.setQuantity(StockEle.getQuantity());
ExcelEle.setDeliv_Date(StockEle.getDeliv_Date());
ExcelEle.setExpt_Shp_Date(StockEle.getExpt_Shp_Date());
ExcelEle.setVendor_Material(StockEle.getVendor_Material());
ExcelNode.addElement(ExcelEle); wdComponentAPI.getMessageManager().reportSuccess("H:::ExcelData::::"+ExcelNode.currentPoDetails_ExcelDataElement());
wdComponentAPI.getMessageManager().reportSuccess("H:::ExcelData::::"+ExcelEle.getPo_Item());
// wdThis.wdGetCO_POPendingController().downloadToExcelFile();
// wdThis.wdGetCO_POPendingController().DownLoadToExcel();// Popup Window
//wdThis.wdGetCO_POPendingController().downloadToExcelFile();
//wdComponentAPI.getMessageManager().reportSuccess("Giiiiii");
///wdThis.wdGetCO_POPendingController().DownLoadToExcel();
if(ExcelNode.size()>0)
//wdThis.wdGetCO_POPendingController().downloadToExcelFile(wdContext.nodePoDetails_ExcelData(),getReportingDelays());
//wdThis.wdGetCO_POPendingController().Downlaod();
//wdThis.wdGetCO_POPendingController().downloadToExcelFile();// This is Download Excel Data
IThis is method in CC-downloadToExcelFile and This is Open Popup window DownLoadToExcel(). This method also in CC
wdThis.wdGetCO_POPendingController().DownLoadToExcel();
wdContext.nodePoDetails_ExcelData().invalidate();
else {
wdComponentAPI.getMessageManager().reportException("Please select any one po item from the table",true);
//@@end
Regards
Vijay KalluriHi Vijay,
Please try to use this to implement your scenario:
public void onActiondownloadToExcel(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActiondownloadToExcel(ServerEvent)
IPrivatePO_Details_ResultView.IPoDetails_ExcelDataElement ExcelEle = null;
for(int i = 0; i< wdContext.nodePoDetails_OutTab().size(); i++)
ExcelEle = wdContext.createDetails_ExcelDataElement();
Here check condition for selected table checkbox column in nodePoDetails_OutTab()
if (wdContext.nodePoDetails_OutTab().getPoDetails_OutTabElementAt(i).get<Table Column Attribute>.getMdoNo
().equalsIgnoreCase("TRUE")
// Here you need to code for setting table row value in the node Details_ExcelData. Like same as below
ExcelEle.set<Table column Name>(wdContext.nodePoDetails_OutTab().getPoDetails_OutTabElementAt(i).get<Table
Column Attribute>.getMdoNo())
wdContext.nodeDetails_ExcelData().addElement(ExcelEle);
Hope it helps
Regards
Arun -
hi experts
i have one doubt while running dunning where can i see previous dunning notices. vendor /customerhi
thanks for you answer
regards
naveenkumar -
Actually i have one doubt in message class
Actually i have one doubt in message class. I want create message for following logic.
If the records already exits in database table ,
whatever input i will given in input fields like entry type and material no ,it will need in message.
i want rise the error message in my code like "Record entry type B Material no 029585888 already exits in database table".
I done the coding like.........
in SE80.
IF sy-subrc = 0.
MESSAGE e039 with zdbt-enttyp
zdbt-matnr.
ENDIF.
in SE91.
Record entry type &1 Location &2 already exits in database table.
is it correct? it s not working properly..
could you advice me.......Hello Raju
The only possible problem I see is that in your report you send a message of the wrong message class. Assuming that your message class is ZMSG then assure that your report begins with:
REPORT zreport MESSAGE-ID zmsg.
IF sy-subrc = 0.
MESSAGE e039 with zdbt-enttyp
zdbt-matnr.
ENDIF.
Regards
Uwe -
Hi,all i'm murali,i have one doubt
hi,all i have one doubt most of the times repeated in the interview ,plz solve me.
1. how will u raise exception management in function modules?
2. how to create a check box?
3. in a invoice how can i find the sales order
these r the questions plz give me the perfect answers for these .
waiting for reply.
murali.Murali,
1.
Exceptions
Our function module needs an exception that it can trigger if there are no entries in table SPFLI that meet the selection criterion. The exception NOT_FOUND serves this function:
Source Code
Having defined the parameter interface and exceptions, we can now write the source code of our function module. To do this, choose Source code in the Function Builder. This opens the ABAP Editor for the include program L of the exception or OTHERS occurs in the EXCEPTIONS addition of the CALL FUNCTION statement, the exception is handled by the calling program.
If the calling program does not handle the exception
The RAISE statement terminates the program and switches to debugging mode.
The MESSAGE ..... RAISING statement display the specified message. How the processing continues depends on the message type.
If the calling program handles the exception, both statements return control to the program. No values are transferred. The MESSAGE ..... RAISING statement does not display a message. Instead, it fills the system fields SY-MSGID, SY-MSGTY, SY-MSGNO, and SY-MSGV1 to SY-MSGV4.
Source Code of READ_SPFLI_INTO_TABLE
The entire source code of READ_SPFLI_INTO_TABLE looks like this:
FUNCTION READ_SPFLI_INTO_TABLE.
""Local interface:
*" IMPORTING
*" VALUE(ID) LIKE SPFLI-CARRID DEFAULT 'LH '
*" EXPORTING
*" VALUE(ITAB) TYPE SPFLI_TAB
*" EXCEPTIONS
*" NOT_FOUND
SELECT * FROM SPFLI INTO TABLE ITAB WHERE CARRID = ID.
IF SY-SUBRC NE 0.
MESSAGE E007(AT) RAISING NOT_FOUND.
ENDIF.
ENDFUNCTION.
The function module reads all of the data from the database table SPFLI where the key field CARRID is equal to the import parameter ID and places the entries that it finds into the internal table SPFLI_TAB. If it cannot find any entries, the exception NOT_FOUND is triggered using MESSAGE...RAISING. Otherwise, the table is passed to the caller as an exporting parameter.
Calling READ_SPFLI_INTO_TABLE
The following program calls the function module READ_SPFLI_INTO_TABLE:
REPORT DEMO_FUNCTION_MODULE.
PARAMETERS CARRIER TYPE S_CARR_ID.
DATA: JTAB TYPE SPFLI_TAB,
WA LIKE LINE OF JTAB.
CALL FUNCTION 'READ_SPFLI_INTO_TABLE'
EXPORTING
ID = CARRIER
IMPORTING
ITAB = JTAB
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
CASE SY-SUBRC.
WHEN 1.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO.
WHEN 2.
MESSAGE E702(AT).
ENDCASE.
LOOP AT JTAB INTO WA.
WRITE: / WA-CARRID, WA-CONNID, WA-CITYFROM, WA-CITYTO.
ENDLOOP.
The actual parameters CARRIER and JTAB have the same data types as their corresponding interface parameters in the function module. The exception NOT_FOUND is handled in the program. It displays the same message that the function module would have displayed had it handled the error.
2. PARAMETERS p_check AS CHECKBOX .
3.You can find the information in table VBFA.
VBELV - Your Sales Order Number
VBTYP_N - 'M'
VBELN is the invoice number.
Don't forget to reward if useful..... -
I am a little scared, since for one week I received to the new Macbook Pro 13 i7, and does few days was working of strange way, since it was beginning to extinguish automatically the screen at any time and any key activates when pressing to enter the open session. I want to know if something is being put rare or is normal, or if desbalanceé the adjustment of economizer or screen or whatever it appears in the panel of system preferences. I have reestablished them almost all, but the problem persists.
I need aid. I do not want that it passes nothing to him and that everything is working well.
I will be thankful for its answers to them. Especially to the technical supportI belive that upgrade to 10.8.4 has troubles.
After this my macbook pro started to go to sleep even that I was working with it.
This morning it became too much. I had worked fine in the evening and this morning the keyboard would not response. Each keypress made sound an evel "click sound".
I ended up needing to reboot the computer. -
Amrish,
I have 15 items in sales order, but how the system do the delivery is
it has to take one item per day and should deliver upto 15 days....
how it possible???
If we do manually it is possible... but this should do automatically...
for this i have go for sm35?Hi,
I think you will have to go for a BDC.
Second option to to split the scedule lines in 15 days automatically.
And schedule the program for delivery creation on daily basis,so this should create a seprate delivery for each line item.
Again a big Z coming into picture.
Regards,
Amrish Purohit -
I have a mpp screen for a cd library management system (we are practicing on it).
We have a main screen where a user should enter the enteries and while clicking a add button it should be inserted in a table, Here the problem rises the table name are ztransaction and zstatus.The fields in mpp are cdid,customerid,transaction id,date of issue and duedate.Now after entering all the values on clicking add button it should be inserted to database table ztransaction and the field cdid alone should be inserted both in ztransaction and zstatus.
Thank youHi Raghuram R G,
Check for Primary key and foreign key in the Database table??? Because of this it was not inserting...check and confirm??
Regds,
Vijay SR -
Hi Experts,
I am created RFC function module for placing in BOR, but it is not released ,
can any one tell me anything happens or not.
Thanks,
Ravindra.Please search before posting, please use meaningful subject lines.
Thread locked
Thomas -
I HAVE ONE DOUBT ON DML OPERATIONS?
KINDLY GIVE ANSWERS PLZ
ANOTHER QUESTION:
I AM SELECTED ONE TABLE THAT TIME TABLE WILL BE LOCKED OR NOT?
IF I SELECT A TABLE THE OTHER USER CAN ACCESS THE SAME??
ANOTHER QUESTION:
I AM OPENED TWO SQL* PLUS IN MY SYSTEM. ARE THEY COMES UNDER SINGE SESSION?
OR TWO DIFFERENT SESSIONS?
WITH THOSE CAN I FELL LIKE TWO DIFFERENT USERS?
ANOTHER QUESTION:
I AM UPDATEING MY TABLE AT THE TIME THE TOTAL TABLE WILL BE LOCKED
AT THE SAME TIME OTHER USERS ALSO TRYING FOR SAME TABLE CAN HE EVEN SELECT THE TABLE???????
AS PER MY KNOWLEDGE HE CAN NOT ACESS THE TABLE. AM I THINKING RIGHT?
ANOTHER Q?
MORE THAN ONE PROGRAMMER CAN SELECT A TABLE AT THE SAME TIME?
ADVACED THANKS.KINDLY GIVE ANSWERS PLZ
ANOTHER QUESTION:
I AM SELECTED ONE TABLE THAT TIME TABLE WILL BE LOCKED OR NOT?
IF I SELECT A TABLE THE OTHER USER CAN ACCESS THE SAME??
A SELECT would not lock a table.
ANOTHER QUESTION:
I AM OPENED TWO SQL* PLUS IN MY SYSTEM. ARE THEY COMES UNDER SINGE SESSION?
OR TWO DIFFERENT SESSIONS?
Two Different Sessions
WITH THOSE CAN I FELL LIKE TWO DIFFERENT USERS?
Didn't quite get your question.
ANOTHER QUESTION:
I AM UPDATEING MY TABLE AT THE TIME THE TOTAL TABLE WILL BE LOCKED
Only those rows which you are UPDATing will be locked.
AT THE SAME TIME OTHER USERS ALSO TRYING FOR SAME TABLE CAN HE EVEN SELECT THE TABLE???????
Yes. SELECT is always permitted
ANOTHER Q?
MORE THAN ONE PROGRAMMER CAN SELECT A TABLE AT THE SAME TIME?
yES.
ADVACED THANKS.
Some users consider using Upper case to be Shouting/Offensive. -
I have one doubt on system global area while executing packages
Actually in package we store inter related objects together.
the package contained subprograms will occupy memory in SGA
when we calling subprograms which are present in the package.
if occupy memory in SGA so the packages are how will give performence
compare to the stand alone subprograms?
and the data capacity SGA can store also reduces if subprograms occupy
memory in the SGA. so it is some what degrading of performance.
i want to know while executing subprogrms will these occupy SGA memory
if occupy's the data capacity SGA can store also automatically reduced
how package containde subprograms will give performance?
If u know SGA role let me know?Hi MrHoffman, thanks for your reply!
I know for a fact that the DNS is set to .local - it's the default one so I've never altered that. The changes that occurred seemed to happen after the recent apple security update was applied. If ".local" causes so much trouble is there a reason that it's the default? (I'm not that technically minded - it's just a wonder more than anything.)
Upon closer inspection I can see that the hostname has had two hyphens added to it, where the spaces are in our business name. (Previously it was named without the spaces, just all typed as one word.)
I guess that if there was a long delay in the DNS update then maybe it would account for the user suddenly being unable to connect/use the server.
As for the users, I know where I can see the list of them, the thing is that previously there were only 4 in the list, now there's 85, including a new "System Administrator". It's functioning normally again, but I guess I was really looking to see if anyone else had seen the user list grow without prompting. If it's normal then that's totally fine with me, but as I say it freaked me aout a little when there are suddenly a bunch of new users on the list.
Cheers again!
M: -
I have one doubt in javabeans plz tell me
Can we create buttons with reusable components (beans).
If yes, how can we make use it.Yes,
u can create reusable component in Java Beans even button also, its easy.
Bye
Prabhat -
Hi,
Datatype of varchar length would be changes in sql and plsql?
Thanks,Why not!
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/datatypes.htm#CHDDCGEE
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/datatypes.htm#CHDEDACE
http://download.oracle.com/docs/cd/E11882_01/server.112/e10592/sql_elements001.htm#SQLRF50977 -
I have one doubt with the RMAN
Hi everybody,
Is there possible to store the RMAN backup in the different domian.... for example oracle is installed in the database1 domain and we can store the RMAN in database2 domain.
Thank YouMohd khalid wrote:
Hi everybody,
Is there possible to store the RMAN backup in the different domian.... for example oracle is installed in the database1 domain and we can store the RMAN in database2 domain.
Thank YouCould you elaborate more please? What do you mean with "domain"? -
what are the scenarios we delete the payroll results ,can we suggest the client to delete the payroll result.
Hi,
I would not recommend that you delete the payroll results. What is your issue? Can you provide more background, there may be other options...
Will
Maybe you are looking for
-
Windows 8.1 ERROR MESSAGE: (Device missing)
I am not able to change anything from administrator account.I am receiving error messages... RUnDLL There is a problem starting C:\WINDOWS\System32\inetcpl.cpl C:\WINDOWS\system32\inetcpl is not a valid Win32 application. (NOTE: My system is a 64-bi
-
Movie in wrong library on same computer
I bought a movie from Itunes. I didn't realize that I was on my daughter's log in. The movie went into that library. I want to move it to my main Itunes library on my sign in but I can't figure out how to do it. It is all on the same computer.
-
First of all, hello! This is my first post on these boards. So here's the deal: I'm lazy. Terribly lazy. And I haven't updated my OS since buying this computer four years ago. So now I'm in a pickle... I'd LIKE to upgrade, but I haven't a clue how to
-
I want to delete the dead bars that lead in to a song I have recorded on Garageband 10.0.3 so I can mix it to MP4. I tried doing this using Arrangement, simply deleting the bars, but this leaves the automation out of sync. How should I do this?
-
SAP PM stand-alone with Baan ERP ?
Does anyone have experience with implementing SAP PM module with Baan ERP ? I don't think that this is a good idea at all, but I just wanted to check if someone already did it, and how much it did cost. Many thanks for your feedback. Best regards, He