Looking for BAPI/FM for LT10
Hi All-
Can anyone please provide me if there is any BAPI or FM is available to create Stock Transfer using LT10...
Please provide me the suggestions...I will give you reward points for helpfull answers...
Thanks,
Sony...
Hi,
The following FM are used in the program LT10.
check these..
L_TO_CREATE_SINGLE
L_TO_CREATE_MULTIPLE
Thanks,
Naren
Similar Messages
-
Looking for BAPI/FM for LB12 and LT12
Hi All-
I am trying to find-out either BAPI's or FM to create Trasfer Orders(LB12) and Confirm Transfer Order(LT12)...
Please help me out....I used "L_TO_CREATE_MULTIPLE",this can create a transfer order with two or more items,
just like:
REPORT Z_L_TO_CREATE_SINGLE.
data begin of i_ltap_cr occurs 0.
include structure LTAP_CREAT.
data end of i_ltap_cr.
data : w_tanum TYPE ltak-tanum.
i_ltap_cr-matnr = '000000000064802100'.
i_ltap_cr-werks = '7960'.
i_ltap_cr-lgort = '9820'.
i_ltap_cr-CHARG = '711A001002'.
i_ltap_cr-altme = 'KG'.
i_ltap_cr-ANFME = '3103.776'.
*i_ltap_cr-squit = 'X'."This means automatically confirm APPEND i_ltap_cr.
Now the Stillage must be added.
APPEND i_ltap_cr.
i_ltap_cr-matnr = '000000000064900001'.
i_ltap_cr-werks = '7960'.
i_ltap_cr-lgort = '9820'.
i_ltap_cr-CHARG = '727A01A004'.
i_ltap_cr-altme = 'KG'.
i_ltap_cr-ANFME = '5630'.
*i_ltap_cr-squit = 'X'."This means automatically confirm APPEND i_ltap_cr.
APPEND i_ltap_cr.
CALL FUNCTION 'L_TO_CREATE_MULTIPLE'
EXPORTING
i_lgnum = '832'
i_bwlvs = '201'
I_BENUM = '8086021402'
I_BNAME = SY-UNAME
IMPORTING
e_tanum = w_tanum
tables
t_ltap_creat = i_ltap_cr
IF sy-subrc <> 0.
ENDIF. -
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. -
i am looking for Bapi's for SU01 transaction
Hi,
Take a look at this
BAPI_USER_ACTGROUPS_ASSIGN
BAPI_USER_ACTGROUPS_DELETE
BAPI_USER_CHANGE
BAPI_USER_CLONE
BAPI_USER_CREATE
BAPI_USER_CREATE1
BAPI_USER_DELETE
BAPI_USER_DISPLAY
BAPI_USER_EXISTENCE_CHECK
BAPI_USER_GETLIST
BAPI_USER_GET_DETAIL
BAPI_USER_INTERNET_CREATE
BAPI_USER_LOCACTGROUPS_ASSIGN
BAPI_USER_LOCACTGROUPS_DELETE
BAPI_USER_LOCACTGROUPS_READ
BAPI_USER_LOCK
BAPI_USER_LOCPROFILES_ASSIGN
BAPI_USER_LOCPROFILES_DELETE
BAPI_USER_LOCPROFILES_READ
BAPI_USER_PROFILES_ASSIGN
BAPI_USER_PROFILES_DELETE
BAPI_USER_UNLOCK
Regards,
Ravi
Note : Please mark the helpful answers -
Looking for bapi's to create records from custom software
I'm looking for bapi to create
1. InfoType 15 SubType 3001 (Additional Payments/Days Number)
2. InfoType 15 SubType 3208 (Additional Payments/Overtime)
I'm tried alot to find in standard bapi's but couldn't find related bapi to create these records.
Kindly help me to use find out a standard bapi.hi
if you want to create it using some extrernal software , you will have to define your own bapi or RFC which will call the HR infotype operation function module.
Regards
Sameer -
We look for BAPI/Function to As-Built for Serialized Material (tran.COIB)
Hello ,
We look for BAPI/Function to As-Built for Serialized Material (transaction COIB).
We check transaction COIB in order to create insatlled base for production orders(bill of equipments)
We look for BAPI/ Function in order to run that process automatically in background base of some rules we will decide. Do you know if there is BAPI/ Function refer to it?Sorry but I found the function group IBPP with the function modules:
IBPP_CHANGE_IBASE
IBPP_CREATE_IBASE
IBPP_GET_IBASE_DOWN_ALL
For our requirements these fmodules are sufficient.
Regards -
BAPI needed for Material Planning T-code MD20
Hi,
BAPI needed for Material Planning T-code MD20.
Thank You.Hi,
I looked as I needed one too - no BAPI for this - I guess you need to go with batch input for MD20 (worked fine in my LSMW so I guess in ABAP it should be also good)
BR,
Tomek -
How to use the field checkbox for bapi parameter ?
Dear All,
Now, i find some code as below.
The BAPI is uesd to create or update the sales order; but checkbox for bapi parameter have not been give values 'X'. why?
take the first bapi for example, i think table order_items_inx (table parameter) should be given value 'X' for the field which will be update.
Could you teach what happed?
case gt_all_hd-sd_doc_cat.
when 'C'.
call function 'BAPI_SALESORDER_CREATEFROMDAT2'
exporting
order_header_in = gs_order_hd
importing
salesdocument = gv_vbeln
tables
return = gt_return
order_items_in = gt_items
order_partners = gt_partners
order_schedules_in = gt_schedules
order_conditions_in = gt_conditions.
when others.
call function 'BAPI_SALESDOCU_CREATEFROMDATA1'
exporting
sales_header_in = gs_order_hd1
importing
salesdocument_ex = gv_vbeln
tables
return = gt_return
sales_items_in = gt_item1
sales_partners = gt_part1
sales_schedules_in = gt_sch1
sales_conditions_in = gt_cond1.
endcase.If you want to change a value, you need to pass the value in the 'order_items_in = gt_items' structure.
You also need to add an 'X' in the 'order_items_inx = gt_itemsx' structure for the same field.
If you do not pass the 'X' then the value will not be updated...
It looks like you are not passing the required '...x' structures.
For more info see the documentation:
Notes
1. Mandatory entries:
ORDER_HEADER_IN : DOC_TYPE Sales document type
SALES_ORG Sales organization
DISTR_CHAN Distribution channel
DIVISION Division
ORDER_PARTNERS..: PARTN_ROLE Partner role, SP sold-to party
PARTN_NUMB Customer number
ORDER_ITEMS_IN..: MATERIAL Material number
2. Ship-to party:
If no ship-to party is entered, use the following: Ship-to party =
sold-to party.
3. Commit control:
The BAPI does not have a database commit. This means that the
relevant application must leave the commit, in order that can be
carried out on on the database. The BAPI BAPI_TRANSACTION_COMMIT is
available for this.
4. German key words:
The following key words must be entered in German, independantly of
the logon language:
DOC_TYPE Sales document type, for example: TA for standard order
PARTN_ROLE Partner role, for example: WE for ship-to party
Further information
You can find further information in the OSS. The note 93091 contains
general information on the BAPIs in SD. -
BAPI / IDOC for incoming CS Order
Hi everybody,
I am looking for a SAP standard function module that will create/change a CS/SM/PM order (not internal order). I had a look at message type IORDER, but it there's no function module for inbound processing. (release 4.6C)
I need to create CS orders out of a XML message using XI.
(XI recieves an external XML document and creates CS orders in SAP )
The easiest way I could think of was to use an existing SAP IDOC / RFC to create the CS order in SAP.
Thanks for suggestions, regards, Kathrin!Hello,
in Rel.45 and 4.6x i searched this without any success.
One workaround i used in 4.5 for CS-orders was creating an sales order and using 'service products' ( the CS-order is then created in the SD-module). But it's a very restricted solution.
In Rel.47 look for BAPI's beginning with 'BAPI_ALM' .
they looked good, but i never really worked with them.
Regards,
Wolfgang -
How to create program for bapi?
hi all,
how to create program for bapi?
reply me soon now.....
can anybody help me.....
thanks,
S.Suresh.
Title was edited by:
Alvaro Tejada GalindoHi ...Here is the step by step procedure for creating BAPIs.
There are 5 different steps in BAPI.
- Create BAPI Structure
- Create BAPI Function Module or API Method.
- Create BAPI object
- Release BAPI Function Module.
- Release BAPI object.
Step1. Creating BAPI Structure:
- Go to <SE11>.
- Select Data Type & Enter a name.
- Click on Create.
- Note: Always BAPI should be in a development class with request number (Not Local Object).
- Select Structure & hit ENTER.
- Enter the fields from your database. Make sure that the first field is the Primary Key Field.
- Then SAVE & ACTIVATE.
Step 2. Creating BAPI module:
- Enter TR.CODE <SE37>.
- Before entering any thing, from the present screen that you are in, select the menu
Goto -> Function Groups -> Create Group.
Enter a name (Note: This name Must start with ZBAPI)
Let this screen be as it is and open another window and there, enter TR.CODE <SE80).
Click on the Third ICON that says Inactive Objects.
Select the group that you just created and click on Activate.
Notice that the group you created will disappear from the list of inactive objects.
- Go back to ><SE37> screen and enter a name and hit <ENTER>. Then enter the group name that you just created and activated.
NOTE: When you release a function module the respective group will be attached to that particular application. It cannot be used for any other application. NEVER include an already existing group that is attached to another module.
Now click on the first Tab that says [ATTRIBUTES] and select the radio button that says remote-enabled module since we will be accessing this from any external system.
Then click on the second tab that says [IMPORT].
Enter a PARAMETER NAME, TYPE and the structure you created in the first step. Also select the check box Pa. All remotely enabled functional modules MUST be Pa enabled, where Pa means Passed by Value and if you dont select Pa, then that means it will be passed by reference..
Then click on tab that says [EXPORT].
Enter the following as is in the first three fields
RETURN TYPE BAPIRETURN (These 3 field values are always same)
Here also select Pa meaning Pass by value.
Note: BAPIRETURN contains structure with message fields.
Then SAVE and ACTIVATE.
Step 3. Creating BAPI object:
- Enter Tr.Code <SWO1> (Note. It is letter O and not Zero).
- Enter a name and then click on create. Enter details.
NOTE: Make sure that that Object Type and Program name are SAME.
- Enter Application M, if you are using standard table Mara. If you are using your own database then select Z at the bottom.
- Then hit <ENTER>.
- Now we have to add Methods. High light METHODS and then select the following from the menu:
Goto Utilities -> API Methods -> Add Methods.
- Enter function Module name and hit <ENTER>.
- Select the second FORWARD ARROW button (>)to go to next step.
- Check if every thing looks ok and again click on FORWARD ARROW button (>).
- Then select YES and click on <SAVE>.
- Now on a different screen goto TR.CODE <SE37>. Enter Function Module name and select from the top menu Function Module -> Release -> Release.
- Goback to TR.CODE <SWO1>.
Here select the menu combination shown below in the same order.
- Edit -> Change Release Status -> Object Type Component -> To Implemented.
- Edit -> Change Release Status -> Object Type Component -> To Released.
- Edit -> Change Release Status -> Object Type -> To Implemented.
- Edit -> Change Release Status -> Object Type -> To Released.
- Then click on <SAVE>.
- Then click on Generate Button (4th button from left hand side looks like spinning wheel).
- Then Click on the button that says PROGRAM to see the source code.
To check if this is present in work flow goto TR.CODE <BAPI>.
Here it shows business object repository.
- First click on the middle button and then select ALL and hit ENTER.
- Goto tab [ALPHABETICAL] and look for the object that you created. This shows that the BAPI object has been created successfully
Overall Info :
http://help.sap.com/saphelp_47x200/helpdata/EN/00/32a43697bc11d1acf9080009b0fb56/frameset.htm
BAPI Creation Info :
http://help.sap.com/saphelp_47x200/helpdata/EN/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
Reference :
http://help.sap.com/saphelp_47x200/helpdata/EN/00/32a43697bc11d1acf9080009b0fb56/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/EN/00/32a43697bc11d1acf9080009b0fb56/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/EN/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm -
Any BAPI/FM for MBSU ?
I am trying to find a BAPI/FM for MBSU transaction, I browsed through the forums and found none. The below thread referred about my requirement exactly but the topic never went ahead.
Re: Looking for either BAPI/FM for MBSU
Is there any such BAPI or FM available ?No such BAPI
-
LSMW using BAPI method for ME21N
Hi to all,
I am using LSMW BAPI method for the transaction ME21N Iam able to post a PO document successfully, But in my flat file I have a header and followed by item in the same line, while I was posting with same header for different line items its posting different PO's for different line items but suppose it has to post one document with multiple items.
My flat file fields are like this : (where as ABCD my header and rest are line items) I am using only one structure 'podata' in LSMW and I am not using any identifier.
header--Line items
A B C D S P Q W E X
A B C D 1 D 3 F K L
Business Object - BUS2012
Method - CREATEFROMDATA1
Message Type - PORDCR1
Basic Type - PORDCR101
As per my requirement if I have multiple line items for the same header then only one PO should be posted.
Could you suggest me, How can I achieve this.
Thanks,
LahariHi Jurgen,
Thanks for your reply.
As poer your suggestion, I passed my flat file data into a single file and in the begin of transaction, I divided the data into 2 structures as Header & Item.
Still I am unable to achieve the desired results, can you please elaborate more on how SAP internally joins the structures again.
To be more clear my flat file data look like this :
217836 NB 1826162667 0127 00 1 LEAN SIX SIGMA PRIMER MRO Z 4.00 EA 60.00 1 EA
217836 NB 1826162667 0127 00 2 LEAN SIX SIGMA PRIMER MRO Z 4.00 EA 860.00 1 EA
217836 NB 1826162668 0127 00 1 LEAN SIX SIGMA PRIMER MRO Z 4.00 EA 160.00 1 EA
217836 NB 1826162668 0127 00 2 LEAN SIX SIGMA PRIMER MRO Z 4.00 EA 560.00 1 EA
The bold ones being header and the remaining Items, the underlined field is PO number.
In normal process this file is considered to have 4 records, and tries to create 4 PO's.But my requirement is to create only 2 PO's with 2 items each.
Thanks.
Lahari -
BAPI needed for VL32 (Post goods receipt) and VT02 shipment transaction
Hi,
We are currently updating quantities and Performing a Post Goods Receipt against all associated inbound deliveries using BDC (VL32).
Also, updating the completion date of associated shipments by BDC (VT02).
As part of upgrade intiative ECC 6.0, we are trying to avoid BDC and looking for suitable BAPI's for the above tasks.
Please help us in this regard,
Thanks,
Madhan.Hi,
Please look following BAPI in Tcode BAPI.
For Transport
go tp Tcode BAPI --- > Logistic Exection ---> Transportaion .
For Billing.
go tp Tcode BAPI --- > Logistic Exection -> Shopping- >Inbound Delivery
You find many more BAPI in this Transaction.
BAPI for PGi is BAPI_GOODSMVT_CREATE.
To change the header details of a shipment use
SD_SHIPMENT_HEADER_CHANGE
To change the stage data use
SD_SHIPMENT_STAGE_APPEND
SD_SHIPMENT_STAGE_CHANGE
SD_SHIPMENT_STAGE_CHECK
SD_SHIPMENT_STAGE_DELETE
SD_SHIPMENT_STAGE_INSERT
To add deliveries to shipment use
SD_DELIVERY_ASSIGN_TO_SHIPMENT
Thanks & Regards.
ShreeMohan
Edited by: ShreeMohan Pugalia on Jul 17, 2009 8:18 AM -
In looking at my calendar for next year I found all the entries from last year were there as well as a few more I intended to delete January and just start over but everything was deleted including from icloud, Any way I can get those restored.
Thanks GlennMaybe here:
iCloud: Troubleshooting creating backups -
Table to look for change documents for users
Hi friends,
Is there any standard table to look for change documents for a user?change document through SUIM does not give the correct log.
Thanks for you support.Julius
Looking at another of Tracy's other post (http://scn.sap.com/thread/3598947) she's trying to use ACL. Hence needing to know the tables to write joins/queries to hit tables within ACL
I've seen ACL used and have had the fun experience of Auditors using Google to find tables to perform checks on without context of what has actually been implemented in their particular system.
Regards
Colleen
Maybe you are looking for
-
I have a problem. If I want to change something within a table, a JOptionPane opens, in which i can enter some values. But if I switch to another program over the task bar while the JOptionPane is still open, and I return to my Java program over the
-
Vendor field should not display when GI is done in MB1A?
Hi guys , i have a report programe here i am pulling all the material data and purhasing order info in the background using the BADIO MB_DOCUMENT BADI. here i am writing my logic. this BADI is triggering once material Documnet is created in
-
AFS User Exit for Allocation Run Sorting
Hi Gurus, can you please help us in order to identify which BAPI or User Exit needs to be used to perform a custom sorting on AFS Allocation Run? My aim is to perform a specific calculation on a single field of the requirement sorting table (/AFS/SOF
-
My podcast artwork is not showing up... please help!
Hi there. I have submitted my podcast to iTunes and received the email almost a week ago that it was accepted. It is showing up in iTunes, but the artwork is not showing up and I have no clue what to do to make it show up properly. Here is my xml f
-
Why does Firefox say "This Connection is Untrusted" for most websites?
Firefox tells me the connection isn't trusted for pretty much every site I attempt to go to. I can't bypass it and I have tried everything I read in the support articles, changed settings, resetting and restarting etc. Nothing works. Please help!