Modeling custom scenario-imp

hi all
i have a custom table ztab in which we are caputuring some
revenue data . it consists of bill# , bill item # and
bill amount . none of these are key fields.we are using this custom table
as a data src for our bw ods and cube . there is a possibility that
once a bill comes in , it might be cancelled after few days . in that
case there should be a -ve posting for all key figures . Can someone
help me implement this scenario . I am not sure how i should model
this situation . Should i add a new field 'status' that shows
the status of the bills ?? My purpose is that if a bill gets cancelled
, the key figures in bw should be reversed.
pls help ..all inputs welcome

Hi,
I reckon when a bill is canceled, the corresonding records get deleted in your custom ztab.
In this case you should consider a full loading scenario. Every time the cube's data get deleted, and refreshed through the new loading process.
Cheers, <a href="https://wiki.sdn.sap.com/wiki/display/profile/Davide+Cavallari">Davide</a>

Similar Messages

  • Customer scenario

    Hello Experts,
    Good day to you.
    I am new SAP SD learner.Can you please share link or document which contain customer scenario regarding the BOM , PRICING, FREE GOODS, different business scenario along with solution. It will help to do hands of those scenario to build confidence.
    Please provide your valuable guidance.
    Any help will be appreciated....

    Hi,
    This may be helpful to you
    How to use SCN search
    Jobi

  • Extended Notifications - Custom Scenario

    Hello all,
    i want to create a custom scenario. When i start transaction swnconfig and move to the scenario view and click new entry i have to select a category. The categories are linked to the scenarios already existing. But my new sceanrio has no category assigned yet so im stuck...
    I need a new sceanrio, as i have to create a new handler class and dont want to interfere with the standard sceanrio "STANDARD".
    Any ideas?
    regards,
    Markus

    Hello Jocelyn,
    thx for the quick answer. The problem i have is, when i do click "New entries" and add a new category i get an error.
    E.g.: I add as a new scenario "ZNEWSCEN". As the new category i add "ZNEWCAT". When i press enter i get an error message "Entry ZNEWSCEN ZNEWCAT doesnt exists in SWN_CATEGORY."
    When i use transaction SWNADMIN to create a new category, this will be created for the standard scenario "Workflow".... u see, im stuck...
    Why i need a new scenario is because we use a personal profile for each employee (custom ESS sceanrio) where the employee can determin whether he want to get notification emails or not. I found the Method "IF_SWN_SCENARIO~RETRIEVE_NOTIFICATIONS" of the respective handler class perfect for this issue. All i have to do there is to determine the actual agent and check whether he want to receive a notification or not. If yes, the notification will be send back to the method-caller, if not, then not.
    regards,
    Markus
    P.S.: we are on NW04 SP17

  • Function code for notification in a custom scenario

    Hi,
    Does anyone know the activity code or function code for a notification that needs to be sent to the organiser of a training event if the maximum capacity of the event is exceeded, i.e. the attendee goes on the waiting list.
    There seems to be no standard activity type which gets triggered the moment the max. capacity of the training event is exceeded.(unlike BOKP)
    Does anyone know the workaround for this ?
    As far as I know you cannot create your own activity based on your custom scenario.
    Hence how to handle this ?

    You can use CRM_ORDER_MAINTAIN and populate the parameter IT_SERVICE_OS
    or use BAPI_OPPORTUNITY_CHANGEMULTI and populate the parameter SERVICE_OS.
    BR,
    Florin

  • MSS- ISR Custom Scenario for JSP iView

    Hi,
    I have copied the standard scenario to Custom scenario from SPPD to ZPPD and added some more Characteristic and re-generated the iView which generated a *.PAR file.
    I have extracted the *.Par file and made changes to Properties file and create new JSP IView that i mentioned in Properties file (as per the cook book) and added these fields to New *.Par file and mentioned the same in field Portal Component in transaction QISRSCENARIO.
    The *.Par file have been uploaded to Portal and page displayed with all Characteristic mentioned in scenario.
    here is my Question.
    How do i remove the standard fields (like Applicant , Telephone and Department)that are not mentioned in characterics.
    and Also , all field the are displayed in input type,any code changes to attribute of JSP are not reflecting in page layout. it looks like the layout is not generated from the modified JSP..
    Can any body let me know where can i fix that.
    Thanks
    Dasari

    >>>How do i remove the standard fields (like Applicant , Telephone and Department)that are not mentioned in characterics.
    You can comment the fields that are not needed on the JSP itself
    >>>
    all field  are displayed in input type,any code changes to attribute of JSP are not reflecting in page layout. it looks like the layout is not generated from the modified JSP..
    If you make any changes to the JSP, it is always better to redeploy the par file.
    Regards,
    Suresh Datti

  • Model Business scenario Required

    Hi Everybody,
    I am a novice in SAP HR and started going thro the modules in SAP HR...Still i need a model business scenario to work out and get the complete understanding before hitting the real time market..can anyone send me the model scenario with the solution for my guidance....Thanks in advance...

    you can get to know the real scenario's once you start working.
    if you have any specific questions you can post on the forum, because the SAP HR is very vast
    and it consist of lot of sub-modules.
    if you are specific i can answer you questions.
    sam

  • Tile task count for Approve Request custom scenario displays '???'

    Dear all,
    I've configured 'Approve Request' application for a custom Scenario like this:
    With this task definition:
    In /IWWRK/IF_TGW_SCENARIO~GET_TASK_COUNT method for ZCL_FUND_TASK_COUNT class I've defined the corresponding code for get Task count. This method has a breakpoint, and execution stops when I've clicked corresponding tile, but previously task count in tile displays '???':
    Before I've clicked on tile, application runs successfully. Any idea for solve this issue?
    Thanks very much and regards.
    Luis

    Hi Masa,
    I've get the following error:
    Regards.
    Luis.

  • Service & spares not billed to customer scenario

    Dear friends,
    We have a scenario where the customer location wil be defined as functional locations.Now when the equipement has to be repaired the customer informs the cs department about the same.A service notification will be created in the system.
    Now the issue is how to map this process as the customer is neither billed for the service charges,spares replaced or rather the resources used(resource related billing). The service charges are collected at the begining as a contract for the whole year.
    If at all a service order is created with refrence to the service notification which involves a spares replacement:
    1)How the service orders will be created and wat all things the service order will have.
    2)delivery will be created on wat basis
    3)If at all a billing is done  how the cost will be settled.(Since in realtime the customer is never charged for service provided or spares or reources)
    Please suggest how to map this type of scenario
    Thanks & regards
    AJ

    Hi,
    This is SERVICE ORDER PROCESSING WITH SERVICE CONTREACT, and RESOURCE RELATED BILLING is optional.
    (A)SERVICE ORDER PROCESSING WITH SERVICE CONTREACT
    1. Create Service contract - VA41
        maintain price agreement condition type,
        go to EXTRA menu>>>> technical object, here u can speciefy your equipemt details.
    2. Create notification (IW51) & assign contract in notification
    3. Create service order(IW34) with refrance to privious notification, and
        maintain settlement rule as SDI & Settlement reciever is your service contract number&its items
    4. Confirmation of service order (IW41/IW42)
    5. Settlement of order(KO88)
        After this you can go your service order and see settle cost
       Also go in service cntract>>>Environment>>>cost report, see settle cost appearing in contract.
    6.And last settle this service contract(VA88).
    (B) RESOURCE RELATED BILLING(optional)
    1. follow above steps (1 TO 4)
    2. Create resource related billing (DP90)
        System will genrate billing request
    3. Create biing document(VF01) with refrance to billing request
        After this go in service contract, cost report and see billing value
    4. settle the service contract(VA88)
    5. Now settle the service order(KO88)
    After this go in service contract>>> cost report, and see settled cost
    Note : In this scenario revnue is come from billing and cost is come from service order, this all is place against service contract.
    treat revnue come from conract as advance recieved from customer for services, and when you crete resource related billing,clear this amount against contract value.
    Rgards,
    kapil
    Edited by: Kapildev Farakte on Nov 5, 2009 12:50 PM

  • Please help  me out in modelling a scenario plz...

    Hi   All
    I have a req  where in i  am pulling  data from 2 DSo's in to a cube...one DSO contains the  Sales order number and the order quantity..and the other DSO contains the sales order number ,  invoice number and the invoice qty..i need to consider the  orders which has the corresponding invoices and display only that invoice and order quantity..i have to drop the order numbers which dont have a invoice number..so how do i do this?
    Can some one  suggest me the modelling scenario for this please..
    Regards
    Shilpa

    Hi....shilpa,
    The solution can be of two types:
    1.based on infoset /query filter
    2.based on routine
    first the infoset:
    INFOSET
    create a INFOSET between two DSOs on the basis of SALES ORDER NO.
    Query:
    Create one query on top of the infoset.
    put filter on invoice no. = 00001-99999(I have put *  signifies the lenght of your invoice no. in Report)
    It will filter out blank invoice no.  salesorders.
    This I proposed because you can use this infoset for any other analysis with your requisite fileters.
    2.Routine:
    Load DSO 1 Data to a Reporting Infocube looking up from DSO 2.
    In the start routine declare structure of DSO 2 and load all records of DSO to in ITAB which are present in source package.
    (ie Select * from DSO2 for entries in source package whre sales order no. = source_package-salesorder).
    Now in transformaiton field level routine
    Read from the ITAB and update the FI info FIELDS LIKE invoice no. etc
    Create Report on top of infocube.
    Regards,
    Rk

  • Custom Scenario requiring table Lock - Please Suggest

    Hi ,
    Custom usecase :
    There exist a table with following column :
    FileName, LastUpdatedBy, ApprovedBy, DisapprovedBy, LogicallyDeleted, FileDescription, Col2
    Primary Key - ( FileName, LastUpdatedBy,ApprovedBy)
    Constraint : FileName,lastUpdatedBy,ApprovedBy cannot be null. Default values for LastUpdatedBy, ApprovedBy, DisapprovedBy is NONE, and LogicallyDeleted is N.
    Note : User should not be allowed to create more that two records for same fileName.
    Edit functionality required on UI : On editing a record, a copy of the row should be created with same fileName , LastUpdatedBy with userId of logged in User.
    How should I restrict user from doing the following :
    Two users open the UI. Selected same record to edit. At time of commit only record for one should get commited, while for other it should not happen as 2 records gets created for same file name as soon as commit is done for one user.
    Do i need to have table lock, then count row with a particular file name and if count >2 then commit else throw some exception. And if this is needs to be done than which method should be overridden to do that.
    Thanks,
    Rajdeep

    Hi
    To Shay : ( You can define a new method validation at the entity level to do the check for you. http://docs.oracle.com/cd/E16162_01/web.1112/e16182/bcvalidation.htm#CACGFEDC )
    From my post : - Where should that logic can be implemented in ADF BC and what logic ( anything different from what I mentioned in post ) ?
    If I am going to write validation in custom method at entity level, I think it is not handling the scenario properly. For example : Query for Count on fileName records is fired in validator method for two entities before the commit is happening for any of the two.
    Also What logic : do you agree with table lock logic requirement here ?
    To Santosh,
    I think you didn't got the scenario. It does not talk about two user doing normal edit on same record. Notice two facts mentioned in post :
    1. When a user selects a record to edit... he is not actually editing it. We create a copy of the row ( with FileName , LastUpdatedBy,ApprovedBy,LogicallyDeleted as readOnly and prepopulated with sameFileName as original record, UserId in LastUpdatedBy, NONE defaults for Approved by and Disapproved By , N default for LogicallyDeleted) launched in popup. Popup has two buttons ... save and cancel. On cancel we rollback transaction ( i.e. deletes the newly created copy ) and Save ... eventually commits the row.
    2. Not more two records should get created in table for same fileName. So two users trying to edit same record will eventually try to create the 3 records in database table. It should fail for 3rd one...
    What logic should be written ... Does it really need the table lock ? Etc
    Thanks,
    Rajdeep

  • Plz help me out in modelling the scenario

    Hi Guys
    I have a requirement where in  i  am pulling data from table KNVP...this table has  info-objects customer and some thing called as PDP days...i.e the days in which the customer will be serviced...01,02,03....are the days say monday,tuesday,wednesday etc...
    Actually for this i have first created the data source and the mapped it to  a DSO for the one which captures the PDP day i have created it as a characteristic with CHAR and 30...
    now when i map the data source to the DSO it is throwing an error saying it is a hexa decimal error,since the days are separated by comma this is throwing an error..
    so where should we write a code in order to handle that and also filter the list of customers who has only PDP days mentioned and load it to DSO..
    when we write the code do we write it in the Start routine or on that particular object rule details..
    i asked the ABAper to write the code to handle it but he says he is not able to pass the value from the start routine to that particular obkect routine...
    can any one please tell me a solution for this..
    Regards
    Shilpa

    Hi there,
    Having that string in a mapping of DSO when DSO will process the SIDs it doesn't like that string and therefore throws an error.
    You could for example transform that field in for example start routine or customer exit R/3 side, like for example split string with commas, and concatenate everything like this: 01,02,03 should retrieve 010203.
    Other option is to first create master data texts datasource for that field PDP and for each key retrieves a string, like this for example:
    010203 - text 01,02,03, or text MDTDWD
    than when you fill the DSO with that field aready fixed in the form 010203, you can in the query represent it with text, it should represent in the form 01,02,03 or MDTDWD, see the picture?
    You can do this kind of fixing of the filed 01,02,03 or in the start routine, or the transfer structure.
    And to only get those records with the field being there, just write in the start routine something like:
    DELETE <SOURCE_PACKAGE> where your_field is initial.
    Hope this helps,
    Diogo.

  • Special scenario- IMP IMP IMP

    HI All,
    I have a scenario kindly guide me how achive this,
    Implementation in ECC6.0,
    1. I have two diffrent manufacturing plants at two diffrent locations which manufactures same kind of products at both these plants, and CNF( delear location from where Finished goods are delivered to customers which can be treated as plant). Now the client wants they want to do daily/day wise forecasting at CNF level. where in via stock transfer - special procurement key ( key-40 )at both Manufacturing plant & CNF level. But the problem is that in special procurement key, we can assign 1 issuing pant in spl procurement key, also we can assign only one SPl procurement key to FG in MRP:2 , how does the system knows that this production should either be done in plant 1 or plant2.
    Also CBP or MRP run needs to be done.
    2. can we do hour wise planning for production?
    can any one kindly guide me how we can achive this requirement- kindly give with example & customization.
    thanks
    svrsap_pp

    I would suggest addressing this question to ERP forum as the current one is tailored for ME application.

  • How to model this scenario?

    hi experts,
    i want to extract hr person administration infomation to bw, i have 2 idea and cann't determine which one is suitable.
    1. extract each infoType(such as pa0001, pa9001...) into seperate cube in bw, and join these cube by infoset(the customer view info cross infotype).
        the point is now i have put 8 cubes/infoObjects into the infoset and i am very worry about the performance.
    2.create a generic dataSource from the infoset based on the HR logical database PNP, and extract the data to BW, that sounds better.
    but i want to make the dataSource delta enable, and how to set the delta field in the infoset? which field should i set? for example, the infoset join the pa9001,pa9002, pa9003. each of these pa tables has the field of update date, which one should i set for the delta field?
    thanks a lot in advanced, any advice will assign point

    Have you checked personnel admin objects e.g. 0PA_C01, 0PAPA_C02 etc? In my opinion these cubes give maximum information.
    Check following:
    http://help.sap.com/saphelp_nw70/helpdata/en/63/351e3c6a2fc036e10000000a114084/frameset.htm

  • Scenario IMP IMP

    HI All,
    I have a scenario kindly guide me how achive this,
    Implementation in ECC6.0,
    1. I have two diffrent manufacturing plants at two diffrent locations which manufactures same kind of products at both these plants,  and CNF( delear location from where Finished goods are delivered to customers which can be treated as plant). Now the client wants they want to do daily/day  wise forecasting at CNF level.  where in via  stock transfer - special procurement key ( key-40 )at both Manufacturing plant & CNF level.  But the problem  is that in special procurement key, we can assign   1 issuing  pant in spl procurement key,  also we can assign only one SPl procurement key to FG  in MRP:2 , how does the system knows that this production should  either be done in plant 1 or plant2.
    Also CBP or MRP run needs to be done.
    2. can we do  hour wise planning for production?
    can any one kindly guide me how we can  achive this requirement-  kindly  give with example & customization.
    thanks
    svrsap_pp

    Hi,
    For your first question...
    This can be achieved by quota arrangement.
    Lets say your manufacturing plants are A and B and your forecast plant is C.
    In plant C maintain the procurement type as F and don't maintain any special procurement key there.In MRP 2 view maintain the quota arrangement usage.
    Now go to MEQ1 transaction (quota arrangement). Enter the material and plant C and in the next screen maintain the validity dates and Minimum Quota split quantity.
    Select the line and click on Item overview icon.
    In the next screen maintain procurement type as F ,
    Special procurement as U
    Enter the plant A , quota % say 70
    In the next row do the same for plant B.Lets say quota % as 30 and save.
    Now say there are PIR's of 1000 in plant C.
    After the MRP run you will see two STO pur.req will be created in plant C with quantities 700 and 300.One is for plant A and the other for plant B.
    Make sure your lot size supports splitting quota.
    Thanks,
    Ravi

  • Increase the data access time in custom development scenarios,layouts etc.

    Hello All,
    We have developed some custom scenario come interface for our Man-hours planning and actual posting. We have also included some validation in them from time to time. Now, it has started taking much processing time during data entry as well as during data saving.
    Kindly suggest how can we reduce this time consumption.
    Thanks & Regards
    Saurabh

    Hi Suarabh,
    If I am not wrong you need to increase performance.
    Use the basis abap standard best practices to acheive this.
    This link can be helpful to you ...
    ABAP Performance and Tuning - ABAP Development - SCN Wiki
    SAP ABAP : best practices - performance techniques | SAP Consulting Development Implementation Remote Support Blog

Maybe you are looking for

  • Should I have my iTunes library on an external drive?

    Just curious if I'm better off running all my iTunes music on an external drive as opposed to on my internal C drive? Same thing with iMovie project files? I thought it would be easier for the computer to access if it's on the internal drive, but som

  • I have had itunes library to go away and itunes create a new one. how do I get my old one back?

    I have had itunes library to go away and itunes create a new one. how do I get my old one back?

  • "Show in Finder" is never enabled in File Menu

    For some reason I can never get the "Show in Finder" selection in the File menu to become enabled. It is always "grayed out". I have a photo selected, and then choose the File menu and go to "Show in Finder" but the option is grayed out. Am I doing s

  • Will not start in safe mode

    Using PB G4 15 in. Trackpad froze and then machine auto shut down. Restart failed. V boot failed. Pram boots all failed. Has reached apple screen once but froze and auto shut down again. Please help. Ps note sure which OS as can't power up to check.

  • Invoice Earror

    Dear sap Gurus kindly solve my problem..... i have done the P.O with 100 line items after that i have done the multiple GRs against the  same P.O now i am try to do the MIRO but here  4 line items not appear in Invoice  wich are 61, 62 , 80,82, remai