Creation of conditions via FM?

Hi there,
I want to create conditions for a given purchase info record. Is there any function module that can be easily used to create them? Perhaps you have also an example coding for such a function/BAPI-call?
I wanna avoid using Batch Input if possible...
Thank you so much and I will reward you...
Regards

Hi,
try to use BAPI_PO_GETDETAIL.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.

Similar Messages

  • Creation of condition table without copy

    During creation of Condition table ( without copying any condition from available tables), Is it possible to see all field catalouges available? and if possible then how can we see all fields available to add desired ones into our table?

    Hi,
    SPRO >Sales and Distribution->Basic Functions>Pricing>Pricing Control-->Define Condition Tables
    In the above menu path you can find out the Field catalog what SAP has given if you want to add new field you can add provided
    If you done the Enhancements
    Regards,
    Prasanna

  • Creation of condition record (MEK1) for freight w.r.t. vendor in STO

    I am working in ECC 6.0 environment. My requirement is to fetch value of freight automatically w.r.t. selected vendor in condition while creation of STO.
    How can i define condition record by MEK1 for the same? Which access sequence needs to be assign to freight condition for creation of condition record of the same so system can fetch value of freight in STO w.r.t. vendor?

    hi,
    Create one access sequence for freight conditon with follwing table and assign the same that access sequnce to condtion .
    665     Vendor/Customer/Material
    716     Vendor/Plant/Material
    give the fright accout key for valution with FG cost add and seperate GR/IR vaules for vendor payment.
    while purchase order update conditon and in the view detial mentain transporter vendor for the same .
    pass the miro ref planned delivery cost
    Sans.

  • Submit new Item Conditions via Function Module BAPI_PO_CREATE1

    Hi all,
    I have problems using FM BAPI_PO_CREATE1.
    I want to transfer Item conditions via FM, but I am not able to change the netprice via FM, my Conditions are not displayed within the Item (only netprice of Item is displayed).
    I create POs out of a SRM System via FM BBP_PO_INBOUND (which calls BAPI_PO_CREATE1).
    My question:
    Has anyone an example how to fill in data within table POCOND so that my PO item contains for example a gross price and a rebate.
    I am stucked, I can´t find the solution to create item conditions via FM BAPI_PO_CREATE1.
    Any examples?
    Thanks a lot
    Regards
    Andreas

    Problem resolved
    I used the FBGENDAT param in R/3 system to generate test data automatically, compare the data and finally I found my error.
    --> OSS note 539978
    Regards
    Andreas

  • Block the creation of vendors via the "extend vendor" function

    Is it possible to block the creation of vendors via the "extend vendor" function?  Currently, a number of vendors have been created in this way and are 'shared' across different markets.  This has created a control risk on master data, so I am investigating if it is possible to restrict the process.
    Please suggest
    Thanks
    Mani

    Hi:
               Initially your requirement was just to detain user from creating vendor using reference vendor as given in XK01 under reference (Vendor number and co code & Purchasing organization). Through SHD0 you were able to suppress these three fields ( if i am right? correct me here). If its Ok then system has stopped you from creating vendor using reference of another already created vendor. As far main vendor number and co code and purchasing org fields are concerned that appears on the top of XK01 please note that Vendor number field is only used when you use external number range for this vendor account group ( check number range assigned to the vendor account group in OBAS and then check it in XKN1 if is set as external or internal number range). If you have activated internal number range then nothing needs to be given in Vendor number field and system will generate vendor number internally and this can be suppressed otherwise if you are using external number range the system will create vendor as given by you in Vendor in main screen of XK01. Hence it depends on the process you are using in your company for vendor master data creation.
    Regards

  • Creation of notification via BAPI

    Hi Guys,
    I'm working in ECC 6.0 version. i have found a BAPI 'BAPI_ALM_NOTIF_CREATE' to create a notification. When i'm creating the notification through IW21 by passing notification type and functional location, i'm able to create a notification
    But when i'm passing the same parameters to the BAPi,  its neither returning any error record nor the notification is getting created.
    Has anyone worked on the creation of notification via BAPI
    Thanks in advance

    Thanks martin and ravi.
    i have got the solution. Just thought of sharing with you guys.
    After calling the BAPI passing the parameters notification type and functional location, a field NOTIF_NO will be returned which you have to pass to the BAPI 'BAPI_SERVNOT_SAVE
    thats it
    Thanks a lot

  • Inbound delivery creation in STO via EDI/Idoc

    Hello experts,
    My requirement is like this:-
    Stock transfer order is created for supplying plant 2000 & receiving plant 2010.
    When the supplying plant 2000 posts an outbound delivery & PGI, at same time an Inbound delivery should be created in receiving plant 2010.
    I know theoretically that this is achieved by making confirmation settings & output types. But don't know exactly how to configure it.
    Can you please mention the process?
    I have referred the scn threads:
    Outbound Delivery to Inbound delivery by using IDOC
    how to configure the message control for DESADV
    SAP note 111903
    Receiving Vendor Confirmations via EDI - Purchasing (MM-PUR) - SAP Library
    But there is lack of clarity from my side.

    You do not need to use EDI messages to get an inbound delivery created when a PGI is done on the outbound delivery.
    Search for the config on the SPED output type. This SPED output message can be triggered during the PGI which results in the creation of an inbound delivery in the receiving plant.
    The receiving plant will have to maintain the confirmation control key 0004 at item level in the purchasing document.
    Link to SAP help Automatic Creation of Inbound Delivery - Transfer and Inventory Management - SAP Library
    Refer SAP note 1119073 point 3 and note 965176
    Regards,

  • Creation of condition index

    I created a condition table with one field "KUNRE - Bill-to party" to use as a condition index. 
    When I tried to access the table via path
    IMG > SD > Basic functions > Pricing >  Maintain condition index > Maintain condition tables for index
    I am getting an error "Table F 904 not Available - Message # VK016"
    Can you help in creating a condition index with example.
    Thanks,

    Hi Rama,
    This may help:
    http://help.sap.com/saphelp_40b/helpdata/en/93/743387546011d1a7020000e829fd11/content.htm
    Cheers

  • Difference B/W creation of  STO via ME21N  and  ME27

    Dear all,
    The requirement is to create a STO via transaction ME21N.
    I am doing so using BDC Recording. But I believe that BDCs can not be used for creation of Application Documnets using Enjoy transactions.
    For the same reason I tried to create the STO via ME27 but there wre certain fields
    which I require to populate are not available in this transaction.
    Can u please let me know what is the difference between the above transactions ?
    Kindly help.

    Hi karthick,
    This 'F' has no meaning like 'N'.
    But i think.. these are stands to denote application area.
    F- for pruchase order
    A- for RFQ
    etc....
    ME91F - Purchase Orders: Urging/Reminders
    ME91A - Urge Submission of Quotations
    ME91 - Purchasing Docs.: Urging/Reminding
    ME91E - Sch. Agmt. Schedules: Urging/Remind.
    See these all are for different purpose.
    Regards
    Sreekanth

  • Talent Management - Creation of forms via wizard

    Hi all,
    After creation of forms (Competency, Development Plan etc) via the wizard, the form is unable to be re-released after cancelling release. Is there anyway I can do that? I need to do some minor changes to the form (adding additional links) but unable to re-release it after changes.
    Please help.

    Hi Eric,
    I'm afraid to say that your comment is correct.
    You could look at enhancing the WDA HRTMC_DEVELOPMENT_PLAN.
    Best regards,
    Luke

  • Vendor Credit Memo creation in SAP via IDOC Interface (Inbound)

    Hello Team,
    I have a client requirement to create Vendor Invoices & Credit memo via Idoc Interface. Iam using INVOIC02 idoc type for posting Invoices and could able to create the invoice successfully. For credit memo , I'm aware that we can use the same idoc type (INVOIC02) and need to pass CRME value for the segment field BSART.
    What i need is a sample Inbound INVOIC02 idoc file for credit memo to identify the required fields for successful credit memo creation.
    Regards,
    Vijay

    Hello Team,
    I have a client requirement to create Vendor Invoices & Credit memo via Idoc Interface. Iam using INVOIC02 idoc type for posting Invoices and could able to create the invoice successfully. For credit memo , I'm aware that we can use the same idoc type (INVOIC02) and need to pass CRME value for the segment field BSART.
    What i need is a sample Inbound INVOIC02 idoc file for credit memo to identify the required fields for successful credit memo creation.
    Regards,
    Vijay

  • New field creation in Condition Table?

    Hi Gurus
    I want to know whether it is possible to add a new field in field catalogue whle creating a condition table. I want to add Chapter Id of the material.
    Thanks
    Rishi

    Hi Rishi,
    Follow below example-
    Add a Field To New Condition Table in Pricing
    Add a field to a new condition table in Pricing (Condition Technique):-
    I will explain you the process with below example...Please follow steps in below sequence-
    Try to add the filed from the field catalog.  In case the required combination field is not there, you can add the field through the following process to filed catalog and create the condition table.   It is most common that one or other time we need to use this function while configuring multi tasking & complex Pricing Architecture.
    Here I'm giving a simple guide to add fields to the Pricing Field Catalogues:
    For example you want to use field PSTYV ('Sales document item category') that is included in structure KOMP ('Pricing Communication Item') as a key for a condition table.
    When you create a condition table (Transaction V/03), however, the system does not propose the field in the field catalog.
    Condition access, field catalog, allowed fields, KOMG, KOMK, KOMP, KOMPAZ, KOMKAZ, PSTYV are the other terms which we need to know about, to add Fields.
    Reason and Prerequisites: 
    For technical reasons, field PSTYV was included in structure KOMP, however, not in structure KOMG ('Allowed Fields for Condition Structures').
    Proceed as follows:
    1. Call up the ABAP Dictionary (Transaction SE11) and create data type ZZPSTYV. Choose PSTYV as a domain.As a short text, you can use, for example, 'ZZ - sales document item category' and as a field label, you can use the field labels of PSTYV.Save, check and activate your entries.
    2. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry:
    Component Component type:
    ZZPSTYV ZZPSTYV
    Save, check and activate the change you made.
    3. Note:Because of the change in structure KOMPAZ, field ZZPSTYV is now known in structures KOMG and KOMP because structure KOMPAZ is included in both structures.
    4. Call up Transaction SPRO. Navigate to 'Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control' and execute 'Define Condition Tables'.
    Choose 'Conditions: Allowed fields' and include ZZPSTYV as a new entry.
    5. Note:Now you can use field ZZPSTYV as a key field when you create a condition table Axxx.
    6. Supply the new field you defined by including the following source code line in USEREXIT_PRICING_PREPARE_TKOMP:
    MOVE xxxx-PSTYV TO TKOMP-ZZPSTYV.
    In order processing you find the user exit in Include MV45AFZZ, and in billing document processing you find it in Include RV60AFZZ.
    Consider that you can also use this note as a help if you want to use other customer-specific fields as key fields in a condition table.
    For header fields, use structure KOMKAZ instead of structure KOMPAZ and
    USEREXIT_PRICING_PREPARE_TKOMK instead of
    USEREXIT_PRICING_PREPARE_TKOMP.
    For more information, see Transaction SPRO via the path 'Sales and Distribution -> System Modifications -> Create New Fields (Using Condition Technique) -> New Fields for Pricing' and OSS Note 21040.
    Regds
    MM

  • Automatic creation of PO via PR

    Hi all , I have created PO automatically via PRs
    Example
    Item A    50 Pcs    by   Requisitioner 1
    Item A    20 Pcs    by   Requisitioner 2
    I observed that system creates 2 line items for each requisitioner .
    I want PO to be created of 100 Pcs consolidated . and in tem details on deliveryschedule tab it will show the break up of this 100 PCs .
    How I can make it possible

    Hi Bhushan,
    This consolidation of requisition qty is possible only when the delivery date of each PR is matching.
    System will consolidate the requirement if it finds the common criterions like purchasing group, plant, company code etc.
    So in ur case if u want to combine  the PR's qty in single line item, u need to have common delivery date.
    Then only it is advisable to combine the qty of each common item from the PR's.
    Check it by changing the delivery date same for the item.
    Thanks,
    Ravi

  • PR creation ERROR: SAPSQL_ARRAY_INSERT_DUPREC via PS

    When I create a Purchase Requisition via project systems, I get this error ERRO info 00671: Abap/4 processor: SAPSQL_ARRAY_INSERT_DUPREC. I configured a new PR document type and assigned a number range to it, I transported it o QAS and then PRD, I didnt test PS in detail, when I use base unit % there is not problem, but when I use PC and ROL, then I get an Update was terminated ERROR. How do i fix this?
    Please give directive on which transactions or path I have to use to fix it.
    Thank you.

    Hi,
    If you are using some badi or exit, check the process by de activating the same.
    If same results are coming, then check OSS notes applicability in your case. (e.g. 148828, 193580 etc)
    Other wise take help from OSS message, since this problem mainly occures due to program error.
    Regards,
    Manoj

  • Creation of condition records in general tab of BP transaction

    Hi Experts,
    I wanted to add condition records to a BP in condition tab of general data through BAPI. I tried to look for available BAPIs and could not find one. Is there any BAPI or FM to achieve this.
    Thanks in Advance.

    Hi Syed,
    Try using the function module 'PRC_PRIDOC_PUT_OB'.
    I have not tried it yet. But please try it and let me know the results.
    Regards,
    Sreeraj
    Edited by: Sreeraj Pulickal on Jul 13, 2011 4:04 PM

Maybe you are looking for

  • Some items are grey on my iPad when in iTunes, but do not show up on my iPad

    There are 3 TV shows that I loaded previously onto my iPad.  I've deleted all three, but everytime I connect my iPad to my computer, the 3 shows are still present according to iTunes, though the titles are grey, not black.  I can delete them, in the

  • FBL1N FBL3N FBL5N questions

    Hello all, I want to extract data from SAP to perform reconciliation and prepare a report in other tool. (extract data and import in other database etc..) The report is very basic but I still have a hard time to test the integrity of the data that I

  • ?  Printing a PDF file to Adobe PDF messes up everything

    Here are three questions that may be related to each other.  I've wanted to ask them for a long time but kept hoping they would somehow resolve themselves.  Any advice would be appreciated. 1. When I print a PDF file to Adobe PDF as an image, the bla

  • Sys Tables In Stored Procedure

    How can I use Sys Table in Stored Procedure. I want to use DBA_TAB_COLOUMNS, in stored procedure. When I used this table in stored procedure I got an error ORA - 00942 Table or View Does not exists. Thanks, Ahamed

  • Question error message 150:30

    error message 150:30--can't access EDIT--can do ORGANIZE--message says "license stopped working"