Can any body tell whether this logic will work or not
To calculate quantity for the material for particular month
This report is used to calculate demand plan(zzdpfc) for market 001 and 002
eg: the opt shld be
material number month quantity
1. 1000 02/2007 40 (market 001+002 for the same materila and same month)
2. 1000 03/2007 20 (same as above)
3. 1001 02/2007 30 (same as above)
i want to know whether this pgm will work according to this requirement or not .if not please change the code accordingly .please let me know it urgent.
REPORT ZPRODUCT_ROLL .
TableS: S507.
DATA: BEGIN OF T_DATA OCCURS 0,
matnr LIKE S507-matnr,
SPMON LIKE S507-SPMON,
ZZDPFC LIKE S507-ZZDPFC,
ZZMARKET LIKE S507-ZZMARKET,
END OF T_DATA.
DATA:WA_DEMPLAN(10) TYPE C.
data:material(18) type c.
data : period like sy-datum..
period = sy-datum+0(6).
Select mATNR SPMON ZZDPFC ZZMARKET
From S507
into corresponding fields of table t_DATA WHERE
VRSIO = '000' AND BEDAE = 'KSV' AND ZZDMTYP = '001'
AND ZZDPFC GT '0' AND ZZMARKET IN ('001','002').
AND SPMON >= PERIOD.
SORT T_DATA BY MATNR SPMON.
write:/04 'Material',25 'Demand Plant', 50 'Period'.
LOOP AT T_DATA.
move t_data to material.
modify t_data.
*WRITE:/02 t_data-MATNR ,25 t_data-ZZDPFC,45 t_data-ZZMARKET,
*70 t_data-SPMON.
at new spmon.
sum.
write : /02 material color 5,25 t_data-zzdpfc COLOR 5 ,50 t_data-spmon color 5..
endat.
endloop.
hi arun,
use collect keyword in the loop, it add the quantity fields for the particular material
or
use control brake statement in the loop and endloop.
regards,
seshu.
Similar Messages
-
I have interview in ibm , can any body tell queistion ask by ibm
hi all
iam sap fico consultantant i have interview in ibm , can any body tell queistion ask by ibm,if any way to getting interview quiestions please.......
thank u
chinnaHi,
Dude, I dont think any one will have questions asked by IBM as such. Try the links below which might help you in your interview. You can also search in this forum for more FAQ's. Get some real time issues from this forum
http://www.sap-img.com/financial/fi-faq.htm
http://www.erpgenie.com/sapfunc/fi.htm
http://www.sapprofessionals.org/?q=125_fi_questions_for_certification
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/sap+solutions&
All the best
Regards
Genie -
Can any one tell whether the concept which i understood is correct or not
hai everyone
iam studying jdbc and this is what i understood about the basic concept .can any one tell whether the concept which i understood is correct or not
whenever the statement class.forName("driver class") is executed driver class is loaded and registered with drivermanager.Internally drivr class contains a static bloc which contains the following code
static
Driver drv=new name of driver class();
DriverManager.registerDriver(drv);
whenever the statement class.forName("driver class") is executed,static bloc is executed first and driver class is registerd.
concept as i understood about DriverManager:
suppose there may be situations where an application developed in java has to deal with one or several databases and this is accomplished with one or different driver classes.so all these driver classes are to be managed and this is done by DriverManager class and in order to make the driver class itself known to the driver manager we have to register the driver classes with the help of registerDriver() method of DriverManager class because DriverManager is the class which will attempt to load the driver classes into memory..
If we look at the last statement: DriverManager is the class which will attempt to load the driver classes into memory.Here i have some doubt if DriverManager class loads the driver class after registering the driver class then what does the statement class.forName("driver class") will do which is also used to loaad the driver class.
what i understood is since the responsibility of loading the class is done by class.forName("driver class") only registering of the driver class is done as the class is alredy loaded.
help me to clear my confusion
thanks in advancehai everyone
iam studying jdbc and this is what i understood about
the basic concept .can any one tell whether the
concept which i understood is correct or not
whenever the statement class.forName("driver class")
is executed driver class is loaded and registered
with drivermanager.Internally drivr class contains a
static bloc which contains the following code
static
Driver drv=new name of driver class();
DriverManager.registerDriver(drv);
}That's supposed to be the case, but there's no way to guarantee that every driver actually has that static init. I don't think I've ever run across one that doesn't, though, so, yes, you're basically correct.
whenever the statement class.forName("driver class")
is executed,static bloc is executed first and driver
class is registerd.When you do Class.forName(), the class is loaded and initialized. Whenever you initialize a class, its static init blocks are executed, yes.
concept as i understood about
DriverManager:
suppose there may be situations where an application
developed in java has to deal with one or several
databases and this is accomplished with one or
different driver classes.so all these driver classes
are to be managed and this is done by DriverManager
class and in order to make the driver class itself
known to the driver manager we have to register the
driver classes with the help of registerDriver()
method of DriverManager class because
DriverManager is the class which will attempt
to load the driver classes into memory..Except for that last part, yes.
DM keeps track of loaded drivers, and gives them a chance to parse the connection URL when you call getConnection. DM does NOT load the driver classes into memory, however. That's done when you call Class.forName.
what i understood is since the responsibility of
loading the class is done by class.forName("driver
class") only registering of the driver class is done
as the class is alredy loaded.Right. -
Can any body tell me when we do full buffering db tables
hello all
can any body tell me when we do full buffering , what changes will occurs in database server?
After buffer we added some fields in database table what changes will be there in database server?Hi Swamy,
refer this link
http://help.sap.com/saphelp_47x200/helpdata/en/cf/21f244446011d189700000e8322d00/content.htm
http://help.sap.com/saphelp_47x200/helpdata/en/3d/935324d37011d194ba00a0c94260a5/content.htm
http://abapprogramming.blogspot.com/2007/11/buffering-in-sap-abap.html
Table Buffer:Table Buffer is a place on the RAM where we store the whole table temperorly.Single Buffer:It is one type of buffering techniques through which we can store single record of a table on RAM temperorly. If more details are present ...
This r some think to buffer the data in application server. Buffer not allowed will buffer data in AS. Data will be fetched directly from Database server. Buffer switched on means it buffers data in AP means data is fetched from application Server. Buffer switched allowed but switched off. Full buffer to store the table in AP. Generic buffer - It is a comparison of fields i.e. data retired by the matching record.
Cheers
Mohinder Singh Chauhan -
Can any body please read this and ans me
hi all,
can any body please read this and tell is there any function module or some other thing is available.
Material masters are location specific, and Progistix maintains part details in Canadian $, now we need to get the logic how SAP converts the standard cost of the material from Canadian $ to US $
The plant number of Canada is 3002.Hi
you would have to use the following function modules
CONVERT_TO_LOCAL_CURRENCY
CONVERT_TO_FOREIGN_CURRENCY
regards
Dinesh -
Can any body tell me what is the need of creating shipping Instruction
Hi Everybody,
Can any body tell me what is the need of creating shipping Instruction in Material Management & where it is used.
Menu path -> IMG -> Material Management -> Purchasing - > Material Master - > Define Shipping instruction.
2. What is the use of Manufacturer Part Profile & how it is used in the SAP system.
Menu path -> IMG -> Material Management -> Purchasing - > Material Master - > Define Manufacturer Part Profile.
Thanks & Regds.....
RashmiThis characteristic describes the packaging and shipping requirements that have to be fulfilled by the vendor
The instructions issued to a vendor regarding the shipment or packing of ordered goods.
o CO coil
o NE unpacked
o NT nylon net
A manufacturer part profile contains indicators and control parameters, which define the conditions for using (inventory-managed or non-inventory-managed) manufacturer parts in the procurement process.
The manufacturer part profile specifies how manufacturer parts (MPN materials) can be used in the procurement process.
The manufacturer part profile is assigned to the master record for a firm's own inventory-managed material.
Among other things, it determines whether:
u2022 The MPN material or the inventory-managed material is to be entered in a purchase order
u2022 Info records can be created for the MPN material or the firm's own material
u2022 The MPN material can be changed during the procurement process -
Hi i want to download BW , please can any body tell me that where can
hi i want to download BW , please can any body tell me that where can i have that
thanks
basuBW is not available, as far as I am aware, for free download at this time.
matt -
Can any body tell me about dotCMS pullContent macro ?
Can any body tell me about what are the table used by dotCMS pullContent macro ?. Actually i have changed created date of news in contentLet table and inode table whereas whenever i am searching records with that date range those records are not appearing can any body please help me.
Regards,
Lokesh Kumar PattajoshiHi Praveen,
Event container is the container which stores the values of the BO attaribures which get assigned to that instance of the BO.
If you go to SWO1 transaction and check the BO for which the event is triggered, you would see all the possible attributes than can be assigned.
To pass the values of the BO event container to the workflow, you need to maintain the necessary binding between the BO event container and the workflow container. This can be done in the 'Basic Data', Start Events tab. If you click on automatic binding, the system would prompt for a default binding. You could opt to use that or create your own binding. Make sure that the datatypes match.
After mapping the event container to workflow container, you can check in the workflow log for the values passed to the workflow container. If you like to directly check the values stored in the event container, go to SWO1 and simulate an instance of the BO. You can then check the values there.
Hope this helps!
Regards,
Saumya -
Microsoft dynamics ax used on a MAC operating system? Can any body tell me?
Dear ALL
Can Microsoft Ax Dynamics client be installed and used on a MAC operating system?
Can any body tell me?You might want to try using the contact us link on the Microsoft Dynamic Ax site. http://www.microsoft.com/en-us/dynamics/erp-explore-ax-capabilities.aspx
They will likely know the answer to your question. -
Can any body tell me OR condition in Process Chains.
Dear ALL
Can any body tell me OR condition in Process Chains..
I have a process chain 0FI_GL_4 datasource.
I this i have a start variant then execute infopackage then activate datastore data
and at last we have put the OR Condition which has a description Every (With End : OFIGL_O02 Process Chain has failed).
That was the description showing to me.
Now the process chain is running successfully , but iam not getting the OR Condition , why they have put .Hi Anil, Please refer this [article|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/005fa02b-8a27-2d10-66a1-df845ef07d15]. This explains how to use Intelligence in Process Chains. Second [article |http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/705aefe8-8a27-2d10-7b8e-88017ee9158c]is reg. using Decision Steps in Process Chains.
-
hi, i want to control my vi from multiple systems using ethernet options can any body tell me how to do that? thans in advance
There are multiple ways of doing this. Here are some of them..
The Web Publishing tool allows you to publish the front panel and you can control the front panel remotely.http://www.ni.com/white-paper/2911/en/
The TCP/IP socket can allow you to pass codes "strings" to another computer. Lookup the server client example.
regards,
Gautham -
Can any body tell me, can we attach field exits to Njoy trnsactions in 4.7
Hi,
can any body tell me how to attach field exits to the enjoy transactions in 4.7.
I was not been able to attch the field exits to "Account assignement catagory" in trnasaction ME51N(Purchase requisition creation) using the program "RSMODPRF".
Please suggest.
Best Regards
Ramanjaneya ReddyBut hey! Your in 4.7, use BADIs!
Goto transaction SE18, search and you will find some stuff like ME_PROCESS_REQ. There are several dozens for purchasing, so go for the new technics.
By the way, I'm not sure if workaround is still possible in 4.7.
Implementation will be done with SE19.
Regards,
Christian -
Can any body tell me how many records can a db hold in a minute
can any body tell me how many records can a db hold in a minute
user644700 wrote:
can any body tell me how many records can a db hold in a minuteI would hope not since it will depend on X number of factors where X is a very large number.
Did you have anything specific in mind (version, hardware, etc...)? I assume you mean load and not hold? -
Can any body tell me, how to send/receive the sms from java application
Hi All,
Can any body tell me, how to send/receive the sms from java application to mobile phones.
I have installed the jsms engine and when i try to connect to the mobile device ,the jsms server is giving
the following error.
Cannot connect to GSM Device, error : -11The best place to ask your question is at the JSMS website, forum or mailing list since this is no error that directly comes from a class belonging to the core Java classes.
-
can any body tell me how to get a call for adobe interview for a flex developer post for 2.6 years??
hi,
there's some microsoft support to this issue. check here http://support.microsoft.com/kb/2008385
regards.
From out of Nowhere
Maybe you are looking for
-
My iTunes opens and plays music but the store will not work
I can't get my itunes store to work. The application for itunes will open but it won't show anything and says "iTunes could not connect to the iTunes store. Anm unknown error occorred (306) Make sure your network connection is avtive and try again."
-
Agent12c on different platforms (without SelfUpdate)
Hi Is there a way to install an agent other than one on which my Management Service runs ? SelfUpdate is not configured in my oms server since internet access is disabled.
-
How to show my Nokia e71 screen on my computer's m...
Ok. I want to show my Nokia e71 screen on my computer's monitor. What should I do? HELP!!!!
-
Problem with the presentation hierarchy 0YEA_QUA_MON_DAY
Hi, Kindly anybody help me to sort out this problem: I have selected 0YEA_QUA_MON_DAY hierarchy on 0calday.In the query I have included 0calday as free characterstic.In quey execution , first of all it displaying few rows. If I drill down to 0calday
-
Transfer iPhone video to iPad