ALV - o/p logic - for Qty segregation
Hi
This Report is for Semifinished product's system status. (radio buttons - with & w/o serial no.)
W/o serial no. o/p is -->
Material - Total Qty - Qty in store - Qty in Elctronics - Qty in Mechanical - Delivered Qty
SPDEW - 5 - 1 - 2 - 2 - 0
It's as required.
But When I display with Serial no. ( Sr. no is not in system) IS COMES -->
Material - Serial no. - Total Qty - Qty in store - Qty in Elctronics - Qty in Mechanical-Delivered Qty
SPDEW - 123 - 5 - 1 - 2 - 2 - 0
SPDEW - 234 - 5 - 1 - 2 - 2 - 0
SPDEW - 456 - 5 - 1 - 2 - 2 - 0
SPDEW - 567 - 5 - 1 - 2 - 2 - 0
SPDEW - 789 - 5 - 1 - 2 - 2 - 0
BUT THIS SHOULD BE IN FIFO (FIRST IN FIRST OUT) MANNER AS -->
Material - Serial no. - Total Qty - Qty in store - Qty in Elctronics - Qty in Mechanical-Delivered Qty
SPDEW - 123 - 5 - 0 - 0 - 1 - 0
SPDEW - 234 - 5 - 0 - 0 - 1 - 0
SPDEW - 456 - 5 - 0 - 1 - 0 - 0
SPDEW - 567 - 5 - 0 - 1 - 0 - 0
SPDEW - 789 - 5 - 1 - 0 - 0 - 0
Hw can I segregate Qty like this ?
may be u can develop BDC on ALV double click
Form user_command .....
case 'XXXX'.
when 'VA02'.
write ur BDC code here
endcase.
Similar Messages
-
Please provide logic for schedule lines and material document Quantity.
Hi ABAPers,
Please help in the following context.
Is there any connecting or refrence field for which a particular schedule line item are considerd for the goods reciept of a particular material document.
Also provide the logic.
19 34
15
14 35
11
10
If 19 15 14 11 10 are schedule lines, and 34 35 are two recived quantities,
Then how can be the possible permutations and combinations logic to find out that, 34 = 19 + 15 and
35 = 141110.
Thanks in advance...Niles Raut wrote:
Hello Gurus,
>
> This is intracompany STO scenario with delivery. There is one STO for quantity say 1000 pc created in 2008. Delivery and PGI done for 1000 qty in 2008. Goods are received in receiving plant for qty 1000 in 2008. Now this delivery document is archieved and user has reversed the GR material document in 2010. Now this reversal material docuemnt has zero material qty becasue the delivery was archieved(which is the probable reson)
>
> When I want to cancel this reversal material document it gives error that "Qty and / or "delivery completed" ind. or final issue ind. are missing" which is logical since material document has zero quantity.
>
> Is there any sap notes or any other way to fix this?
>
> Please guide.
>
> Regards
> Nilesh
Where is actually the problem, if one only reversed 0 quantity?
Why do you think you need to reverse this reversal again?
why with year 2010?
Dont you do anual inventories? Such stock counts have corrected your stock anyway. if you start cancelling older movements then you create stock inconsistencies again. -
VA03 - Base tables & Logic for structures
Hi,
In a data archiving project, I have to identify the tables & fields which are to be archived based on customers reports. When we try to find out tables & fields for the reports, there are lot of fields with structures. How to find out the base tables for these structures? In VA03 report, I need to find out the base tables & logic for the below structure-fields
CCDATA-CCINS
CCDATA-CCNUM
RV45A-DWERK
RV45A-BTGEW
RV45A-GEWEI
RV45A-VOLUM
RV45A-VOLEH
CCDATA-DATBI
VBAPD-EPMEH
RV45A-PRGBZ
KOMV-KSCHL
KOMV-KBETR
RV45A-KOEIN
RV45A-KFREL
RV45A-ABGESP
RV45A-DWERK
VBAPD-EPMEH
RV45A-PRGBZ
RV45A-KFREL
RV45A-KWMENG
RV45A-PRGBZ
RV45A-ETDAT
RV45A-EPMEH
RV45A-KFREL
RV45A-PSTYP
RV45A-KNTTP
VBEPD-RSETD
VBAPD-EPMEH
RV45A-GRETD
Could you please tell me the base tables & the logic for these fields.
Thanks,
VenkatHi
Venkat Rao
Just check the field in the tables given by Jhon and also check the some of the tables below
VEPVG - Open Sals Order QTY.
VBUK - Open Sales Order
Use the transaction SE16 / SE11 and try to serach the field and find out base tables and logic.
RV45A-DWERK --- Plant u will find this in VBAP
RV45A-PSTYP --- Document type and so on.....
Thx. -
Need Mapping logic for the following scenario
Hi everyone,
I need a mapping logic for the following scenario.
For the same order no with same material no, the quantity should be summed and only one idoc should be created.
For the same order no with different material no, no need to sum the quantity and only one idoc should be created.
For example:
Source Structure:
Ord No Mat No QTY
12 1 2
13 1 3
13 2 1
12 2 4
15 1 5
14 3 7
12 1 6
Target Structure:
Ord No Mat No QTY
12 1 8
12 2 4
13 1 3
13 2 1
14 3 7
15 1 5
Thanks in AdvanceTry the graphical mapping as shown below using concat with a space as delimite and UDF to split the value again by space.
1. Idoc node
(RootContext)
OrdNo
|concat[ ] -> sort[asending] -> SplitByValue -> collapseContexts -> Idoc
MatNo case sensitive [ValueChange]
(RootContext)
2. OrdNo
OrdNo(RC)
|concat[ ] -> sort[asending] ->SplitByValue->collapseContexts->SplitByVale-> UDF to fetch ordno -> OrdNo
MatNo(RC) case sensitive [ValueChange] [eachValue] (return var1.split(" ")[0];)
3. MatNo
OrdNo(RC)
|concat[ ] -> sort[asending] -> SplitByValue ->collapseContexts->SplitByVale-> UDF to fetch ordno -> MatNo
MatNo(RC) case sensitive [ValueChange] [eachValue] (return var1.split(" ")[1];)
4. Qty
[asending,case sensitive]
-- sortByKey -----> formatByExample -> sum ->Qty
OrdNo(RC) | | ^
|concat[ ] -> | Qty(RC) |
MatNo(RC) | |
--sort[asending]-> SplitByValue
case sensitive [ValueChange]
Regards,
Sunil Chandra -
Logic for carry forward of previous stock to current period stock.
Hi Experts,
Client is using already MC.9 for see the stock analysis report, however as per there requirement we are exploring BOM as well as fetching quantity from table level as well. in my report I am experiencing difficulty to carry forward previous period closing stock quantity to current period stock quantiy, if there is no received for current period, however the same is happens in MC.9
Could any one tell me what is the logic behind MC.9 which is do carry forward previous period closing stock to current period stock quantity in report.
As per the requirement I am using S031, S032,S033, however unable to get logic for carry forward the previous month stock quantity to current month.
have a requirement of creating a report of showing material stock period wise for each plant in below mention format.
Header 1
Header 2
Header 3
Header 4
LFGJA/LFMON
ROH (MT)
HALB (MT)
FERT (MT)
11.2013
100.000
121.000
121.00
12.2013
50.000
12.000
123.00
01.2014
23.231
.23.234
45.342
02.2014
23.231
34.094
45.098
03.2014
34.098
98.983
00.000
04.2014
00.000
69.093
98.098
05.2014
00.000
89.098
00.000
For Example Break up of ROH material plant wise in below mention format.
LFGJA/LFMON
WERKS
MENGE (MT)
11.2013
P001
30.000
11.2013
P002
50.000
11.2013
P003
20.00
Thanks in advance,
SKNHi,
The last period closing stock = current period opening stock. You may get the details from MBEWH and S032 tables. Refer the doc: Material Stock and Valuation History tables - how to read them
Regards,
AKPT -
In MVC, do i need a View or Page with flow logic for POPUP window
Hi All,
I have the below scenario using the MVC pattern.
I have a main view with 3 trays, each tray has two buttons, for example first tray has Create Order button. When I click on this button, I need a popup window to come with a tableview and a button(Create), where I select some rows and click on the button Create to create order.
But as per the MVC pattern I canu2019t call the view (popup) from another view(main view). So should I create a VIEW or PAGE WITH FLOW LOGIC for the popup? .
I need 6 popup to be called from the main view and once the function is done close the popup.
Please suggest me the flow for this scenario.
Cheers,
Srini.Srini,
1. You can call the view in pop-up because you will be calling the controller using open.window.
Here is the sample code:
method DO_REQUEST .
data:
li_vw type ref to if_bsp_page,
lv_form_field type string,
li_md type ref to zcl_model01.
dispatch_input( ).
li_md ?= get_model( 'm01' ).
lv_form_field = request->get_form_field( 'invoice_create' ).
if lv_form_field is initial.
*------ Request to display main page
li_vw = create_view( view_name = 'main.htm' ).
li_vw->set_attribute( name = 'model' value = li_md ).
call_view( li_vw ).
elseif lv_form_field eq 'true'.
*------ Request to display Invoice page in pop-up
li_vw = create_view( view_name = 'invoice.htm' ).
li_vw->set_attribute( name = 'model' value = li_md ).
call_view( li_vw ).
endif.
endmethod.
Layout:
function do_Invoice()
{ var s=0; r=1; w=300; h=300; x=screen.width/2;
x=x-w/2;
var y=screen.height/4;
y=y-h/2;
popUp=window.open('main.do?invoice_create=true','win','width='+ w
+',height='+ h +', left=' + x +',top='+ y +');
Option2:
Ofcourse you can't bind the model in page becos those are 2 different things. But all you need to do is access the model to get some value. To know how to access the model from Page w/flow logic look at [this link|Passing model reference to a page in a Popup].
Raja
Edited by: Raja Thangamani on Apr 14, 2009 11:22 AM -
What is the logic for 2LIS_17_I3HDR to pick a order as completed on time?
Hi, Experts:
I am working on PM using 2LIS_17_I3HDR to load data. In 2LIS_17_I3HDR, there is a field called "orders completed on-time". I am wondering what is the logic for 2LIS_17_I3HDR to identify if an order was completed on time. I would assume it compares some kind of completion/finish date with a planed/schduled comletion/finish date. Would someone please tell me what fields in what table or in transaction IW39 DOES does 2LIS_17_I3HDR use for this?
Many thanks!
JennyHi, Ram:
Thank you for the reply!
The key figure is ZHLAFIH_TGERL (Number of On-time Closed Orders). I saw some SAP programs refering to its component type "DZHLAFIH_TE" too.
Thanks,
Jenny
Edited by: Jenny Chen on Dec 2, 2009 7:53 PM
Edited by: Jenny Chen on Dec 2, 2009 7:55 PM -
Can anybody help?
I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
Does it have a line in and how do you monitor sound?
Will I need adaptors and an interface?
Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
I see all the upgrades as additional memory or a faster process?
Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
I have £500 already and willing to add another 500 to 700 pounds, then software extra.Can anybody help?
I am considering buying a new MAC laptop to run LOGIC for composition and band live/recording, but which one is best as I do not want to spend too much money?
Does it have a line in and how do you monitor sound?
Will I need adaptors and an interface?
Also, I am guessing as Logic only runs on MAC surely then they would not the best spec to recommend to run it?
I see all the upgrades as additional memory or a faster process?
Is a retina screen necessary, and why flash based storage against a 1TB hard drive, and a i5 instead of an i7
The main reason for this purchase is to play live and use backing tracks and record found sounds and make creative songs.
I hope you can provide some valuable feedback, as I am a longtime MAC user and see upgrades and changes happen regularly but the most important thing is the songs not the equipment.
I have £500 already and willing to add another 500 to 700 pounds, then software extra. -
Logic for making ASN as an attachment to a email?
hi all,
can anyone help me trying to write a logic for making the Advanced Shipment Notification as an email attachment after having converted it into pdf format?
I need logic for:
1) Initially converting it into pdf
2) Making the pdf as an attachment and not as a general email content.
Thanks & Regard/AryanDear Aryan,
This conversion to pdf can be done by using program RSTXPDFT4, and for the pdf to be sent as attachment you need to contact your technical team as they will write a script for that, scheduling of the same can also be done.
Reward Points if it helps,
Regards,
N -
Where to see the logic for 0FYEAR (SAP Exit)
There is already an SAP exit 0FYEAR. There is a requirement to make ZFYEAR1 just like 0FYEAR. So, i want to see where the code (logic) for 0FYEAR is present so that i can write the the same for my custom variable(ZFYEAR1) in CMOD. Can anyone help me with the name of the program?
Include ZXRSRU01 --> Function Module EXIT_SAPLRRSO_001
or
Search for Function Module RSVAREXIT_ [variable name]
Variable Name = 0FYear -
GL A/c numbering logic for chart of accounts BAIN
Hi,
Will any expert pl let mek now What is the GL A/c numbering logic for chart of accounts BAIN (BAIN is standard ch of A/c for India apart from CAIN)?
Regards
AnandYour question is not clear about numbering logicu2026
First of all the GL Account # are always externally assigned (it can be either numeric and alphanumeric)
The length of GL account is 10 digits. But if you give it as 6 in TC OB13 then
u2022 Numerical account numbers
The system includes zeros to the left of the number
0000001234
u2022 Alpha-numeric account numbers
The system includes zeros to the right of the number
1131DB0000 -
Logic for Expand/compress icons
Hi all,
iam creating a custom transaction in which if you click on partner row in Partner tab an address dialog box pops up...
(similar to sales order/header/partner tab)
now, i want my window have the same func as the SAp window has but iam having problems in trying to understand what SAP is doing..
My question:
logic for expand/compress icons in the dialog box..
how can i implement the logic for expand/cmpress icons..
if i click on expand, i should see all the fields and if i compress ,all initial fields should compress and if all fields are filled and then u click on compress the icon should disappear(similar to SAP)..
my present logic is not able to switch the expand/compress properly..iam using screen-names for these...i see that SAP is using icons but iam not sure how to do this..
can anyone input..
gretaly appreciate....Hi Karunya,
I have done something similar on the selection-screen of a Custom Report using text symbols & icons. You can probably try it out.
parameters:
p_cstopn type c no-display.
selection-screen:
pushbutton 1(33) p_pcust user-command cus.
at selection-screen.
Check whether the additional selections screen is open or closed
if p_cstopn = space.
p_pcust = text-opn.
Make all fields invisible
loop at screen.
if screen-group1 = c_customize.
screen-input = 0.
screen-invisible = 1.
modify screen.
endif.
endloop.
else.
p_pcust = text-clo.
endif.
In the text symbols :
use @3S@ Open Additional Selections forTEXT-OPN &
@3T@ Close Additional Selections for TEXT-CLO
Good Luck,
Suresh Datti -
Hi ,
I would like to know one logic for preparing functional specification for one MM report. This report should fetch all materials that are below safety stock.
Please help me.HI,
The logic is you take the current unresticted stock of a material from MARD table, field name is LABST.now you check for the safety stock of the particular in MARC table Field name-EISBE.
Now compare the current stock with the safety stock,generate a report for the materials whose present stock is less than the safety stock.
for this requirement safety stock should be maintained in the material master,other wise your report will not work.
Regards,
velu -
Logic for monthly quarterly yearly basis for ar eport
hi ,
i need to run a report (which shows sales order number and creation date
based on erdat entered in selection screen)
in back ground. for that i have to develop a wrapper program which calls the main program and executes it. i can do that but the thing is i need logic to run that wrapper program to execute the report on basis of monthly quarterly and yearly.
example : if i execute the report for erdat-creation date range 15.01.2005 and 25.03.2005 we will display sales order num and date b/w this range.
if i excute this thro wrapper program for entered date and select monthly basis,
it should split into 3 variants i,e for 3 months and execute .what is the logic for that.hi ,
i need to run a report (which shows sales order number and creation date
based on erdat entered in selection screen)
in back ground. for that i have to develop a wrapper program which calls the main program and executes it. i can do that but the thing is i need logic to run that wrapper program to execute the report on basis of monthly quarterly and yearly.
example : if i execute the report for erdat-creation date range 15.01.2005 and 25.03.2005 we will display sales order num and date b/w this range.
if i excute this thro wrapper program for entered date and select monthly basis,
it should split into 3 variants i,e for 3 months and execute .what is the logic for that. -
Hi Guys,
I am trying to write a logic for comparison....Can you plz help me on this....
I have data like below.. I need to compare value which is comming from file with the data in SAP, If it fall under data maintained in sap 'Accept record' otherwise I need to reject. How can i check (write logic) for this checking....
data maintained in SAP , Data from file , Result
<10 , <8 , Accept
>5 and <10 , =8 , Accept
>5 and <10 , >15 , Reject
=15 , >10 and <30 , Accept
Thanks & Regards,
Rays
Message was edited by: rayudu p
Message was edited by: rayudu pHi Guys,
I am trying to write a logic for comparison....Can you plz help me on this....
I have data like below.. I need to compare value which is comming from file with the data in SAP, If it fall under data maintained in sap 'Accept record' otherwise I need to reject. How can i check (write logic) for this checking....
data maintained in SAP , Data from file , Result
<10 , <8 , Accept
>5 and <10 , =8 , Accept
>5 and <10 , >15 , Reject
=15 , >10 and <30 , Accept
Thanks & Regards,
Rays
Message was edited by: rayudu p
Message was edited by: rayudu p
Maybe you are looking for
-
MS Word formating characters.
Hey all I'm hoping someone my have some expierence with this, I have a Java application, which in short will have a text area, when users copy pieces of text from a MS Word document, sometime formatting charters gets copied across, and these are save
-
Start and Stop a Windows Service From Java
Is there any way to start and stop a Windows service from Java? The only post I found on it (http://forum.java.sun.com/thread.jspa?threadID=647509) had a link to one of the many aps that allow Java programs to be services, which is not what I am inte
-
IMovie11 hangs, freezes while generating thumbnails
Often after importing MiniDV tapes using iMovie11 the progress bar for generating thumbnails gets to a certain point and then stops. It will remain this way for over a day unless I Force Quit the application. The event directory and thumbnail directo
-
New mac book pro - to run boot camp or not?
hi, im a brand new mac user and have had a brief browse of some problems that others have encountered with boot camp and possible crashes during partitioning... i'm not sure if anyone can help but i was wondering if it would be safest to run boot cam
-
Hi everybody! I forgot my security questions to my Apple ID, now I can't buy anything! How do I get the answers to or change my security questions?