‎2009 Apr 02 7:47 PM
Hi All,
I need to create an equipment record. I am using BAPI_EQUI_CREATE.
I donu2019t see any parameters in the BAPI to update
1) the partner details (like partner function, partner number)
2) the physical location details(Country,Region,Postal code etc) of the end customer
where the machine is installed. But BAPI has a field to pass u201CAddress numberu201D but
how should I generate address number using the address details. They are new and
not yet existing in the system. Is there a function module/BAPI to just create a
address and get address number?
3) by default the equipment record is created it gets status u201CALVBu201D . I need to
change it to u201CECUSu201D (meaning it is at Customer location).
Are these possible with BAPI_EQUI_CREATE or is there any other function module or different BAPI ?
I have also checked BAPI_EQUIPMENT_SAVEREPLICA but did not find much useful.
Thanks in advance.
Sonali.
‎2009 Apr 02 8:01 PM
Try following these steps:
Call fm BAPI_EQUI_CREATE
then change of partner
call fm PM_PARTNER_INIT
then
call fm PM_PARTNER_MAINTAIN
then for change status
call fm STATUS_CHANGE_EXTERN
or
call fm STATUS_CHANGE_INTERN
I think this will help you out
a®
‎2009 Apr 02 8:27 PM
Thank You for the reply!
Changing the status function module works but I need to still try out the function modules for attaching partners.
Is there a way to attach the address details to equipment record?
Thanks,
Sonali.
‎2009 Apr 02 8:54 PM
Have to checked the import tab DATA_GENERAL and its have field READ_ADRNR , whether that can be used ?
a®
‎2009 Apr 02 10:01 PM
I think READ_ADRNR can be used but how to get the ADRNR number? I have the Machine location address but I don't want to create as a separate "Customer" inorder to generate the ADRNR.
Is there a way to generate ADRNR just using the Name,Country,Region etc details??
Thanks,
Sonali.
‎2009 Apr 02 10:34 PM
Hi Sonali,
Use these Fms to generate Address Number
ADDR_INSERT
ADDR_NUMBER_GET
ADDR_MEMORY_SAVE
ADDR_MEMORY_CLEAR
Thanks
Naresh
‎2009 Apr 03 4:25 PM
‎2009 Oct 29 5:16 PM
Hi,
I was just viewing your post. Can you reply what are the parameters needs to be passed to update partner in equipment master in the following FMs.
call fm PM_PARTNER_INIT
then
call fm PM_PARTNER_MAINTAIN
then for change status
Thanks
‎2009 May 04 7:36 PM