2004 Oct 14 1:35 PM
Hi,
Since i am new to ABAP, I need some clarification for the questions which are given below. can any one help me out
1.In call transaction for VA01 transaction in the first screen there are 6 fields but i want to enter only 2 fields & 4 fields in the next screen. So how to skip the filds in the screens.
2.Suppose i have 100 records, if i face error in the 50th record. What will happen to the first 50 records whether it will be updated or again it will start from first. In both call transaction & Session.
3.How you handle error in CALL Transaction.
4. If flat file is given to you for upload, how you find out which delimiter it is, & upload in ITAB.
Thanks in advance,
Prasad
Hi,
Since i am new to ABAP, I need some clarification for the questions which are given below. can any one help me out
1.In call transaction for VA01 transaction in the first screen there are 6 fields but i want to enter only 2 fields & 4 fields in the next screen. So how to skip the filds in the screens.
2.Suppose i have 100 records, if i face error in the 50th record. What will happen to the first 50 records whether it will be updated or again it will start from first. In both call transaction & Session.
3.How you handle error in CALL Transaction.
4. If flat file is given to you for upload, how you find out which delimiter it is, & upload in ITAB.
Thanks in advance,
Prasad
2004 Oct 14 4:48 PM
Hi,
Welcome to ABAP. The answers to your questions are:
1. In the table passed for BDC, pass data only for the fields that you want to populate. Other fields will remain initial or pick value from the parameter Id. If you don't want the field to pick up data from the parameter id, then you should pass initial data value for that particular field.
2. In cases the session, SAP will take care of the transactions processed successfully. When you reprocess the session, only the ones in error will be processed.
In case of Call transaction, you have to make your program intelligent enough to skip the transactions already posted. If you don't do that, then every execution of the program will create the orders again (assuming that order number is internal). Also, it depends on you, if you stop after the first error, or post all the 100 records.
3. In case of Call transaction, you can get all the messages back in a table using the option MESSAGES of CALL TRANSACTION. You can go through that to find out if your document posted successfully, or if there were any warning or errors.
4. Since you are writing the program, you can define a field on your report selection screen which tells you what is the delimiter. Other way is to define the file format in such a way that there is a field for delimiter in the file itself.
Hope it helps. Happy ABAPing.
Raj
2004 Oct 15 4:41 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |