LSMW - Creditor
Hi Forum,
I have a question concerning LSMW with Creditors.
My task is to import Creditor Data from a old system into SAP. Every Creditor hold at least one Bank Account Data ( Bank code number, Country, Bank account number), in some cases a creditor holds 2 or 3 Bank Accounts. For every Bankaccount a IBAN should be created from the Bankaccount Data + Bank code number.
I created a record with LSMW for 3 Bankaccounts, but like I said some Creditor have just 1 or 2 Bank Account Datas and here the Problem begins...
A Example :
Creditor with 2 Bank Data Connections with a record for 3 Bankaccounts.
The LSMW fills the right fields with the Data from the 2 Bank Accounts and IBANs are created. The Batch Input stops at the 3 bankaccount because the lsmw wants to create a IBAN without Data. I tried skip_record but this is not the solution.
Anybody a Idea?
Thanks for your help.
Benjamin
Please talk to your ABAPER.
you can write a code here and ask the system to pull data from other source file(maiantain iban nos here).
Similar Messages
-
hi frenz... i am doing LSMW for 195(garnishment order). while recording it is not allowing me to enter in to 195 unless i enter in 194. i dont want to do for 194.. i want to do directly for 195. plzz help me.
FYI
Creating a Garnishment Order (Infotype 0195)
Prerequisites
You must create a Garnishment Document (Infotype 0194) immediately before you create the garnishment order. Upon saving the new garnishment document, the Garnishment Order fast-entry screen appears. You must make entries here before the record can be saved.
Procedure
On the Create Garnishment Order screen, specify the desired rule in the RI (Rule Indicator) field.
Enter either the Initial balance or the Deduction.
Usually, initial balances are required in Creditor, Federal Tax, and State Tax cases and deductions are mandatory in Child Support and Alimony cases. However, your company can customize the tables to change this.
Enter any additional limits if applicable.
If you use a rule, limits are not necessary, but still possible. If you do not choose a rule, you must set limits.
If necessary, choose Supplements to access another entry screen and add any additional information.
If the case is a Federal Tax or State Tax levy, you are required to enter supplemental information.
Save your entries.
Result
The garnishment order record is created. -
LSMW for garnishments(194,195)
hi frenz... i am doing LSMW for 195(garnishment order). while recording it is not allowing me to enter in to 195 unless i enter in 194. i dont want to do for 194.. i want to do directly for 195. plzz help me.
FYI
Creating a Garnishment Order (Infotype 0195)
Prerequisites
You must create a Garnishment Document (Infotype 0194) immediately before you create the garnishment order. Upon saving the new garnishment document, the Garnishment Order fast-entry screen appears. You must make entries here before the record can be saved.
Procedure
On the Create Garnishment Order screen, specify the desired rule in the RI (Rule Indicator) field.
Enter either the Initial balance or the Deduction.
Usually, initial balances are required in Creditor, Federal Tax, and State Tax cases and deductions are mandatory in Child Support and Alimony cases. However, your company can customize the tables to change this.
Enter any additional limits if applicable.
If you use a rule, limits are not necessary, but still possible. If you do not choose a rule, you must set limits.
If necessary, choose Supplements to access another entry screen and add any additional information.
If the case is a Federal Tax or State Tax levy, you are required to enter supplemental information.
Save your entries.
Result
The garnishment order record is created. -
Logical filename and logical path in lsmw
Hi all,
I am doing a lsmw for purchasing info record . i created a logicalpath and assigned a physical path to that . i created a logical filename and assigned the logical path .but when i assign that to the lsmw it is throwing error as 'LOGICAL PATH DOES NOT POINT TO PHYSICAL DIRECTORY' .
can anybody provide a solution for that .
Thanks & regards
Magesh anandanhi ,
goto the tcode file then u find the relation between the logical and physical paths ...and their assignment..
hope it will helps u..
regards,
venkat. -
Hello Friends
I want to find if anybody can guide me on how to get all open sales order tables , i want to create a format and create a flat file for uplodading the file , for this what do i need and how do i do it.
Also for creating LSWM can i use the existing one which i can just Assign the New file to the existing one .
Regards.Dear Mehmood,
I want to find if anybody can guide me on how to get all open sales order tables
You want to extract all the open sales orders- which you can get from Table:VBUP key in overall document status in selection screen ( You can use VBUK also- but if there are certain sales orders in which some of the items are completed or few of them open, using VBUK - you will not get exact records)
Secondly, you can get the data by using Query also- in SQVI
design a query with VBAK / VBAP & VBUP
so that from VBAK you can give time period & sales area details
from VBAP - you can enter plant relevant details to filter certain records & item category as well
where as VBUP- filter wth the status.
once downloaded store in flat file.
Now Create LSMW object by using batch input recording method. after mapping the relevant fields,
prepare the flat file in such a - it suits to the upload file / recording file. then you can upload the already downloaded n stored open sales orders in flat file.
Hope this is what you are looking for.
Regards,
ReazuddinMD -
Hi,
I have created a LSMW for updating sales office in the Sales order by using Direct input method.
While specify files;I specified the file saved in the Desktop.While saving I get an error saying 'Logical path is not specified'.
Can anyone tell me why this error occurs and how to rectify this??
Thanks in Advance.
Thanks&Regards,
Sophia XavierHI
Place the cursor on "legacy data" and click on "create" option.
You will get one screen. There, you have input box called "FILE". By selecting drop box or pressing F4 on that, you will get all folders, files available at ur PC.
Search for you file, and double click on ur file. Next give all mandatory information in that screen. Finally press ok and save your "specify screens". It can be saved.
Reward if it is useful.
Thanks.
Siva kumar -
Creation of partner functions for customer master with LSMW
Hello,
I try to create partner functions together with a customer via Batch Input in LSMW.
Object: 0050, method: 0000, program name: RFBIDE00, program type: B.
I use the structure BKNVP (Customer master partner functions) to create a new partner and set values for the fields KTONR and PARVW.
When I start the batch input the fields are filled in correctly in a new dynpro. After the confirmation of these values the dynpro changes back to the partner functions sscreen, but the value for KTONR isn'n being transferred. So I get an error message.
Is it only possible to update partner functions with that BI or what is going wrong ?
Thanks in advance and regards
AlexHi Alex,
Could you specify what error message you are getting?
Thanks!
Rudra -
Error in Creation of Purchase Requisition through LSMW
Hi
I am trying to craete a PR upload prog through LSMW batch input method. In the Specify File option I am giving the TXT file destination.The TXT file is saved at my desktop. But while saving it is givving an error as "No logical path has been specified", Message no. /SAPDMC/LSMW_OBJ_060046
If anyone can help me out.Hi,
I would suggest to create a new one for this as file is placed on your desktop. But you can refer the standard one with which you will get the idea for creation:
Standard logical file name for this is: MM_PURCHASING_REQUISITIONS
In this file location is default in location /usr/sap/trans/data/mmrequisitions, instead of this you can give your converted data file name from step 7 Specify file for e.g PROJECT00_CUTOVER_MB1C_1.lsmw.conv
You can refer or use standard logical path LOCAL_TEMPORARY_FILES for this scene.
Hope this solves your problem.
Regards,
Brajvir -
Dear ALL
Recorded an LSMW for PA40 hiring actions which includes infogroup - [ IT 0000, 0001, 0002, 0105-ZVEN (Sub type)]
This is for external vendor employees hiring actions.
While recording or manually running the process, it is working fine.
When in foregroud or background process, the alternate pernr is getting generated. Say for 1st record , pernr generated is 80023, then for next it is 80025, 80027so on.
Kindly suggest me in this issue.
Thanks
MJHi,
1-you keep no range as external and assign PERNR sequentially so that it remains same as you want it
2-kindly go through the LSMW abain to see what have you assigned in field mapping & conversion rules
3- check one record created thru LSMW and see if next (alternate number gets assigned to Ref PERNR in IT0000)
Check the alternate number to see if anything gets assigned to it.
salil -
Using a Logical File definition in LSMW
Hi all,
is there any way that we can use a Logical File (defined in transaction FILE) as an application server file in the "specify files" step, instead of having to enter the physical path/file?
Thanks in advance,
JustinHello,
Check pages 46 and 47 of the following document :
[http://sapabap.iespana.es/manuales/pdf/lsmw.pdf|http://sapabap.iespana.es/manuales/pdf/lsmw.pdf]
You can only use a logical filename for subsequent programs (example direct input programs) not for the actual input file of your LSMW.
Wim -
LSMW: Error concerning the logical path in Specify Files step
Hi,
I am trying on an ECC 6.0 EHP6 system to upload (open) POs from an existing SAP ERP system. Since I faced some complications in batch input recording method, I decided to go with the standard batch/direct input method.
I selected object 0085 (Purchase Order) and method 0001 (Purchase Order). The program that is used is RM06EEI0. I followed all the usual steps, but in the "Specify Files" step I get the message:
'****.lsmw.conv' does not exist; edit the logical path using transaction FILE
Being aware of both the FILE and SF01 transactions, I created the logical path and file (through the FILE transaction). However, after the modification, I get the message:
Logical file '****' is not assigned to physical file '****.lsmw.conv'
There is also the related SAP Note 753511 (Logical and physical path and file name in transaction LSMW) that refers to this case.Hi,
Click on specify file radio button>Legacy data-on the PC Front end
where input file location like C:\mydocument\desktop\test.txt
and give input in Name field: mydocument
in delimiter section > select Tabular
File structure section> tick on Field order matches source structure definition
File type: Record end marker(Text file)
then press enter key and other steps as same.
Second thing you said that you have used Batch input recording
after creation and recording finish , scroll the page below on recording and put a cursor unwanted field and remove unwanted input field.
I hope your problem will resolve. you can find the steps pdf on Google search try now.
Thanks
Sanjeet Kumar -
How to set dynamic file path in LSMW
I am working on LSMW object to upload say excel file from my desktop.. if someone runs my lsmw application on their system obviously it fails.. is there way where I can dynamically set the path..I mean whomsoever runs the application it picks the file from their location and execute the program.
hi,,,
change your code accordingly
here i am inserting data into ztable from excel .
*& Report ZBI_UPLOAD_DATA_MAST *
REPORT zbi_upload_data_mast .
DATA : it_tab TYPE filetable,
gd_subrc TYPE i.
TYPES : BEGIN OF wa_wrkctr,
fictr TYPE zbi_fictr_mast-fictr,
prctr TYPE zbi_fictr_mast-prctr,
type TYPE zbi_fictr_mast-type,
END OF wa_wrkctr.
DATA : wa_save TYPE zbi_fictr_mast.
DATA : gd_scol TYPE i VALUE '1',
gd_srow TYPE i VALUE '1',
gd_ecol TYPE i VALUE '256',
gd_erow TYPE i VALUE '65536'.
DATA : it_datatab TYPE STANDARD TABLE OF wa_wrkctr WITH HEADER LINE INITIAL SIZE 0.
it_phy_data TYPE STANDARD TABLE OF wa_energy WITH HEADER LINE INITIAL SIZE 0.
*data : w_current_inv_no(5) TYPE n,
w_pop_up_text LIKE wfcsr_ui_popup_text.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_file LIKE rlgrap-filename OBLIGATORY
DEFAULT 'C:\Physical Stock.xls' .
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CALL METHOD cl_gui_frontend_services=>file_open_dialog
EXPORTING
window_title = 'Select File Name'
default_extension = '*.xls'
default_filename = '*.xls'
file_filter = '*.xls'
initial_directory = 'c:\'
MULTISELECTION =
WITH_ENCODING =
CHANGING
file_table = it_tab
rc = gd_subrc.
USER_ACTION =
FILE_ENCODING =
EXCEPTIONS
FILE_OPEN_DIALOG_FAILED = 1
CNTL_ERROR = 2
ERROR_NO_GUI = 3
NOT_SUPPORTED_BY_GUI = 4
others = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
READ TABLE it_tab INTO p_file INDEX 1.
ENDIF.
START-OF-SELECTION.
START-OF-SELECTION.
PERFORM upload_excel_file TABLES it_datatab
USING p_file
gd_scol
gd_srow
gd_ecol
gd_erow.
PERFORM eventtab_build CHANGING lt_eventtab.
PERFORM display_data.
*& Form UPLOAD_EXCEL_FILE
text
-->P_IT_DATATAB text
-->P_P_FILE text
-->P_GD_SCOL text
-->P_GD_SROW text
-->P_GD_ECOL text
-->P_GD_EROW text
FORM upload_excel_file TABLES p_it_datatab
USING p_file
p_scol
p_srow
p_ecol
p_erow.
DATA : lt_intern TYPE kcde_cells OCCURS 0 WITH HEADER LINE.
Has the following format:
Row number | Colum Number | Value
i.e. 1 1 Name1
2 1 Joe
DATA : ld_index TYPE i.
FIELD-SYMBOLS : <fs>.
Note: Alternative function module - 'ALSM_EXCEL_TO_INTERNAL_TABLE'
CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
EXPORTING
filename = p_file
i_begin_col = p_scol
i_begin_row = p_srow
i_end_col = p_ecol
i_end_row = p_erow
TABLES
intern = lt_intern
EXCEPTIONS
inconsistent_parameters = 1
upload_ole = 2
OTHERS = 3.
IF sy-subrc <> 0.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'Error Uploading file'.
EXIT.
ENDIF.
IF lt_intern[] IS INITIAL.
FORMAT COLOR COL_BACKGROUND INTENSIFIED.
WRITE:/ 'No Data Uploaded'.
EXIT.
ELSE.
SORT lt_intern BY row col.
LOOP AT lt_intern.
MOVE lt_intern-col TO ld_index.
ASSIGN COMPONENT ld_index OF STRUCTURE it_datatab TO <fs>.
MOVE lt_intern-value TO <fs>.
AT END OF row.
APPEND it_datatab.
CLEAR it_datatab.
ENDAT.
ENDLOOP.
ENDIF.
IF it_datatab[] IS NOT INITIAL.
DELETE FROM zbi_fictr_mast.
COMMIT WORK.
LOOP AT it_datatab.
wa_save-fictr = it_datatab-fictr.
wa_save-prctr = it_datatab-prctr.
wa_save-type = it_datatab-type.
INSERT INTO zbi_fictr_mast VALUES wa_save.
IF sy-subrc = 0.
COMMIT WORK.
MESSAGE 'Data upload complete' TYPE 'S'.
ENDIF.
CLEAR wa_save.
CLEAR it_datatab.
ENDLOOP.
ENDIF.
ENDFORM. " UPLOAD_EXCEL_FILE
i hope this will help .
Regards
Deepak -
hi friends,
i have been uploading using the direct input method in lsmw.it is requiring the logical path and the logical file to be given.i tried to create them using the transaction FILE.but while using that in LSMW it is giving error stating that logical path doesn't point to the physical directory.can any how let me know how to create a logical file and logical path.
thanks in advance.
-senthilkumarhi ,
goto the tcode file then u find the relation between the logical and physical paths ...and their assignment..
hope it will helps u..
regards,
venkat. -
Runtime error in LSMW to create Material Master
Hi all,
I am trying to create Material No. using direct input method in lsmw. The program name is RMDATIND. But while executing the last step i.e Start Direct input program I am getting a runtime error
"A RAISE statement in the program "SAPLMG25" raised the exception
condition "NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated."
I have checked all the steps of lsmw. Any idea why this specific error is coming?Are you able to create the material manually with the data. If you have checked the basic data view then i would check to see if base unit of measure is mandatory and if its being passed/mapped properly for the material you are creating.
-
Error while uploading the file from Allpcation server in LSMW-7th step
Hi Experts,
what should be the specific CODE PAGE should be maintained while uploading the file from application server in LSMW-7th Step
Thanks in advance,
KSRHi
I mean that there is any seperate CODE PAGE which comes at the bottom of screen while uploading the file from the application server in 7th step.
Is there any specific CODE PAGE to be maintained...
Thanks in advance
Oarsk
Maybe you are looking for
-
Hi All. I have a new MacPro with dual HD5770's. I can't quite figure out how it determines the screen order. I have a combination of 4 TV monitors, one VGA and one DVI monitor hooked up to this machine. I always want the DVI monitor to be the primary
-
What are the delta mechanisms and tables used for Lo Extraction & COPA
Hi all what are the delta mechanisms and tables used for Lo Extraction & COPA. please explain clealry. Thanks & Regards, James
-
does touching the home button wakes up the iphone 5S or do we physically have to Click on Home Button or Sleep/Wake button and then use touch id? What I am trying to say is that each time I have to click on the home button to wake up the iphone 5s an
-
Question on upgrade of SAP_BASIS & ABA component on Application component
We have been recommended to upgrade SP21 for component SAP_BASIS (13) and SAP_ABA (12) to resolve HR ALE issues where correction is available in SP21. We are in SRM6.0 SP03. My question is do we have to go for SRM6.0 support pack upgrade too which i
-
Can a pcie-1x sound card fit into the third pcie-8x slot of P7N Platinium ?
can a pcie-x1 sound card fit into the third pcie-x8 slot of P7N Platinium (indicated by the green arrow in the pic below) ? what is the intended usage or practical usage for that 3rd slot? Also, kindly enquire if 3 ways SLI really feasible and any dr