Any IDoc/BAPI for Loading Material Determination Condition records - VB11??
Hi All,
I need to load the material determination condition records which can be done through the transaction VB11. I dont want to do load the records through BDC.
So, I am looking for any IDoc or BAPI which can do this job.
Any help in this regard is highly appreciated.
Points will be awarded for all useful replies.
Thanks in advance,
Surendra K
hi surendra,
i have a exact same task to load material determination to SCM
"load the material determination condition records which can be done through the transaction VB11. I dont want to do load the records through BDC, i am looking for any IDoc or BAPI which can do this job"
thank you
sridhar K
Similar Messages
-
BAPI for Free Goods determination
Hi Folks,
Can anybody help me providing the BAPI for "Free Goods determination" in MM.
I checked the BAPI_FREEGOODS_CONDITIONS; but I would like to know the BAPI which triggers the free goods determination while creating PO.
For eg I hv condition records in MBN1 and it triggers free goods in PO.
Points for sure
ThanksHi
check the BAPIs
BAPI_FREEGOODS_CONDITIONS
CND_FREEGOODS_CALL_BAPI
CND_FREEGOODS_DEL_AFTER_INIT
CND_FREEGOODS_MAP_BAPIMTCS
if doesn't serve the purpose do it by BDC method
Regards
Anji -
Idoc/BAPI for Certificate Profile creation
Hi,
Is there any Idoc/Bapi available for Certificate Profile creation (Transaction Code QC01).
Appreciate your Inputs.
Thanks.
Regards,
PcBAPI_USER_PROFILES_ASSIGN Change User-Profile Assignments
SUSR_BAPI_USER_PROFILES_ASSIGN Methods of object USER
Edited by: Mahalakshmi Padmanaban on Feb 15, 2008 1:51 AM -
Function Module / BAPI for Creating Material freight Group
Hi All,
Can anyone tell me the Function Module / Bapi for creating material freight group.
Regards,
Raj.Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
So you can use BAPI for mm02 and mm01
For Ex:
BAPI_MATERIAL_SAVEDATA
Hope this helps -
IDOC/ BAPI for transaction FB60
Hi Experts,
Can anybody tell me IDOC/ BAPI for transaction FB60 for document type (KR = Original Invoice).
ThanksHi Venkata,
Please refer below code, this works similar to FB60.
REPORT z_bapi_test.
*REPORT acc_bapi_test_document .
SELECTION-SCREEN BEGIN OF BLOCK bl01 .
PARAMETERS:
check_l RADIOBUTTON GROUP rb1,
check_a DEFAULT 'X' RADIOBUTTON GROUP rb1,
post RADIOBUTTON GROUP rb1.
SELECTION-SCREEN ULINE.
PARAMETERS:
rev_c RADIOBUTTON GROUP rb1,
rev_p RADIOBUTTON GROUP rb1.
SELECTION-SCREEN ULINE.
PARAMETERS:
ref_key LIKE bapiache01-obj_key DEFAULT 'TEST000001BAPICALL',
dest LIKE bdi_logsys-logsys DEFAULT ' '.
SELECTION-SCREEN END OF BLOCK bl01 .
DATA:
gd_documentheader LIKE bapiache09,
gd_customercpd LIKE bapiacpa09,
gd_fica_hd LIKE bapiaccahd,
it_accountreceivable LIKE TABLE OF bapiacar09 WITH HEADER LINE,
it_accountgl LIKE TABLE OF bapiacgl09 WITH HEADER LINE,
it_accounttax LIKE TABLE OF bapiactx09 WITH HEADER LINE,
it_criteria LIKE TABLE OF bapiackec9 WITH HEADER LINE,
it_valuefield LIKE TABLE OF bapiackev9 WITH HEADER LINE,
it_currencyamount LIKE TABLE OF bapiaccr09 WITH HEADER LINE,
it_return LIKE TABLE OF bapiret2 WITH HEADER LINE,
it_receivers LIKE TABLE OF bdi_logsys WITH HEADER LINE,
it_fica_it LIKE TABLE OF bapiaccait WITH HEADER LINE,
it_accountpayable LIKE TABLE OF bapiacap09 WITH HEADER LINE,
it_paymentcard LIKE TABLE OF bapiacpc09 WITH HEADER LINE,
it_ext LIKE TABLE OF bapiacextc WITH HEADER LINE.
it_re LIKE TABLE OF bapiacre09 WITH HEADER LINE,
it_ext2 LIKE TABLE OF bapiparex WITH HEADER LINE.
PERFORM fill_internal_tables.
IF check_l = 'X'.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
DESTINATION dest
EXPORTING
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
TABLES
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
criteria = it_criteria
valuefield = it_valuefield
extension1 = it_ext
return = it_return
paymentcard = it_paymentcard
contractitem = it_fica_it.
extension2 = it_ext2
realestate = it_re.
WRITE: / 'Result of check lines:'. "#EC NOTEXT
PERFORM show_messages.
ENDIF.
IF check_a = 'X'.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
DESTINATION dest
EXPORTING
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
TABLES
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
criteria = it_criteria
valuefield = it_valuefield
extension1 = it_ext
return = it_return
paymentcard = it_paymentcard
contractitem = it_fica_it.
extension2 = it_ext2
realestate = it_re.
WRITE: / 'Result of check all:'. "#EC NOTEXT
PERFORM show_messages.
ENDIF.
IF post = 'X'.
DATA: l_type LIKE gd_documentheader-obj_type,
l_key LIKE gd_documentheader-obj_key,
l_sys LIKE gd_documentheader-obj_sys.
IF dest = space OR
dest = gd_documentheader-obj_sys.
post synchron
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
IMPORTING
obj_type = l_type
obj_key = l_key
obj_sys = l_sys
TABLES
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
criteria = it_criteria
valuefield = it_valuefield
extension1 = it_ext
return = it_return
paymentcard = it_paymentcard
contractitem = it_fica_it.
extension2 = it_ext2
realestate = it_re.
WRITE: / 'Result of post:'. "#EC NOTEXT
PERFORM show_messages.
ELSE.
create Idoc
it_receivers-logsys = dest.
APPEND it_receivers.
CALL FUNCTION 'ALE_ACC_DOCUMENT_POST'
EXPORTING
documentheader = gd_documentheader
customercpd = gd_customercpd
contractheader = gd_fica_hd
TABLES
accountgl = it_accountgl
accountreceivable = it_accountreceivable
accountpayable = it_accountpayable
accounttax = it_accounttax
currencyamount = it_currencyamount
criteria = it_criteria
valuefield = it_valuefield
extension1 = it_ext
paymentcard = it_paymentcard
contractitem = it_fica_it
extension2 = it_ext2
realestate = it_re
receivers = it_receivers
COMMUNICATION_DOCUMENTS* APPLICATION_OBJECTS EXCEPTIONS
error_creating_idocs = 1
OTHERS = 2 .
IF sy-subrc = 0.
WRITE: / 'IDoc created'. "#EC NOTEXT
ELSE.
WRITE: sy-msgid.
ENDIF.
ENDIF.
ENDIF.
IF rev_p = 'X' OR rev_c = 'X'.
DATA: rev LIKE bapiacrev,
rev_key LIKE ref_key.
rev_key = ref_key.
rev_key(1) = 'R'.
rev-obj_type = gd_documentheader-obj_type.
rev-obj_key = rev_key.
rev-obj_sys = gd_documentheader-obj_sys.
rev-obj_key_r = ref_key.
IF rev_c IS INITIAL.
IF dest = space OR
dest = gd_documentheader-obj_sys.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_POST'
EXPORTING
reversal = rev
bus_act = gd_documentheader-bus_act
TABLES
return = it_return.
ELSE.
it_receivers-logsys = dest.
APPEND it_receivers.
CALL FUNCTION 'ALE_ACC_DOCUMENT_REV_POST'
EXPORTING
reversal = rev
busact = gd_documentheader-bus_act
OBJ_TYPE = 'BUS6035'
SERIAL_ID = '0'
TABLES
receivers = it_receivers
COMMUNICATION_DOCUMENTS* APPLICATION_OBJECTS EXCEPTIONS
error_creating_idocs = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
WRITE: / 'IDoc created'. "#EC NOTEXT
ENDIF.
ENDIF.
ELSE.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_REV_CHECK'
EXPORTING
reversal = rev
bus_act = gd_documentheader-bus_act
TABLES
return = it_return.
ENDIF.
WRITE: / 'Result of Reversal Posting:'. "#EC NOTEXT
PERFORM show_messages.
ENDIF.
COMMIT WORK.
Kindly close if it helps you.
Regards
Abhii... -
BAPI for create material master (SAP version 40b)
Hi,
Anyone know BAPI for create material master for SAP version 40b?
There's no BAPI_MATERIAL_SAVEDATA.
I try to use BAPI_MATERIAL_MAINTAINDATA_RT,
but seems that BAPI only for retail.
Kindly advice!
Thanks,
Victor.Hi,
this one works pretty good.
call function 'MATERIAL_MAINTAIN_DARK'
exporting
sperrmodus = ' '
kz_prf = 'W'
max_errors = ' '
p_kz_no_warn = 'X'
kz_verw = 'X'
kz_aend = 'X'
kz_dispo = 'X'
kz_test = ' '
flag_muss_pruefen = ' '
call_mode = 'ACT'
importing
number_errors_transaction = numerror
matnr_last = last_matnr
tables
amara_ueb = i_mara "Basic Data
amakt_ueb = i_makt "Descriptions
amarc_ueb = i_marc "Plant
amard_ueb = i_mard "Storage Location
AMFHM_UEB = I_MFHM "Production Tools
amarm_ueb = i_marm "Units of Measure
AMEA1_UEB = I_MEA1 "Internal Mangagement - EANs
ambew_ueb = i_mbew "Accounting/Costing
asteu_ueb = i_steu "Tax Data
astmm_ueb = i_steumm "Tax Data
AMLGN_UEB = I_MLGN "Warehouse Data
AMLGT_UEB = I_MLGT "Storage Type Data
AMPGD_UEB = I_MPGD "Change Documents
AMPOP_UEB = I_MPOP "Forcast Parameters
AMVEG_UEB = I_MVEG "Total Consumption Data
AMVEU_UEB = I_MVEU "Unplanned Consumption Data
amvke_ueb = i_mvke "Sales Data
altx1_ueb = i_ltx1 "Sales Text
AMPRW_UEB = I_MPRW "Forcast Values
amfieldres = i_delfields
amerrdat = i_errors
exceptions
kstatus_empty = 01
tkstatus_empty = 02
t130m_error = 03
internal_error = 04
update_error = 05
too_many_errors = 06.
Otherwise try BAPI_RETAILMATERIAL_CREATE
BAPI_STANDARDMATERIAL_CREATE
<b>Reward points</b>
Regards -
Adobe form for loading material master
Hello
I am looking at adobe form for loading material master. We are currently on ECC 6.0 but without netweaver however reading some of the documents on the internet most of them talk about netweaver. Is netweaver a pre-requisite for interface from adobe form?!
Please let me know.
ThanksHi Jean,
Better go though the thread given at Wiki...it help out alot to under all abt it...
http://wiki.sdn.sap.com/wiki/display/ABAP/SAPInteractiveFormsbyAdobe
Regards
Priyanka.P -
Is there any number generated when we save a condition record in VK11
HI,
Is there any number generated when we save a condition record in VK11Dear Raj,
No Number will be generated when you save the Condition record in the VK11 transaction , but wiil get saved in the data base.
If you want to see you can go to VK12 or VK13 transaction enter condition type the select key combination then execute.
i hope ti will help you'
regards,
murali. -
Can u tell me any predefined BAPI for change and creation of Material
Hi,
Can anybody tell me predefined BAPI for change and creation of Materialmasterand Pricing?
Thanks & regards,
Gopianne.you can use the BAPI to BAPI_MATERIAL_SAVEDATA create as well as to change material master.
When changing material master data, you need enter only the material
number.
In the header data, you must select at least one view for which data is
to be created. Depending on the view selected, you must maintain other
required parameters. If you do not enter values for all of the required
parameters, the method is ended with an error message.
The corresponding fields in the tables (such as CLIENTDATA) must first
be supplied with data by the calling program. An indicator must also be
set for each of these fields so that the data is written to the database
by the method. This requires the calling program to supply the
corresponding field with the indicator in a checkbox table (for example,
CLIENTDATAX). Checkbox tables exist for tables that do not contain any
language-dependent texts (MAKT, MLTX), International Article Numbers
(MEAN), or tax classifications (MLAN). Several data records for a
material can be created in these tables.
regards
vivek
reward points if it helps -
IDOC/BAPI for Production order creation from Legacy system
Hi all
We are using an interface to create Production orders from legacy to SAP. Would you recommend an IDOC or a BAPI to create Production orders. If IDOC or BAPI then could you please mention which one?
thanks a bunchHi John,
For your purposes, please use BAPI for production order creation from legacy system. There is no standard inbound IDoc available to use. SAP has an IDoc for outbound interface only (message type LOIPRO).
If there is an inbound IDoc available, I would recommend to use an IDoc.
IDoc technology has excellent error handling and will allow you to reprocess an error (if any).
BAPI is also good approach to use and fast in term of processing.
For BAPI approach, you can use BAPI BAPI_PRODORD_CREATE.
Hope this will help.
Regards,
Ferry Lianto -
Function module/BAPI for ATP Material
Hi All,
Is there any function module/BAPI for ATP(Available-to-Promise check) for Material.
1) Production order from one plant
2) Scheduling agreement from another plant.
Regards,
Srinivas.Hi,
you can use either of one below for ATP.
BAPI_MATERIAL_AVAILABILITY
RV_AVAILABILITY_CHECK
/SAPNEA/SMAPI_ATP_CHECK
regards,
ram -
IDOC/BAPI for T.code PIC01 to uplaod using LSMW
Hi friends,
I want to upload the data for T.code PIC01. can any one worked using IDOC/BAPI to uplaod using LSMW.
Thanks,
Sivaram.What T-code is that PIC01??
--Ragu -
Best SD userexit to use for checking 'material pricing conditions' (KOMV-KSCHL)?
Hiya,
When creating a sales document I'd like to check the material pricing conditions (KOMV-KSCHL), specifically for rate(KBETR), when a material is entered into an order.
If the Rate value is not as expected then I'd like to raise a pop-up to inform the user.
I was searching for a userexit to use and I can't find anything that fits my requirement...
I was therefore thinking of using USEREXIT_PRICING_PREPARE_TKOMP or USEREXIT_PRICING_PREPARE_TKOMK.
But I thought I'd just check with you experts first.
Would anyone have any suggestions?
Thanks in advance!Hello Robert,
I would suggest using 'USEREXIT_PRICING_PREPARE_TKOMP' which is for Item level fields. However, why would the rate be not as expected, is there a limit that you want to set ?
Also its worth noting that these user-exits get triggered 3-4 times every change is made. You may want to restrict that.
Another option is to set a flag in a requirement routine for the condition type and use it to send a pop up in User-Exit.
Rgds,
Vijay. -
FM, iDOC, BAPI for CNE1
Hi,
I would like implement the functionality of CNE1, in CNE1 user needs to set the "to period" which means the period until which the progress is to be computed.
Therefore I would like to know is there any FM, iDOC and BAPI for CNE1 that I can make use of.
Appreciate helps. Thanks.Should be from below FM's:
CNEV_01_MAIN
CNEV_01_MAIN_BLOCK
CNEV_01_POPUP_GET_DATE
CNEV_01_REPORT
CNEV_01_SELECT_COST_ELEMENTS
CNEV_01_SELECT_CUSTOMIZING
CNEV_01_SELECT_OBJECTS
CNEV_01_SELECT_OBJECT_PARAMS
CNEV_01_SELECT_VERSION_EV
CNEV_01_SELTAB_GET
CNEV_01_SEL_VERSN_EV_SHLP
Regards
Sreenivas -
I am using MK02 for loading partners for a vendor, but i have various problems when there are some partners created, does anybody knows any function for loading them?
thanks in advanceHai
BAPI_BUSPARTNER_CHANGE IS-H: BAPI BusPartner.Change - Change Business Partner
BAPI_BUSPARTNER_CREATE IS-H: BAPI BusPartner.Create - Create Business Partner
BAPI_ISUPARTNER_CHANGE BAPI for Changing Business Partner
BAPI_ISUPARTNER_CREATEFROMDATA BAPI for Creating a Business Partner
BAPI_ISUPARTNER_GETDETAIL BAPI for Displaying a Business Partner
BAPI_ISUPARTNER_GETLIST BAPI: generates list of business partners
Regards
Sreenivasulu P
Maybe you are looking for
-
Getting an error message when trying to connect to Telepresence Meeting - "Call Denied"
I am getting an error when trying to connect to Telepresence units I have been using for quite some time. I tried multiple computers and multiple destinations. The error message "call denied" pops up within seconds after trying to connect. Any ideas?
-
I have a movers coupon and am thinking of using it on the PS4 bundle with GTA V and The Last of Us. Is this possible or is this excluded from it? I looked at terms and conditions and it doesnt seem like it is. Please check for me. SKU number is 86371
-
Hello, Sorry for this stupid question, it should already have been answered a lot, but I couldn't find the answer on the forum. So here it is: I have a movieClip "Cell" associated to a class. The cell is basically a square with a textField containing
-
Setting of delivery completed flag in Purchase orders.
Hi Gurus, I need to set the Delivery Completed flag (EKPO-ELIKZ) and Final Delivery flag (EKPO-EGLKZ) for the Purchase Orders whose Goods Receipt has been done. Is there any function module or any BAPI F.module to do this. Can anyone Help Me. Thank
-
The Open a new tab (the + sign at the far right of the tabs) does not respond. How do I fix that?