SAP BI- PP and MRP Modelling

Hi All,
I have worked on BI data modelling with SD and MM function modules, I have a requirement where I need to work on modelling PP and MRP. Could some one provide the docuemntation for these two modules, how things work with respect to BI what are the standard business scenarios and content. Also in terms of modelling and delta's how they are different from SD.
Thanks
Rashmi.

Hi,
Related to BI PP you will have the following datasources 2LIS_04_*
Ie 2LIS_04_P_MATNR,2LIS_04_P_COMP,2LIS_04_P_AERPL and same for repitive manufactiuring.
You can activate these datasources and business content objects in BI and work with them.
For MRP :
Main tables are MDKP(Without MRP Area) and MDKPDB(with MRP Area) Header Tables
MDTB and MDTC are the tables which have item data for MRP .
MDTB - If aggregated data storage indicator is set using system configuration you will get the data
else you need to import from MDTC - Raw Data using import function in ABAP.
or you can use MD_STOCK_REQUIREMENTS_LIST_API Function module to get the data same in MD04 Transaction in R3
Hope this helps for you
Thanks,
Arun

Similar Messages

  • Sap-syscmd=nocookie and Statefull BSP's - Session timeout

    I have a tricky problem - and I'am hoping for your helpfull input... please..
    I have developed a Statefull BSP application - and this application should be called from a SAP CRM application - and it should be possible to call and execute this aplication in a new session everytime it's called from CRM (a new controller/model instance per call).
    In the CRM application I can define the JavaScript which should be exectued in order to start the external application - and I have used the script window.open('bsp-url) to start my BSP application.
    In my first attempt I ran into the problem that all new windows was started in the same new session - with the consequence that all new windows tried to use the same controller and model instance - leading to inconsistent data...
    Then I read an SDN article about the parameter sap-syscmd=nocookie. With this url parameter it should be possible to force the BSP to be executed in a new session - and it works.... or... a new session is generated and the BSP generates the correct output after the initial call  (and according to SM04 I have a new session). I was quite happy until I pressed a button in my BSP page triggering an HTMLB-event - which lead to the following error: "400 Session timed out - please login again". So it looks like the 1. part is okay with the new session - but the response generated and sent to the browser cannot frind it's way bay to the right session in SAP... what did I do wrong???

    I have already tried with sap-sessioncmd=open - and the first time the call is made from CRM a new sesion is created and the BSP is intialized. But if I go back to the CRM application again (without closing the BSP window) and hits the button again - then a new window is created but no new session meaning that the underlying BSP is referenced in both windows - and producing wrong results (they both refer to the same instance of the BSP). When I use sap-syscmd=nocookie - I get a new window and a new session everytime I hit the button in CRM, but for some reason the page-output generated cannot find it's way back to this session afterwards...

  • SAP  R/3 and BW integration Landscape

    Hello Gurus,
    Could you'll suggest a site or link where I could get a better insight into the SAP  R/3 and BW integration Landscape, i.e. how Data gets transferred from SAP R/3 to BW.
    Thanks,
    Sebastian

    Hi,
    YOU can check the following for BW extraction
    http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
    business content
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
    https://websmp203.sap-ag.de/co
    http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
    PLease also have a look at BW data modelling guide,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5586d290-0201-0010-b19e-a8b8b91207b8
    http://www.thespot4sap.com/Articles/SAP_BW_Metadata_Modelling.asp
    Please reward points.

  • Connectivity between SAP ECC system and SAP BI

    Connectivity between SAP ECC system and SAP BI
    Hi BI-experts!
    I would like to load e.g. transaction data from SAP ECC system into SAP BI system.
    The Loading process is hanging in processing step u201CSERVICE APIu201D.
    The process  in hanging in status "yellow" and then changed after a while to status u201Credu201D.
    [0FI_AR_4 |http://www.file-upload.net/view-1447743/0FI_AR_4.jpg.html ]
    The following steps within Load process are yellow and then red:
    Extraction (messages): Missing messages
    Missing message: Request received
    Missing message: Number of sent records
    Missing message: Selection completed
    Transfer (IDocs and TRFC): Missing messages or warnings
    Request IDoc : Application document posted (is green)
    Data Package 1 : arrived in BW ; Processing : 2nd processing step not yet finished
    Info IDoc 1 : sent, not arrived ; Data passed to port OK
    Info IDoc 2 : sent, not arrived ; Data passed to port OK
    Info IDoc 3 : sent, not arrived ; Data passed to port OK
    Info IDoc 4 : sent, not arrived ; Data passed to port OK
    Subseq. processing (messages) : Missing messages
    Missing message: Subseq. processing completed
    DataStore Activation (Change Log) : not yet activated
    Question:
    Can some one tell me whether my distribution model or other settings are wrong?
    I created 2 distribution model (BD64), one from SAP BW system and other from SAP BI system with message types RSRQST, RSINFO, RSSEND
    Thank you very much!

    Hi Holger.
    this issue is related to the RFC but not the one which is communicating from BI to R/3 rather the one which is communicating from R/3 to BI follow these steps.
    1. check your BI system logical name from the myself source system.
    2. go the ECC and run the transaction sm59
    3. go the ABAP Connection folder and search for your RFC which name would be by default as per your BI logical system name.
    4. double click it and edit it now check whether the Target hostname or ip is OK.
    5. In the logon tab check the client number User and password settings.
    Save it and test it with both Connection Test and Remote Logon.
    if every thing work fine i hope your problem will be solved.
    kind regards,
    Zeeshan

  • Can anyone tell me what is "publish and subscribe model"?

    hi experts:
    can anyone tell me what is "publish and subscribe model" in detail?
    many thanks

    Publish-Subscribe Model
    Purpose
    This model defines how you publish messages to and receive messages from a well-known node. Such nodes are referred to as topics. You can use the model for:
    ·        Creating Message Producer to a Topic
    ·        Creating Message Consumer to a Topic
    ·        Managing Durable Subscriptions
    Chk this for more.
    http://help.sap.com/saphelp_nw04/helpdata/en/aa/34518672fa44c79340c1f61556443e/frameset.htm

  • Queries regarding instalation of SAP R/3 and BW

    Dear Friends,
    I am planning to install SAP R/3 and BW on a external hard disk.Then install two operating system in my laptop which supports R/3 and BW.
    Regarding this I have below mentioned doubts / queries,
    1) Is is workable solution?
    2) Is my approach correct ? If not what do u suggest ?
    3) what are the advantage & Disadvantage of this?
    4) What should be the configuration ? like total capacity of the Hard disk etc...?
    I hard from Technical person that , If I install SAP BW / R3 on external hard disk, the performance becomes slow as i'll connect to my lap top through USB port. Hence the processin time will be more. Is this true?
    Also he mentioned there will be noice when i work with external Hard Disk.
    I require this information ASAP, your answers will be of great help to me.
    Thanks,
    Nayak.

    Hi,
    YOU can check the following for BW extraction
    http://help.sap.com/bp_biv235/BI_EN/html/bw.htm
    business content
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20co-pa%20extraction%203.0x
    https://websmp203.sap-ag.de/co
    http://help.sap.com/saphelp_nw04/helpdata/en/37/5fb13cd0500255e10000000a114084/frameset.htm
    PLease also have a look at BW data modelling guide,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5586d290-0201-0010-b19e-a8b8b91207b8
    http://www.thespot4sap.com/Articles/SAP_BW_Metadata_Modelling.asp
    Please reward points.

  • Difference between SAP Carbon Impact and SAP EHS - Environment Compliance

    I am confused between the functionality offered by SAP Carbon Impact and how different it is from SAP EHS Management - Environment Compliance. I understand that both of them are different technical products from SAP with Carbon Impact being an on-demand solution which was acquired from Clear Standards earlier this year.
    However they seem to have an overlap in their functionality. Even the websites seem to talk about addressing similar issues.
    [SAP EHS Management - Environment Complaince|http://www12.sap.com/solutions/business-suite/erp/corporate_services/ehs/features-functions/environmental-compliance-software/index.epx]
    [SAP Carbon Impact|http://www12.sap.com/solutions/sustainability/offerings/carbon-impact/index.epx]
    Has anyone used both the solutions and can tell what the difference is between the two in terms of their business functionality?

    Hi Girish. While these two solutions both help manage environmental emissions, the specific pain points each address are distinctly different. Hopefully I can help explain. <p>
    Environmental Compliance (EC) is a solution designed to help manage the heavy regulatory burdens associated with emission related compliance. EC helps you measure and monitor your direct emissions irrespective of medium (i.e. air, water, or solid waste) and manage these emissions against regulatory requirements. As an example, Title V air permits are typically hundreds of pages long and filled with numerous requirements and conditions. In order to meet the demands of the permit, thousands of tasks must be managed throughout the plantu2014be it calibrating a piece of machinery or measuring the sulfur content of fuel oil. EC provides a framework to break the permit down into its respective pieces and establish workflows to ensure compliance by managing the required tasks against the associated emissions. You can also set emission limit alerts in EC to trigger specified actions to help you proactively address your emissions as opposed to a more reactive approach taken after a permit requirement has been broken. EC also helps with the regulatory reporting of your emissions and compliance efforts by enabling you to create templatized versions of commonly required reportsu2014all available at the push of a button, or they can even be automated. <p>
    Carbon Impact (CI) also helps you measure and monitor your emissions, but the real focus of this solution is on gathering enterprise-wide greenhouse gas emissions across geographies and scopes. For example, CI allows you to capture your direct emissions (Scope 1), your electricity emissions (Scope 2), and your indirect emissions (Scope 3). Scope 3 emissions are also sometimes referred to as supply chain emissions (both upstream and downstream) and can be the most difficult emissions category to capture when creating your enterpriseu2019s carbon inventory. For example, letu2019s say you own a steel mill. The ore that comes into your plant has an associated upstream greenhouse gas emission arising from the mining process and when you ship your final product there are emissions associated with the transport of your product to your customer. Beyond the plant, employee travel is another type of Scope 3 emission. If your company already runs SAP, you will benefit from CIu2019s integration into our Suite that allows you to quickly access your different sources of emissionsu2014be they Scope 1, 2, or 3. One of the advantages of CIu2019s on demand delivery model is that SAP maintains updated emission factors for various materials and activities from various authoritative sources including the EPA and GHG Protocol; with this prepackaged content you no longer need to do the work of tracking down the correct emission factor and making sure it is up to date. In addition to calculating your enterprise carbon footprint, CI also gives you the tools to evaluate different abatement projects to reduce your overall environmental impact. CI also provides reporting capabilities to help with the voluntary reporting processes associated with, for example, the Global Reporting Initiative or the Carbon Disclosure Project.<p>
    Often times a helpful way to understand the difference between the two solutions is to think about how they work together. If you implemented both of them, EC would be the solution that would help you collect direct emissions data and manage the associated regulatory requirements. The EC emission data would then feed into Carbon Impact to represent your direct emissions. Carbon Impact would then gather your remaining emissions as described above to give you your entire emission footprint and then help identify the best way to reduce it.

  • MPS and MRP question

    Hi all,
    There are two kinds of planning run (i.e. MPS and MRP). I have few questions on this.
    1 - Do I need to setup two background jobs, one for MPS job, and another follow by MRP job, in the system?
    2 - Can I just run MPS using MD40 (total MPS run) without perform MRP run (i.e. using any of the MD02)?
    3 - Does MPS ONLY plan one level only? in another word, all the second level onward will require another separate MRP run to show all the subsequent level dependent requirement?
    4 - if there is one FG, and it has 2nd level of semi-FG bom compenent, the semi-FG has another level of semi-FG and subseuqently Raw material level. In this kind of scenario with many level, it is good practise and it SHOULD use MPS to first plan for the first level  FG? and later subsquent level use MRP to plan? Am I correct?
    thanks.
    tuffy

    Hi,
    No,
    You can MD40 and then MD02
    Usually Only those materials which affect companies profit will be taken for MPS, hence few materials will be available for A importance, so you run level by level for MPS, rest will run under MD02, it depends on  the business process.
      When running MRP using transaction MD02 and MD41, what the difference should be?
    There is no difference in the processing logic as such. The only difference is that MPS only acts on materials with an MRP type relevant to MPS (e.g. M0, M1, etc...), and MRP acts on materials with an MRP type relevant to MRP (e.g. PD). How the materials are processed is exactly the same.
    This functionality allows you to run MRP for 2 sets of materials separately (and with a different frequency).
    For example, some businesses may do planning for their finished goods once per week, but would want to run MRP for their
    components daily (although this is generally not necessary with SAP).  So, for this example, you would define all finished goods with an MRP type relevant for MPS, and all components with an MRP relevant.
    Basically, MPS is a form of MRP that concentrates planning on parts or products that greatly influence the company profits or those that require critical resources.  Items marked as master schedule items can be finished goods, assemblies or raw materials.  These items are selected for separate MPS run that takes place before the MRP planning run.  MPS run is executed without any BOM explosion.  This is to allow the MRP controller to ensure that the master schedule items are correctly planned before any detailed MRP run take place.
    As you can see, there are not too differences if you review MRP and MPS isolated, but lets think the BIG PICTURE, and can find the difference is just an procedure stuff:
    1: RUN MPS (tcode: MD40). SAP do the planning run multilevel, also considering the  MRP materials.
    2: Do the the necesary MANUAL changes in your MPS materials Planned Orders, remember that the planning run is  "JUST AN ADVICE" and never can replace the human decision. Here, you have your MPS Plan, and also the consumtion Plan (dependant requirements)
    3: Then, with the dependant requirements OK (acording to MPS's Materials Planned Orders), do MRP RUN (tcode: MD01). The MRP run dont change the MPS plan.
    The idea of MPS and MRP is to "separate" materials, in order you can run "masive process" in order. The algorith of mps and mrp are the same. Both work with the PlanTime Fences and Fixation types, rescheduling is the same,  and so on.

  • SAP HANA : differences and costs

    Dear All,
    HANA is designed to enable faster ways to process data from business applications in real time, without impacting the underlying source system. I believe HANA will bring new and interesting opportunities to SAP. Which are the most important technical differences between HANA, BWA and BOEA? Which are the cost differences?
    Regards,
    Bob

    Bob,
    Here are my thoughts:
    HANA: Here's my recommendation for the best in-class next-generation BI solution. Deploy HANA as a standlone server with two logical system partitions. 1st partition for standalone HANA modeling and 2nd partition to host HANA DB for BW 7.3. This way you get to exploit HANA performance for both SAP BW system as a database and also use the HANA power for standalone non-BW (ECC and flat-file) application that need good performance.
      BWA: I would not recommend a BWA solution for a new BW implementation. Given the fact that SAP has announced recently that BWA 7.3 will be the last release for BWA. However, if there is a critical BW application in production that needs better performance, then BWA will be a quick fix solution. The cost difference between an SAP HANA solution and a BWA solution is narrowing down quickly. I do not want to go into details of cost.
    BOEA (aka BOE Accelerator Version): Guys, there is some confusion here. BOEA does not support BWA acceleration for non-BW data source data. Meaning that if you are using BOEA (accelerated version) - you can load non-SAP and Non-BW data but can not accelerate the data using BWA unless the data is put in an SAP BW info provider (cubes,etc..). Only BW info providers in a BOEA solution can exploit BWA acceleration. Other data (non-SAP and Non-BW ) can only exploit on indexing capability of BOE internally but not the BWA. BWA portion of BOEA is specific to BW in the backend.
    Also, please read my executive summary on SAP HANA @ http://www.sendspace.com/filegroup/u1AO5NidaMTYSD49JoHsjg
    Regards,
    Rama

  • Forecast and MRP type

    Hi,
         I am in the process of designing a system where there is one DC which gets all sales orders and one mfg plant whihc manufactures and then STOs the material to the DC. Would it be a good thing to have the same forecast for the same material in the same preiods in the DC and the mfg plant, with the sales orders consuming the DC forecast and the STO consumng the mfg plant forecast ? I cannot think of any other way for the DC to drive the demand to the mfg plant and the mfg plant working with this demand to begin manufacturing and component sourcing.
    Also I ran a forecast with the MRP type PD. I was expecting VV to be the only MRP type which will allow forecast to be run but looks like PD allows forecast as well. Is that corrrect ?
    Thanks

    Hello GS
    It is not necessary to define the forecast on both plants, only on the plant where the sales orders will be received. Then, on the material master, you define a special procurement type such as "production in alternative plant" or "stock transfer" and MRp will automatically redirect the requirements from the DC to the manufacturing plant.
    Take a look on the following link for more details:
    Multi-Plant/Site Planning - Material Requirements Planning (PP-MRP) - SAP Library
    Yes, PD allows the forecast. If you want to know which MRP types allow the forecast, take a look on the MRP type customizing transaction OMDQ. There is a setting where you define if the forecast is optional, mandatory or not allowed for the MRP type.
    BR
    Caetano

  • SAP Note 0407563: Key Figure Model versus Account Model in BW

    I am reviewing a document on Key Figure Model versus Account Model in BW.
    There are a number of references to "SAP Note 0407563", can anyone with access to this note post it here for me to review. Sometimes some otf there links prompt for password.
    Thanks in advance.

    Hi,
    <b>SAP Note 0407563</b>
    Symptom
    You would like to design a data model for SEM-BPS and you are not sure, whether to use the key figure or the account model.
    You are looking for proposals for data modelling.
    Additional key words
    bps0, key figure, characteristic, model, data modelling, consultation
    Cause and prerequisites
    In the following you find a simple example by means of which the terms key figure and account model are defined.
    In the example we want to assign several key figures (for example revenues) to a characteristic (for example customer), whose units (for example currency DM) are identical.A modeling option, which is called key figure model, contains all key figures in one data record.
    Customer Revenue_1 Revenue_2 Revenue_3 
    A 10 DM 30 DM  50 DM 
    In the account model, on the other hand, an additional characteristic is added, which separates the revenue types.
    Customer Type Revenue
    A 1 10 DM
    A 2 30 DM
    A 3 50 DM
    Advantages and disadvantages from the point of view of data modelling
    You can easily add an additional revenue type in the account model, because you do not have to change the data structure.In the key figure model, on the other hand, you must add an additional key figure to the structure.It actually depends on the frequency of these changes occurring.
    A data record that is to be changed by a processor, is exclusively locked by SEM-BPS for this processor.A lock that only concerns individual key figures of a data record is not possible.As a consequence the different revenue types can be changed simultaneously by different processors in the account model, wheras in the key figure model one processor automatically locks all key figures exclusively for his own use.
    If you use a planning function in the account or key figure model, a different Customizing is required in general. Consequently, a conversion of the data model leads to a change of Customizing in general.
    Advantages and disadvantages from the technical point of view
    The transaction data is stored in the BW.Analyses have shown that the read time basically depends on the number and not on the size of the data records.In the above example you can see that by changing the key figure and account model the number of records increases by factor 3, which means that you must expect longer read times.When determining the factor you must take into account that normally not all key figures are used in every record in the key figure model.As a consequence only those records are created when changing to the account model, for which the key figures are not equal to zero.
    Example:
    So if in the above example the key figure Revenue_1 is not used, only two records are generated and consequently the value of the factor is also reduced to 2.
    After the transaction data has been read from the BW, it is stored in the application server's memory.The amount of memory required depends, among other things, on the number and on the length of the records.The length can be influenced by the data model you choose:in the key figure model the records are longer than in the account model and therefore consume more memory for each record. Therefore, the key figure or account model will require less memory depending on the relationship between record length and number of records.
    When the data model is changed, also the planning functions must be revised.Depending on the type of calculation there might be advantages for one of the models.
    Example and rules of thumb
    The following example contains 30 key figures, which were mapped to 3 key figures and one additional characteristic with a maximum of 10 characteristic values when you changed to the account model.In both models a price calculation between three key figures each was executed.Consider the specifications in the table as relative specifications:For the number of data records you for example find a and a*10.This means that in the second case the number of data records is larger by factor 10 than in the first case.The determination of the relationships is based on 5000 data records in the key figure model.
    Example: all key figures are used (100%)
    measured size      :     Key figure model, Account model
    Number data records:      a      ,     a*10
    Read time       :     l      ,     l*10
    Price calculation:      t      ,     t*9
    Data record length:      d*4      ,     d
    Memory requirement :     m      ,     m*3
    Example: Key figures are partially used (20%)
    measured size      :     Key figure model ,Account model
    Number data records :          a      ,     a*2
    Read time           :     l      ,     l*2
    Price calculation      :     t      ,     t*2
    Data record length      :     d*4      ,     d
    Memory requirement      :     m      ,     m*0,8
    How are the sizes determined?
    Read the related notes for details on the use of the statistics.
    1. a: In the statistics of SEM-BPS or BW this value is stored when you execute a planning function. The method has the name 0-DB1.
    2. l: The above statistical record also contains the execution time.
    3. t: In the statistics of SEM-BPS a record is stored for the planning function.The overall runtime of the planning function contains the database time. Therefore the database time must be subtracted from the runtime of the planning function to determine t.
    4. d: The data record length corresponds to the data structure length (ABAP length), which is generated for every area.The name is made up as follows:
      Prefix:  /1SEM/_YS_DATA_
      Client: mmm
      Name of the area: gggggggg
    The client must always be specified with three digits, the area only in its actual length.The name for an area called 'MYAREA' which is in client 001 is for example /1SEM/_YS_DATA_001MYAREA.When you determine the length, note that there is the dictionary and the ABAP length (Transaction SE11 => Extras => Structure width => ABAP length) and that the total of the two structures contained must be determined.In the structure stated above, for example /1SEM/_YS_CHAS_001MYAREA and /1SEM/_YS_KYFS_001MYAREA are contained.The total is the length you are looking for.
    5. m: After executing the planning function, start Transaction STAD and find the appropriate statistical record for the dialog step, in which you have executed the planning function.The record contains a memory specification, which is the desired value for s.
    Solution
    Bear in mind that the values from the example are not generally valid, but were determined from a specific example.We recommend that you determine the parameters (both the values of the variables and of the relationships) for your specific case and to use it as the basis for discussion.You should not choose too few data records, because the fixed memory consumers predominate otherwise.
    Regards-
    Siddhu
    Message was edited by: sidhartha

  • Issue with Work status in SAP BPC 10.1 Unified Model

    Hi Everyone,
    I am are tying to setup work status functionality in SAP BPC 10.1 Unifed Model. But I am not getting any dimesions to select in the Owner dimension dropdown in the BPC Web Admin.
    Is there any pre-requiste for setting up work status in Unified Model. Is there any document related to it? Any help would be greatly appriciated.
    Thanks in advance!
    Regards,
    Ramanathan

    Hi Ramanathan,
    Had the same problem when I began using 10.1 Embedded.
    In BW you need to identify which infobject will be used as the "Owner Dimension"  to control work status, access, etc.
    To this infobject you must add an attribute to contain the string (userid in BPC) of the owner.  The name of the infobject can be anything.
    I used 0ORGUNIT as the "Owner Dimension" control infobject and added attribue ZBPCOWNR.  I maintained ZBPCOWNR with the userid's.
    This is the value to be entered into Owner Property:
    HOWEVER, this will not be presented until the Owner Dimension contorlling infobject has a HIERARCHY!  The hierarchy must have at lease one leaf node.
    Once I added the attribute, maintained the attribute, and added the hierarchy I was presented with my choices in the dropdown boxes.
    Regards,
    Andy

  • Significance and use of CVD indicator and MRP indicator in J1IEX

    Dear Frndz...
    Plz expln significance and use of CVD indicator and MRP indicator in J1IEX.
    Regards,
    Amit P Hiran
    njoy SAP..
    njoy Life...........

    hi
    >CVD TICk
    CVD indicator will be auto ticked when when u go for IMPORT PROCESS
    check folowing for import process
    import process customization
    >MRP TICk
    MRP tick is used for the first stage dealer scenario ,where at time of purchase u cant have excise values
    the bill will be including base price exciseothertax + delears commisiion
    E.g.:
    Material Price = 80/-
    Excise Duty = 14/- (BEDECessSECess)
    Margin = 6/-
    Total =100/-
    VAT @3% = 3/-
    Grand Total =103/-
    Step 1:
    Create PO with Base Price as 100/- by selecting tax code which is having VAT as 3% (Total PO value will be 103/-)
    Step 2:
    Post MIGO and Capture Excise Part - 1
    Click on More details icon in Excise tab (header), check MRP Indicator in miscellaneous tab, Enter Assessable value as 80 in Excise tab Item level and enter the excise values BED, ECess , SECess manually, check & save the document.
    Step 3;
    Post Excise Part 2 in J1IEX
    Step 4:
    Post MIRO by checking calculate tax, edit base value as 80/- enter the amount in header as proposed by the system (103/-), simulate & post the document.
    Note 1104456 - Use of MRP indicator for capturing excise duties from dealer

  • To upload a RTF and a PDF file to SAP R/3 and print the same through SAP

    Hi,
    I have a requirement to upload a PDF file and a RTF file to SAP R/3 and print the same.
    I wrote the following code for uploading a RTF file to SAP R/3 and print the same. However, the problem is , the formatting present in the RTF document( bold/italics..etc) is not being reflected when I do the 'print-preview' after the executing the code below :
    report z_test_upload .
    data: begin of itab occurs 0,
             rec type string,
          end of itab.
    data: options like itcpo.
    data: filename type string,
          count type i.
    data: filetype(10) type c value 'ASC'.
    DATA: HEADER  LIKE THEAD    OCCURS   0 WITH HEADER LINE.
    DATA: NEWHEADER  LIKE THEAD    OCCURS   0 WITH HEADER LINE.
    DATA: ITFLINE LIKE TLINE    OCCURS   0 WITH HEADER LINE.
    DATA: RTFLINE LIKE HELP_STFA OCCURS   0 WITH HEADER LINE.
    DATA:   string_len TYPE i,
            n1 TYPE i.
    selection-screen begin of block b1.
      parameter: p_file1(128) default 'C:\test_itf.rtf'.
    selection-screen end of block b1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
      CALL FUNCTION 'F4_FILENAME'
           IMPORTING
                file_name = p_file1.
    start-of-selection.
    move p_file1 to filename.
    call function 'GUI_UPLOAD'
         EXPORTING
              filename                = filename
              filetype                = filetype
         TABLES
              data_tab                = itab
         EXCEPTIONS
              file_open_error         = 1
              file_read_error         = 2
              no_batch                = 3
              gui_refuse_filetransfer = 4
              invalid_type            = 5
              no_authority            = 6
              unknown_error           = 7
              bad_data_format         = 8
              header_not_allowed      = 9
              separator_not_allowed   = 10
              header_too_long         = 11
              unknown_dp_error        = 12
              access_denied           = 13
              dp_out_of_memory        = 14
              disk_full               = 15
              dp_timeout              = 16
              others                  = 17.
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    loop at itab.
      string_len = strlen( itab-rec ).
      n1 = string_len DIV 134.
      ADD 1 TO n1.
      DO n1 TIMES.
        rtfline-line = itab-rec.
        APPEND rtfline.
        SHIFT itab-rec BY 134 PLACES.
      ENDDO.
    endloop.
    HEADER-TDSTYLE = 'S_DOCUS1'.
    HEADER-TDFORM = 'S_DOCU_SHOW'.
    header-tdspras = 'E'.
    CALL FUNCTION 'CONVERT_TEXT'
      EXPORTING
      CODEPAGE               = '0000'
        DIRECTION              = 'IMPORT'
        FORMAT_TYPE            = 'RTF'
       FORMATWIDTH            = 72
        HEADER                 = header
        SSHEET                 = 'WINHELP.DOT'
        WITH_TAB               = 'X'
        WORD_LANGU             = SY-LANGU
        TABLETYPE              = 'ASC'
      TAB_SUBSTITUTE         = 'X09  '
      LF_SUBSTITUTE          = ' '
      REPLACE_SYMBOLS        = 'X'
      REPLACE_SAPCHARS       = 'X'
      MASK_BRACKETS          = 'X'
      IMPORTING
        NEWHEADER              = NEWHEADER
      WITH_TAB_E             =
      FORMATWIDTH_E          =
      TABLES
        FOREIGN                = RTFLINE
        ITF_LINES              = ITFLINE.
      LINKS_TO_CONVERT       =
    if sy-subrc <> 0.
    endif.
    CALL FUNCTION 'PRINT_TEXT_ITF'
      EXPORTING
         HEADER        = newheader
         OPTIONS       = options
    IMPORTING
      RESULT        =
      TABLES
        LINES         = itfline.
    if sy-subrc <> 0.
    endif.
    Any hints or suggestions to solve this problem will be highly appreciated.
    Thanks,
    Avra

    Hi Vishwas,
    Check out the thread [Efficient way of saving documents uploaded|Re: Efficient way of saving documents uploaded by users; and check the blog by Raja Thangamani.
    Also check the thread [Export Images through Function Modules   |Export Images through Function Modules;.
    Hope it helps you.

  • SAP ECC6 memory and paging issues

    Dear Experts
    I have recently upgraded my 4.6C systems to an ECC 6 system (DB2 LUW 9.5 on AIX 5.3 TL9 64 Bit OS)
    I have been running the LPAR with 14 GB of memory and we are around 100-200+ users using the system, I was monitoring using nmon and found that Physical Memory was around 99.8% Used   (14311.8MB and 22.6MB was free) also the paging space was around 37.2% in result causing the system at times to run slow which can have a very negative effect on the users.
    After further investigation I found that after a system restart the Physical Memory would start around 50.9% and increased at a steady pace until it reached 99.8% that is when the system would start using the paging space which would steadily increase, I found that the only solution was a system restart at least once a week to reduce the memory consumption.
    At first glance it looked like a database manger memory leak with the process db2sysc, so I searched the net with the search words u201Cdb2 memory leaku201D and found the following APARs and notes.
    APAR JR30285 - Pervasive memory leak when compiling SQL statements that use SQL/XML functions
    APAR IZ35230 - There is a pervasive unix-specific private memory leak in the security component
    Note 1288341 - Memory leak in APPLHEAPSZ -> SQL0954C 
    Note 1352361 - Memory leak in shared memory area abrfci
    Note 1147821 - DB6: Known Errors and available Fixes in DB2 9.5 LUW
    After reading the notes and APARs I decided to updated DB2 to the latest fix pack (5SAP), but after the fix pack was implemented it did not solve the memory problem
    I started look at different problems with SAP ECC6, db2 and AIX with paging/memory problems and I found the following notes to do with AIX memory and paging but none of them helped as all parameters and settings were set accordingly  
    789477 - Large extended memory on AIX (64-bit) as of Kernel 6.20
    191801 - AIX 64-bit with very large amount of Extended Memory
    973227 - AIX Virtual Memory Management: Tuning Recommendations
    884393 - AIX saposcol consumes large amount of memory.
    856848 u2013 AIX Extended Memory Disclaiming 
    1048686 u2013 Recommended AIX settings for SAP
    1121904 u2013 SAP on AIX: Recommendations for Paging
    1086130 u2013 DB6: DB2 Standard Parameter Settings
    After even more investigation I found the following evidence suggesting AIX Virtual Memory Manager might have a problem

    Shared memories inside of pool 40
    Key:       42  Size:    17792992 (  17.0 MB) DB TTAB buffer              
    Key:       43  Size:    53606392 (  51.1 MB) DB FTAB buffer              
    Key:       44  Size:     8550392 (   8.2 MB) DB IREC buffer              
    Key:       45  Size:     7014392 (   6.7 MB) DB short nametab buffer     
    Key:       46  Size:       20480 (   0.0 MB) DB sync table               
    Key:       47  Size:    10241024 (   9.8 MB) DB CUA buffer               
    Key:       48  Size:      300000 (   0.3 MB) Number range buffer         
    Key:       49  Size:     2769392 (   2.6 MB) Spool admin (SpoolWP+DiaWP) 
    Shared memories outside of pools
    Key:        3  Size:   114048000 ( 108.8 MB) Disp. communication areas   
    Key:        4  Size:      523048 (   0.5 MB) statistic area              
    Key:        6  Size:   692224000 ( 660.2 MB) ABAP program buffer         
    Key:        7  Size:       14838 (   0.0 MB) Update task administration  
    Key:        8  Size:   134217828 ( 128.0 MB) Paging buffer               
    Key:        9  Size:   134217828 ( 128.0 MB) Roll buffer                 
    Key:       18  Size:     1835108 (   1.7 MB) Paging adminitration        
    Key:       19  Size:   119850000 ( 114.3 MB) Table-buffer                
    Key:       41  Size:    25010000 (  23.9 MB) DB statistics buffer        
    Key:       63  Size:      409600 (   0.4 MB) ICMAN shared memory         
    Key:       64  Size:     4202496 (   4.0 MB) Online Text Repository Buf. 
    Key:       65  Size:     4202496 (   4.0 MB) Export/Import Shared Memory 
    Key:     1002  Size:      400000 (   0.4 MB) Performance monitoring V01.0
    Key: 58900114  Size:        4096 (   0.0 MB) SCSA area                   
    Nr of operating system shared memory segments: 16
    Shared memory resource requirements estimated
    ================================================================
    Total Nr of shared segments required.....:         16
    System-imposed number of shared memories.:       1000
    Shared memory segment size required min..:  692224000 ( 660.2 MB)
    System-imposed maximum segment size......: 35184372088832 (33554432.0 MB)
    Swap space requirements estimated
    ================================================
    Shared memory....................: 1654.8 MB
    ..in pool 10  328.6 MB,   58% used
    ..in pool 40  143.3 MB,   30% used
    ..not in pool: 1174.1 MB
    Processes........................:  413.4 MB
    Extended Memory .................: 6144.0 MB
    Total, minimum requirement.......: 8212.2 MB
    Process local heaps, worst case..: 3814.7 MB
    Total, worst case requirement....: 21882.9 MB
    Errors detected..................:    0
    Warnings detected................:    3

Maybe you are looking for

  • Mac OS 9 auto login with multiple users

    Is there a way to have a mac running Mac OS 9 set up with multiple users autologin to one of the accounts? Ok, since I know people will ask why do you want to do that. I have an old mac and found my old XTension home automation software. I want to ma

  • MOV File Conversion from Mac to PC

    I have some footage shot in HD and imported into Final Cut Pro on a mac. When I take the MOV files and put them on my PC, the audio is all messed up. It repeats in places, cuts out in others, and is off by a second or two in other places. Another PC

  • BLOB image in XML Publisher

    Currently we are using 6i reports to generate XML output, which in turn is passed to XML publisher to generate documents. I am trying to access a blob image from DB in 6i reports. How Can I pass this image to XML publisher. Basically my doubt is: How

  • Mac mini with a Panasonic 42" plasma screen

    I am new to macs to bear with me. I am trying to connect a mac-mini to a Panasonic 42" plasma screen (TH-42PX20) According to the Panasonic manual the max resolution is 1024x768 with a 16:9 aspect ratio. The plasma screen connects to the mac with a D

  • VS2013 - toolbox icons beside items are missing for 3rd party controls

    after the installation of the ESSENTIAL STUDIO Community Edition of Syncfusion and DEVEXPRESS Universal components, there is no icon in toolbox. I the VS 2013. Do you know why is this happening? See the Pictures. Elias