Concept of Snapshot method in inventory
Can anyone please help me understanding the concept of Snapshot inventory loading in BW??
What is the technique used on a broad level??
I tried to read how to inventory pdf but, im not easily getting the essense of it.In that doc, market update method is a bit clearly explained.But for Snapshot, it was just told to follow some steps (process1,2,3,4,5 etc).
Can anyone please explain the concept? i will give him accordingly if i really understand.
Shambu,
I wanted the technique used in BW.
I can understand what is meant by snapshot but, i wanted the process logic using ODS,cube which is done in BW under the name "Snapshot method to handle inventory technique"
The link u have provided just gives the business meaning of snapshot.
Similar Messages
-
Snapshot scenario in Inventory Mnagement
Hi Experts,
I just came across the Snapshot scenario in Inventory Mnagement which is used to improve query run time.Can anyone explain the Concept of Snapshot and method of using the same.
Thanks,
MeeraHi Experts,
Thanks for answer but my problem is something diffrent.
for snap shot scenario for inventory management while creating update rules from infosource 2LIS_03_BF to snap shot infocube
i want to write routine for the non-cumulative key figures i m only getting the outflow and and the inflow infoobject for mapping.
though when i was creating update rules for same infosource and snap shot dso i got all the non-cumulative key figure and their outflow and inflow infoobject in the update rules.
please tell me how to get non-cumulative key figures in update rules.
Thanks and Regards
Lalit Kumar -
Snapshot scenario of Inventory
Hi Expert,
While I am trying to create update rules for snapshot scenario of Inventory in InfoCube object
u201CICSNAP1u201D. It will not shows the non-cumulative key figure for those we have to write the update
rules. It only shows the inflow and outflow keys.........
Thanks and Regards
Lalit KumarHi Experts,
Thanks for answer but my problem is something diffrent.
for snap shot scenario for inventory management while creating update rules from infosource 2LIS_03_BF to snap shot infocube
i want to write routine for the non-cumulative key figures i m only getting the outflow and and the inflow infoobject for mapping.
though when i was creating update rules for same infosource and snap shot dso i got all the non-cumulative key figure and their outflow and inflow infoobject in the update rules.
please tell me how to get non-cumulative key figures in update rules.
Thanks and Regards
Lalit Kumar -
Could you please send me the material Opps concepts Classes and Methods
Hi Experts,
I am working on Opps concepts.I am new to this concept.
Could you please send me the detailed presentation on Abap oops.
Thanks inadvance,
Regards,
Rekha.Hi this will help u.
OOPs ABAP uses Classes and Interfaces which uses Methods and events.
If you have Java skills it is advantage for you.
There are Local classes as well as Global Classes.
Local classes we can work in SE38 straight away.
But mostly it is better to use the Global classes.
Global Classes or Interfaces are to be created in SE24.
SAP already given some predefined classes and Interfaces.
This OOPS concepts very useful for writing BADI's also.
So first create a class in SE 24.
Define attributes, Methods for that class.
Define parameters for that Method.
You can define event handlers also to handle the messages.
After creation in each method write the code.
Methods are similar to ABAP PERFORM -FORM statements.
After the creation of CLass and methods come to SE38 and create the program.
In the program create a object type ref to that class and with the help of that Object call the methods of that Class and display the data.
Example:
REPORT sapmz_hf_alv_grid .
Type pool for icons - used in the toolbar
TYPE-POOLS: icon.
TABLES: zsflight.
To allow the declaration of o_event_receiver before the
lcl_event_receiver class is defined, decale it as deferred in the
start of the program
CLASS lcl_event_receiver DEFINITION DEFERRED.
G L O B A L I N T E R N A L T A B L E S
*DATA: gi_sflight TYPE STANDARD TABLE OF sflight.
To include a traffic light and/or color a line the structure of the
table must include fields for the traffic light and/or the color
TYPES: BEGIN OF st_sflight.
INCLUDE STRUCTURE zsflight.
Field for traffic light
TYPES: traffic_light TYPE c.
Field for line color
types: line_color(4) type c.
TYPES: END OF st_sflight.
TYPES: tt_sflight TYPE STANDARD TABLE OF st_sflight.
DATA: gi_sflight TYPE tt_sflight.
G L O B A L D A T A
DATA: ok_code LIKE sy-ucomm,
Work area for internal table
g_wa_sflight TYPE st_sflight,
ALV control: Layout structure
gs_layout TYPE lvc_s_layo.
Declare reference variables to the ALV grid and the container
DATA:
go_grid TYPE REF TO cl_gui_alv_grid,
go_custom_container TYPE REF TO cl_gui_custom_container,
o_event_receiver TYPE REF TO lcl_event_receiver.
DATA:
Work area for screen 200
g_screen200 LIKE zsflight.
Data for storing information about selected rows in the grid
DATA:
Internal table
gi_index_rows TYPE lvc_t_row,
Information about 1 row
g_selected_row LIKE lvc_s_row.
C L A S S E S
CLASS lcl_event_receiver DEFINITION.
PUBLIC SECTION.
METHODS:
handle_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
IMPORTING
e_object e_interactive,
handle_user_command FOR EVENT user_command OF cl_gui_alv_grid
IMPORTING e_ucomm.
ENDCLASS.
CLASS lcl_event_receiver IMPLEMENTATION
CLASS lcl_event_receiver IMPLEMENTATION.
METHOD handle_toolbar.
Event handler method for event toolbar.
CONSTANTS:
Constants for button type
c_button_normal TYPE i VALUE 0,
c_menu_and_default_button TYPE i VALUE 1,
c_menu TYPE i VALUE 2,
c_separator TYPE i VALUE 3,
c_radio_button TYPE i VALUE 4,
c_checkbox TYPE i VALUE 5,
c_menu_entry TYPE i VALUE 6.
DATA:
ls_toolbar TYPE stb_button.
Append seperator to the normal toolbar
CLEAR ls_toolbar.
MOVE c_separator TO ls_toolbar-butn_type..
APPEND ls_toolbar TO e_object->mt_toolbar.
Append a new button that to the toolbar. Use E_OBJECT of
event toolbar. E_OBJECT is of type CL_ALV_EVENT_TOOLBAR_SET.
This class has one attribute MT_TOOLBAR which is of table type
TTB_BUTTON. The structure is STB_BUTTON
CLEAR ls_toolbar.
MOVE 'CHANGE' TO ls_toolbar-function.
MOVE icon_change TO ls_toolbar-icon.
MOVE 'Change flight' TO ls_toolbar-quickinfo.
MOVE 'Change' TO ls_toolbar-text.
MOVE ' ' TO ls_toolbar-disabled.
APPEND ls_toolbar TO e_object->mt_toolbar.
ENDMETHOD.
METHOD handle_user_command.
Handle own functions defined in the toolbar
CASE e_ucomm.
WHEN 'CHANGE'.
PERFORM change_flight.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMETHOD.
ENDCLASS.
S T A R T - O F - S E L E C T I O N.
START-OF-SELECTION.
SET SCREEN '100'.
*& Module USER_COMMAND_0100 INPUT
MODULE user_command_0100 INPUT.
CASE ok_code.
WHEN 'EXIT'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Module STATUS_0100 OUTPUT
MODULE status_0100 OUTPUT.
DATA:
For parameter IS_VARIANT that is sued to set up options for storing
the grid layout as a variant in method set_table_for_first_display
l_layout TYPE disvariant,
Utillity field
l_lines TYPE i.
After returning from screen 200 the line that was selected before
going to screen 200, should be selected again. The table gi_index_rows
was the output table from the GET_SELECTED_ROWS method in form
CHANGE_FLIGHT
DESCRIBE TABLE gi_index_rows LINES l_lines.
IF l_lines > 0.
CALL METHOD go_grid->set_selected_rows
EXPORTING
it_index_rows = gi_index_rows.
CALL METHOD cl_gui_cfw=>flush.
REFRESH gi_index_rows.
ENDIF.
Read data and create objects
IF go_custom_container IS INITIAL.
Read data from datbase table
PERFORM get_data.
Create objects for container and ALV grid
CREATE OBJECT go_custom_container
EXPORTING container_name = 'ALV_CONTAINER'.
CREATE OBJECT go_grid
EXPORTING
i_parent = go_custom_container.
Create object for event_receiver class
and set handlers
CREATE OBJECT o_event_receiver.
SET HANDLER o_event_receiver->handle_user_command FOR go_grid.
SET HANDLER o_event_receiver->handle_toolbar FOR go_grid.
Layout (Variant) for ALV grid
l_layout-report = sy-repid. "Layout fo report
Setup the grid layout using a variable of structure lvc_s_layo
Set grid title
gs_layout-grid_title = 'Flights'.
Selection mode - Single row without buttons
(This is the default mode
gs_layout-sel_mode = 'B'.
Name of the exception field (Traffic light field) and the color
field + set the exception and color field of the table
gs_layout-excp_fname = 'TRAFFIC_LIGHT'.
gs_layout-info_fname = 'LINE_COLOR'.
LOOP AT gi_sflight INTO g_wa_sflight.
IF g_wa_sflight-paymentsum < 100000.
Value of traffic light field
g_wa_sflight-traffic_light = '1'.
Value of color field:
C = Color, 6=Color 1=Intesified on, 0: Inverse display off
g_wa_sflight-line_color = 'C610'.
ELSEIF g_wa_sflight-paymentsum => 100000 AND
g_wa_sflight-paymentsum < 1000000.
g_wa_sflight-traffic_light = '2'.
ELSE.
g_wa_sflight-traffic_light = '3'.
ENDIF.
MODIFY gi_sflight FROM g_wa_sflight.
ENDLOOP.
Grid setup for first display
CALL METHOD go_grid->set_table_for_first_display
EXPORTING i_structure_name = 'SFLIGHT'
is_variant = l_layout
i_save = 'A'
is_layout = gs_layout
CHANGING it_outtab = gi_sflight.
*-- End of grid setup -
Raise event toolbar to show the modified toolbar
CALL METHOD go_grid->set_toolbar_interactive.
Set focus to the grid. This is not necessary in this
example as there is only one control on the screen
CALL METHOD cl_gui_control=>set_focus EXPORTING control = go_grid.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0200 INPUT
MODULE user_command_0200 INPUT.
CASE ok_code.
WHEN 'EXIT200'.
LEAVE TO SCREEN 100.
WHEN'SAVE'.
PERFORM save_changes.
ENDCASE.
ENDMODULE. " USER_COMMAND_0200 INPUT
*& Form get_data
FORM get_data.
Read data from table SFLIGHT
SELECT *
FROM zsflight
INTO TABLE gi_sflight.
ENDFORM. " load_data_into_grid
*& Form change_flight
Reads the contents of the selected row in the grid, ans transfers
the data to screen 200, where it can be changed and saved.
FORM change_flight.
DATA:l_lines TYPE i.
REFRESH gi_index_rows.
CLEAR g_selected_row.
Read index of selected rows
CALL METHOD go_grid->get_selected_rows
IMPORTING
et_index_rows = gi_index_rows.
Check if any row are selected at all. If not
table gi_index_rows will be empty
DESCRIBE TABLE gi_index_rows LINES l_lines.
IF l_lines = 0.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
textline1 = 'You must choose a line'.
EXIT.
ENDIF.
Read indexes of selected rows. In this example only one
row can be selected as we are using gs_layout-sel_mode = 'B',
so it is only ncessary to read the first entry in
table gi_index_rows
LOOP AT gi_index_rows INTO g_selected_row.
IF sy-tabix = 1.
READ TABLE gi_sflight INDEX g_selected_row-index INTO g_wa_sflight.
ENDIF.
ENDLOOP.
Transfer data from the selected row to screenm 200 and show
screen 200
CLEAR g_screen200.
MOVE-CORRESPONDING g_wa_sflight TO g_screen200.
LEAVE TO SCREEN '200'.
ENDFORM. " change_flight
*& Form save_changes
Changes made in screen 200 are written to the datbase table
zsflight, and to the grid table gi_sflight, and the grid is
updated with method refresh_table_display to display the changes
FORM save_changes.
DATA: l_traffic_light TYPE c.
Update traffic light field
Update database table
MODIFY zsflight FROM g_screen200.
Update grid table , traffic light field and color field.
Note that it is necessary to use structure g_wa_sflight
for the update, as the screen structure does not have a
traffic light field
MOVE-CORRESPONDING g_screen200 TO g_wa_sflight.
IF g_wa_sflight-paymentsum < 100000.
g_wa_sflight-traffic_light = '1'.
C = Color, 6=Color 1=Intesified on, 0: Inverse display off
g_wa_sflight-line_color = 'C610'.
ELSEIF g_wa_sflight-paymentsum => 100000 AND
g_wa_sflight-paymentsum < 1000000.
g_wa_sflight-traffic_light = '2'.
clear g_wa_sflight-line_color.
ELSE.
g_wa_sflight-traffic_light = '3'.
clear g_wa_sflight-line_color.
ENDIF.
MODIFY gi_sflight INDEX g_selected_row-index FROM g_wa_sflight.
Refresh grid
CALL METHOD go_grid->refresh_table_display.
CALL METHOD cl_gui_cfw=>flush.
LEAVE TO SCREEN '100'.
ENDFORM. " save_changes
chk this blog
/people/vijaybabu.dudla/blog/2006/07/21/topofpage-in-alv-using-clguialvgrid
with regards,
Hema.
pls give points if helpful. -
DRQ: Specific Identification Method for Inventory Valuation
This is a request to incorporate the features of Specific Identification Method (or Actual Cost) of Inventory Valuation for Serial Number / Batch Number controlled items.
Found lots of threads in the Forum regarding this topic, but could not able find out any answer from SAP.
Sometimes back, myself posted the same thread, but got reply that Navision has this features please use that.
Hope SAP Team has enough knowledge about this method of valuation, that is why I am not giving any example.
If require I can provide enough example on this topic.
Thanks & Regards
Anjan BhowmickHi Peter,
This is the same requirement we need in mexico. What do you mean with "Next major releases"?
In other words, this requirement is not going to be consider for next version 8.8?
Waiting for your response.
Elías -
Inventory Management, New Snapshot Scenario
We are planning to implement the New Snapshot scenario for Inventory Management. This is based on the "How to...." document. As per what is shown in the document, all the 3 extractors feed into the same DSO. However, when I try to create the Update Rules for <b>BX</b>, I get a error that there is no key figure. However, the DSO (Standard) has the Key figures. These are cummulative. Maybe, because of that I get the error when I create update rules for BX. But then, in the document the key figures appear. How is this possible.
Has anyone tried this and has been successful. If so, I'd appreciate if you could send some tips.
Thankshello
can you please take a screenshot of your data model and update rules (inside) and send me to (see email in card)
It will really help me!
Alex -
Inventory Management - Snapshot Scenario
Hi,
We are implementing the Snapshot scenario for inventory management based on the "How to Handle Inventory Management Scenarios in BW" and am facing the problem on the point 51 in the document.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328
"51. Create a start routine to multiplicate the old row with minus 1, set the record mode to R Reverse-Image and create a new row with the month 12.9999, if the ...."
the logic seems to be incomplete. Has anyone implemented this scenario. Please let me know what is the missing piece.
Thanks
RKI am only in design phase. I have post this message because the How to guide is old and I would know if someone have find a new solution ( with less step to reduce development phase).
As not recent solution is provided, I use the how to guide and adapt because I have more indicator to implement in my solution. -
How to adjust wrong posting sales return a/c in FIFO method
Hi,
My customer is running 2005A PL23. They are using FIFO costing method and Inventory is posted based on "Item Group". They had pointed Sales Credit in Item Group\Accounting tab to Return Inwards GL accounts rather than back to Inventory account. As such when they view Inventory audit report, summarized by account. The cumulative value figure in inventory audit report does not match with the GL inventory account.
Any idea how to do the adjustment?
Regards
ThomasHi,
Since the item cost is not affected in this scenario, you can post a JE as below to fix the problem.
Debit Inventory account
Credit Inwards GL account
Regards,
Hamsa -
Inventory managment Snap Shot scenario.Urgent
Hi,
I am doing snapshot scenario for inventory management in BI 7.0. , when i am doing that i have small doubt , as said in stepo by step process of that document i am doing, for the non-cumulative key figures we need to use cumulative key figures as inflow and out flow.
my question is when we create transformation i could not see my non-cumulative key figures where in i am supposed to write routines at traansformations level, i could see only cumulative key figures.
Can any one give me idea why it is happned.
i am using ODS and as well as cube.
Regards
RamYou need not to write any routine or do any assignment for non-cummulative kyf.
In the definition of non-cummm kyf u have already defined inflow and out flow which will take care. U may not also see the data for non-cumm kyf in display data of ods but in report u will see the data.
Regards,
Mahendra -
Manage stock qty. in Storage bin for Inventory management
HI all,
We are implemented Inventory Management (display stock of material for storage location).
I want to know is there any method in Inventory Managment to Manage stock of specific material in bin also.
Means User exactly should know the stock of specific material is located in Storage Bin.
Please suggest me the hole process or any customization
Regards,
VrajHi V raj,
I don't know whether i understood your question well. But i will answer in the way i understood.
To serve your requirement you need to have a Warehouse management, means to have a smooth warehouse bin wise storage.
But some companies are not willing to implement WM and they are finding a way with batch classification. They maintain batches for material and storage bin are maintain in a batch classification. So you can view it in MMBE also by going into the batch classification of the relevant batch.
And if you want to have a detail report you can develop a simple report or a query to retrieve batch classification data.
For batch classification activation:
1. Material must maintain "Batch management" tick in Purchasing and storage plant data views
2. Create a seperate class for this using CL02
3 Create batch characteristic using CT04 (this is to maintain Storage Bin)
4. Add classification view to each material and the relevant batch class.
5. When you are doing the GR use "Batch" tab and "Classification" button to maintain relevant Storage bin data. (To update mass scale you can create a "Z" report getting help of a developer in your company)
6. Now each batch you are maintained your storage bin view it trough MMBE (But only one batch classification) or in-house developed report ("Z") program
Thanks & BR
sandun -
Hi
Our business is in the Fashion Industry and we need to regularly write down the value of our stock. We wish to write down the value of our stock for our year end accounts to 31/12/2014 and then each month using a fixed percentage. We use FIFO as the valuation method for inventory.
One option that I am aware of is manually doing this using the Inventory Revaluation function. This is not viable as we have thousands of products each with multiple layers as we use the FIFO method of valuation. It would take hours to complete and the risk of error would be high.
Another option that I am aware of is using the Data Workbench but our providers have advised us that this is very cumbersome and therefore the risk of error is high too.
So I am looking for a viable solution whereby I can write down our stock value by say 35% for year end 31/12/2014 and then 3% per month after that. The write down at 31/12/2014 should produce the following postings on our TB assuming a pre-adjusted stock level of €1,000,000:
CR Stock (Bal Sheet) €350,000
DR Stock Revaluation (P&L) €350,000
Many thanks in advance for your help
RichardHi Robert,
As manual process is not favorable by you so only option left is to build a small add on to fulfill your requirement.
If in case of add on all you need to do is to open inventory revaluation form everyday and depends on logic set, system with list all the item with new price and you just need to click on add button.
Regards,
Chintan -
BAPI diff Method in ABAP class
Dear friends
Coul any1 tel me hw BAPI differed frm a method whic used in an ABAP class , BAPI is also a method of a BOR.
And is it possible to replace a BAPI using a method of an ABAP class..
cheers
sakthiHello Sakthi
The concept of BOR methods is purely semantic and has nothing to do with ABAP-OO.
The so-called method of business objects are implemented by BAPIs.
The cannot be replaced by ABAP class methods. In particular, BAPIs are RFC-enabled whereas class methods cannot (yet) be called remotely.
Regards,
Uwe -
Inventory account not defined message 173-77
Hi,
customer doing a AP credit memo from a Goods return, and they are getting the error
"inventory account is not defined, 'gar-010-0071520' message 173-77"
we have tried and checked different solutions in their test database, and we are still getting this error.
thank youHi Jill,
You can refer to Note No. [1090171|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1090171]
part for your issue :
"Expense and Inventory Account (in Purchasing tab -> General tab)- this account is used only for the Moving Average Valuation method when Inventory items are drawn from A/P Invoice into A/P Credit Memo and there is a difference between the item price in the base document and the item price in the target document. In such case the Inventory account is being credited for the original itemprice as appears in the A/P Invoice and the Expense and Inventory account is debited for the price difference between the Inventory posting and the item price in the A/P Credit Memo. In addition, this account is used for the following scenarios: A/P Credit Memo based on goods returns and A/P Credit Memo based on A/P Reserve invoice."
Hope above will help.
Regards,
Jitin
SAP Business One Forum Team -
Hi all,
I have two different views in two different windows. View1 opens a pop-up window which contains view2.
I would like to execute view1 methods from view2 (pop-up). How can I achieve this?
Thanks in advance.Hi,
No its not possible to access the method of a view from the component controller as in this case the same concept lies that methods are local to view only.
There is no upward compatibility.
regards
PG -
FIFO to weighted Average method
Hi Gurus
my client want to switch from FIFO to Weighted Average method in INVENTORY,can someone please assist as to what the possible issues that might arise,the step or any procedure that need to be followed and as to whether is safe to make that change.
your assistance will be greatly appreciatedHi Chithra,
I'm a bit confused by your question. FIFO is just an inventory management method, while moving average price is simply a way SAP calculated the value of the stock. How is your company keep track of the inventory value in FIFO? What kind of calculation or formula does your company apply to get the month-end closing value? There shouldn't be much impact, I think. Because, at the initial stage, you will be using the value from old system, upload it to SAP to use it as opening value for your stock.
Thanks and regards,
Anisah
Maybe you are looking for
-
How to Handle the error message?
Hi, Can any one help me in handling the error messages in application, In my application, I am having 2 buttons, one is display button, and the other is reset button. When we enter wrong inputs, it prompts an error message and again we I click on res
-
Calculation date deference between two rows in same column and in same table
mytable accountno tdate 1001 01/01/2014 1002 01/01/2014 1003 01/01/2014 1004 01/01/2014 1005 01/01/2014 1001 01/02/2014 1002 01/02/2014 1003 01/02/2014 1004 01/02/2014 1005 01/02/2014 1001 01/03/2014 1002 01/03/2014 1003 01/03/2014 1004 01/03/2014 10
-
I have an application on our/your hosted environment. in two of this tables are stored some documents (pdf,doc) and pictures. For deploying my application to a local environment I can use application-export, image-export (for some global pictures), C
-
User does not have permission to perform this action
Dear sirs, i made a project (VB2010 express) connecting to SQL Server 2008 express on my PC running Windows 7 (W7): it works as expected. Now, i need the same project run on a different PC (running Windows XP, say WXP, with VB2010 express installed
-
I recently reformatted my hard drive and reinstalled my programs, replacing Snow Leopard with Mavericks. I've downloaded the latest version of Camera RAW. In Bridge I now see my images as thumbnails without a problem. However thePreview view doesn't