FM/BADI to create INFORECORD
Hi all,
I've searched a lot, but I'm unable to create an INFORECORD.
When creating a quotation, I need to check if the materials have an inforecord, if they don't have an inforecord I have to create it.
I'm using ME_PURCHDOC_POSTED badi to input my code.
How do I accomplish it?
Witch FM or BAPI do I have to use and how?
If you have some sample code, I appreciate it a lot!
Best regards,
Carlos Constantino
Hi Carlos,
I would like to suggest,
ME_CREATE_COND_INFOREC
INFORECORD_GETLIST - Display Purchasing Info Records
HR_ECM_CHECK_INFOTYPE_RECORD - Perform checks on compensation process infotype record data
CO_MK_IBAPI_GET_INFO_RECORD
MB_CHK_MATERIAL_FOR_INFORECORD
BAPI_INFORECORD_GETLIST - Display Purchasing Info Records
WSTN1_INFO_RECORD_BUILD - Fill data of the purchasing info records
I would also like to suggest a reference for the code,
[SDN - Standard Reference for adding inforecord price 2lis_o2_scl |How to add inforecord price to 2lis_o2_scl and coding required;
[SAP HELP - Standard Reference for Number for purchasing info record|http://help.sap.com/saphelp_nw04/helpdata/en/7b/71d238d7554c49e10000000a11402f/content.htm]
Hope that's usefull.
Good Luck & Regards.
Harsh Dave
Similar Messages
-
Required a Exit/Badi when creating a PO in Item Category Level
Dear Experts,
I want a Exit/Badi when creating a Standard Purchase Order in item Category level
when i am giving item Category as L (Subcontracting) Component Over view will have the material that material should come and sit into the item level .
Rewarded If it is Useful.Hi,
check these...
Enhancement/ Business Add-in Description
Enhancement
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001 Control Items for Contract Release Order
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MEETA001 Define schedule line type (backlog, immed. req., preview)
ME590001 Grouping of requsitions for PO split in ME59
M06E0005 Role determination for release of purchasing documents
M06E0004 Changes to communication structure for release purch. doc.
M06B0005 Changes to comm. structure for overall release of requisn.
M06B0004 Number range and document number
M06B0003 Number range and document number
Business Add-in
ME_PROCESS_PO Enhancements for Processing Enjoy Purchase Order: Intern.
ME_PROCESS_COMP Processing of Component Default Data at Time of GR: Customer
ME_PO_SC_SRV BAdI: Service Tab Page for Subcontracting
ME_PO_PRICING_CUST Enhancements to Price Determination: Customer
ME_PO_PRICING Enhancements to Price Determination: Internal
ME_INFOREC_SEND Capture/Send Purchase Info Record Changes - Internal Use
ME_HOLD_PO Hold Enjoy Purchase Orders: Activation/Deactivation
ME_GUI_PO_CUST Customer's Own Screens in Enjoy Purchase Order
ME_FIELDSTATUS_STOCK FM Account Assignment Behavior for Stock PR/PO
ME_DP_CLEARING Clearing (Offsetting) of Down Payments and Payment Requests
ME_DEFINE_CALCTYPE Control of Pricing Type: Additional Fields
ME_COMMTMNT_REQ_RE_C Check of Commitment Relevance of Purchase Requisitions
ME_COMMTMNT_REQ_RELE Check of Commitment Relevance of Purchase Requisitions
ME_PROCESS_PO_CUST Enhancements for Processing Enjoy Purchase Order: Customer
SMOD_MRFLB001 Control Items for Contract Release Order
MM_EDI_DESADV_IN Supplementation of Delivery Interface from Purchase Order
MM_DELIVERY_ADDR_SAP Determination of Delivery Address
ME_WRF_STD_DNG PO Controlling Reminder: Extension to Standard Reminder
ME_TRIGGER_ATP Triggers New ATP for Changes in EKKO, EKPO, EKPV
ME_TRF_RULE_CUST_OFF BADI for Deactivation of Field T161V-REVFE
ME_TAX_FROM_ADDRESS Tax jurisdiction code taken from address
ME_REQ_POSTED Purchase Requisition Posted
ME_REQ_OI_EXT Commitment Update in the Case of External Requisitions
ME_RELEASE_CREATE BAdI: Release Creation for Sched.Agrmts with Release Docu.
ME_PURCHDOC_POSTED Purchasing Document Posted
ME_PROCESS_REQ_CUST Enhancements for Processing Enjoy PReqs: Customer
ME_PROCESS_REQ Enhancements for Processing Enjoy PReqs: Internal
ME_COMMTMNT_PO_REL_C Check for Commitment-Relevance of Purchase Orders
ME_CCP_BESWK_AUTH_CH BAdI for authorization checks for procuring plant
ME_CCP_ACTIVE_CHECK BAdI to check whether CCP process is active
ME_BSART_DET Change document type for automatically generated POs
ME_BAPI_PR_CREATE_02
ME_BAPI_PR_CREATE_01
ME_BAPI_PO_CREATE_02
ME_BAPI_PO_CREATE_01
ME_BADI_DISPLAY_DOC BAdI for Internal Control of Transaction to be Invoked
ME_ACTV_CANCEL_PO BAdI for Activating the Cancel Function at Header Level
MEGUI_LAYOUT BAdI for Enjoy Purchasing GUI
EXTENSION_US_TAXES Extended Tax Calculation with Additional Data
ARC_MM_EKKO_WRITE BAdI: Enhancement of Scope of Archiving (MM_EKKO)
ARC_MM_EKKO_CHECK BAdI: Enhancement of Archivability Check (MM_EKKO)
ME_CCP_DEL_DURATION Calc. of Delivery Duration in CCP Process (Not in Standard)
ME_COMMTMNT_PO_RELEV Check for Commitment-Relevance of Purchase Orders
ME_COMMITMENT_STO_CH BadI for checking if commitments for STOs are active
ME_COMMITMENT_RETURN Commitment for return item
ME_CIP_REF_CHAR Enables Reference Characteristics in Purchasing
ME_CIP_ALLOW_CHANGE Configuration in Purchasing: Changeability Control
ME_CIN_MM06EFKO Copy PO data for use by Country version India
ME_CIN_LEINRF2V BADI for LEINRF03 excise_invoice_details
ME_CIN_LEINRF2R BADI for CIN India - Delivery charges
ME_CHECK_SOURCES Additional Checks in Source Determination/Checking
ME_CHECK_OA Check BAdI for Contracts
ME_CHECK_ALL_ITEMS Run Through Items Again in the Event of Changes in EKKO
ME_CHANGE_OUTTAB Enrich ALV Output Table in Purchasing
ME_CHANGE_CHARACTER Customer-Specific Characteristics for Product Allocation
No.of Exits: 35
No.of BADis: 55
Arunima -
Problem while creating Inforecord & Conditions
Hi all,
I need to create inforecords with conditions. I use 'ME_DIRECT_INPUT_INFORECORD' bapi to create inforecords. But i dont know how to create conditions related to inforecord. Help needed.
Regards,
Orhan
Edited by: goktasor on Jul 23, 2010 12:31 PMhi,
thank you guys. i solved own.
use ME_DIRECT_INPUT_INFORECORD to create inforecord.
then use BAPI_PRICES_CONDITIONS to create conditions related to it. -
ENTERPRISE SERVICES - BADI TO CREATE CUST. MASTER
Hi
Does any one know of a BADI to create company code data for a customer master using enterprise services.
(as there seems to be no services to do this)
Regards
SrinivasI think you want a BAPI, not a BADI.
In your ECC system, enter the transaction BAPI and look at all the methods available under the Customer object. -
Badi before create Business Partner
Hello Expert !!!
when I create Business Partner in transaction BP , I have to add attribute set in tab marketing attributes everytime (depend on role that i create ).
I want to program for automatic update attribute set .
Do you know the Badi that i can code in that ? Badi before create Business Partner?
please help me
advance thanks,
kritamatehey everyone !!!!
this all code in Badi Partner_update :
method IF_EX_PARTNER_UPDATE~CHANGE_BEFORE_UPDATE .
FIELD-SYMBOLS: <ls_but000_new> TYPE but000,
<ls_but050_new> TYPE but050.
CONSTANTS: lc_object_type TYPE crmt_prt_otype VALUE 'BUS1006'.
DATA: lt_changed_object_guids TYPE crmt_ace_object_guid,
lt_new_object_guids TYPE crmt_ace_object_guid,
ls_object LIKE LINE OF lt_changed_object_guids,
lt_but000_old TYPE STANDARD TABLE OF but000,
lt_but000_new TYPE STANDARD TABLE OF but000,
ls_but000_old LIKE LINE OF lt_but000_old,
lt_but050_new TYPE STANDARD TABLE OF but050,
lt_but050_old TYPE STANDARD TABLE OF but050,
ls_but050_old TYPE but050,
lv_partner_guid TYPE bu_partner_guid,
lt_return TYPE STANDARD TABLE OF bapiret2,
lv_tabix TYPE sy-tabix.
CLASS cl_bsp_bp_accmod DEFINITION LOAD.
business partners ************************************************
CALL FUNCTION 'BUPA_GENERAL_CALLBACK'
TABLES
et_but000_old = lt_but000_old
et_but000_new = lt_but000_new
EXCEPTIONS
OTHERS = 0.
BP new or changed?
LOOP AT lt_but000_new ASSIGNING <ls_but000_new>.
ls_object-object_guid = <ls_but000_new>-partner_guid.
READ TABLE lt_but000_old INTO ls_but000_old
WITH KEY partner = <ls_but000_new>-partner.
New BP created
IF sy-subrc NE 0 OR ls_but000_old-client IS INITIAL.
COLLECT ls_object INTO lt_new_object_guids.
BP changed
ELSE.
COLLECT ls_object INTO lt_changed_object_guids.
ENDIF.
ENDLOOP.
data BP_guid type CRMT_TG_BP_GUID.
DATA: L_ATTRIBSET TYPE CRMT_PROF_TEMPLATE.
DATA : LW_VALUE TYPE CRMT_MKTPROF_COMW.
DATA: T_VALUE TYPE TABLE OF CRMT_MKTPROF_COMW .
DATA: T_RETURN TYPE TABLE OF BAPIRET2 ,
LV_BP_PERSON TYPE BU_PARTNER.
CONSTANTS: C_ROLE(5) VALUE 'ZMROL'.
L_ATTRIBSET = C_ROLE.
BP_guid = ls_object-object_guid. .
LW_VALUE-ATNAME = 'ZMRO0001'.
LW_VALUE-ATWRT = 'Z11'.
INSERT LW_VALUE INTO TABLE T_VALUE.
*LV_BP_PERSON = '20001678'."<ls_but000_new>-partner .
CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
EXPORTING
iv_profile_template_id = L_ATTRIBSET
IV_BP_GUID = BP_guid
IV_XDESCR = ' '
IV_FCODE = 'C'
IV_MSA = 'X'
IV_COMMIT = 'X'
IV_PARTNER = LV_BP_PERSON
IV_CONVERT_VALUES = 'X'
TABLES
IT_IMP_SELTAB = T_VALUE
ET_RETURN = T_RETURN.
if sy-subrc <> 0.
endif.
endmethod.
message Shotdump :
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
i don't what happen . Maybe because it cannot use this function in badi . I don't know . if you know ,please help
advance thanks ,
kritamate -
User-Exit or BAdI for creating a PR in MRP and in ENJOY
Dear experts,
I have the following problem:
PR are created in 2 ways in our system.
a) Manually in ENJOY transitions (ME53N)
b) via MRP run (MD04, MD15,...)
My request is to fill the field "vendor material number" in the PR with the value of the connected InfoSet record (if there is one).
For PRs that are created manually (a) ) I achieved this very easy by using the BAdI ME_PROCESS_REQ_CUST and the method PROCESS_ITEM. there I read the infoset record and I fill the fields as required.
Unfortunately the BAdi is not used when a PR is created by using MRP. I then tried to use the user exit SAPLMEWQ with its component EXIT_SAPLMEWQ_001. but as far as I can see this exit is not used in MRP as well.
Does anyone has a hint for me how I can achieve this functionality for the MRP run as well?
thanks!
AlexHi,
I have implemented the BAdi as you suggested.
In the method IF_EX_MD_CHANGE_MRP_DATA~CHANGE_MDPSX_EBAN I have set a breakpoint to see if I stop there if I create my PR.
I have starte a MRP run (report RMMRP000) and then I transferd my planned order to a PR in transaction MD15.
Unfortunately the PR is created without the program to stop.
what am I doing wrong? or am I missing something?
best regards, and thanks for any help!
Alex -
Need help in work order save BADI and create BAPI
hi expert
Our issues are below list
1. When release and save the work order ,the standard BADI(WORKORDER_UPDATE) have not the parameters about service information . (for this issue , chunfai had give a solution ,we are testing it )
2. When we create work order by BAPI(BAPI_ALM_ORDER_MAINTAIN), the BAPI canu2019t provide the parameters about service information .we canu2019t create WO including service data.
3. When we update work order by BAPI(BAPI_ALM_ORDER_MAINTAIN), the BAPI canu2019t provide the parameter about service information . we canu2019t update WO including service data.
could anyone can provide some suggestion for above question ? thanks for a lotPlease check BADI IBAPI_ALM_ORD_MODIFY its method has a parametrs CT_HEADER_SRV and CT_HEADER_SRV_UP you can pass your data here...
Lets say this BAPI you are calling in custom program than if you donot see any parametrs where service data can be passed then you can export the data before calling bapi and import in this badi implementation and complete your task..
Please check BAPI and BADI documentation for more details
Even BAPi has these two parameters.
Nabheet
Edited by: nabheetmadan09 on Jan 11, 2012 2:08 PM -
What is the BADI to create a new tab in ME21N transaction
Hi,
I have created a new document type zbr with the transaction spro.
I wanted to add a new tab for the given document type zbr. How to create a new tab for the document type.
How to create a new tab using BADI. what is BADI used to create the tabHi,
Pls check BAdI 'ME_GUI_PO_CUST' for your reqmt.
Pravat.
<i>*Reward points if helpful</i> -
Using exit/BADI to create settlement for the Transaction COR1
Hi Experts,
My Requirement is when we are creating Process Order in the Transaction COR1, Settlement Rule will be automatically created by using some User Exit or BADI to assign the cost centre, account assignment category, and settlement percentage for the setup to the Settlement Rule.
I have tried with the User Exit: EXIT_SAPLKOBS_001 Enhancement COOM0003 and also tried with EXIT_SAPLCOI1_027 enh. IWO10027.
The Problem is above mentioned User Exit are not triggering though I have activated project.
What is wrong with my exit or please let us know correct User Exit or BADI?
I appreciate every help.
Thank you.
NimaiTry with below Exits related to COR1 transaction.
Exit Name Description
CCOWB001 Customer exit for modifying menu entries
COIB0001 Customer Exit for As-Built Assignment Tool
COZF0001 Change purchase req. for externally processed operation
COZF0002 Change purchase req. for externally procured component
PPCO0001 Application development: PP orders
PPCO0002 Check exit for setting delete mark / deletion indicator
PPCO0003 Check exit for order changes from sales order
PPCO0004 Sort and processing exit: Mass processing orders
PPCO0005 Storage location/backflushing when order is created
PPCO0006 Enhancement to specify defaults for fields in order header
PPCO0007 Exit when saving production order
PPCO0008 Enhancement in the adding and changing of components
PPCO0009 Enhancement in goods movements for prod. process order
PPCO0010 Enhancement in make-to-order production - Unit of measure
PPCO0012 Production Order: Display/Change Order Header Data
PPCO0013 Change priorities of selection crit. for batch determination
PPCO0015 Additional check for document links from BOMs
PPCO0016 Additional check for document links from master data
PPCO0017 Additional check for online processing of document links
PPCO0018 Check for changes to production order header
PPCO0019 Checks for changes to order operations
PPCO0021 Release Control for Automatic Batch Determination
PPCO0022 Determination of Production Memo
PPCO0023 Checks Changes to Order Components
STATTEXT Modification exit for formatting status text lines
Regards,
Saurabh -
FM/BAPI/BADI to create Request For Proposal from Puchase Requisition?
Can somebody suggest me some some function Modules, BAPI's or BADI's to create a RFP from Purchase Requisition?????????
done
-
Which program / BADI to create a PR after shopping cart in backend R3
Hi SRM experts
In our system after shopping cart creation a purchase requisition get create in backend system R3.
Some how ADDRESS number field not get populated in Purchase requisition at the item level under deliery address tab.
I need to debug the process to find out the reason.
I want to know which program and BADI is responsible to create the PR in backend.
How can i debug this scenario. I am not sure on this.
Please help me.
Thanks
SandeepHi
Depend upon your backend version this class may called to create a PR
CL_BBP_BS_ADAPTER_RQ_CRT_31I Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_40B Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_45B Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_46C Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_470 Adapter for Backend Purchase Requisition
CL_BBP_BS_ADAPTER_RQ_CRT_ERP10 Adapter for Backend Purchase Requisition
method create_document
ADDR_SHIPT - Are you maintaing this attribute in SRM - This is a delivery address in r/3
regards
Muthu -
Hi
We are using the ECS.But for some material groups we want to use classic scenario where the SC created a PR in the backend.
The BAdis activated are BBP_CREATE_BE_PO_NEW and BBP_EXTLOCALPO_BADIHi
You can do it technically by making use of BADIs using SE18 Transaction.
Use
BBP_TARGET_OBJECTS BADI.
or
You can use the Business Add-In BBP_TARGET_OBJTYPE if you wish to implement a different logic for creating documents in the backend system.
The following documents can be created:
->Purchase requisition
->Purchase order
-> Reservation
<u>Solution using Functional Settings</u>
<b>SPRO Configuration Path in SRM system.</b>
<u>Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Define Objects in Backend System (Purch. Reqs, Reservations, Purchase Orders, etc.)</u>
Regards
- Atul -
User Exit / BADI while creating Purchase Requistion
Hi,
I am trying to find a BADI that would get triggered before the purchase requisition gets created (so that I can edit the storage location). I observe that purchase requisitions could be created with transactions like MD41 or while creating a sales order (events trigger MRP in background ?)
I tried to find the relevant BADIs using the transaction MD41 and function module SXV_GET_CLIF_BY_NAME and found the following BADI definitions but was not too sure which one to use in the case. Could anyone help
MD_MRP_PARAMETERS
MD_CHANGE_MRP_DATA
MD_ADD_ELEMENTS
MD_MODIFY_SOURCE
MD_ALTERN_EXPLOSION
MD_LAST_LOT_EXACTUsed the BADI MD_PURREQ_CHANGE
-
Designing a BADI to create purchase order based on purchase requistion
Hi..
i ve to design a badi such tat whenever an order is placed it shld create a purchase order based on the purchase requsition..
its like a user exit thru a BADI.
theres somethg called a shoppg cart ... thru tat when we enter.... it creates a purchase requisition and without purchase order.... delivers itHi,
U can use the BAPI 'BAPI_PO_CREATE1' to create the purchase requisition. -
Gurus,
I want to create SO after Scheduling agreement creation.
I am trying to do it using BADI: ME_PURCHDOC_POSTED method Posted.
I've implemented it, and it is getting called, I am trying to create SO using SO create BAPI in the BADI.
though the same code of SO creation with schedule line Through BAPI working fine with reports, its not able to create SO with schedule line when i use it in BADI.
Point rewarded for any help.
Rgs
Ashok.
Edited by: Ashok Gupta on Mar 30, 2008 5:20 PMi've done it.
Maybe you are looking for
-
Importing Word Docs with Images into RH7
Hi All, I have a large Word doc which is full of images and text that I want to import into RH7. I've tried it and tried it, even converted it to PDF and tried it, but I don't get any of the images imported. I've discovered the images folder, but the
-
OIS 7.0.6 and I Phone 5
After installing the latest version of Itunes onto my mac that i bought in the new year sales I have found that the new version of itunes will not fully sync with any new music i have added to itunes. When we first had the mac, it would whizz though
-
I used to run ichat though Aim, I just purchased a new mac mini and I am able to socialize then different wasy except Ichat through aim. It's very important that i use this because it's the only way to keep up with my professors, colleages and family
-
Error: Unsupported Java type for item #1 of INTO-list: java.sql.Blob. What be the fix? tia, [email protected]
-
My "buggy" iPhone 3G finally turned into a brick!
Yep, about an hour ago my new 3G that has been very buggy finally died. Just the apple logo on the screen. itunes will not see it and resets do nothing. I guess it was just a matter of time.....