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
Similar Messages
-
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 -
Function module/BAPI for Pgi creation
hi all,
any standard function module/ BAPI for create PGI.
i know BAPI_OUTB_DELIVERY_CONFIRM_DEC, suppose if we are using PGI reverse not possibul.
regardsThis is not answered
-
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 -
Function module/BAPI for executing VD51/VD52 transactions
Hi
Warm greetings to all,
I require a function module/BAPI for executing VD51/VD52 transactions. Can anyone help on this
SreekanthHi Sreekanth,
Use this.
There is an FM which is used by standard transaction
'RV_CUSTOMER_MATERIAL_UPDATE' .
Ex Code -
CALL FUNCTION 'RV_CUSTOMER_MATERIAL_UPDATE'
IN UPDATE TASK
TABLES
XKNMT_TAB = XKNMT
YKNMT_TAB = YKNMT
TCATALOG_TAB = LT_CATALOG.
commit work.
Regards,
Vijay -
Function module / BAPI for FBRA IN 3.1 VERSION?
Hello all,
Could you please suggest Function module / BAPI for FBRA (Reverse and cancel) transaction in 3.1 version.
Thanks,
SubbaPlease check this FM perhaps it may help.
CALL_FB08
REVERSE_CLEARING
RESET_CLEARED_ITEMS_BDC_WRITE.
Regards
Kiran Sure -
Function Module/BAPI for posting of Parked Invoice/Documnet
Dear all,
Please provide me.
Function Module/BAPI for posting of Parked Invoice/Documnet
Regards
RickyHi Ricky,
What about MR_POST_PP_INVOICE?
In my current project, though, we had to develop a function module for this.
Regards,
Eli -
Function Module/BAPI For Material Document
Dear All,
I am looking for a function Module/BAPI to get details relevant for a Material Document.
I can get those details using table MSEG & MKPF, but still looking for a Function Module.
Kindly help.Hi
Try with these BAPI's
BAPI_GOODSMVT_GETITEMS
BAPI_GOODSMVT_GETDETAIL
Regards
Brahmaji -
Function Module/BAPI for Posting with Residual Clearing
Hello All,
I want to know whether any Function Module/BAPI avaialble for posting with residual clearing (FB05). Can we do residual clearing using the FM "Posting_Interface_Clearing"?
Please let me know how this can be handled.
Thanks in advance.
With Regards,
Senthil.Hi senthil ,
Look at these threads
POSTING_INTERFACE_CLEARING
bapi for Transfer posting with clearing
BAPI_ACC_GL_POSTING_POST for FB05
Question about POSTING_INTERFACE_CLEARING and POSTING_INTERFACE_START
Regards,
Gaurav -
Function Module/BAPI for updating Document Status.
Hi Experts,
Is there any Function Module/BAPI available for updating the document status ?
Thank You,
Radhika.unresolved!
-
Function Module (BAPI) for Delivery Change
Dear All,
We have a Function Module "BAPI_SALESORDER_CHANGE" for changes in sales order, wherein we also can enter Texts in sales order.
Please tell me similar such function module for Outbound Delivery, wherein I can enter / insert / change the Texts (both Header & Item) in a deivery document.
Regards,
DhananjayThanks
Where in this Function Module do I find the table / parameter for adding text at item & header level.
Regards
Dhananjay -
Function module/ Bapi for Sales order change
Hi Experts,
I require to have a Bapi/ function module to change a existing sales order to insert value in the field VBAP-SOBKZ.
Please suggest.
Thanks,
Shibaji.HI,
I have identified this Bapi but this Bapi does not contain the relevant field to update. Can you suggest any other Function module/ Bapi to update the field.
Thanks & Regards,
Shibaji -
Any BAPI s or functional modules avilabe for Create BOM -- CS01
client using ECC6.0 ,, Actually we are converting legacy data (Excel) in to SAP R/3 . we are writing BDC program for this.
Any functional modules or BAPI are avilabe for convert data in to SAP R/3 for CS01 transaction. If any one know exact information give example and
parameters also..Check this BDC of CS01
*& Report YCS01_TEST
REPORT ycs01_test.
TYPE-POOLS truxs.
DATA:f_file TYPE string.
*TYPES: BEGIN OF ty_flat, " structure for flat file
*string(200),
*END OF ty_flat.
TYPES: BEGIN OF ty_head, " structure for header file
ind(2) TYPE n,
matnr(18) ,
werks(4) ,
stlan(1) ,
stlal(2) ,
datuv(10) ,
ztext(40),
bmeng(13) ,
bmein(3),
stlst(2) ,
END OF ty_head.
TYPES :BEGIN OF ty_item, "structure for item file
ind(2) TYPE n,
postp(1) ,
posnr(4) ,
idnrk(18) ,
menge(13),
meins(3) ,
potx1(40),
lgort(4) ,
sanka(1),
END OF ty_item.
TYPES :BEGIN OF ty_flat, " structure for final file
matnr(18) ,
werks(4) ,
stlan(1) ,
stlal(2) ,
datuv(10) ,
ztext(40),
bmeng(13) ,
bmein(3),
stlst(2) ,
postp(1) ,
posnr(4) ,
idnrk(18) ,
menge(13),
meins(3) ,
potx1(40),
lgort(4) ,
sanka(1),
END OF ty_flat.
INTERNAL TABLE DECLARATIONS *
DATA : t_flat TYPE TABLE OF ty_flat,
*t_flat1 TYPE TABLE OF ty_flat1,
t_head TYPE TABLE OF ty_head,
t_item TYPE TABLE OF ty_item,
t_bdcdata TYPE TABLE OF bdcdata,
t_bdcmsg TYPE TABLE OF bdcmsgcoll.
WORK AREA DECLARATIONS *
DATA : st_flat LIKE LINE OF t_flat,
*st_flat1 LIKE LINE OF t_flat1,
st_head LIKE LINE OF t_head,
st_item LIKE LINE OF t_item,
st_bdcdata LIKE LINE OF t_bdcdata,
st_bdcmsg LIKE LINE OF t_bdcmsg.
VARIABLES *
DATA : v_ind(2) TYPE n, " value 1,
v_fld(20),
v_no(2) TYPE n.
SELECTION SCREEN *
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME TITLE text-001. "selection screen
PARAMETERS: p_fnam TYPE rlgrap-filename OBLIGATORY.
SELECTION-SCREEN : END OF BLOCK b1.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fnam.
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
field_name = ' '
IMPORTING
file_name = p_fnam.
IF p_fnam IS NOT INITIAL.
VALIDATE FILE TYPE
PERFORM sub_validate_txt_type.
ENDIF.
START-OF-SELECTION.
f_file = p_fnam.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = f_file
filetype = 'ASC'
has_field_separator = '#'
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = t_flat
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
SORT t_flat BY posnr .
LOOP AT t_flat INTO st_flat.
MOVE :
st_flat-matnr TO st_head-matnr,
st_flat-werks TO st_head-werks,
st_flat-stlan TO st_head-stlan,
st_flat-stlal TO st_head-stlal,
st_flat-datuv TO st_head-datuv,
st_flat-ztext TO st_head-ztext,
st_flat-bmeng TO st_head-bmeng,
st_flat-bmein TO st_head-bmein,
st_flat-stlst TO st_head-stlst.
at new posnr.
move:
st_flat-posnr to st_item-posnr,
st_flat-postp to st_item-postp,
st_flat-idnrk to st_item-idnrk,
st_flat-menge to st_item-menge,
st_flat-potx1 to st_item-potx1,
st_flat-lgort to st_item-lgort,
st_flat-sanka to st_item-sanka.
ADD 1 TO v_ind.
ENDAT.
MOVE v_ind TO st_head-ind.
MOVE v_ind TO st_item-ind.
APPEND st_head TO t_head.
APPEND st_item TO t_item.
CLEAR st_head.
CLEAR st_item.
*CLEAR v_ind.
ENDLOOP.
CLEAR v_ind.
*perform open_group.
SORT t_item BY ind.
SORT t_head BY ind.
DELETE ADJACENT DUPLICATES FROM t_head.
DELETE ADJACENT DUPLICATES FROM t_item.
LOOP AT t_head INTO st_head.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29N-STLAN'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RC29N-MATNR'
st_head-matnr.
PERFORM bdc_field USING 'RC29N-WERKS'
st_head-werks.
PERFORM bdc_field USING 'RC29N-STLAN'
st_head-stlan.
PERFORM bdc_field USING 'RC29N-STLAL'
st_head-stlal.
PERFORM bdc_field USING 'RC29N-DATUV'
st_head-datuv.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0110'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29K-ZTEXT'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
PERFORM bdc_field USING 'RC29K-ZTEXT'
st_head-ztext.
PERFORM bdc_field USING 'RC29K-BMENG'
st_head-bmeng.
PERFORM bdc_field USING 'RC29K-STLST'
st_head-stlst.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0111'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29K-LABOR'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
LOOP AT t_item INTO st_item WHERE ind = st_head-ind.
ADD 1 TO v_no.
PERFORM bdc_dynpro USING 'SAPLCSDI' '0140'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RC29P-POSTP(02)'.
PERFORM bdc_field USING 'BDC_OKCODE'
'/00'.
CONCATENATE 'RC29P-IDNRK(' v_no ')' INTO v_fld.
CONDENSE v_fld.
PERFORM bdc_field USING v_fld
st_item-idnrk.
CONCATENATE 'RC29P-MENGE(' v_no ')' INTO v_fld.
CONDENSE v_fld.
PERFORM bdc_field USING v_fld
st_item-menge.
CONCATENATE 'RC29P-MEINS(' v_no ')' INTO v_fld.
CONDENSE v_fld.
PERFORM bdc_field USING v_fld
st_item-meins.
CONCATENATE 'RC29P-POSTP(' v_no ')' INTO v_fld.
CONDENSE v_fld.
PERFORM bdc_field USING v_fld
st_item-postp.
PERFORM bdc_field USING 'BDC_SUBSCR'
'SAPLCSDI'.
v_no = 1.
ENDLOOP.
CLEAR v_no.
PERFORM bdc_field USING 'BDC_OKCODE'
'=FCBU'.
CALL TRANSACTION 'CS01' USING t_bdcdata MODE 'A'
UPDATE 'A' MESSAGES INTO t_bdcmsg.
REFRESH t_bdcdata.
CLEAR t_bdcdata.
ENDLOOP.
PERFORM fr_format_message.
Start new screen *
FORM bdc_dynpro USING program dynpro.
CLEAR st_bdcdata.
st_bdcdata-program = program.
st_bdcdata-dynpro = dynpro.
st_bdcdata-dynbegin = 'X'.
APPEND st_bdcdata TO t_bdcdata.
ENDFORM. "BDC_DYNPRO
Insert field *
FORM bdc_field USING fnam fval.
IF fval space. "NODATA.
CLEAR st_bdcdata.
st_bdcdata-fnam = fnam.
st_bdcdata-fval = fval.
APPEND st_bdcdata TO t_bdcdata.
ENDIF.
ENDFORM. "BDC_FIELD
FORM sub_validate_txt_type .
DATA : str1 TYPE localfile,
str2 TYPE char3.
SPLIT p_fnam AT '.'
INTO str1 str2.
TRANSLATE str2 TO LOWER CASE.
IF str2 NE 'txt'.
please enter '.txt' file format
MESSAGE i001(zmsg).
LEAVE LIST-PROCESSING.
ENDIF.
ENDFORM. "sub_validate_txt_type.
Regards. -
RE:BAPI for Create Material Serial Number
Can anybody please suggest me any function module or BAPI available to Create Material Serial Number (transaction IQ04), and later Change Material Serial Number (transaction IQ02) for updating its class type, class and characteristic description?
Hi,
Two options for creating meters, meter serial number
- FM: EQUIPMENT_SAVE - It is too trickly to use this FM, one has to do lot of research and should have good technical skills
- Using BDC - simple and straigh.
For updating class for the meter you can use FM: BAPI_OBJCL_CREATE (BDC does not work for this one). Again it is pretty complex to implement.
For created meters, i have used both FM and BDC. Decision depends on requirement, volume and resource.
- ASB -
Function Module / BAPI for Inbound Delivery from Purchase Order
Hi,
I need to create an inbound delivery from Purchase Order items and am looking out for some Function Module or BAPI for the same.
The requirement is that i should be able to specify selected line items from PO for delivery.
I tried the BDC method for VL31N , but the particular item selection is problem, since by default it shows all the items of PO and i want only selected items.
Do reply.
Thanks in advance.check these and their documentations.
BAPI_INB_DELIVERY_CHANGE Change inbound delivery
BAPI_INB_DELIVERY_CONFIRM_DEC BAPI for inbound delivery verification from a decentralized system
BAPI_INB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Inbound Deliveries
Regards
Prabhu
Maybe you are looking for
-
BUG: scheduling while atomic swapper/0/0x00000003 after system upgrade
I can't seem to find anything about this but my system has gone wacky after pacman -Syu yesterday morning. I have over 100000 lines of the above message in errors.log I suppose I will have to build a new kernel. That is probably inevitable anyway as
-
Repeat events as every week, every 2 weeks, (what about every 3 weeks)
How can I get the Calendar app to let me repeat events every 3 or 4 weeks? I could do this on my "Palm One Tungsten T5 years ago! Does anyone have a calendar program that would let me do it on a Window 7 PC? Prefer it on the iPad or iPod touch Thanks
-
Today I tried to post a text that contained HTTP headers. One of those was this: Content-Dis-data; (let's write it in a different way so it's not removed again: C o n t e n t - D i s p o s i t i o n : f o r m - d a t a ; (leave out the blanks) But a
-
Dear all, I have this query <SELECT DISTINCT VC_EMP_CODE,VC_SAL_COMP_CODE AS EMP_SAL_VALUE FROM (SELECT A.*,B.VC_SAL_COMP_CODE FROM PERSDET A,DT_SAL_SLIP B WHERE A.VC_COMP_CODE=01 AND A.VC_EMP_CODE=774 AND A.VC_EMP_CODE=B.VC_EMP_CODE AND SAL_MONTH=06
-
Black blocks in my Camera Roll
Hi, I have an iPhone 3G running 4.0.1. Since getting this update I have a big black block in my camera roll, covering some images, 5 to be exact. It's hard to explain, it's just a black block covering most of the 5 images, like a glitch looking thing