on 06-26-2007 9:23 PM
In file2idoc scenario, i have 100 records, how to transer 40 to 70 records only ??
thanks
ravindra
Hi,
if the file is flat you can try with :
Recordsets per Message option
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
message deleted.
Message was edited by:
Paul Reimius Schroeder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the message mapping, you could create a global variable int var, then use an "if" block that has a condition where if global variable < ( 40 to 70)
make an UDF that counts the variable up after each call.
depending on which records are desired in the file you could modify this method to get any sections of records using the right if conditions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Palnati,
How you will say only 40 to 70 are qualified? If there are 500 records tomorrow what we have to take?
So this all depends upon your business requirements. For each record if there is any condition then check that condition. If the condition is true then only you map it like:
Source->condition->CreateIf->target.
So only the good records you are mapping.
Else one more option is to create two mappings. In the first you parse the whole file and in the second (assuming only good records are there) map it to the target. So this all depends upon your business requiremetns.
Regards,
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
palnati,
write a OS script in UNIX to get the 40-70 lines and give the new file as input.
regards
Sreeram.G.Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.