New Business process config in SAP

Hi,
I have business requirement.
buying goods from Vendor A with Rs 100 and selling this to customer B with 30% margin
buying goods from Vendor A with Rs 100 and selling this to customer C with 10% margin
buying goods from Vendor B with Rs 200 and selling this to customer B with 30% margin
How do i configure in SAP.We need to use Batch? apart from third party sales? Pl Advice
Regards,
Kumar

Hi,
Please do not forward your business requirements to the forum without you undergoing any thought process.
Forum is there to help you,but not to take decisions for you.
Please read the rules of engagement before you post.
Step 1: Finding An Answer
Rule number one: Try to find the answer first. There are tons of resources out there, show that you have tried to find the answer. <b><i>A question that shows that the person is willing to try and help themselves is more likely to be answered than one which simply demands information. Tell us what you have done to try and solve the problem yourself - often we can learn from that too!</i></b>
Search the forums, the articles, the blog posts and the Frequently Asked Questions (FAQ) in the Wiki for your topic.

Similar Messages

  • Business Process documents for SAP ESHM-Product Compliance

    Hello All
    Can anybody please the share the links or documents for standard SAP Business Process documents for SAP ESHM-Product Compliance.
    What I am looking  is for Compliance of Product, IMDS, CDO, Material Data Exchange in the automotive supply-chain, generation of RRR reports.
    Well I would be using this for self learning purpose.
    Thanks & Regards
    Satish

    Dear Satis
    because of historic reason in history of SAP there might be the risk to misinterpret your question.  This would be my first answer:
    1.) check this document first: SAP EHS Management for Beginners
    2.) check may be:SAP Product and REACH Compliance - SAP Library
    Some "topics" are dealed with this SAP solution
    3e.) years ago a product if TechniData was available called "Compliance for products". Regarding many of the functions therein: these are now mainly available in the above mentioned solution or in the new solution as shown here:
    Component Extension 5.0 for SAP EHS Management – SAP Help Portal Page
    Take first a survey in the doucments and links given and then coe back with furthere questions etc.
    C.B.
    PS: you need to drill down in any of the documents etc. as mentioned above to get the "details"to most of your questions

  • New Business Process Requirement

    Hi All,
    I have a new business process requirement from my client.
    My Client has their own product which they do normaly sell them and is called product A. Now they are planning for some new products. For this they purchase some WIP materials called product B & C from vendors and assemble them along wth product A. The assembled product which is called D is sold as finished product. this product D consists of product A and product B&C. Now in this type of scenario what should be the planning strategy? And also please let me know how to incorporate the assembling part in the present SAP system?
    Thanks,
    Rinky

    Rinky,
    What is the problem?  D is just another finished goods.  Is there something unique about this scenario?
    D BOM = A, B, C
    D assembly effort is contained in D routing, the same way you would create a routing for any other FG product.
    D strategy is whatever your client wants.  MTS?  MTO?  Forecasted?  You pick the strategy the same way you would pick any other FG planning strategy.
    A you need change nothing
    B you need change nothing
    C you need change nothing
    Am I missing something here?
    Rgds,
    DB49

  • Business process reengineering in SAP?

    Gurus,
    what is business process reengineering in SAP?
    pls elaborate with one example?

    What is Business Process Re-engineering (BPR)?
    Business Process Re-engineering simply implies eliminating tasks that does not add value to a business process while reorganization the value adding tasks. It can also be perceived as a restructuring of redundant dependent tasks or work order. It involves a re-thinking and consequently a re-moulding. In appreciating this concept, it is expedient to view a process as a "chain of tasks". The truth is that in a typical business process, you can have some redundant tasks that if not present does not really have any impact. Such tasks can be eliminated thus streamlining business process.
    During ERP implementation, before a business process can be re-engineered, excellent understanding of the defective process is key. This is why it is important to first carry out a critical and objective business process definition and analysis before system design. At this juncture, it is important to state that when restructuring a business process, adherence to best practices is encouraged. This allows the client to be able to leverage the redefined business process externally and not only internally.
    For business process reengineering to be successful and consequently, ERP implementation, the buy-in of the end users must be achieved. Often times, I've heard people say "this is how we have been doing it and we like it that way". It is important to convince the process owners why a re-engineering is needed. And the only way to do this is to make the user uncomfortable with his hitherto work methodology. As a matter of fact, setting up of an in-house restructuring team will help to foster users conviction within the organization. The members of the team should cut across all process owners.
    Conclusively, the benefits of BPR are enormous. They include the following, but not limited to
    1. Business process is streamlined.
    2. Business process is optimized and more efficient.
    3. Strict controls can be enforced and monitored.
    4. Best practices can be adhered to.
    5. Time and cost saving as a result of eliminated redundant tasks.
    regards,
    indranil

  • Business process reg. SAP in retail or multichain sales

    Hi,
    Can u tell the business process reg. SAP in retail or multichain sales ?
    RAAJ

    Hello László,
    in a nutshell BPM Netweaver is focussing on so called edge-processes (usually
    SOA-based and often workflow related). These edge-processes a thought to enhance exisitng core business processes and should provide the fast competitive edge versus competitors. Examples would be also xApps. For this Netweaver provides process modelling tools, where you can get exectuable code through the integration between CE and PI. The monitoring part for these processes is mainly targeting business end-users and business manager.
    Business Process Monitoring with Solution Manager focusses on core business processes which are realized with the "conventional", "old"  SAP Architecture, e.g. Order-to-Cash or Procure-to-Pay. You get a combination of technical monitors (average response times of transactions, background job runtimes, monitors for IDOC or qRFC processing) and application related monitors (you get more than 200 pre-configured application monitors out-of-the-box like number of overdue customer orders or outbound deliveries or number of deliveries with goods issue posted but no invoice). The target group here is the support organization of the customer, from Basis-Support over application support on IT side to process owner on business department side.
    Overview presentations can be found under
    https://service.sap.com/bpm --> Media Library --> Customer Information -->
    "Business Process Monitoring - Part 1 & 2".
    Or look under https://www.sdn.sap.com/irj/sdn/nw-processmonitoring
    In the end BPM Netweaver and BPMon SolMan are complementary for different purposes and different target groups.
    Best Regards
    Volker

  • Agency Business - process modeling in SAP

    Dear Experts,
    I need help with the Agency Business. The case is the following:
    There are two companies - A (Mother Company) and B (Subsidiary Plant)
    Company A negotiates with the Customer.
    When the the Customer places an order he makes a payment to company A.
    Company A places this order to company B (the plant) and transfers to company B the payment from the customer (the whole amount).
    After the order is completed company A issues an invoice to company B for their commission (let say 18 % of the deal).
    Company B pays back this amount.
    I have entered in company A a vendor billing document from company B - for the whole amount which company A should pay to company B. The calculation schema is RM6001. And I have used condition RL03 to enter the commission percentage.
    As far as I understand, the next step should be to issue a remuneration list to company B for the commission. However, in the remuneration list appears the whole amount from the vendor billing document and the remuneration condition is 0. Obviously, I am not doing the things right.
    I am not sure that I have understood very well the process in Agency Business. Please, advise how shall I proceed.
    Best regards,
    Rumi

    Hi,
    Agency Business Process
    http://help.sap.com/saphelp_crm60/helpdata/en/15/016c07ab304f8a9ffeb3081f2103da/frameset.htm
    Kapil

  • Kindly advise on new business process to map to SAP

    Hello All,
    I have one business process and I could not able to map to SAP.
    Please help me out.
    I have two company codes and one company code does the export business and other one supplies some parts to exports company code.
    Please find the scenario details in below.
    Company code 1000                 Company Code 2000 (Exports)
    Plant 1000                               Plant 2000
    X is the final product which is assembled with below parts (BOM)
    (Part A,Part B,Part C,Part D)
    Business Process:
    1. Plant 2000 places an order to Plant 1000 for final product "X".(It is the combination of Parts A,B,C,and D)
    2. Plant 2000 supplies Part E and Part F to plant 1000 without billing as RGP (Returnable goods packing).
    3. Plant 1000 receives parts E and F from Plant 2000
    4. Plant 1000 packs all the parts in one cart (ABCDE+F) and issues the final product "X" and part E and part F to Plant 2000
    5. Plant 2000 receives the final product X and part E and part F and as soon as GR done Part E and Part F should get consumed automatically in Plant 2000
    6. Plant 1000 sends the invoice for the Parts A,B,C and D and for service also.
    7. Plant 2000 pays invoice amount to plant 1000
    8. Plant 1000 receives the payment from plant 2000
    Please suggest me the suitable process in SAP and let me know if you need further explanation.
    << Moderator message - Please do not offer points >>
    Regards,
    Nag
    Edited by: Rob Burbank on Nov 19, 2010 4:59 PM

    Hi,
    For the above process you can map with Sub con process
    Step1 ) Create BOM in plant 2000 under cocd 2000  as End product /Header Material(X) and Component/child material as E and F
    Step 2) Create Sub con PO in plant 2000 under cocd 2000 with Vendor as Plant 1000 under co cd 1000
    Step 3) Transfer Component/child material E and F to Vendor as Plant 1000 under co cd 1000 using 541 Movt type.
    Steps 4) In Plant 1000 under co cd 1000 maintain material E and F as Non Valuated only Qty update.
    Step 5) Receipt the Component/child material E and F using Movt type 501 to update stock.
    Step 6) Create BOM IN Plant 2000 under co cd 2000 as End product/ Header material as X and Component/child material as A, B, C , D,  E & F.
    Step 7) Create sales order in Plant 1000 under co cd 1000 with customer as plant 2000 under cocd 2000
    Step 8) MRP run if require to plan the material A, B, C & D.
    Step 9) Procure the material A, B, C & D if stock less.
    Step 10) Create Production order/ Process order for Material X.
    Step 11) Confirm production order and receipt the End material (X) AGAINST Production order.
    Step 12) Crete out bond delivery VL01N for Material X and Goods issue (VL02N)
    Step 13) Billing VF01
    Step 14) MIGO goods receipt in  Plant 2000 under co cd 2000 against Sub on PO here Material E & F will consumes upon GR and end/ Header Material X will updated Stock.
    Step 15) MIRO to settle Vendor Account. Hope this will helps you.

  • Business process management on SAP HCP

    Hello Experts,
    If we think of implementing a solution which is completed based on SAP HCP, having a BPM designtime/runtime environment is a must have requirment. So far, I haven't been able to find any standard tool that SAP HCP offers to design and run business processes on HANA Clound.PLease correct me if I am wrong?
    What are the other options (prefcerablly free) that one can explore,
    I can think of below approaches:
    A. We wait for SAP to release a new BPM tool for HCP.
    B. We develop our own BPM package having our own tables and APIs.
    C. We make use of custom third party packages that can integrate with HCP:
          C.1  A third part custom package that can get installed within HCP
          C.2  A third part remote BPM solution that can connects to HCP based apps using o-data/webservices technologies.
    If you guys have tried any approach, would you be able to share your experience?
    Many thanks in advance.
    Regards
    Pranav

    I'm not sure if this is the right forum for my query. any suggessions?
    Regards
    Pranav

  • Business Process Modeling in SAP Solution Manager

    Hi.
    Even ther an Solution Manager space, i wish to get some opinion related to Business process Modeling.
    We are working in an upgrade project. R/3 4.6 C to ECC 6.0. The customer decide to use Solution manager to map their process, based on the transactions of the new version.
    Company Business Process:
    1.Based on ISO standards.
    2.By product line
    3.The process are defined using an structure with 4 Levels: Macro Process, Business scenarios, Business Process and Steps/activities.
    There are 2 possibilities to map the process into the Sap Solution Manager:
    1. Map the process by component.
    - Single Project
    -It means to make a list of all sap components with their process without mattering the business process.
    -Each product line can be a variant for an specific process. e.g: Sales by line 
    2. Map the process as ISO Standards
    - Several projects : For each product line
    Which cold be the better option in order to:
    - Easy configuration activities
    - Easy design of Unit and integration test
    - Easy activities of Process enhancement and optimization
    Theres another option?
    Thanks
    Alvaro Hernán Rojas R

    Hi Alvaro Hernán Rojas R ,
    The product line is the hierarchy of the finished goods.
    It is pertinent that the finished goods has emerged due to some process(es) carried on the raw material.
    Thus logically you should map in solution manager based on the process only.
    The macro process while depicts the processes at the highest level.The Business scenarios, Business Process gives a good idea about how you should go about configuring.The Steps/activities helps you to map in to SAP thro' T/Codes.
    From the point of view of all of the below three,namely,
    Easy configuration activities
    Easy design of Unit and integration test
    Easy activities of Process enhancement and optimization,
    the option   Map the process as ISO Standards
    - Several projects : For each product line,will be most ideal.
    It is the processes that drives the activities.The control activities like internal control etc are all process based.Given these,divorcing the business process from the configuration -as in -is certainly not a good practice.
    Hope this helps.
    Regards,
    Ramesh

  • Help needed to understand business process irrespective of SAP

    Hello all,
    I am an engineer with specialization in electronics and telecommunication. The topic of RFID is thus fascinating for me hence,I have been reading SAP AII for some time now. The components of RFID like tags, readers and communication between them is known to me upto some extend but the business process that SAP AII supports/ implements/ automates are new to me because of which I miss the big picture of SAP AII.
    The material I have been reading on SAP AII describes many such process e.g. goods issue, goods return, slap and Ship, logistic process etc. I find it difficult to comprehend these business processes as I think they are described mainly in jargons/ terms (jargon for me) like "delivery processing", "delivery document", "Shipping document", "handling unit", "outbound and inbound process", "goods posting" and numerous similar terms. Moreover I think the explanation is SAP specific.
    I feel I should take a top down approach to understand SAP AII and for this I first need to understand the business process in generic/ standard terms. Once they are clear I guess I would be able to understand SAP RFID solution.
    I request you all to guide me. Am I taking the right approach? If yes please help me understand the basic business process. Pointers to some good douments or any other resource explaining standard business process will definately help.
    Thank You

    Hi Gaurav,
                   You are very correct that being a technical person you find difficulty in understanding jargon terms of SAP.
    Let me explain you the scenario:
    There are two sides to SAP
    1) Functional - Understanding of Business Processes
    Here there are two parts:
    a) Business Process With Respect To SAP AII - These processes generally deals with RFID technology that happens in warehouses, disribution centers and are close to technological world. These deal only with SAP AII
    b) Business Process With Respect To SAP R/3 - These processes deals with SAP AII when integrated with backend systems like SAP R/3, SAP WM or other systems. These talk about the end to end scenario of RFID. Like you pointed out, delivery processing, etc.
    Understanding of Core that  is part a above and a bit basics about b will be very helpful.
    2) Technical - Understanding SAP AII
    Here also two parts are there:
    a) Understanding RFID as a technology with SAP AII - Deals with understaning technological viewpoints on RFID and mapping it to SAP AII. Example Devices, Tags, Device Controllers, Middlewares and their representation in SAP AII.
    Most important is above part
    b) Understanding Technological part of SAP itself - For example, ABAP, BAPI, BADI etc.
    So this is how it works. You are going very correct and follow above things.
    Please revert if you have any specific questions.
    Thnks

  • New Business Scenario Mapping in SAP MM

    Dear All,
    Our client wants to map a new business proces through SAP MM.
    Requirement is like this:
    1. Some raw material is given to Vendors.
    2. Vendor will use this material & will send back some other raw material.
    3. Qty of the received material is not known till the time of GR. GR will be done multiple times, i.e. Its not the case that GR will be  done one time only.
    4. Qty of the issuing material is known.
    5. There are multiple vendors providing the same material.
    6. Price will be same for all the vendors.
    Client wants to map all the process from PO, GR, IR & Payment to be done automatically. Because they daily received tonnes of material through weigh bridge & don't have sufficient time to do all the steps manually.
    Value of the raw material which was provided to vendor in the very first stage, should be recovered from him at the time of payment.
    Please note that sub contracting is not accepted by them, becuase while issuing material to vendor, it doesn't create liability from vendor in standard sub contracting process. No accounting document is posted at the time of Goods Issue - Mvt Type 541.
    Any help in this regard will be highly appreciated.
    Regards,
    Mihir Popat

    >
    Mihir Popat wrote:
    > Dear All,
    >
    > Our client wants to map a new business proces through SAP MM.
    >
    > Requirement is like this:
    >
    > 1. Some raw material is given to Vendors.
    > 2. Vendor will use this material & will send back some other raw material.
    > 3. Qty of the received material is not known till the time of GR. GR will be done multiple times, i.e. Its not the case that GR will be  done one time only.
    > 4. Qty of the issuing material is known.
    > 5. There are multiple vendors providing the same material.
    > 6. Price will be same for all the vendors.
    >
    > Client wants to map all the process from PO, GR, IR & Payment to be done automatically. Because they daily received tonnes of material through weigh bridge & don't have sufficient time to do all the steps manually.
    >
    > Value of the raw material which was provided to vendor in the very first stage, should be recovered from him at the time of payment.
    >
    > Please note that sub contracting is not accepted by them, becuase while issuing material to vendor, it doesn't create liability from vendor in standard sub contracting process. No accounting document is posted at the time of Goods Issue - Mvt Type 541.
    >
    > Any help in this regard will be highly appreciated.
    >
    > Regards,
    >
    > Mihir Popat
    Since subcontracting is not acceptable, you can try this:
    - Sell raw material 1 to the vendor (quantity and price known). In this case, sell it to the customer linked to the vendor.
    - Buy raw material 2 from vendor (against a PO, price known, large total quantity); and during GR)
    - Perform GR (quantity and price known), enter invoice and make payment.
    If automation is required, make a PO with large quantity, and settle the vendor using ERS.
    The only problem will be you will not be able to link raw material 1 and 2, ie you will not know when the raw material 1 is (completely consumed) at their end.
    The account receivables / payables can be adjusted in FI.
    Regards,
    Aroop

  • Down payment process for Poland, new business process or not ?

    Hello,
    I'm a little bit confused about implementation down payment process for Poland.
    The OSS-notes 818079 and 1007635 describe a solution for this.
    How do I have to implement the correct down payment process for Poland ? Do I have to create an extra business process with new sales order type, new billing type, separate calculation procedure, new output type and so on ?
    Or is it possible to use existing business processes in sales and distribution for down payment processes ?
    Thanks in advance
    Holger

    hi,
    Check the process for down payment processing
    The following Customizing settings have to be made for down payment processing:
    Settings for the billing plan - To activate the billing plan function, maintain the materials, for which you wish to process down payments, with item category group 0005 (milestone billing). This gives the item type TAO via item type determination. The item type TAO calls up the billing plan function.
    You need to implement the following activities in the billing plan for down payments:
    Maintain deadline category - This determines the billing rule (percentage or value down payment) for the down payment request. The system assigns billing type FAZ (payment request) defined in the standard system with billing category P. (For the billing type FAZ there is the cancellation billing document type FAS in the standard system).
    Maintain the deadline proposal - Use the down payments that are due for the proposed deadlines.
    Maintaining a Pricing Procedure with the Condition Type AZWR:
    In the standard system the condition type AZWR is delivered for the down payment value already provided but which has not yet been calculated. You must include this condition type in the relevant pricing procedure before output tax.
    Enter condition 2 (item with pricing) and the calculation formula 48 (down payment clearing value must not be bigger than the item value) for the condition type AZWR.
    Before the condition AZWR you can create a subtotal with the base value calculation formula 2 (net value). If the condition AZWR is changed manually, you can get information on the original system proposal from the subtotal.
    Maintain the printing indicator - The pricing procedure can not be marked as a transaction-specific pricing procedure (field Spec.proc.) The condition type AZWR has the calculation type B (fixed amount) and the condition category E (down payment request / clearing).
    Maintaining the Billing Document - In the standard system there is the billing type FAZ (down payment request) and the billing type FAS for canceling . The down payment is controlled using the billing category P of the billing type. A billing type becomes a down payment request when the billing category P is assigned. You have to maintain blocking reason 02 (complete confirmation missing) for the billing documents and assign it to billing type FAZ.
    Copying control - Copying requirement 20 must be entered in copying control at item level for the down payment request. In the standard system the order type TA for copying control is set up according to the billing type FAZ for the item category TAO.
    Copying requirement 23 must be entered in copying control at item level for down payment clearing. In the standard system the order type TA for copying control is set up according to the billing type F2 for the item category TAO.
    Financial Accounting settings - A prerequisite for down payment processing is that the account is assigned to the underlying sales document. To do this, change the field status settings in Customizing as follows:
    Set reconciliation accounts (transaction OBXR) - For the `received down payments' and `down payment requests' from
    the G/L accounts you have selected, you should assign the field status definition G031.
    Maintain accounting configuration (transaction OBXB) - For the down payments (posting key ANZ in the standard system) and the output tax clearing (posting key MVA in the standard system), you must maintain the posting key.
    You must also carry out a G/L account number assignment for the tax account.
    Maintain the posting key (transaction OB41) - For posting key 19, set the sales order as an optional field !!!
    Maintain the field status definition (transaction OB14) - For field status variant 0001, field status group G031, set the
    sales order as an optional field !!!
    Assign the company code to the field status variants (transaction OBC5)
    chandu

  • How to find business process diagrams of SAP reference model

    hello guys,
      I am reading book 'SAP R/3 Business Blueprint: Understanding Enterprise Supply Chain Management' recently. In this book, the author shows many EPC process diagrams of SAP reference model,but how could I find the process diagrams in SAP system.
      I google this 'SAP Reference model', and find transaction: SB09 Business Navigator-Process view. But I can not find this transaction in IDES4.7or ECC6 IDES.
    Thanks.
    Edited by: Justin on Jul 2, 2009 10:20 AM

    Hi RK v ,
    I really don't know what your actual requirement is , but if you want to know the objects as per the modification , then transport request will be much help to you .
    Have a look into table E070 and E071 .
    Regards ,
    Yogendra Bhaskar

  • Standard business process library for SAP IS-U

    Hi,
    I need to understand the standard business processes (i.e. in a vanilla implementation) of SAP IS-U for Offer & Contracting.
    Is there a tutorial/manual available that explains the standard / vanilla business processes involved with Offer & contracting and that links it with the SAP transactions?
    TIA,
    Christiaan

    Hi,
    You should be getting it in help.sap.com itself
    http://help.sap.com/saphelp_utilities472/helpdata/en/c6/4dce68eafc11d18a030000e829fbbd/frameset.htm

  • New Business Process

    Hi SAP gurus !!
    I need  Help/inputs on the following business Process:
    We are into manufacturing & selling of Diesel Locomotive Engines. These Engines & its subcomponents first we assemble at a remote place far from main Plant. once the Engine is ready, we will put this inside the plant & then sell it.
    ( Plz remember all subcomponents will first come to main plant then to remote place for assembling then again to main plant to use it for business.)
    please help me to MAP this business process in SAP. It would be great if you can explain all the activities of SAP that is going to be used ...like.. Production, Material management then Sales process.
    if you need any clarification, please feel free to ask.
    Warm Regards,
    MAYANK

    Hi there,
    From the SD point of view, this is what I feel
    To receive the components from other vendors, you 1st need to create a PO. When vendor fulfills the delivery for the PO, you do the GR into your main plant.
    What you can do is that define 2 plants Plant A main plant & Plant B assembling plant. After you do GR into the mail plant A, then create a intra company stock transfer UB from Plant A to plant B. Delivery NL. Material type will be HALB raw materials. When the goods are assembled, they are treated as FERT finished goods. Then Plant B again does stock transfer to Plant A. When you do GR into Plant A, materials will be available in A. Post them into the required storage loc with relevant movement types.
    From PLant A, to fulfill customer orders, do it in the normal order - delivery - invoice process.
    I feel that this also requires integration MM & PP. I am not sure of the process they follow.
    Hope this helps.
    Regards,
    Sivanand

Maybe you are looking for

  • Downloads from itunesU where viewed, played and saved?

    downloads from itunesU where viewed , played and saved?

  • IPhone/iPod Touch no longer detected by iTunes

    As of today, I can no longer connect my iPhone or my iPod Touch to my macbookpro, iTunes just won't recognize them at all. Yet I can update my new shuffle and my old 60 gig iPod no problem. What's up with these two? This is beyond frustrating. Any id

  • Stopping Photo in Ken Burns Fade

    I am creating a photo montage in IMovie 10. I like the Ken Burns effect, but want the photo to stop for a second or two before the fade. By the time the effect gets to the closeup, it goes right into the next fade. Help!

  • Labview Timestamp to Excel Time Formatted Cell

    Hello, I am in need of a VI that can convert a standard Labview Timestamp used ion a Labview VI that when exported to Excel via a tab delimitted text file or some equivalent will be recognizable by excel as a timestamp in its cells.  Has anyone gotte

  • Hibernate all workstations idle for at least 30 minutes, after 10:00pm

    Recently i came a across a challenge launched by my boss: Hibernate all workstations idle for at least 30 minutes, after 10:00pm. By GPO, i can. So, i wrote a script. I'm using a System.Runtime.InteropServices; I'm not good in scripts, for this i nee