Function module for maintaining a PM order
Hi all,
We are working in version 4.6 C. The BAPI to maintain a PM order 'BAPI_ALM_ORDER_MAINTAIN' is not available here. Is there any other function module/ BAPI which I can use to maintain the PM order.
Any pointers related to this would be appreciated.
Regards,
Manasee
Hi,
You can download them i guess, and you can upload
OSS Note <b>655926</b> is important.
check this thread.
Re: BAPI for service order create/change
Regards
Vijay D T T
Similar Messages
-
Function module for detailes description of Order and long text in task
Hello gurus,
please help me with Function module for detaile description of Order and long text in task list(operation Tab)?
regards,
YKHi,
You should be able to read the Order short text directly from table AUFK. The Order long text or task list long text can be read by using FM "Read_text". Use Goto> Header on every long text screen to identify the parameters that need to be passed hen using this FM.
Regards
Narasimhan -
BADI or function module for updating open purchase orders
Hi all,
Does anyone know of a BADI or function module which can be used for updating item prices in open purchase orders?
All helpful answers are highly appreciated!
Regards,
MV1 ) execute this program in se38 .enter the input as transaction code for which you want list of User
Exit.
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP® User Exits exists.
*& Tables
TABLES : tstc, "SAP® Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP® Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP® Modifications
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
2) Second way is to go to transaction code SE93 .enter transaction code click on display.
There you will see the package. Copy that package name.
Go to transaction code se84
Enhancements -customer exits-enhancementsu2014enter package there and execute.
You will get list of exits.
3) BAPI for PO change is
BAPI_PO_CHANGE -
BAPI or Function Module for getting Pending Purchase Orders Information
Dear Sir,
We have input information comprising of :
List of Item Codes
Plant
WBS Element
For this input data set , We want to know the list of Pending Purchase Orders information . To get the desired information , we are looking for the suitable BAPI / Function Module which can provide the desired information .
I understand that there is ME2L tcode availavle which can give the desired information .
But as we need to use the information in one of our Z program , so we need the BAPI / Function Module .
Kindly help us to know the suitable BAPI / Function Module available for getting the desired information .
With Thanks and Rgds
Sonia AgarwalHi
Check if this is helpfull:
BAPI_PO_GETDETAIL
BAPI_PO_GETDETAIL1
regards, -
Function module for status of sales order
My reuirement is as follows,
"Using the Objnr field(vbak), read the status of the sales order using the Function Module."
So,please send me any existing Function module name to get status of sales order using Objnr field in vbak.
Its so urgent!
Thanks & Regards,
Santu.Hi
Check the given requirementcorrectly once again
Because for sales order we don't use the field OBJNR (object no) to find the ststau
Generally we use this field OBJNR for finding the Status of the PP,PM related Orders.We will take the OBJNR from AUFK table and Pass it to the JEST table
and will read the STATUS of the Order
So for sales order we don't have that field OBJNR
if needed use the BAPI BAPI_SALESORDER_GETSTATUS to find the sales Order status
Or use the table VBUK to find the Sales order status.
Hope you understood the concept.
Reward points if useful
Regards
Anji -
BAPI or Function Module for Creating a service order
Dear developers,
i want to create a service order in CRM from a web-based BSP application. Which function modules or bapi's can be used for this?
Has anybody still did something like this?
Regards,
JensHi,
U can use CRMXIF_ORDER_SAVE FM to create the service Order.
Regards,
Ajay Gupta
Reward points only if it helps -
Function module for reteriving Purchase order values
hi,
I there any function module for reteriving the Purchase order Valuesbetter to put ur logic /requirement on table EKKOEKPOEKBE.
Regards
Prabhu -
Function module for submitting order in CRM B2B
Hi Experts,
we are customizing the CRM B2B functionality. as per our reqruirement, we have 3 types of orders (docuemnts) to submit. for each order we have differnt extra fields data need to be sent to the back end system in the Header level and item level.
In this case still we can not use the standard function module to submit the document.
need to use the same standard functiona module or need to create the z function module for submitting all three orders.
Please advice.
I have another question. What the standard functiona module name for submitting the order?
Adavance ThanksHI
We need not create any custom FM to send in extension data. Just extend the class which is called on save and overirde the
customer exits available there.
From the sales document object get header and itemlist.
ItemList itemsData = salesDocument.getItems();
HeaderData header = salesDocument.getHeaderData();
header.addExtensionData();
ItemSalesDoc[] items = itemsData.toArray();
for (int k = 0; k < items.length; k++) {
ItemSalesDoc item = new ItemSalesDoc();
item = items[k];
item.addExtensionData();
The header and item extension datas will be available in the respective place holders in the methods in BADI
CRM_ISA_BASKET_ITEMS CHANGEITEMS_BEFORE_ORDER IT_EXTENSION
CRM_ISA_BASKET_HEAD CHANGEHEAD_BEFORE_IL IT_EXTENSION
The method name and place holder in backend also given above.
Hope this helps
Regards
Antony -
Functional module for automatic creation of pur requisition & pur order
hello,
what is the functional module for automatic creation of puchase requisition and automatic creation of purchase order which we will assign in action box in service order processing management.
please let me know as early as possible
regards,
rajesh kumar rajuHi,
Please check with following.
IDOC_INPUT_ACC_PURCHASE_REQUI
IDOC_INPUT_ACC_PURCHASE_ORDER
/ISDFPS/OR_PURCHASE_ORDER_CR
BS01_PURCHASE_DOCUMENT_CREATE
CO_MP_CREATE_PURCHASE_ORDER
Thanks & Regards
Sadhu Kishore -
Function module for open sales order and open PO
hi all,
can anyone please tell me that is there any function module to get open sale order and also for open purchase order?
regards saurabh.Hi ,
In EKPO Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and Purchase Order Qty.
In MSEG Table u select this fields Purchase Document no and Item no of Purchsing Document , Material no , and Qty.
Both Tables having Purchase Document no , So Purchase Doucment no throguh u will get the Material and qty , Finally u Subract the both Material Qty's .
u will get the Open Po For particular Material.
If ur not getting ,Inform me .
Regards ,
Shankar GJ -
Function module for calculating planned and actual cost of production order
Hi ,
Do we have any standard function module for calculating planned and actual cost for production order?
i need to implement this in a Z-report.
Thanks
SriniHi,
try below function module
CRMCO_GET_PLAN_ACTUAL_COSTS
CO_IH_GET_PLANNED_COSTS_TOTAL
Regards,
Sankaran -
Function Module for open Purchase Order & Sales Order?
Hi, commonly I read the data from tables and calculate the open quantity for sales order and purchase order, but I want to know, are there any standard function modules for getting the list of open "purchase order" and "sales order" respectively?
Thanks and Regards.hi Ren,
u can check all these bapi's related to salesorder
BAPI_SALESORDER_CHANGE Sales order: Change Sales Order
BAPI_SALESORDER_CONFIRMDELVRY Sales Order: Confirmation of Delivery; Document Flow Update
BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
BAPI_SALESORDER_GETLIST Sales order: List of all Orders for Customer
BAPI_SALESORDER_GETSTATUS Sales Order: Display Status
BAPI_SALESORDER_SIMULATE Sales Order: Simulate Sales Order
May be this FM can help you
MB_ADD_PURCHASE_ORDER_QUANTITY (Reading and adding open purchase order quantities)
Regards,
Naveen -
Function module for Open Sales Orders.
Can u any one tell me is there any standard function module to
retrieve OPEN-SALES orders. I tried to debug VA05 but not of use...
Thanks in advance,
Sanjay.hi
you can get open sales orders from vbuk and vbup
SELECT
A~VBELN
A~GBSTK
B~GBSTA FROM VBUK AS A
INNER JOIN VBUP AS B
ON AVBELN = BVBELN INTO TABLE T_OPENS
FOR ALL ENTRIES IN T_VBELN WHERE A~VBELN = T_VBELN-VBELN
AND A~GBSTK IN ('A','B')
AND B~GBSTA IN ('A','B').
in t_vebeln table is haveing sales orders by user selection you can get it like this
regards,
varma -
Need functional module for service order
hello,
while creating service notification i want to create service order automatically.for that i need a functional module which is the key funtion to process creation of transaction in the background. i want the name of that functional module to create iw31 service order automatically and that of functional group so that i can assign in the action box.
Regards,
Rajesh Kumar Raju
9900311069Hi,
unfortunately there is no such "official" BAPI available - not even in ERP2005! There is a BAPI called BAPI_ALM_ORDER_MAINTAIN but this is for changing an already existing service order.
But, you can use what the "SAP CRM group" developed for their integration to the backend R/3 system. This FM is called CRM_CS_API_ORDER_CREATE and is part of FUGR CRM_CS_API_ORDER. This FM is acting in the same way as a "normal" BAPI although you can not find this FM in transaction BAPI.
Hope this can help!
Best regards, Johan -
Function Module for data retrival for work order clearence (WCA)
Hi All ,
Function Module for data retrival for work order clearence (WCA) for a particular Planning plant and (WCD's).
Thanks.Hi Anne,
BAPI_PRODORD_GET_DETAIL
BAPI_PRODORD_GET_LIST
You can find further FM in Function Group COPRINT and CODR or take F4 on CO* in Function Group
These will serve your purpose.
Cheerz.
Ram
Maybe you are looking for
-
Textcolor change of a single element in an array of clusters
hi, right now I rewrite some code for a more flexible approach in the future. One special VI causes me some serious headache right now, I need to display a flexible number of versions which will be determined on the fly with the hardware avaible. Til
-
Alias for the tables in the datesource block
HI, Is it possible to give an alias to the tables who forms the query of the block, if there are more than one table.
-
Intermedia Text/Hide Tags.
I use intermedia text to store files with tags like internet (i.e <Start> bla ..</End>. I use developer 6 to search and retrive information, but developer show me the tags, How can I do to hide the tags? Thanks for the help. Regards. null
-
GTS Experts, What is the best practice for documenting the configuration settings in GTS? Are there system reports available to control and report this, or is it expected that this information is kept manually in spreadsheets? Also, what is best pr
-
How to erase all 9 last dialed numbers from a Treo 750
Dear Friends, Does someone knows how to erase all the last 9 dialed numbers that appears in a Treo 750 when the left green (phone Icon) key is pressed? Just in case, I already tried to erased them using the "Call Log" Menu "delete All Calls" option,