How to Use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA
Hi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendar
Hi ,
How to use PM BAPI for equipment Master upload : BAPI_EQUIPMENT_SAVEREPLICA.
May i know what are the input parameters & fields mandatory
for each Table structures ct_data , ct_datax , it_descript , it_longtext.
Can any one explain me Step by Step Process.
B'cos i tried with below code. Equipment is not getting created.
wa_itab-equipment_ext = '000000000100000001'.
wa_itab-descript = 'Test 2 -> Lube Oil Pump'.
wa_itab-text_language = 'EN'.
wa_itab-sdescript = 'Short Description'.
APPEND wa_itab TO it_itab.
CLEAR wa_itab.
LOOP AT it_itab INTO wa_itab.
ct_data-ta_guid = '000000000000000001'.
ct_data-equipment_ext = wa_itab-equipment_ext.
ct_data-descript = wa_itab-descript .
ct_data-valid_date = sy-datum.
ct_data-equicatgry = 'M'.
APPEND ct_data.
CLEAR ct_data.
ct_datax-ta_guid = '000000000000000001'.
ct_datax-equipment_ext = 'X'.
ct_datax-equipment = 'X'.
APPEND ct_datax.
CLEAR ct_datax.
it_descript-ta_guid = '000000000000000001'.
it_descript-text_language = wa_itab-text_language.
it_descript-descript = wa_itab-sdescript .
APPEND it_descript.
CLEAR it_descript.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'LTXT'.
it_longtext-text_line = 'SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'aaaaaaaaaaaaaaa'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'bbbbbbbbbbbb'.
APPEND it_longtext.
CLEAR it_longtext.
it_longtext-ta_guid = '000000000000000001'.
it_longtext-text_language = wa_itab-text_language.
it_longtext-text_id = 'INTV'.
it_longtext-text_line = 'cccccccccccccccc'.
APPEND it_longtext.
CLEAR it_longtext.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
call BAPI-function in this system
CALL FUNCTION 'BAPI_EQUIPMENT_SAVEREPLICA'
TABLES
ct_data = ct_data
ct_datax = ct_datax
it_descript = it_descript
it_longtext = it_longtext
return = return
EXCEPTIONS
OTHERS = 1.
IF sy-subrc = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
WRITE : 'Successful'.
ENDIF.
IF NOT return IS INITIAL.
LOOP AT return.
IF return-type = 'A' OR return-type = 'E'.
WRITE : 'Error'.
ENDIF.
ENDLOOP.
ENDIF.
REFRESH return.
ENDLOOP.
Regards
SUrendar
Similar Messages
-
How to use Resever Field for Customer Master
Hi
My Client Requirement. Price should be determine with Sales ORG, Distribution channel, Division, Districts, Talukas and Villages.
But Talukas and villages are not available in SAP standard systems.
Is it possible to use reserver field in Customer Master for this purpose?
If it is ok then please give suggestion how to use this reserve fields.
Thanks in Advance
MadhuHello,
the system-behavior that you describe is standard behaviour, because
the fields which you are describe (village and ..) doesn't exist in structure KOMG.
For using this field in the field catalog you can proceed like this:
1. create a new field for example ZZvillage...
2. add the new field in the table T681F for the application 'V' and the
usage 'A'
3. add the field to the include-structure KOMKAZ
4. fill the new fields in the userexit for pricing
(Pricing_Prepare_TKOMK (TKOMP)
I hope that the information are helpful for you.
regards
Claudia -
How to get change documents for Equipment Master Records of a document?
Hi experts,
I need a report for changes of Equipment Master for a document.
There is a way to reach this for every document : Environement - > Display Changes. Then I can get a report for "Changes to Object Links". But this can only show me that which equipments are linked to this document. What I want to search is which documents are linked to the equipment. I want to search with equipment number and get the history of changes for documents, Which documents are attached to this equipments and when did these documents attach to the equipment.
Can I get this report with standard SAP queries / reports? Where can I get this informations? From which tables?
PS: If i run a search with Equipment Master Data form CV04N, I can see which documents are linked to this equipment but I can't see when they are attached.
Thanks in advance... but I can't see when they are attached...
In CV04n,in Object Links tab,provide your search input criteria.Once the results are displayed,navigate to Current Layout button.Herein,move the 'Output Date' value to Displayed Column list.
Once done,you should be able to view the date on which the DIR with associated objects(Eg: Equipment Master) was created.Hope this helps!!
Regards,
Pradeepkumar Haragoldavar -
Interface between Legacy and SAP for Equipment Master
Hello
I got a requirement where I need to develop a interface between legacy system and R/3 system for Equipment Master Data update in R/3. I am thinking of getting a Idoc file from Legacy and then update the changes or any new creation of Equipments in R/3. I found a standard BAPI for this BAPI_EQUIPMENT_CREATE/CHANGE. This BAPI use a strcture BAPI_ITOB for data record of IDoc. But I got more data from legacy except what we have in BAPI_ITOB. I got Partner Data, Classification data also for Equipments. I am thinking of copying the BAPI to a Z function module and modify the Idoc structure , message type and all to capture all the data and then do a update in same way as standard transaction IE01(Equipment Create) is doing in Batch Input. Do you think if there is any better way of doing this? I am not used to transaction BAPI . just wondering if we Can use that in someway to include our modification?
Thanks
Harkamal20,000 is on quite higher side for IDOC.
IBIP help doc says it needs 2 Kbyte for each record, i.e. 40 Mb for 20,000 rec. that should be ok. Since it has structures for Partner & classification data , I don't think u need to modify the BAPI.
Transaction IE01 - Create equipment
Transaction IE02 - Change equipment
Structure - IBIPEQUI Equipment record
|-> IBIPNSTA New status profile if necessary
|->> IBIPSTAT User status records
|->> IBIPDOCU Doc. from Doc. management system
|->> IBIPPART Partner details (comment below)
|-->> IBIPTEXT (see comment below)
for long text: TEXT_MARK = " " empty
for internal comment: TEXT_MARK = "1"
|-->> IBIPCLAS Classification record (eqpmt class)
|-->> IBIPFEAT Classification characteristics,
ie. features for the class
|-->> IBIPBDCD see below (from screen 102) -
How to follow data migration for Euipment Master
Hi Friend
We need to use data migration systm to transfer data for equipment master from legacy system to SAP. We require to generate 3000 equipment master in SAP. Can you tell me what should I follow , BDC or LSMW? I am a functional consultant and have no knowldge in ABAP. I even cant get any support in ABAP.
Pls also tell me the steps to execute the migration.
Take Care
Sangeeta
Moved by moderator from the TDMS forum
Edited by: Hilit Fisch on Apr 13, 2009 8:37 AMHi Sangeeta,
I would personally go for a BDC but LSMW should also be possible
If you don't know how to do a BDC just drop me a mail and I send you the details.
Hopefully this one is than solved by the EOD.
Regards,
Eddy -
How to use the BAPI BAPI_ALM_ORDER_MAINTAIN
HI experts,
I am using BAPI_ALM_ORDER_MAINTAIN to update the Object list in ECC 6.0 for a service order txn code IE31.
I dont know how to use this BAPI_ALM_ORDER_MAINTAIN for object list updation.
It will be very helpful if anyone who worked on this or know about BAPI_ALM_ORDER_MAINTAIN how to use, plz reply this thread.
I am really searching for along time about the bapi, but couldnt getany thing.
the doc of BAPI_ALM_ORDER_MAINTAIN is very vague, that i m not able to understand.
So, sap persons, plz reply this thread,
NtkFriends,
I am getting the following message with the FM BAPI_ALM_ORDER_MAINTAIN, "Order is changed, but not created".
But when i see the Service Order, im not able to see the new equipments added in the Object tab.
Here is my code...
DATA: l_alm_bapi TYPE c,
T_METHODS TYPE STANDARD TABLE OF bapi_alm_order_method,
ls_methodS TYPE bapi_alm_order_method,
LS_OBJ type bapi_alm_order_objectlist,
lt_OBJ type standard table of bapi_alm_order_objectlist,
lt_operation
TYPE STANDARD TABLE OF bapi_alm_order_objectlist,
ls_operation TYPE bapi_alm_order_objectlist,
lt_oBJ_up
TYPE STANDARD TABLE OF bapi_alm_order_olist_up,
ls_oBJ_up TYPE bapi_alm_order_olist_up,
lt_return TYPE STANDARD TABLE OF bapiret2,
lt_return1 like BAPIRET2,
ls_return TYPE bapiret2,
LS_NUMBERS TYPE BAPI_ALM_NUMBERS,
T_NUMBERS TYPE STANDARD TABLE OF BAPI_ALM_NUMBERS.
CLEAR T_METHODS.
LS_METHODS-REFNUMBER = 1.
LS_METHODS-OBJECTTYPE = ''.
LS_METHODS-METHOD = 'SAVE'.
LS_METHODS-OBJECTKEY = '%00000000001'..
APPEND LS_METHODS TO T_METHODS.
LS_METHODS-REFNUMBER = 1.
LS_METHODS-OBJECTTYPE = 'OBJECTLIST'.
LS_METHODS-METHOD = 'CHANGE'.
LS_METHODS-OBJECTKEY = '%00000000001'..
APPEND LS_METHODS TO T_METHODS.
CLEAR T_NUMBERS.
LS_NUMBERS-AUFNR_IN = '000004010558'..
APPEND LS_NUMBERS TO T_NUMBERS.
LS_OBJ-COUNTER = 1.
LS_OBJ-FUNCT_LOC = '5619'.
LS_OBJ-EQUIPMENT = '0000010000292'.
LS_OBJ-SORTFIELD = 'X'.
ls_oBJ-PROCESSING_IND = 'X'.
ls_oBJ-SERIALNO = ''.
ls_oBJ-SERMAT = '0010-30000'.
ls_oBJ-DESCRIPTN = 'MAIN UNIT DR300'.
APPEND LS_OBJ TO LT_OBJ.
LS_OBJ_UP-SORTFIELD = 'X'.
LS_OBJ_UP-PROCESSING_IND = 'X'.
APPEND LS_OBJ_UP TO LT_OBJ_UP.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
IT_METHODS = T_METHODS
IT_HEADER =
IT_HEADER_UP =
IT_HEADER_SRV =
IT_HEADER_SRV_UP =
IT_USERSTATUS =
IT_PARTNER =
IT_PARTNER_UP =
IT_OPERATION =
IT_OPERATION_UP =
IT_RELATION =
IT_RELATION_UP =
IT_COMPONENT =
IT_COMPONENT_UP =
IT_OBJECTLIST = LT_OBJ
IT_OBJECTLIST_UP = LT_OBJ_UP
IT_OLIST_RELATION =
IT_TEXT =
IT_TEXT_LINES =
IT_SRULE =
IT_SRULE_UP =
IT_TASKLISTS =
EXTENSION_IN =
RETURN = LT_RETURN
ET_NUMBERS = T_NUMBERS.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT =
IMPORTING
RETURN = lt_return1.
Kindly help me out anyone who has worked with these FM. I am not able to do this. -
How to use the BAPI_GOODSMVT_CREATE for Transfer posting Sales order
Hi Friends,
How to use the Bapi BAPI_GOODSMVT_CREATE for transfer posting sales order to sales order.
pls, send the list of parameteres to pass to the bapi, if program avail please send it to me.
Thanks in advance
ShankarYou have to pass Header and GM code as the INput parameters for uing this BAPI....GM code would be structure.
Also you have to pass the INternal table Item for the goods mvt cxreate which will contains
BATCH.
MOVE_TYPE.
ENTRY_QNT.
MOVE_PLANT.
MOVE_STLOC.
MOVE_BATCH.
MOVE_REAS
these parameters.
Regards,
Sushil. -
How to use search term2 in customer master record
hi
how to use search term2 in customer master record. can anyone tell me plz
thanks
monicaHi,
Search Term 2
Label used for search helps.
Only uppercase letters are stored in this field. Your entries are converted automatically to uppercase letters.
There are two of these fields for search terms. These fields can be used independently of each other.
Procedure
You can use your own criteria for entering the search term.
Example
You can enter the main part of the name or an organizational ID.
For example, for the company "Hechinger & Sons", you could enter "Hechinger" as the first search term.
The second search term could then be the name ID you use within your company, to help you identify your data later.
Please check out the following link:
http://help.sap.com/saphelp_47x200/helpdata/EN/01/a9b331455711d182b40000e829fbfe/frameset.htm
Hope this helps.
Please assign points as a way to say thanks.
Regards, -
Enhancement for Equipment master data
Hi all
I want to find an enhancement for Equipment master data. I want to add some customer fields to Equipment data,but i can't find the enhancement.Anybody tell me the Enhancement which be useful for that. thanks.
BR
Chris.Hi,
you can add new tab on the screen and provide your custom field on that tab. You have to add a new tab for any Technical Object by doing some configuration changes in SPRO. first go to SPRO and in screen sequences add a new tab sequence against the profile. Now in the function group SAPLXTOB you can see this new tab screen. Do your requirements on this screen.
Reward if useful and get back to me if you need any help.
Thanks,
Anil -
On Work Order using Object lists for equip u can manually create Notifi
On a maintenance Work Order using Object lists for equipment you can manually create a notification for each line item.
We want to automate this process to do this when we save the document.
Any ideau2019s on how to do this?
Does a user exit exist for this?Hi:
Check with Tcode: IBIP - Plant maintenace batch input utility tool.
Hope, it may help!
Thanks,
Murali. -
Hi,
I am new to IDOC concept and need to transfer Equipment master from a SAP system to non SAP system.
please let me know the following:
1. Is there any standard message type and Idoc type available
for Equipment master ?? ( For example we have
MATMAS05 for material master)
2. Is there any standard transation available for equipment
trasfer???( For example BD10 for sending material)
3. Is change pointer facility available for equipment master??
If yes please provide me the details
ThanksHi Preethi
Please use LSMW in loading euipment master using the Basic type EQUIPMENT_CREATE01 and assign the source legacy file.You can use the message type EQUIPMENT_CHANGE01 to change it.See in WE02 BD87 the stus whether it has been posted or not.
Since your data would be going to non sap that means you have to create partner profile for outbound processing and also activate the port(WE21) for outbound processing.
If your client is intilligent enoough and also big than if it has an ETL tool than extraction from spreadsheet in the form of idoc would be much easier and would cut short the time consumed in writing large programs .However the business needs to have an existing legacy system and you try to convert data .
Please do revert back incase of any issues.
Regards
Somnath -
Using RFBIDE00 for customer master upload
Hi all,
Does any one used batch input program RFBIDE00 for Customer master Upload data in to SAP.
Could you please explain how to use it... its urgent, appreciare if your early reply..
I am planing to use it through Run the program from SE38..
Thanks..hi good sap1,
Batch Input - Customer Master Data (RFBIDE00)
Description
All new fields for customer master records can be transferred to the R/3 System also with the report RFBIDE00.
Furthermore, the batch input can be carried out with the existing record definitions. By means of the end of record marker, the report recognizes which record structures do not yet correspond to the extended record layout and initializes the new fields with NODATA.
It is pointed out in the batch log, which structures are yet to be maintained. This should be done as soon as possible to be able to use the new functions or fields
Introduction
It is now possible to pass the information concerning tax categories and withholding types (for the extended withholding functionality) and the special Argentine fields via the standard batch-input program. Please look at the standard documentation if you need further information on the program.
Additional Fields
The additional fields have been added to the structures BKNA1 (general information) and BKNB1 (company code data). Please use transaction SE12 to see the fields of the structures.
Enrichments for Tax Categories
The following table shows how to fill the interface table BKNAT to pass the tax category data:
Field
Description
Value
Input
STYPE
Record type
2
obligatory
TBNAM
Table name
KNAT
obligatory
XDELE
Flag: Delete entry
optional
TAXGR
Tax category
obligatory
Enrichments for Extended Withholding Data
The following description shows how to fill the interface table BKNBW to pass the tax category data:
Field
Description
Value
Input
STYPE
Record type
2
obligatory
TBNAM
Table name
KNBW
obligatory
XDELE
Flag: Delete entry
optional
WITHT
Withholding type
obligatory
thanks
karthik
reward me points if usefull -
How to create sql query for item master with operator LIKE with variables?
hi all,
How to create sql query for item master with
operator LIKE(Contains,Start With,End With) with variables using query generator in SAP B1 ?
JeyakanthanHi Jeyakanthan,
here is an example (put the like statement into the where field)
SELECT T0.CardCode, T0.CardName FROM OITM T0 WHERE T0.CardName Like '%%test%%'
The %% sign is a wildcard. If you need start with write 'test%%' and otherwise ends with '%%test'. For contains you need '%%test%%'. You also could combinate this statements like 'test%%abc%%'. This means starts with test and contains abc.
Regards Steffen -
HI
I would like to know , is there any BAPI for Equipment change(T.code-IE02) to update all the feilds of equipment & automatically creates an asset number as normal tranaction code performes.
As of now i am useing BAPI_EQUI_Change, please let me know any other than this BAPI
Thanks&Regards
lakshmiHi,
Check the FM <b>I_CHANGE_STATUS.</b>
See the documentaion below
FU I_CHANGE_STATUS
Short Text
Change a status for an object
Description
This function module is called to update the user status for a specified object (notification, notification task, order, or operation).
Regards -
Is there any standard BAPI to create Equipment BOM? Tcode - IB01
Hello,
I use that bapi for create BOM but not equipement BOM.
I find on forum, response wiche can help you :
Equipment BOM Upload BAPI
RFC / BAPI for Equipment BOM - IB01
http://wiki.sdn.sap.com/wiki/display/ABAP/ECCstandardBatchInputprograms
Thierry
Maybe you are looking for
-
Adobe Media Encoder - File Size HUGE. HELP
I have a MPG that is 216mb. When I attempt to use Media Encoder 5 or 5.5 the estimated file size for a 640 x 480 f4v is 26456mb. I have used the computer at my school with the same file and the file size is 2mb. What am I doing wrong at home? I can't
-
How to add a user defined HTTP header field?
Hi, everyone! I want to add a user defined HTTP header field to a HTTP response header. I use the following statements in testHeader.jsp response.addHeader("myheader", "123"); response.sendRedirect("middleHeader.jsp"); in middleHeader.jsp, out.print(
-
Macbook superdrive not working...
my Macbook superdrive has stopped working since 2 days..It won't pull discs inside it..When i use "drutil eject" in terminal then it pulls it in makes sum spinning noise and spits out in 3 seconds..i've tried cleaning the lens with a credit card n cl
-
List of customer report based on account group - T.Code
Dear Guru's I need list of customer report based on account group in standard SAP if it there please update th T.Code as earl as possible. regards, bhanu
-
Mp3 format, still cannot transfer! Plz help!
Hi, I am trying to transfer a file to my iPod. It says it is an mp3 format sound, the file can be played on iTunes, but when i try to transfer it, there is an error saying that "the song cannot be played on this iPod. What do i do? Plz someone help..