Hello people,
I'm working with transaction PRAA to create a vendor from the HR master record. The transaction generates the batch input correctly, then i process the work file in background in SM35. The session ends successfully but no updates where made in the vendor master tables like LFA1 and LFB1. I run tcode XK02 and don´t found the new entries.
i cannot find the problem. Can you help me?
Thanks,
Pablo.
Pablo,
Did you look at the log of the session in SM35?
Any messages there?
Regards,
Ravi
Ravi,
the session status is "Log w/o session" and i copy the last messages :
......
......
Transaction was processed successfully
Batch input session deleted
Processing statistics
26 transactions read
26 transactions processed
0 transactions with errors
0 transactions deleted
Batch input processing ended
Thanks,
Pablo.
Are you sure you are not running in 'Test Mode'?
Is there any spool request generated by this session?
Can you try running the job in the foreground and see if you encounter the error?
Regards,
Ravi
Adavi,
I´m sure about that because in test mode the transaction PRAA does not generate a work file in SM35.
Ravi,
I chose the following options:
- Process / foreground
- Extended log
- Expert mode
- Dynpro standard size
It also ends correctly, with no errors and the same messages as in backgorund. And no spool request is generated by this session.
Pablo.
I was just throwing stones(or is it shooting arrows?) in the dark. It was really puzzling that you get a session with no errors after processing and yet you don't see the vendors created in the tables or through the transaction. That was the reason for that dumb question.
You seem to have done everything correctly and the entries should be there in LFA1. Are you sure of the vendor numbers? Are they going to be internally assigned or they take the personal number? Easiest is to take a count of vendors in LFA1 prior to your SM35 processing and after. May be they are created but you are looking for the wrong numbers. Another shot in the dark!!!
Are you on Unicode enable system or ?
take a look !!
Symptom
You use a Unicode system and want to process a non-Unicode file using program RFBIDE00 or RFBIKR00. This is not possible.
Other terms
Batch input RFBIDE00, RFBIKR00, open dataset, Unicode
Reason and Prerequisites
Up to now, this option has not been provided.
Solution
Implement the attached program corrections. In addition, assign a selection text to parameter XNONUNIC. To do this, proceed as follows:
1. Call Transaction SE38.
2. Enter program RFBIDE00 (RFBIKR00).
3. Select 'Text elements'.
4. Choose 'Change'.
5. On the next screen, choose the 'Selection texts' tab.
6. For XNONUNIC, enter the text 'File has NON-Unicode format'.
After the implementation of the corrections, a new parameter is available on the selection screen of program RFBIDE00 (RFBIKR00). You can use this parameter to choose whether to import a Unicode or a non-Unicode file. The default setting of the parameter is to import a Unicode file if you use a Unicode system and to import a non-Unicode file if use a non-Unicode system.
Take also the following facts into account: After the implementation of the corrections, the file is opened with the addition 'Ignoring conversion errors'. This prevents that the system generates a short dump if, for example, you open a non-Unicode file and specify on the selection screen that this is a Unicode file. However, conversion errors that occur when you open the file mean that the file is read incorrectly. For example, the NODATA indicators are no longer at the correct position. This may result in follow-up errors in the program.
Thanks
Saquib
Saquib,
The RFBIKR00 program works fine, generates the session in SM35, ends correctly but do not update the tables.
Pablo.
Pablo,
I was thinking the other reasons .. Any way There are some notes which talk about the batch input of the program RFBIKR00
OSS Note # 443453 Batch input: incorrect transfer of old LFA1 data
910857 Incorrect characters (#) in batch input session
318914 Problems: creating vendors and batch-enabled server
In a mean while Im also investigating the other notes
But Its really strange youre not getting any error . Did you try to debug the program using SM35 ?
OR do SQL trace on and find what is doing ?
Also see in SM51/SM50 its updating tables?
Saquib,
I couldn´t find a note related to this problem. We have all the support packages applied. I hope you can give some advice to solve this problem.
Thanks,
Pablo.
PD: I also send a message to SAP.
Adavi,
I suppose vendor numbers are assigned automatically by the system. The reference vendor master record is 70000. There are also other vendor numbers that where assigned before with this program. I also checked LFA1 and no records where inserted in the table after the processing.
Pablo.
HI,
Bruning,
I have just started working on tx: PRAA i have tried to create a vendor record but i am not i not accepting the file path and at the same time i am not able to pass the correct values into the input parameters.
can u please explain me or send any screen shot documentation.
Thank you,
Shabeer ahmed