Batch input for BAPI_GOODSMVT_CREATE - Transfer posting
Hi all,
I'm now trying to do a batch input in this program for transfer posting of stocks.
Am i able to upload the input through an external source for example, Excel spreadsheet?
May i know how do i indicate in the program the source of my batch input?
Hello Calibertto,
You can upload excel file for batch input or bapi.
Firstly : Upload to excel file.
Secondly : Append itab from excel file.
Thirdly : Make loop at itab.
Finally : Fill batch input/bapi for every itab record.
Best regards.
Similar Messages
-
Batch input for IQ02 not accepting "yes" for 'POPUP_TO_CONFIRM'
Hello,
I wrote a batch input for a transaction (IQ02) and all works fine except one thing:
-when all data is entered and SAVE button is pressed, there is an additional pop-up, from an user exit which needs an YES/NO answer.
The function module used to display the popup is: 'POPUP_TO_CONFIRM'
I do not manage to press the YES button. This is the data I receive when pressing F1 on YES button:
Program SAPLSPO1
Function OPT1
Normally, in batch input, this is the way I pass user-commands:
PERFORM bdc_dynpro USING 'SAPMIEQ0' '0101'.
PERFORM bdc_field USING 'BDC_OKCODE' '/00'.
But it's not working for this particular situation.
Any ideas?
Thank you.
Edited by: Julius Bussche on Jan 5, 2009 2:07 PM
Quality of subject title improved.Hi
Find out under which condition popups appears.
for that condition you have to put the following code
PERFORM bdc_dynpro USING 'SAPLSPO1' ''<SCREEN_NUMBER>'.
PERFORM bdc_field USING 'BDC_OKCODE' '=OPT1' .
Hope this helps,
Rajat -
Output Determination Configuration Setting for GoodsIssue(Transfer Posting)
Hello Gurus,
Can any one give the details for Output Determination Configuration Setting for Goods Issue(Transfer Posting).
Thanks N Regards,
Venu MGhi,
PRINT OUT OF MATERIAL DOCUMENT AT GI/Transfer posting:
1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
2. Ensured in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for GI/Transfer Posting Documents
5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the foll:
a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Tr medium is 1
b. Print Parameter is 7
6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Pr Det by Pl/StoLoc, maintain the Output device for all your Plants
7. In MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.(Condition records)
8. While doing MIGO, ensured that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
Now go to MB90 entered the output type as WE01, Tr m as 1, Sort or. 01, Pro.mode as 01, and executed. Sytem outputted all the material documents that has to be taken print out.
Regards
Priyanka.P -
No Batch Input for Screen 0300
Hello
I am doing an inter-company asset transfer using ABT1(Call Transaction).
However for few assets its giving me the error as 'No Batch input found for screen' '0300' even though
the message type in MESSTAB table is 'S'.And one I run the program again for same asset it works properly.
PERFORM 450_DYNPRO USING:
'X' 'SAPLAMDP_OLD' '0100',
' ' 'RAIFP1-BLDAT' L_SYDATE, " Document Date
' ' 'RAIFP1-BLART' 'AA', " Document Type
' ' 'RAIFP1-BUDAT' L_PSTDAT, " Posting Date
' ' 'RAIFP1-TRAVA' P_VAR, " Transfer Variant
' ' 'RAIFP1-BZDAT' L_BZDAT, " Asset Value Date
Posting Specifications
' ' 'RAIFP2-BUKRS' PWA_ASSET-BUKRS, " From Company
' ' 'RAIFP2-ANLN1' PWA_ASSET-ANLN1, " Asset
' ' 'RAIFP2-ANLN2' '0000', " Sub Asset No
To
' ' 'RAIFP3-BUKRS' P_BUKRTO, " To Company from i/p screen
' ' 'RAIFP3-XNANL' 'X', " New Asset
Revenue
' ' 'RAIFP2-XERBW' 'X', " NBV from area button
' ' 'RAIFP2-AFABE' '01', " Default 01
' ' 'BDC_OKCODE' '/00', " Enter
*Second Screen
'X' 'SAPLAIST' '2110',
' ' 'ANLZ-KOSTL' P_KOSTL, " Cost Center
' ' 'BDC_OKCODE' '=DETA'. " Push additional data
Enter allocations tab Common for ABT1 and AS11 transaction
PERFORM 450_DYNPRO USING:
'X' 'SAPLAIST' '1000',
' ' 'BDC_OKCODE' '=TAB03', " Go to Allocations tab
'X' 'SAPLAIST' '1000',
' ' 'ANLA-GDLGRP' P_GDLGRP, " Enter value for eval. Grp 5
' ' 'BDC_OKCODE' '=TAB08'.
In the screen create
PERFORM 450_DYNPRO USING:
'X' 'SAPLAIST' '1000',
' ' 'BDC_OKCODE' '=RW'. " Go back to Second screen
PERFORM 450_DYNPRO USING:
'X' 'SAPLAIST' '2110',
' ' 'BDC_OKCODE' '=CREA', " Create the transaction
'X' 'SAPMSSY0' '0120',
' ' 'BDC_OKCODE' '=&ONT',
Save the transaction
'X' 'SAPLAMDP_OLD' '0100',
' ' 'BDC_OKCODE' '=SAVE'.
Could anyone pls help in knowing me whats the problem?
Thanks and RegardsI think U need to handle screen 0300 .. and need to pass
data ('No Batch input found for screen' '0300' ) -
FLB2 - Lockbox Screen Error: "No Batch Input for screen SAPDF05X 3100"
I'm not familiar with Lockbox processing ... was asked to help debug an error & not having much luck doing so.
When processing a file via FLB2, we have one customer for which the postings work fine. For another customer, however, we get an error:
"Accounts receivable posting Error: (00 344) No batch input data for screen SAPDF05X 3100."
I've checked multiple Notes & postings on SDN, still at a loss and getting no closer troubleshooting within the system.
Can anyone offer ideas of what to check?
Thanks,
JohnHi,
I believe the problem should be in the input file. There should an error in the file. Can you create a one line item file for the Customer and processs it. If the Lockbox is working for one Customer it should work for all Customers. Secondly, check whether Lockbox is maintained for the Customer in the master data.
Thanks
Murali. -
BAPI_GOODSMVT_CREATE + Transfer posting
Hi All,
I have to move the goods from storage location 110D to 116D.
For that Iu2019m using BAPI: BAPI_GOODSMVT_CREATE with GM_CODE = 4 (Transfer posting)
After executing the BAPI, Iu2019m checking the RETURN value, if there is no error message, Then Iu2019m committing using BAPI_TRANSACTION_COMMIT.
Result of my program:
Before the BAPI is called, the storage location stge_loc is 110D and move_stloc = 116D. Which is correct.
I can see that expected result in MB51 transaction where goods is moved from storage location 110D to 116D, which is correct. But when I runned IW32 with that order, Iu2019m seeing the goods moved to different location, which is incorrect.
Using MB51, when i checked, the storage location from(110D) and to(116D), both are showing correctly and it is correctly updated in MSEG table. But in RESB table, it is still showing 110D
So, could you pls suggest me where I went wrong and suggest me any other logic.
Thanks & Regards,
Harsha Ramaiah
Edited by: Harsha Ramaiah on Jun 30, 2010 8:11 AMHi,
Data in RESB is Reservation data(Tcode:MB21/22/23), it has no actual effect on storage(means that the movement is not actually happened), so in your case , maybe you need to change the reservation , not to do transfer posting.
regards,
Pole -
Batch Input for Parked Invoice (FB60) - Lag in creation ???
Hi folks,
I'm using a batch input on FB60 so as to generate a parked invoice. Furthermore, I'm calling it in complex posting 'cause sometimes it implies posting on asset (posting keys 70 and 75).
The point is that the batch input works fine, but sometimes in the exact same situtation, with non rationnal explanation.
I'm using this :
sl_bdcoption-dismode = 'N'.
sl_bdcoption-racommit = 'X'.
sl_bdcoption-nobinpt = 'X'.
sl_bdcoption-updmode = 'L'. " or A or S, still the same
CALL TRANSACTION 'FB60' USING tl_bdcdata
MESSAGES INTO tl_messtab
OPTIONS FROM sl_bdcoption.
COMMIT WORK AND WAIT.
so that I can catch the number of my created invoice from the message table. Indeed I need this to update BKPF which has some custom fields (on the Basis Data tab). All the transactional controls on my custom fields are deactivated through an Export to Memory and I know how the screen displays with the option sl_bdcoption-nobinpt = 'X', both set before the call.
First I thought my bug was coming from the Update Mode in structure sl_bdcoption, but I've tried to set it to A, S or even L. I've tried many options from that structure, but the bug remains random...
How can I be sure that the call is ended and that my new invoice is created ?
Any oher way I can do this ? Any BAPI I haven't found ?
Thx in advance for your help,
NHThx, I'll try the E mode. I hope it will solve that issue, it's driving me mad
Actually, even if the context I'm using the Batch Input seems complex, due to the complex posting, the invoice I generate in that particular program is quite simple.
I was hoping that someone has already saw that table half empty
Do you think it may come from the exit in FI used to add some custom fields on the 'Basis Data' tab ?
NH -
Creation of Batch Input for transaction C201
Hello,
Currently I am having a requirement to create a batch input session for tcode C201.
Following steps we need to perform using batch input session:
1. Go to tcode C201 and enter material and Plant.
2. Then click on choose template and give Mater Recipe option.
3. On next screen enter Recipe Group and Recipe.
4. After that it will go to Copy Master Recipe screen and then giving status it will open other tabs like Operations, Materials etc.
Now when I create recording, till step 3 it is continuing correctly. but when press enter after step 3 it goes to Create Mater Recipe instead of Copy..
I got one SAP note 142022 but dont know how to implement this in my case.
Can you please help me?
Thanks and Regards
NishadAs [Note 142022 - Batch input and CATT in recipe|https://service.sap.com/sap/support/notes/142022] explain, you have to add one step in your batch input with BDC_OKCODE "=TOFF" on the first dynpro so C201 will always use old screens which are batch-input compatible. (First check [Note 365051 - OK code TON does not work when creating recipes|https://service.sap.com/sap/support/notes/365051] is implemented on your system)
SAPLCPDI 4000
BDC_CURSOR RC271-PLNNR
BDC_OKCODE =TOFF
Regards,
Raymond -
Batch Input for VA31 and adding new partner
Dear All,
I have a already well running program, which is creating new scheduling agreement via transaction VA31 in batch input mode.
Now, there is a new requirement to add one partner in the header. I made a recording and saw that there is a subcreen SAPLV09C. I extended the program, but doesn't matter I'm doing I always get the message:
No batch input data for screen SAPMV45A 4002
Does anyone has experience with adding new partners in the header and can explain me how to make the right development.
Thanks in advance.
KlausHi Klaus,
If you get the error No Batch input data for screen proceed as follows:
1. In the Installation Assistant mark the foreground checkbox (in the column FG of the Installation Assistant project view) of this specific eCATT.
2. Activate the project again.
3. Run the eCATT in foreground
seee this links
ftp://ftp.software.ibm.com/software/websphere/integration/wbiadapters/library/doc/pdf/mysap4/mysap4_60.pdf
www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm - 9k -
thanks
karthik
reward me if usefull -
Create a subsequent Goods Movement for a transfer posting
Hi Team,
I have a scenario where the users will create a Good Movement document for transfer posting. The Stock of Material "A" is transferred to stock of Material "B" using the movement types 561 etc. Now the quantity is reduced from unrestricted stock of "A" and posted to "Stock in Transfer/Transit" of "B". The requirement is to create another Goods Movement document immediately after the above transfer posting is completed and use movement type 101 to post the same quantity to unrestricted of "B".
I tried searching for use exits and could not find a relevant one "After Save" for goods movement online transaction. I found the MB_GOODS_MOVEMENT_UPDATE Badi but don't know how to create another goods movement document while in the update task. I'm concerned that if I call a BAPI or BDC inside the update task, it might conflict with the current transaction (transfer posting). Looking for your guidance.Hi Deepali,
You can use the userexit ' ZXMCBU02 ' to write your own code. This user exit gets triggered for almost all the goods movement transaction.
There is also a very similar BADI which you can use which gets triggered for every goods movement transaction.
I would like to know the BADI feel free to let me know. I think the above user exit should server your purpose.
Hope this is useful for you.
Cheers
VJ -
Batch-input for exporting cost calculation to a local file (ecc 6.0)
Hi,
we had a batch-input to export some data in a local file (excel format) in SAP 4.5B.
We recorded transaction CK11 for a material number, we got Itemization screen and then we recorded menu' option "List . Export . Local file / Spreadsheet). If the batch-input ran in foreground it would produce required outputs (some excel files).
Now we are migrating from 4.5B version to Ecc6.0; we recorded same transaction (both ck11 and ck11n, to be more ), but at execution time the window for local file saving never is displayed and B.I. stops with error.
One difference is that now data are collected into a container, instead that in a write list ...Hi again,
the data i look for is a result of calculation of different tables so for every single product, it is calculated. In standart CO reports, there is no such report that give me that detail.
Finally i managed to call print OK code, but it was in the foreground processing mode, i cannot run it on backround processing..
I know i misuse the LSMW, but i think LSMW may have such flexibility to use such reports, thanks to SAP.. it was an adhoc report i tried to combine, so writing a program may be much more time consuming. -
Batch Input for user defined fields (SRM 4.0)
Hello.
Now in my project,we are developping Batch Input function about PO,CONF in SRM 4.0.
and in this time, we will use over 20 user defined fields.so we have to enter the value to user defined fields by using Batch Input function.
But if we will enter over the 10 value for user defined fields,we have to scroll the screen.
How do I scroll in SRM?(What's the command to scroll in SRM)
Regards
Ogiwarabetter lock the user since he may some business documnt open and you can not proceed further.
br
muthu -
LSMW: Batch Input for modified XD01?
Hey!
I want to import some customers data via LSMW, however we are using an add-on in our R3. For this reason I recieved the message: 'Old data BKNA1 cannot be processed, ADD-ON exists', when I tried to create the batch input session. All the steps before were fine. The modification of xd01 is just one button to add some additional information. Do I have to record the whole batch input session on my own again or does anyone knows an other opportunity?
kind regardsGuess you need an end of record marker in field SENDE (BKNA1):
End of record marker:
If a batch input structure is later extended, the new end of the structure is indicated by a special field (SENDE). If you are already
working with the new, extended structure, you must also supply this
field with the NODATA indicator when "initializing" the structure. As a
result, the system can recognize whether the data is based on the old or
the new structure when the structure is imported.
Old structures can no longer be processed and the system terminates with
an error message if the following prerequisites are fulfilled:
o You are using the modification-free enhancement of the customer/vendor master either directly or indirectly via an SAP solution.
o Either you or an SAP solution extends the structure. -
Batch Input Session empty while posting Manual Bank Statement T.Code FF67
Hi Experts,
I am trying to do the Bank Reconciliation by T.Code FF67.
The statement is getting saved but I could not see the Batch Insput Session (T.Code SM35) to post the entries.
Please help me in this issue.
Thanks in advance
PriyaHi,
Saving Bank Statement Data and Posting Statement are two different transactions.
Once both amounts (in FF67, Amounts Entered, Statement Amount at the bottom) are matched then if you save, it will save the data in FF67 format. In that screen only if you save again then it will post statement and create batch input session. Similarly you also processed or differently?
Check again in FF67 statement screen & revert back.
Sarma BH -
User Exit for MIGO(Transfer Posting)
Is there any user exit for transfer posting by MIGO?
if so plz give the names of user exits related to it.....
Awaiting for ur reply..............USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Transaction Code - MIGO Goods Movement
Exit Name Description
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
No of Exits: 8
Rewards if useful.........
Minal
Maybe you are looking for
-
Trnsfr Rqmnt created via PP for discontinuation mateiral and follow up mat
Hi, Production order was created and it has PN A which has been set for discontinuation (1) with follow up material B. The effective out date is in the future. When generating WM Picklist, TR was created for both parts and issued. On confirmation onl
-
ITunes Library in an external hard drive
I am a new user to mac's and i am converting from a dell. I had all my music on a external hard drive and i was able to add all of my music from the external hard drive into iTunes but from here it does not let me edit the information for each indivi
-
Get Intercharge Segment Values inside Orchestration (IS13)
Hi Can anyone please let me know how to get the ISA and GS segments of X12 interchange inside biztalk orchestration. The scenario is i have to insert into a log table the X12 files i sent to the client. I have to insert the ISA and GS segments into
-
2 ipods now, don't know how to manage itunes
Hi all, This is my first post and I've browsed the archives but really haven't found an answer to this question. I have an older ipod (no clue what generation) and my daughter just bought a nano. I'm used to using itunes with 1 ipod but now the secon
-
Is it possible to read windows variables ?
Hi, I create a webdynpro view - there is a UIElement where i want to insert the Username from the windows variables automatically ?! Thanks in Advance. Regards Anilkumar