BAPI or FM for LT0G transaction
Hi all.
Could you pls let me know the BAPI or FM for LT0G transaction.
I want to choose TO item view and select Putaway Foreground.
Thanks in Advance.
Moderator message: please do more research before asking, show what you have done yourself when asking.
Edited by: Thomas Zloch on Aug 28, 2011 8:42 PM
Please check the below function modules
OIO_RT_DELIVERY_CHECK
OIO_RT_DELIVERY_POST
LE_DSP_CHANGE_RETURNS_DELIVERY
Similar Messages
-
Nedd Bapi or FM for LT0G transaction
Hi all.
Could you pls let me know the BAPI or FM for LT0G transaction.
If any one has done BDC for the same pls suggest with ur inputs. I want to choose items & press the return to stock button.
Thanks in Advance.Please check the below function modules
OIO_RT_DELIVERY_CHECK
OIO_RT_DELIVERY_POST
LE_DSP_CHANGE_RETURNS_DELIVERY -
Bapi function module for ME32k Transaction
Hi all,
Can any one tell me what is the BAPI function module for ME32K transaction . I am trying to create service agreements in this transaction.
Even you can tell me if any other alternative procedure is there to create the service agreements in ME32K.
Bye
SrinivasHi srinivas p ,
Do you find some solution for this?! I have the same problem...
Can you help-me?
Patrícia. -
Bapi function module for the transaction VBO2 in 4.6 version
can u please tell me the how to proceed for the uploading rebate agreement data into transaction VBO2(change rebate agreement) USING the which bapi function module in 4.6c version.
I am also looking for the same requirment . could you please let me know if you find any BAPI.
-
BAPI or FM for NCOP Transaction (To assign Cost Center to Org Unit)
Hi,
We are searching for a BAPI or any other means to assign Cost Center to Org Unit.
recording this transaction is not so useful because the screen fields are not recorded properly.
Please advise if you had come across this transaction.
Thanks in advance,
NaguHi Prasad,
This is one of the answers i found in SDN itself check this
PP01> select the Object type (Org Unit)> enter the Org Unit No
Select the Cost Distribution Infotype--> Create & enter the Cost Center
Reward if it helps,
Satish -
Bapi or Function for CJ42 transaction - detail values
We have the need to import values to plan the revenues of a WBS of a Project from an Excel spreadsheet to transaction CJ42.
After searching on the forums, I've found a solution to load TOTAL values by using function KBPP_EXTERN_UPDATE_CO (OSS note 625613).
But we need also to load DETAIL values, having the ability to choose the Cost Element and the Period where the value is stored.
Exists any function or Bapi that can do this?With transaction BDBR/DX Tools I saw that your LSMW it's linked with Bapi BAPI_ACC_REVENUES_POST, which generates a CO document. That isn't what we need.
Adding some info on the issue:
We made a transaction to import costs for a given WBS and Version that loads values to CJ40; on this case, the detail values are loaded with bapi BAPI_COSTACTPLN_POSTACTINPUT and total values are loaded by a BDC.
I would like to do a similar process for the revenue values on CJ42. -
Hi,
Can any one suggest me, how to handle the errors for the BAPI MB_COUNT_POST_WITHOUT_INV_DOC, because this bapi does not have any return table for errors handling? And also suggest any other BAPI which fits for MI10 transaction.
<removed by moderator>
Thanks&Regards,
Damuan.
Edited by: Thomas Zloch on Feb 2, 2012Hi Dear,
Your answer is very helpful, thanks..!!
But when i am testing with the EIKPF structure, neither error is populating in EIKPF nor the records are posting in MI10. Could you please guess what would be the problem?
Below are the fields that i am passing through this BAPI
1)Document date 2)count date 3)plant 4)storage location 5)item number 6)material code 7) entry quantity
Thanks&Regards,
Damuan. -
BAPI / BADI for KE21N transaction
Hi all,
Please does anybody know a BAPI or BADI for KE21N transaction.
I need to update some fields on it.
Tks,
DanielaHi Daniela Machado,
Try this for CO PA Planning data..
BAPI_COPAPLANNING_GETDATA Read CO-PA Planning Data
BAPI_COPAPLANNING_POSTDATA
Write CO-PA Planning data
Also try,
BAPI_COPAQUERY_GETACC_ACTDATA
BAPI COPAQuery.GetAccountBasedActualData
BAPI_COPAQUERY_GETACC_PLANDATA
BAPI COPAQuery.GetAccountBasedPlannningData
BAPI_COPAQUERY_GETCOST_ACTDATA
BAPI COPAQuery.GetCostingBasedActualData
BAPI_COPAQUERY_GETCOST_PLANDAT
BAPI COPAQuery.GetCostingBasedPlanningData
Regards,
Tanveer.
<b>Please mark helpful answers </b> -
i have created a bapi to upload data for MIGO transaction.. (GOODS RECEIPT-->PURCHASE ORDER)
i am getting the error " stock posting is not possible for this material "'.
when i create directly, it is posted.. while uploading through the program it shows the above error.
please suggest if anyone knows....
Thanks in advance,
Dhivya N.*& Report ZR_MIGO_UPLOAD
*& package name : zabap
*& transport request number : MIDK901443
*& program to upload goods movement
REPORT ZR_MIGO_UPLOAD.
***DATA DECLARATION***
type-POOLs: icon.
TYPES: BEGIN OF TY_GR_PO,
EBELN(10) TYPE c , "'PO NUMBEr
EBELP(10) TYPE c, "PO ITEM NUMBER
* LGOBE TYPE LGOBE, "STORAGE LOCATION DESCRIPTION
LGORT(10) TYPE c, "STORAGE LOCATION
XFELD TYPE c, "ITEM OK
GERNR(10) TYPE c, "SERIALNUMBER
END OF TY_GR_PO.
DATA: TA_GR_PO TYPE TABLE OF TY_GR_PO, "TABLE FOR GOODS RECEIPT PURCHASE ORDER
WA_GR_PO TYPE TY_GR_PO.
DATA: BLDAT TYPE BLDAT, "DOCUMENT DATE
BUDAT TYPE BUDAT, "POSTING DATE
WEVER TYPE WEVER. "VERSION FOR PRINTING GR SLIP
***BAPI DECLARATION***
DATA: BEGIN OF GM_HEAD OCCURS 0. "Material Document Header Data
INCLUDE STRUCTURE BAPI2017_GM_HEAD_01.
DATA: END OF GM_HEAD.
DATA: BEGIN OF GM_CODE OCCURS 0.
INCLUDE STRUCTURE BAPI2017_GM_CODE. "Assign Code to Transaction for Goods Movement
DATA: END OF GM_CODE.
DATA: BEGIN OF GM_RET OCCURS 0.
INCLUDE STRUCTURE BAPI2017_GM_HEAD_RET. "Material Document Number/Material Document Year
DATA: END OF GM_RET.
DATA: BEGIN OF GM_ITEM OCCURS 0.
INCLUDE STRUCTURE BAPI2017_GM_ITEM_CREATE. "Material Document Items
DATA: END OF GM_ITEM.
DATA: BEGIN OF GM_SER OCCURS 0.
INCLUDE STRUCTURE BAPI2017_GM_SERIALNUMBER. "Serial Number
DATA: END OF GM_SER.
data: BEGIN OF ta_bapireturn OCCURS 0.
INCLUDE STRUCTURE BAPIRET2.
data: END OF ta_bapireturn.
***declaration of excel file handling table***
FIELD-SYMBOLS: <fs> type any. "field symbol for alsm_excel
DATA: TA_EXCEL TYPE TABLE OF ALSMEX_TABLINE, "table to contain excel sheet values
WA_EXCEL TYPE ALSMEX_TABLINE.
***declaration of other parameters***
data: V_brow type i VALUE 2, "BEGIN OF ROW
V_bcol type i value 1, "BEGIN OF COL
V_erow type i value 65536, "END OF ROW
V_ecol type i value 256. "END OF COLUMN
DATA: V_sear type string,
V_INDEX TYPE i,
V_tabix type sy-tabix, "current line.
v_lines type i. "total number of records
DATA: DATE TYPE DATS.
***SELECTION SCREEN***
***SELECTION SCREEN DESIGN***
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 3.
PARAMETERS: zCODE(2) TYPE C MATCHCODE OBJECT H_T158G,
zrefdoc type REFDOC,
version type WEVER.
SELECTION-SCREEN skip 5.
PARAMETERS: p_file type ibipparms-path.
SELECTION-SCREEN SKIP 3.
SELECTION-SCREEN END OF BLOCK b1.
***SELECTION SCREEN VALUE REQUEST***
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
CALL FUNCTION 'F4_FILENAME' "f4 help for file name
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = 'P_FILE'
IMPORTING
FILE_NAME = P_FILE.
***SELECTION SCREEN EVENT***
AT SELECTION-SCREEN. "validation
if p_file <> ''.
V_sear = p_file.
SEARCH V_sear for '.xls'.
if sy-subrc <> 0.
message 'please provide excel file. it is not valid' type 'E'.
ENDIF.
ENDIF.
INITIALIZATION.
* DATE = '17.04.14'.
GM_HEAD-PSTNG_DATE = SY-DATUM.
GM_HEAD-DOC_DATE = SY-DATUM.
gm_head-pr_uname = sy-uname.
***START OF SELECTION***
START-OF-SELECTION.
gm_head-REF_DOC_NO = zrefdoc.
gm_head-VER_GR_GI_SLIP = version.
GM_CODE-GM_CODE = zCODE.
PERFORM EXCEL_UPLOAD.
PERFORM EXCEL_CONVERSION.
PERFORM NO_RECORDS.
END-OF-SELECTION.
PERFORM BAPI_ASSIGNMENT.
PERFORM BAPI_FM.
*& Form EXCEL_UPLOAD
* text
* --> p1 text
* <-- p2 text
FORM EXCEL_UPLOAD .
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = V_BCOL
I_BEGIN_ROW = V_BROW
I_END_COL = V_ECOL
I_END_ROW = V_EROW
TABLES
INTERN = TA_EXCEL
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3.
ENDFORM. " EXCEL_UPLOAD
*& Form EXCEL_CONVERSION
* text
* --> p1 text
* <-- p2 text
FORM EXCEL_CONVERSION .
if ta_excel is NOT INITIAL.
sort ta_excel by row col.
clear wa_excel.
clear wa_GR_PO.
LOOP AT ta_excel INTO wa_excel.
move wa_excel-col to v_index.
ASSIGN COMPONENT v_index OF STRUCTURE wa_GR_PO to <fs>.
if sy-subrc = 0.
move wa_excel-value to <fs>.
ENDIF.
at END OF row.
append wa_GR_PO to ta_GR_PO.
clear wa_GR_PO.
ENDAT.
ENDLOOP.
else.
MESSAGE 'no data for conversion' type 'I'.
ENDIF.
ENDFORM. " EXCEL_CONVERSION
*& Form NO_RECORDS
* text
* --> p1 text
* <-- p2 text
FORM NO_RECORDS .
DESCRIBE TABLE ta_GR_PO LINES v_lines.
if v_lines = 0.
MESSAGE 'NO RECORDS TO UPLOAD' TYPE 'E'.
ENDIF.
ENDFORM. " NO_RECORDS
*& Form BAPI_ASSIGNMENT
* text
* --> p1 text
* <-- p2 text
FORM BAPI_ASSIGNMENT .
IF TA_GR_PO IS NOT INITIAL.
LOOP AT TA_GR_PO INTO WA_GR_PO.
gm_item-PO_NUMBER = wa_gr_po-ebeln.
GM_ITEM-STGE_LOC = WA_GR_PO-LGORT.
GM_ITEM-PO_ITEM = WA_GR_PO-EBELP.
GM_ITEM-NO_MORE_GR = 'X'."WA_GR_PO-XFELD'.
* GM_SER-SERIALNO = WA_GR_PO-GERNR.
gm_item-NO_MORE_GR = 1.
gm_item-ENTRY_QNT = 2.
gm_item-MOVE_TYPE = 101.
* gm_item-MVT_IND = 'B'.
gm_item-plant = 'P001'.
gm_item-move_stloc = 'FG01'.
* GM_ITEM-SPEC_STOCK = 'K'.
APPEND GM_ITEM.
APPEND GM_SER.
ENDLOOP.
ELSE.
MESSAGE 'DATA IS NOT UPLOADED' TYPE 'I'.
ENDIF.
ENDFORM. " BAPI_ASSIGNMENT
*& Form BAPI_FM
* text
* --> p1 text
* <-- p2 text
FORM BAPI_FM .
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = gm_head
GOODSMVT_CODE = gm_code
* TESTRUN = ' '
* GOODSMVT_REF_EWM =
IMPORTING
GOODSMVT_HEADRET = gm_ret
* MATERIALDOCUMENT =
* MATDOCUMENTYEAR =
TABLES
GOODSMVT_ITEM = gm_item
GOODSMVT_SERIALNUMBER = gm_ser
RETURN = ta_bapireturn
* GOODSMVT_SERV_PART_DATA =
* EXTENSIONIN =
if ta_bapireturn-type = 'S'.
write:/ icon_green_light as icon,
'success: Material document',gm_ret-mat_doc, 'is created for the GOODS RECEIPT- po number : ', wa_gr_po-ebeln,
/ 'reason:' , ta_bapireturn-message.
ELSEIF ta_bapireturn-type = 'E'.
write:/ icon_red_light as icon,
'error: Material document',gm_ret-mat_doc , 'is not created for the GOOD RECEIPT- po number : ', wa_gr_po-ebeln,
/ 'reason:' , ta_bapireturn-message.
ENDIF.
ENDFORM. " BAPI_FM -
How we can find BAPI's for a transactions?
hi
how we can find BAPI's for a transactions?
thanks in advancehi,
use this function module SXV_GET_CLIF_BY_NAME
function sxv_get_clif_by_name .
""Lokale Schnittstelle:
*" IMPORTING
*" VALUE(NAME)
*" VALUE(PREFIX) TYPE SEEX_CLIF_PREFIX
*" EXPORTING
*" VALUE(CLIF) TYPE SEOCLSNAME
call function 'SXV_ADD_PREFIX'
exporting
name = name
prefix = prefix
importing
new_name = clif.
endfunction.
debug the function module you will get name of bapi , badi used for transaction which ever operation you perform
it will call this function module and will give you name
regards
Deepak. -
BAPI or FM for Material and ChapterID Combination(J1ID Transaction)
Dear All,
I need BAPI or FM for Creation of Material and ChapterID combination. I dont need for other options present in J1ID Transaction.
I cannot use Insert statement for Material and ChapterID Creation as it contains only few fields.
Please let me know regarding this.
Regards,
AnilkumarHello
The bapi BAPI_INSPECTIONPLAN_CREATE is used for creation. There you can assign several materials through structure MATERIALTASKALLOCATION (BAPI1191_MTK_C). There is no bapi for modifications so you can assign other materials using LSMW or BDC as Gururaj told you or in this special case populate table MAPL directly (better talk to your ABAP to decide it); I did it without issues and I checked and the function CZ_VB_MAPL_POST could update the information you need (talk to your ABAP to validate it).
Best regards
Carlos Díaz -
BAPI or FM for Transaction CO02 (Production Order Change)
Hi I have to change fields(CHARG,LGORT,RGEKZ,MENGE,EWAHR) in sap transaction (CO02-Change Production Order) in COMPONENT LEVEL
Can anyone suggest one BAPI or FM for this.Hi Ravi
Thanks for your Suggestion.
I tried with BAPI <b>'BAPI_ALM_ORDER_MAINTAIN'</b>.
It is updating in the transaction CO02 also.
Actually it is using for Internal Orders.Can i use this one for <b>PRODUCTION ORDER</b> Also.
Umashankar -
BAPI or RFC for replicate the transaction LX03
Hi experts,
anyone know any BAPI or RFC for replicate the transaction LX03?
ThanksThere are no alternate transaction for OBY6
-
BAPI Function module for transaction ME32K for change
Please let me know the name of the BAPI Function module for transaction ME32K for change the contract.
Hi Krishan,
I have checked but their is no BAPI called
BAPI_CONTRACT_CHANGE.
If I am wrong plz correct me with the procedure to view the above BAPI in SAP System.
Regards,
Nitin -
BAPI for FRFT_B Transaction
Hi there,
I would like to know the BAPIs that can be used for the transactions FRFT_B ("Fast Entry with Repetitive Codes - Bank to Bank Transfer").
Does anybody know a BAPI for this transaction?
Thank you,
Janetehi,
To know the BAPI's for a particular transaction generally we follow the following steps.
1. Find out the package of the transaction.
Start FRFT_B go to system --> status.
Double click on transaction
Note Package name for that particular transaction.
Open this package in SE80
Open business engineering-->Business object types
Find the BO which sounds the most appropriate
But there are no Business Objects for FRFT_B transaction.
There is another method to find BAPIs
Start FRFT_B go to system-->status
Double click transaction FRFT_B
Double click on package
Read the application component. (this is FI-BL-PT Payment Transactions)
Then open the transaction BAPI
Financial Accounting-> Bank Accounting->Payment Request-> Start Payment
By this you can find the BAPI for a transaction.
Hope this would be helpful for you.
Regards,
Supriya.
Edited by: Supriya.ch on Jan 30, 2012 2:34 PM
Maybe you are looking for
-
How to populate the Language Key description is not available
Hi, Question: How to populate the Language Key description is not available in the Customer text table The problem is ; Customer no : 0012345 For this Customer no description is maintained only in EN, JA ,FR from R3 side. EN : HP International Ltd JP
-
Problem with- FWZZ(BDC)
hi i am trying to use bdc for uploading mutual fund dividend (tcode-FWZZ). actually two tables VZZKOPO & VWBEPP gets updated when we run the transaction.But when i am running my bdc only one table is getting updated i.e VZZKOPO.why it is happenig lik
-
Cumulative Quantities in a BEx Query
Hi Friends, I have to get the Cumulative Values for a Key Fig Actual Quantity in a BEx Query. The scenario is as follows: I have the following data in the cube: YearWeek ActQuantity 200601 35 200602 4
-
I need to set the block Good Issue for delivery for a customer and assign to delivery type. So I created a delivery block and checked the GI Block only for this code and and assigned to delivery type. However, when I block the customer delivery usin
-
Unable to Transport the Date rules in action condition
Hi Experts, I am unable to Transport the date rules in the action condition in my actions to the Quality system from development system. the screenshot for development system- and the quality system are attached. I tried to include the Action conditi