Structure for batch input
is there any quicker way to find appropriate sap structure regarding batch input?
line batch input for vendor creation, how to find the sap structure so that the format file can be defined later on.
Hi Oscar,
U can also use LSMW, using std batch object 0040 (vendors) - very quick to define. In LSMW u can at any time go to 'Maintain source fields' (which is the structure of the source file) and change the order/length of the fields.
Good luck
Igal
Similar Messages
-
AFAB IM document type is defined only for batch input
Hello Everybody,
With the new version ECC6, I have this message error : "document type is defined only for batch input" when I launch the monthly depreciation with AFAB transaction.
Thanks a lot in advance for your help !
Regards.Hi
For this document type in OBA7, remove the check for 'batch input only'
Thank You, -
regards,
still need the t-codes for the following:
Batch Input: Physical Inventory document for cycle counting, vendor consignment,project stk and ABC Analysis for cycle counting. thanksIM level see:
MI01 Create Physical Inventory Document
MI02 Change Physical Inventory Document
MI03 Display Physical Inventory Document
MI04 Enter Inventory Count with Document
MI05 Change Inventory Count
MI06 Display Inventory Count
MI07 Process List of Differences
MI08 Create List of Differences with Doc.
MI09 Enter Inventory Count w/o Document
MI10 Create List of Differences w/o Doc.
MI11 Recount Physical Inventory Document
MI12 Display changes
MI20 Print List of Differences
MI21 Print physical inventory document
MI22 Display Phys. Inv. Docs. f. Material
MI23 Disp. Phys. Inv. Data for Material
MI24 Physical Inventory List
MI31 Batch Input: Create Phys. Inv. Doc.
MI32 Batch Input: Block Material
MI33 Batch Input: Freeze Book Inv.Balance
MI34 Batch Input: Enter Count
MI35 Batch Input: Post Zero Stock Balance
MI37 Batch Input: Post Differences
MI38 Batch Input: Count and Differences
MI39 Batch Input: Document and Count
MI40 Batch Input: Doc., Count and Diff. -
Field Exit for Batch Input creation from LSMW
Hi all,
I am having problems getting a field exit to work for validation of user id in the "Create Batch Input Session" step of LSMW.
Program: /SAPDMC/SAP_LSMW_BI_RECORDING
Screen: 1000
Data Element: SYUNAME
Any help would be appreciated.
Regards,
Jason
Message was edited by: Jason LanteField exits are not supported after 4.6 yes, but they still work. I found the reason why my field exit wasn't working; it related to the fact that the field I am applying it to is not directly related to a dictionary object. Meaning I cannot apply a field exit.
So my question now is what other ways are there to enhance LSMW?
Regards,
Jason -
Problem Recording FMX1 Transaction for Batch Input. Plz Help
Hi Everyone!!!
I'm using the Transaction SHDB to create a new recording over the FMX1 Transaction for a Batch Input. The strange thing is that when i'm about to save the recording i get the following error:
"A runtime error: SAPSQL_ARRAY_INSERT_DUPREC"
I tried using the transaction FMX1 with the same data(constants), and it works perfectly. And I know it's not a duplicated key or anything, it works fine when i use the transaction.
This lead me to think that the problem is somewhere when i try to record the transaction.
Any Ideas of how to fix the problem, or does anyone knows if its a SAP problem that needs some kind of fix.
Any help would be really aprreciated!
Thx again.Try using recording method and try to post 1 item...U will get the recording. In this recording, the field might be shown up which can be used.
-
No budget checking for batch input
Hi people
We are using the budget checking functions under Funds Mgmt (Former Budgeting) ECC6.0. Is there a way that we can exclude budget checking for postings done through batch input?
appreciate any help.
TQ
darth mautHi,
Please check the SAP note 573409
Regards,
Abhijit -
Authorisation to transactions for batch input
We have a reuirement where in the user should have access to create vendors through batch input (BDC) but the user should not have direct access to tcode XK01. Is this possible?
you can do that, normally what is followed in that case is to designate a single user Id for BDC executiona nd give it all the access so that it can be useful in tracking down the changes and all the other work too.
Also, this will help in avoiding other users from making changes,
But for using this option you have to discuss with you project manager and the client.
Regards,
Amit
Reward all helpful replies. -
I using an event structure for an input box and also for hardware input
Hi there!
I have many input boxes and display boxes on my user interface and i have a case for it in the event structure. If the user changes the values of the input boxes, the particular event case writes this new value to the hardware. However, in the timeout section of the event structure, we read the inputs from the hardware and we set the value for its related display object. Within the timeout section i set the value for the related user interface display component, by making use of the property node value.
Furthermore, for most of the display components, i have a event case for a value change associated with it. In that event case, i check for range errors and so forth.
My assumption was that when i read the value in from the hardware and set the property node value, the user interface component's value will change and it would then trigger the event of the value changed for that component.
My assumption worked to the point of updating the component's value, however, it did not trigger the event for the value changed for this component.
Please advise me on how to achieve what i wish to.
Thanks.
Regards,Local variables are actually much more efficient than property nodes as far as execution speed goes. Take that same VI and delete the property node and instead write to a local variable inside the loop. You'll see the speed nearly identical to writing directly to the indicator. But note that variables also cause a copy of the data to be created. So if you're just using the "Value" property, you're much better off using a local variable. But don't use both at the same time. If you are reading/writing other properties when you update/read the value, you might as well use the value property.
Sometimes you can't get around using either variables or property nodes. Initializing controls to saved values from an ini file is one example. But in this case, they are only written to once as the application starts so the performance hit is negligible.
One thing you can do is store values in a shift register as they are read and pass this through your application so the last value read can be accessed from anywhere. You can even create a cluster that runs through the shift register to hold several values in a single register. This can be expanded a bit farther to create what's called a Functional Global. This basically a subVI with a While loop that only runs once on each call. It has a shift register to store data and a Case structure to Read or Write data into the register. There's a pretty good example that ships with LabVIEW showing how these work. Open the Example finder and search for "Functional Global Communication". This example shows how to use them to pass data between two independent loops, but they work just as well in a single loop application.
One of the big advantages of these Functional Globals over the standard LabVIEW Globals and local variables is that you can add cases to manipulate the data in addition to just storing it. Also, since it's a subVI, access to the data is protected to one caller at a time whereas variables can have multiple reads and/or writes at the same time. This can cause race conditions.
Hope that helps a bit.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences. -
Display popup box to enter the name for batch input
Hi Experts,
I am working on the ALV display.'
I am giving two push buttons on the ALV Screen in the application toolbar.(Ex: 1.Online 2.Batch Job).
If the user will select the ONLINE the process is going good.
If the user will select the BATCH JOB it has to display popup box to enter the BATCH name and with that batch name i have to create the batch for the program in SM35.
Can any one please help me in doing so.
(to display popup box to enter the BATCH name and with that batch name i have to create the batch for the program in SM35).
Thanks in Advance,
KruthikHi,
You can display a popup box by creating the screen and screen elements in the screen painter and use
CALL SCREEN scr STARTING AT x1 y1 ENDING AT x2 y2.
X and Y are the coordinates of the screen you want to display as a pop up.(used to manipulate the size of the pop up screen/window)
Hope it helps. -
How to implement Case Structure for multiple inputs to Pic Ring?
So I have a reasonably simple program which I am almost completeed with. Basically the data of an array is read and then is indexed and a new array is created from the indexed data. And then I use Match Pattern to see if elements in the new array match certain words. And if they do then a number value is allocated to a Pic Ring at the end. And depending on the final number value the Pic Ring changes from one pic to another.
However, I have the problem that I will be using multiple Match Pattern functions to compare elements in the final array, but I can't attach multiple Match Patterns and their subsequent logic statements to a single Pic Ring, only one. I've been trying to work this out by implementing a Case Structure or Event Structure. But the Event Structure isn't working and with the Case Structure, it is very messy with multiple True/False Case Structures inside of each other. Anyway, hopefully this all makes some sense. I'm attaching the VI program to this post. Thanks.
Attachments:
ArrayTest2.vi 495 KB
ArrayTest2.vi 495 KBObviously, you can only display one picture. So then the question becomes which picture to show. Therefore, you will have to create some sort of preference of one pattern over another.
I would use a FOR loop so that you can loop through your available patters and their possible results. Use the Conditional Terminal on the FOR loop so that you can stop the loop on the first match. Then you just wire up the selected value for the ring outside of the loop.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
File structure for batch processing (no multi load)
HI all,
has anyone a clou how the structure of the file should look like?
The location name addressed in the file name does not appearhere below the error message:
** Begin FDM Runtime Error Log Entry [2012-01-20-16:49:36] **
ERROR:
Code............................................. 6
Description...................................... Overflow
Procedure........................................ clsBatchLoad.fFileCollectionCreateFromArray
Component........................................ upsWBatchLoaderDM
Version.......................................... 1111
Thread........................................... 4856
IDENTIFICATION:
User............................................. xxxx
Computer Name.................................... yyyyyy
App Name......................................... abcxyz
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... oratst14
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... CONTROLSREVIEW
Location ID...................................... 730
Location Seg..................................... 1
Category......................................... ACTUALS
Category ID...................................... 12
Period........................................... Apr - 2030
Period ID........................................ 4/30/2030
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2012-01-20-16:49:36] **
ERROR:
Code............................................. 6
Description...................................... Overflow
Procedure........................................ clsBatchLoader.mExecuteParallelBatchProcess
Component........................................ upsWBatchLoaderDM
Version.......................................... 1111
Thread........................................... 4856
IDENTIFICATION:
User............................................. xxxx
Computer Name.................................... yyyyyy
App Name......................................... abcxyz
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... oratst14
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... CONTROLSREVIEW
Location ID...................................... 730
Location Seg..................................... 1
Category......................................... ACTUALS
Category ID...................................... 12
Period........................................... Apr - 2030
Period ID........................................ 4/30/2030
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False -
LSMW for routing with standard batch input
Hello All,
I am trying to prepare one LSMW for routing upload for PP module. Routing data contains header data, operation data and master inspection characteristics data.
I have created three source structures viz. material- task list header, task header data, operation and inspection.
Header has been assigned to target structure BIMPL- Batch Input Structure for Allocation of Mat. to Task Lists,
Task header data source structure has been assigned to BIPKO- Batch Input Structure for Task List Header,
Operation source structure has been assigned to target structure BIPPO- Batch input structure for task list operation,
and inspection source structure has been assigned to BIPMK- Inspection characteristics for batch input of task lists.
Every source structure has been identified with an identifier value of which have been set as H, I,J,K for all source structures resp.
The excel file has been prepared as follows,
H MATNR WERKS PLNNR PLNAL
H 100045 1000 50000043 1
H 100045 1000 50000043 2
I MATNR WERKS PLNNR PLNAL VALID_FROM USAGE STATUS
I 100045 1000 50000043 1 01012000 1 1
I 100045 1000 50000043 2 01012000 1 1
I have mentioned here the combination of first two structures only. But it contains data of other two source structures as well (for identifier J & K).
The data from the excel is copied to the flat file and same is specified in LSMW in the step 'Specify file'.
In 'Assign file' step the flat file is assigned to all the four source structure.
Now at the time of reading data system is throwing me an error as 'Ensure field sequence is correct for data for mutiple source structures' Message no. /SAPDMC/LSMW_OBJ_060026
How to overcome this?
<removed by moderator> answers will be greatly appreciated........
Mimiri
Edited by: Thomas Zloch on Jul 11, 2011 10:16 AMHello ,
have you maintained this check box for the key fields"
LSMW>Maintain Source fields>double click on fieds : MATNR WERKS PLNNR PLNAL
Selection Parameter for "Import/Convert Data"-->Tick this check box
regards -
Hi friends,
I am wokring on LSMW for VK11 transaction. I have to use batch input standard program....
can any body help me in this regard.
Regards,
JayanHi
a) For Standard Batch/Direct Input i believe we can assign 2 files (structures) , but it is possible for batch input recording ?
b) If this is possible, how can i assign the second file (detail structure) to C201 recording ?
In [this post|Re: LSMW load Customer data with Table like file with Header and Item records ?] you can read a good discussion about a problem like yours (header, item):
I believe you can use both solutions: single or double files.
c) How can i mapping the detail file fields to recording fields (PLPOD-ARBPL(01), PLPOD-ARBPL(02),..) ?
Just as Breakpoint said you can check if there's a chance in order to place the record to the top line, else it could be a problem
Max -
LSMW dump with '/' for PRODPER field for AR load using Batch input.
I am getting an dump saying
Unable to interpret "/" as a number for IF BBSEG-PRODPER(1)
which is last field in the lsmw .
I defaulted to 200810 and also tried with blank and 102008 even though the dump exists.
let me know .any clueBBSEG is intended for Batch Input, there should be only CHAR fields in it, if the field is a standard one look for OSS notes related, if it belongs to a customer include, correct your include (or CI include like CI_COBL_BI) as suggested in OSS notes mentioned above and use a char field with the length of the external format (e.g. 10 for date, etc.)
The IF BBSEG-PRODPER(1) syntax is presupposing a CHAR field, but when the ABAP executes it first check the whole field BBSEG-PRODPER, and if this is not a CHAR field you got a conversion error. A "patch" solution would be to use CATCH SYSTEM-EXCEPTIONS CONVERSION_ERRORS = 1. / ENDCATCH to catch the runtime error. You could also bypass the problem by redefining the field as char, use OVERLAY of FIELD-SYMBOLS for that.
Regards -
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.
Maybe you are looking for
-
How do i copy my files from my external hard drive onto my imac
how do i copy my files from my external hard drive onto my imac
-
Are these Standard and Customized elements???
Hello friends, I am trying to duplicate the work of a consultant who is not working for us any more. I have copy and pasted the ZBAPIS and other data elements, structures etc., When I try to activate I am getting some messages like some of the struct
-
Office 2013 cannot open documents from SharePoint 2007 with IE 11.
Hei One of my client cannot open word documents (office 2013) from SharePoint 2007 with IE11. Are there any compatibility issues among Office 2013/SharePoint 2007/Internet Explorer 11? Thanks in advance.
-
Hi, I have recently disabled the anonymous user in my 12.1.3 environment as part of implementing the recommended best pratice security measures for E-business. Now when I run the failed login report I notice numerous failed logins for the anonymous u
-
Hi there I cant find the paired tab for my E71. I am not new to this and am totaly stumped!