Using exit EXIT_SAPLCOI1_027 enh. IWO10027 for creating settlement profile

Hello
Im Using enhancement IWO10027 for creating a settlement rule to transfer the cost from a service order to a sales contract.
I have the following entries in include ZXWOCU24:
        pmdfu_tab-konty = 'VB'.
        pmdfu_tab-fdind = '010000037000010'.
       pmdfu_tab-fdind2 = '000010'.
        pmdfu_tab-perbz = 'GES'.
        pmdfu_tab-prozs = '100'.
        APPEND pmdfu_tab.
If the system now tries to set the settlement rule using this exit, I got the message 'Sales document 100000370 is not available  Message no. V1 302'.
Using this entries manually, I do have no problem.
What is wrong with my exit?
I appreciate every help.
Thank you.
Marcello

Fill the the fields as follows than it is working.
pmdfu_tab-fdind = '010000037'.
pmdfu_tab-fdind2 = '000010'

Similar Messages

  • BAPI/ Function Modules for creating Settlement rules for Project in CJ01 .

    Hi Experts ,
    I need to create Settlement rules for WBS elements in Projects . Please let me know if there are any BAPI or Function Modules for the same . The Function Modules "k_settlement_rules_update" , "IBAPI_ALM_ORDERSRULE_CREATE" & 'K_SRULE_CREATE'
    are in "Not Released" status . so our practices does not allow us to use them .. please suggest any other BAPI or FM for creating Settlement rules .
    Thanks in advance ...
    Anil

    Hi ,
    Thanx for ur prompt reply , This function module is used for creating WBS elements . I didnot find any parameters or process to create settlement rule .. Please let me know how to use this or if there are any other BAPI available .
    Thanks
    Anil

  • Why we create settlement profile. What master data must exist in sap before creating settlement profile for order.

    Why we create settlement profile. What master data must exist in sap before creating settlement profile for order.

    As mentioned above, settlement is to post the cost to cost centers or any possible receivers as per the settlement profile. PM / Service orders, WBS elements, etc., can be temporary cost bearers from which cost should be settled to some permanent receivers.
    Cost elements / Cost element groups should be available as Master data before configuring settlement profile.
    To answer your latest query, there are 2 type of cost centers.
    Sender Cost Center - Against this, labor / internal activity price will be maintained in KP26. This cost center will be maintained in PM / PP work centers. While creating PM / PP orders, one of the work centers & activity types will be mentioned. Based on the KP26 entry for the combination of Activity type & Sender cost center, price will be picked & calculated according to work hours / labor hours maintained in PM / PP orders.
    Receiver Cost Center - Receiver cost center is the department / location cost center to which cost should be settled. Only receiver cost center will be maintained in settlement profile. Sender cost centers will be picked up automatically from work center.

  • Can I use a software of Adobe for creating CD covers having installed Adobe CS5 on my MacBook Pro?

    Can I use a software of Adobe for creating CD covers having installed Adobe CS5 on my MacBook Pro?

    If I go to a copy shop to print the covers (double-sided for a slim case of DVD) it would make sense to have two covers on one page in A4 and they should be on the right place so that the two backsides of the covers are at the back of the front of the covers printing the page in A4 double sided.
    Is this possible to do that if I choose the right size of the covers and save the picture (in jpeg or better as pdf file)?
    Am 20.11.2014 um 13:06 schrieb c.pfaffenbichler:
    Can I use a software of Adobe for creating CD covers having installed Adobe CS5 on my MacBook Pro?
    created by c.pfaffenbichler in Photoshop Scripting - View the full discussion
    For large amounts of text Photoshop is not the best choice.
    But you can certainly create Type Layers – select the Type Tool (T) and create Point Text by clicking onto the Canvas or Paragraph Text by click-dragging on the Canvas.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/6947191#6947191 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/6947191#6947191
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Photoshop Scripting by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Exit/BADI for creating settlement rules in IW32 upon release of order

    I need settlement rules to be populated in IW32 when an order is released.
    The data for the settlement rules population will be obtained from a Z table based on Order type and Maintenance Activity Type.
    I am not able to find out a suitable BADI/EXIT to fulfill this requirement. Has anybody worked on this kind of requirement earlier? Please suggest an EXIT/BADI/BTE for this.
    Thanks in Advance!!

    Hi Harveen,
    How did you populate the fields in K_ORDER_SRULE_ADD. Which ones did you populate. I keep getting an error message.
    Receiver categ. is not allowed by settlement prof. PM0001 for this sender
    Message no. KD031 Diagnosis The settlement profile specifies which receiver
    categories you can settle a sender to. Receiver category is not allowed by
    settlement profile PM0001 for this sender.
    Procedure
    You can do the following:
       Assign a settlement profile to the sender, that implements the
    required receiver category .
        Choose "Goto -> Settlement Parameters".
       Specify another receiver for distribution rule 009. If you already
    used this rule for a previous settlement, enter a valid-to period. Then
    enter a new rule for the next settlement with a receiver category. This
    category must be one that is allowed by settlement profile PM0001.
    Procedure for System Administration
    If necessary, maintain a suitable settlement profile.
    Would very much appreciate your help.
    Cheers
    Eunice

  • Using navigational attributes in selection for a forecast profile

    Hello All,
    I could understand that the forecasting can be done on navigational attributes.
    But when I goto transaction /SAPAPO/MSDP_FCST2, I could not create a selection on navigational attribute.
    Because I could not see the navigational attribute field in the selection screen for selection criteria/profile creation.
    Does anyone have any idea of how to do this?
    Also I saw the method SEL_CHANGE of BADI /SAPAPO/SDP_FCST5. But the documentation is confusing, since it says that using this method, we could delete the navigational attributes from the selection condition. Could any one suggest me how to use this BADI if I cannot create a selection with navigational attribute?
    Thanks,
    Suresh

    Hi Sunitha,
    Thanks a ton for your reply.
    The real problem is the OSS note is confusing.
    OSS Note for this method says "This method can be used to change the selection to be stored in
    in the generated selection table. Navigation attributes can be removed, such as the function of assigning a forecast
    profile to the selection can also be allowed for selections with navigation attribute without a basic characteristic."
    I am really confused what it says.
    If we can't create a navigational attribute for a selection, how could we delete it from a selection?
    Thanks,
    Suresh

  • Using dbms_metadata to get ddl for creating directories

    Hi,
    I am working on creating a test database, which is a copy of production for 11g upgrade testing. I want to get all the ddls from my production databse to create all the directories in the new test database. I have been trying to use dbms_metadata for this -
    Below is the code that I have been trying to use. However, when I query the my_metadata table, there is nothing in there. Can someone please help me with this?
    DROP TABLE my_metadata;
    CREATE TABLE my_metadata(md CLOB);
    CREATE OR REPLACE PROCEDURE progp1_directories_extract
    AS
    hndl NUMBER; --dbms_metadata handle
    th NUMBER; --transform handle
    DDL CLOB; --individual clobs extracted from the database
    BEGIN
    hndl := DBMS_METADATA.OPEN ('DATABASE_EXPORT'); --Open the metadata
    DBMS_METADATA.set_filter (hndl, 'INCLUDE_PATH_EXPR', '=''DIRECTORY'''); --Filter data as appropriate
    th := DBMS_METADATA.add_transform (hndl, 'DDL'); --Get the Transform Handle
    DBMS_METADATA.set_transform_param (th, 'SQLTERMINATOR', TRUE); --Include the semicolon
    LOOP
    DDL := DBMS_METADATA.fetch_clob (hndl); --Loop through the result set, inserting into our temp table
    EXIT WHEN DDL IS NULL;
    INSERT INTO my_metadata
    (md)
    VALUES (DDL);
    COMMIT;
    END LOOP;
    DBMS_METADATA.CLOSE (hndl);
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    show errors

    user12158503 wrote:
    Below is the code that I have been trying to use. However, when I query the my_metadata table, there is nothing in there. Can someone please help me with this?
    DROP TABLE my_metadata;
    CREATE TABLE my_metadata(md CLOB);
    CREATE OR REPLACE PROCEDURE progp1_directories_extract
    AS
    hndl   NUMBER; --dbms_metadata handle
    th     NUMBER; --transform handle
    DDL    CLOB;   --individual clobs extracted from the database
    BEGIN
    hndl := DBMS_METADATA.OPEN ('DATABASE_EXPORT'); --Open the metadata
    DBMS_METADATA.set_filter (hndl, 'INCLUDE_PATH_EXPR', '=''DIRECTORY'''); --Filter data as appropriate
    th := DBMS_METADATA.add_transform (hndl, 'DDL'); --Get the Transform Handle
    DBMS_METADATA.set_transform_param (th, 'SQLTERMINATOR', TRUE); --Include the semicolon
    LOOP
    DDL := DBMS_METADATA.fetch_clob (hndl); --Loop through the result set, inserting into our temp table
    EXIT WHEN DDL IS NULL;
    INSERT INTO my_metadata
    (md)
    VALUES (DDL);
    COMMIT;
    END LOOP;
    DBMS_METADATA.CLOSE (hndl);
    EXCEPTION
    WHEN OTHERS
    THEN
    NULL;
    END;
    show errors
    I can't see the bit where you actually try to execute the procedure - I assume you are doing this.
    One killer feature of your code is the "when others then null" - you're not going to know where and why your code failed.
    Taking a guess: are you running this as SYS ? If not then it's possible that you're not finding any data because of some feature in the way that the code sees the directory objects - they're always owned by SYS.
    Although your code (when corrected) will generate the grants on the directories, the following is sufficient to generate the "create directory" statements. (Since all directories are owned by SYS it's actually an error to reference an owner in this query -- that means, by the way, that the answer you've marked as correct doesn't actually work).
    select
         dbms_metadata.get_ddl('DIRECTORY',directory_name)
    from
         dba_directories
    ;Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
    There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
    +"I believe in evidence. I believe in observation, measurement, and reasoning, confirmed by independent observers. I'll believe anything, no matter how wild and ridiculous, if there is evidence for it. The wilder and more ridiculous something is, however, the firmer and more solid the evidence will have to be."+
    Isaac Asimov                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Should I use both GetList and  GetDetail for creating a Data Object?

    Hello, all.
    At first, Thanks for your interesting.
    1. I wounder that  I can make a BAPI Wrapper as Data Object using only GetList.
    When I make a BAPI Wrapper as Data Object using only GetList, SAP shows me a message.
    The message says Data Object can have one root node only (hierarchy = 1 ).
    It means I should use both GetList and  GetDetail.
    I understand that.
    If i need to use only GetList, is there any way?
    Thanks for your interesting again.

    Hi
    I think you are trying to import BAPI wrapper as data object and you are using only "Getlist" BAPI.
    In such case, the data object created will have only root node. i.e Hierarchy =1.
    This is becuse the GetList BAPI has only the info about root node.(i.e, table parameter).
    If you have multiple tables in BE and you want to create a DO with multiple node(hierarchy >1) using BAPI wrapper import, then you have to use "GetDetail" BAPI along with GetList.
    Regards
    Rohith

  • Use of ECATT or CATT for creating performamce statistics

    Hi
    The requirement is to monitor the performance of a number of various transactions within our SAP System (ECC6).
    If a user accesses a transaction e.g. MM03 and enters a material and views the material, the performance statistics can be monitored by Basis.
    In my example above (MM03) I want to create the performance statistics every 30mins, but rather than than go into MM03 myself to create the performance statistics which can then be reported on, I want to automate the process of accessing MM03 and displaying the Material Master. (The same material each time)
    I have used transcation SCEM and SCAT previously to create a CATT to upload Plan Costs onto Projects.
    However each time, this had me running the CATT manually.
    Is it possible to create a Test Script that accesses a number of Master Data Display transactions to access a constant set of Master Data (I think this is possible), but can I get the Test Script to run automatically every 30mins...if so how?
    The whole purpose is to compare performance of a consistent set of transaction every 30mins
    Thanks
    Steve

    Hi,
    Sorry for wrong link:
    Have a look at below links which gives you PDF for eCATT.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/BCCATTOL.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCATTOL/CACATTOL.pdf
    Also have a look at below link.
    http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
    to start working on eCATT follow tru these links,
    eCATT- An Introduction
    /people/sumeet.kaul/blog/2005/07/26/ecatt-an-introduction
    Creating Test Scripts
    /people/sumeet.kaul/blog/2005/08/10/ecatt-creating-test-scripts
    eCATT Logs
    /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    eCATT Scripts Creation – TCD Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    Creation of Test Data Container
    /people/sumeet.kaul/blog/2005/08/24/ecatt-creation-of-test-data-container
    eCATT Scripts Creation - SAPGUI Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    Integrating ECATT & MERCURY QTP Part -1
    /people/community.user/blog/2007/01/02/integrating-ecatt-mercury-qtp-part-1
    Regards,
    Shiva kumar

  • Settlement Profile for Internal Order

    Dear Gurus
    What is a settlement profile for a internal order?
    Regards
    Kailash

    Hi Kailash,
    Settlement Profile is where you configure all the parameters to be considered and settlement to take place according to the.
    Main components of Settlement Profile are...
    1. Whether cost posted to Internal Order should be settled / should not be settled ( to the settlement receiver object)
    2. Allocation Structre, in which you give the source cost elements and receiver category and settlement cost element
    3. If more than one settlement receiver is given in the settlement rule of the Internal Order, on what proportion the cost has to be settled among them,
    4. What are the valid receivers to which the Internal Order can be settled etc...
    We create Settlement Profile and assign it in the Internal Order Type.
    For all the Internal Orders created using that Order Type, all the settlement parameters given in the Settlement Profile will be applied.
    Pls revert back if further explanation requried...
    Srikanth Munnaluri

  • Error while creating settlement rule

    We are trying to create a Settlement Rule for a Production Order for material 900010001 with following details:
    Cat:MAT
    Settlement Receiver:900010001
    % :100
    Settlement Type:FUL
    System is giving an error msg. no.KD063 'Distribution rule for an Article can only be created automatically'.
    Can anyone help us in analysing the same.
    We want that while creating a Production Order Settlement Rule shall be created by default for Cat:MAT & Settlement Receiver:900010001 (Material of Production Order).Can anyone guide us how the same can be achieved.
    With Rgds.,
    Rakesh Kumar

    Hi..
    please try this....Goto KSR2_VBP.
    THere are two strategies.. 01 and 02.
    01 for manual creation of settlement rules
    02 for auto creation..
    first check whether 01 and 02 are in your plant.
    Sales and distrib....basic functions......auto gen. of settlement rules.......
    here you ll find two activities.
    (1)maintaining the settlement strategies and
    (2)activating one among them.
    If you activate 02, your problem will be solved..
    Also check this..
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/a9/ab777d414111d182b10000e829fbfe/frameset.htm
    The settlement profile is to be defined for thee particular Order Type to generate automatically.
    Define Production Order Type in OPJH
    Under Cost controlling check the settlement profile .
    If not create the same in OPJH.
    Settlement Profile: Create settlement profile - SPRO > Controlling > Product Cost Controlling > Product cost by Order > Period End Closing > Settlement > Create Settlement Profile
    Enter Settlement profile from OPJH or Choose one for production order
    and configure Settlement profile. Indicators
    with wishes
    karthick.

  • Transaction for Settlement Profile

    Does any one know if there is a transaction code for Maintaining the Settlement Profile in Configuration? 
    Menu Path:  SPRO > Controlling> Product Cost Controlling > Cost Object controlling > Product Cost by Sales Order > Period end Closing > settlement > Create Settlement profile.
    Thanks

    Hi,
    T.Code: OKO7
    Assign Points if helpful.
    Regards,

  • BAPI needed to create Settlement Order through IW52..

    HI All...
    Is there any BAPI available for creating Settlement Order/Credit Memo Request through IW52 Transaction..???
    Regards
    Pavan

    Hi,
    check these BAPI/Function Modules
    BAPI_SETTLEMENTREQSLIST_CREATE
    MAT_ORDER_SETTLEMENT_CREATE
    Read the corresponding function module documentation.
    Feel free to revert back.
    --Ragu

  • Need Expert advice on choosing Source System for creating/maint Customers.

    Hi Experts,
    Iam on project where we have CRM,ECC(SD),FICA in the System Landscape.The client is currently using ECC(SD) Customer master for creating/maintainig Customer's.As we have CRM & FICA in this implementation, we are planning to propose that we use CRM as the source system for creating/maintaing Customers as Business Partners & Perform standard replication to the other system's in the landscape.
    The client has has asked us to confirm if having CRM as the source is the Best practice in the industry when we have this three systems (CRM,FICA,ECC(SD)) Landscape.I thought to get some expert advice on this & see if any of you have a similar project experience & share some views on this CRM BP vs ECC(SD) Customer Master.
    Thanks in advance!
    Regards,
    Naveen

    Hi,
       I believe it depends on your business senario.Here I can share some my experience for you.
    CRM As Source System
    Advantage:
    1) Choosing CRM as source system ,you can create several roles of customer for tracking the presales process of customer,such as prospect ,sold to party ,customers ,also you can define the life cycle of your customer and control which life cycle of customer should be replicated to ECC and which one should not.
    2)  CRM can have more views of customer and customer defined field (EEWB fields) ,so if you choose CRM as Source it will be more convenient  to create and fill in the all your user defined field .In other words ,choosing ECC as source you have to extend these field again in CRM .
    3) easy to maintain customer relationship
    Disadvantages:
    1) Have to extend Company code view of Customer data, since CRM do not have these view ,it is  just used for billing and integration with financial accounts.
    2)  have to extend some particular partner function of customer ,it is because of CRM it is only possible to create part of partner function automatically like SP ,BP  when business partner  is replicating to ECC.
    ECC As the source
    Oppositely, if you choose ECC as the source ,the advantage become disadvantage.
    Advantage :
    1) Can Easily to create customer's data of company code view
    2)  Can easily to assign any partner function to customer
    To conclude, if you only need to create sales order in ECC ,I believe choosing ECC as Lead system is better, since you do not have to extend customer data and easily to integrate with FICO and SD.Howerver, if you are going to create a sales order from opportunity or quotation ,CRM is your best choice.
    Regards ,Edward

  • Settlement profile not found for purchasing organisation 50000663 and BP

    Hi Experts!
    I hope you are fine.
    I need help with error in my TM. When I'm try generate Settlement Document, the system show me this message:
    I've already configured CHARGES PROFILE with this Purch. Org:
    My freight order type, is set for my FDS TYPE too:
    This is my configuration for FSD TYPE:
    This is my configuration for FREIGHT SETTLEMENT PROFILE:
    Anyone have idea why my settlement don't work?
    Thanks a lot.
    BD
    Renato

    Hello, Marcelo.
    Where I find this?
    Is it don't charge profile?
    Can you help me with this information?
    Thanks a lot.
    Best Regards.
    Renato

Maybe you are looking for

  • Why can't I locate airport extreme, WiFi HP 7520 all-in-one, and WD MyBook Live (ethernet cable to airport).

    I installed OS X Mavericks two days ago.  My computer will not access Airport Extreme.  I downloaded printer software for Mavericks for HP 7520 a wireless machine.  The HP 7520 can find Airport but my computer can find neither.  (A direct USB hookup

  • Ipod songs not showing up. HELP!

    i've been recently dying to get my 30 GB ipod back to the state it once used to be (really extended library before i had to send it back to get a new one) and just today, i turned it on to find that not one of my songs are there!!! my pictures, howev

  • Images in video become over saturated when exported

    When I export the project as an AVI the images in the video become over saturated, ie the skin tone of people becomes bright orange in some cases. Is there a setting to prevent this happening?

  • Trouble Uninstalli​ng In-Home Agent - Any suggestion​s?

    I did uninstall In-Home Agent, however, surprise surprise - apparently it did not uninstall completely and  has lots of activity showing in my firewall process monitoring.  Which is rather interesting considering I no longer have any FIOS services an

  • Exporting a subset of iTunes to my MBA

    I asked this questions in the iTunes section but got no responses.  I have limited disc space on my MBA but I do have plenty of space on my iMac. I'd like to export a subsets of my catalog and/or playlists to my MBA so that I can take at least some o