Is there a BAPI or Function module can create a Customer Master record?
Hi experts,
In SE37, Is there a BAPI or Function module can create a Customer Master record?
Regards
BAPI_CUSTOMER_CREATEFROMDATA1
also see this thread.
Re: Create customer record in SAP via BAPI
кu03B1ятu03B9к
Similar Messages
-
Is there any BAPI or function module to delete entries from a table (VBAK)
Hi Everybody,
this is my first thread in SDN...
my problem follows...
A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
tables:
VBAK sales document: header data
selection fields:
VBAK-LIFSK ≠ <BLANK>
VBAK-ERNAM = userID used by e-Sales / IVE
(EP-BATCH / EAI-BATCH)
VBAK-ERDAT <= Current system Date
VBAK-ERZET <= Current system Time - 20 minutes
These orders should be deleted from SAP system.
This report should be scheduled to run regularly every 10 minutes.
my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
best replies will be rewarded....
regards
ReddyHi Vasanth ,
thanks for your reply.
i tried in the same manner what u mentioned.
but how to pass only one parameter to the functionmodule..
here in this case we have to pass only update flag as 'D'..
i did the same it giving dump..
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
not caught and
therefore caused a runtime error.
The reason for the exception is:
The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:
In the function module interface, you can specify only
fields of a specific type and length under "ORDER_HEADER_INX".
Although the currently specified field
"INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.
my pgm :
*& Report YNEW_ORDER_DELETION
REPORT ynew_order_deletion.
TABLES:vbak.
PARAMETERS:
p_lifsk LIKE vbak-lifsk DEFAULT '02'.
SELECT-OPTIONS:
s_lifsk FOR vbak-lifsk DEFAULT '10',
s_ernam FOR vbak-ernam,
s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
s_erzet FOR sy-uzeit.
*PARAMETERS:
p_erzet LIKE sy-uzeit.
s_erdat like vbak-erdat,
s_erzet like vbak-erzet.
DATA:
BEGIN OF int_final OCCURS 0,
w_vbeln TYPE vbak-vbeln,
END OF int_final.
DATA:
int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
DATA:
wf_time TYPE sy-uzeit.
INITIALIZATION.
s_ernam-low = 'KULKARMA'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
s_ernam-low = 'EAI-BATCH'.
s_ernam-sign = 'I'.
s_ernam-option = 'EQ'.
APPEND s_ernam.
wf_time = sy-uzeit - 1200.
p_erzet = sy-uzeit - 1200.
p_erzet-low = wf_time.
APPEND s_erzet.
int_order_header_inx-updateflag = 'D'.
APPEND int_order_header_inx.
START-OF-SELECTION.
SELECT vbeln FROM vbak
INTO TABLE int_final
WHERE lifsk EQ p_lifsk
AND ernam IN s_ernam
AND erdat IN s_erdat
AND erzet IN s_erzet.
IF sy-subrc = 0.
LOOP AT int_final.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = int_final-w_vbeln
ORDER_HEADER_IN =
order_header_inx = int_order_header_inx
SIMULATION =
BEHAVE_WHEN_ERROR = ' '
INT_NUMBER_ASSIGNMENT = ' '
LOGIC_SWITCH =
NO_STATUS_BUF_INIT = ' '
TABLES
return = int_return
ORDER_ITEM_IN =
ORDER_ITEM_INX =
PARTNERS =
PARTNERCHANGES =
PARTNERADDRESSES =
ORDER_CFGS_REF =
ORDER_CFGS_INST =
ORDER_CFGS_PART_OF =
ORDER_CFGS_VALUE =
ORDER_CFGS_BLOB =
ORDER_CFGS_VK =
ORDER_CFGS_REFINST =
SCHEDULE_LINES =
SCHEDULE_LINESX =
ORDER_TEXT =
ORDER_KEYS =
CONDITIONS_IN =
CONDITIONS_INX =
EXTENSIONIN =
ENDLOOP.
LOOP AT int_return.
WRITE:/ int_return-type,
int_return-id,
int_return-number,
int_return-message.
ENDLOOP.
ENDIF.
please help me ..its a very urgent issue to be solved...
am waiting for ur reply...
regards
gangareddy -
Are there BAPI or function modules for creating posting address ?
Are there BAPI or function modules for creating posting address and budget address? We are currently use BDC program and T code FMBSPO_MULT (Posting address) and T code FMBSBO_MULT(budget address), but it is a very slow processing because we have thousands of funds centers.
Your input will be appreciated!
Regards,
Fisher LiLi,
You will have, may be more answers in the technical forum :
https://www.sdn.sap.com/irj/sdn/collaboration
Regards
Valérie -
Bapi or function module to create conter readings in service order
hi all,
i have used crm_service_order_create to create the service order it was very helpful . I could also create the service order with the i base component. But i need to enter the counter readings against the i base component. Is there any bapi ot function module which takes the counter id ex 1516 and saves the data in the service order. Reply at the earliest would be of great help.
As the necessity is of high priority.
Thanks in advance.
Mithun Seshadri.Hi
I need ur help.please send ur sample code for create a service order using Fm or BAPI
Regards
P.Prabhakaran -
Bapi or function module to create a sales order in CRM 5.1 system
Hi experts,
Anyone knows any Bapi or function module to create a Sales order in CRM 5.1 system directly.
Thanks.
regards.
Ruchi.hi ruchi,
sory for the late respond, got a lot works to be done.
based on my experience, you need several more information such as currency, uom for quantity, sales organization, etc.
and honestly, i have never tried to create an order by just using 3 information ( sold to party, item, and quantity ),
but i think it is possible because some of the information can be determined using configuration, but still some information is missing and the order that you create will have an error and you can't do next process of the order unless somebody fix / fill the information needed.
just an idea, perhaps you need some z-tables to put your certain information needed for order creation and the information is maintained for each sold to party ( sold to party is a key of z-tables ) and each time order is created, all information will be query in this tables.
and for this tables may be you can create an offline maintainance scenario using an adobe document. by this way, the sold to party can maintained all his/her/their information by them self.
and by using this scenario, you can still maintain / create the order by programming ( perhaps using function module CRM_ORDER_MAINTAIN or else ).
actually i want to implement in my company but don't have a chance becuase all has been set up and the management will think twice for implementing this scenario.
hopes it hels
cheers -
BAPI or Function Module to create the Rebate Agreement
Hi All,
I have a requirement where I get the flat file which consists of the header and item level data. Using that I have to create the REBATE AGREEMENT. The transaction code to create the Rebate Agreement is VBO1 (Create Rebate Agreement).
Is there any BAPI or FUNCTION MODULE available in SAP to create the Rebate Agreement. Please tell me if you know any suitable BAPI or FM.
Thanks in advance.
Best Regards,
Paddu.Hi Paddu
Were you able to find a BAPI or Function Module to create Rebate Agreement. We have a similar requirement where we have to create Rebate Agreements with Conditions.
If you have found a solution do share it with us.
Regards
Salil -
I need a BAPI or function that can create a PO without the purchase req.
I need a BAPI or function that can create a PO without the reference to a purchase requisition. We are creating "direct POs" (with no reference to PR) manually. And we have a large amount of documents to create. I can't figure out if BAPI_PO_CREATE and BAPI_PO_CREATE1 can help us by doing this, because I've understood this BAPIs creates POs only with the reference to a purchase requisition.
Thanks in advance!!
SebastianSorry I'm late guys, I couldn't replay your posts because I was busy.
Charlie,
...just because we have the data already in the SAP system.
My client doesn't want purchase requisitions to be created from the PM orders. Instead he asked us to create the purchase workflow by generating direct purchase orders from the PM orders, basically taking the information from the purchase agreement within the order's tasks. Maybe you don't understand a bit what I'm saying, but let me get this straight: we can't use LSMW because data doesn't come from a legacy.
Ian,
...after all, and like you've said, we're gonna use BAPI_PO_CREATE1 for creating the POs. Today I finally realized that, purchase requisitions aren't mandatory for the bapi to perform the process. If something goes wrong, I'll let you know.
Thanks anyway for your attention.
Sebastian -
Is there a BAPI or function module for price condition?
Hi experts,
I just want to create price condition info record to purchase order.
we create price condition through tcode MEK1/MEK2/MEK3.
it is more different from tcode ME11. it doesn't need to input purchase group, tax code etc.
but I can't find the BAPI or function module for this tcode.
does anyone know it?
thanks in advance.
looking for your reply.
jackPlease check this answered link:
Re: Bapi_prices_conditions does not delete old condition properly
Re: bapi for condition recaords
Edited by: Afshad Irani on Jun 13, 2010 3:38 PM -
BAPI or function module to create Budject (CJ30)
Hi All,
I need to create budget for a project (transaction CJ30) through BDC. As you know its critical to handle the screen
in BDC can anyone suggest me any BAPI or function module which I use instead of BDC.
Regards
Jaker.Use function module KBPP_EXTERN_UPDATE_CO. Also take a look at [Note 625613 - Interface for overall planning and budgeting|https://service.sap.com/sap/support/notes/625613]
Regards -
BAPI/function module to create/update vendor master data
Hi
We are on ECC 50 and have a need to update vendor master data through a programatic interface ( non-dialog ) with ABAP. What is a good function module that can be used to create/update vendor master data - I looked at BAPI_VENDOR_CREATE and did not find any input interfaces that can be passed to this BAPI.
Previous experiences with the right BAPI for this purpose that can be shared is appreciated. <REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 26, 2008 5:58 PMHi Kiran,
If you want to load the vendor data into sap its better to go with LSMW batch input program.
object 0040
method 0001
program name RFBIKR00
Program type B
this would be a good choice. Recently i did the same. -
BAPI or Function Module to create MIC for TCode QS21
Hi All,
What is the BAPI or standard function Module that can be used to create Master Inspection Characteristics. The TCode to create MIC is QS21.
Thanks in advance,
Deep.Hi Prasad,
I think we can't use BAPI_QPGR_SAVEREPLICA as it's for Catalog codes, not MIC.
Moreover, we have BAPI_QPMK_SAVEREPLICA for MIC, but savereplica BAPIs can't be used to create records. This kind of BAPIs are used to save already created BAPIs.
Thanks,
Deep. -
BAPI or function module for creating outbound delivery agains STO
Hi,
Is there any function module or BAPI to create an outboud delivery against STO? Appreciated if anybody tells what are all the mandatory fields to pass.
Thanks and Regards,
SureshHi,
Pls check the BAPIs,
BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System
BAPI_OUTB_DELIVERY_SPLIT_DEC BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
Regards,
Renjith Michael. -
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 -
BAPI or Function Module to create Handling Unit at the delivery level
Please send me the BAPI / FM details to create Handling Unit at the delivery level.
ThanksHi
you can try below BAPI's.
BAPI_HU_CREATE
BAPI_HU_PACK
Hope this helps you.
Rgds,
Kris. -
Function modules to create a movement type 105 and 104
Hi folks,
I have created a custom screen and attached to MIGO Transaction. If my user enter data and click 'PASS' on my screen, a movement type 105 to be triggered in back ground. And if he click 'FAIL', movement type 104 need to be triggered. is there any BAPI or Function Module to create goods movement type. I have searched some function modules in SE37 and found some stuff. But i am confused which one to use...Could you pls guide me regarding this...
for ur information, i am thinking to use these FM's
MB_READ_GOODS_MOVEMENT
MB_CREATE_GOODS_MOVEMENT
MB_CANCEL_GOODS_MOVEMENT
Will it be useful for me.
Thanks in advance,
Shyam.
Edited by: shyam prasad on Jan 7, 2009 10:24 AMHi
Yes you can use this function modules.
Thanks & Regards
Kishore
Maybe you are looking for
-
Also, when I move an updated app from the my music folder to the external hard drive, it no longer automatically deletes the old version of the app in the folder.
-
Help w/ Office install on virtualized macbook air
How do I install microsoft office 2010 on my macbook air, which is running fusion 4 and windows 7 is already installed. There is no prompt to install/download Office 2010. Thank you.
-
My ipad is freezing up because it needs an icloud update. It says that I need to have it plugged in to wifi. I can't connect to wifi because it's frozen. What should I do?
-
Adding exit/quit button to toolbar
Is there a way to add a exit/quit button to the Mail Toolbar?
-
Sd card not formatted after ovi maps update
Hi. I have a problem with my N82 Series Nokia. I wanted to update my maps via Ovi Software. I do this and it worked fine. Afterwards I tried to check the new maps but only a green area appeared. I accessed the sd card in the phone and only get the me