Uploading HR Master Data through LSMW or BDC
I want to upload the HR Master Data to the system through LSMW or BDC, I am aware that for some infotypes like 000,1 &2 BDC is more suited, whereas for other infotypes LSMW is more convenient. I would like to understand how to start the activity. Should I start with infotype 0000 first and then 0001 and so on or can I take any infotype randomly and upload? What I mean is, is there any dependency that an infotype data can be loaded only after certain other related infotype data is loaded first? e.g. can load infotype 0006 first and then infotype 0001?
Also please guide me on for which infotype LSMW is preferred and for which infotype BDC is preferred? Can BDC be used within LSMW?
-Shambhvi
Hi,
Do it like this way:- come into recording screen and give tcode PA40 now select in PA40 screen hiring action>execute> fill the details>save when 0001 screen wil open click on back button.> now in second step> give any name and discr.>save>back> third step> click on table button and give >
PERNR c 8
EINDA ddmm 10
SELEC_01 c 1
BEGDA ddmm 10
ENDDA ddmm 10
MASSN c 2
MASSG c 2
PLANS c 8
WERKS c 4
PERSG c 1
PERSK c 2
4) save it
5) select PA40 click on etras> auto feild mapping press enter when date format will come select 2nd option. save
7)specify flat file with tabular option
8) assign it
9, 10,11,12,13 & 14 just execute
Thanks and regards,
ARU
Similar Messages
-
Upload Property Master Data through LSMW
I am using the following BAPI to upload the Property Data through LSMW.
Business Object: BUS1502
Method: CREATE
Message Type: BUS1502_CREATE
Basic Type: BUS1502_CREATE03
There are two issues which needs to be addressed and hope that this forum can help me out.
1. In this BAPI, i dont see the field mapping for Company Code and Business Entity, both mandatory fields for creating a Property record.
2. Skipping the first step, i reached the step "Start IDoc Generation" in LSMW and get the following error.
EDI: Table passed to EDI_SEGMENTS_ADD_BLOCK is empty.
Anyone encountered these issues? Suggestions to resolve these issues?
HamdanHello Hamdan,
First of all, good decision to use BAPI + LSMW it is the best way to load DATA specifically in REFX. Here's answer to your questions.
1. Pass Company code, BE, other header level fields in E1BUS1502_CREATE structure. This is the main Header structure of the Baisc type you are using. Create source structure with these fields and mapp it to the BAPI fields and you are all set.
2. Check the EDI_DC40 element, or other structures if you are passing values. SAP/System will fill/populate these values on its own, do not pass any values example in fields DOCNUM, CREDAT, etc.
Good luck,
Jag -
Error While Uploading GL Master Data in LSMW
Hello Experts,
I am running into error while uploading GL master data in LSMW, I created recording through FS00, then I mapped the fields, it all went good till 13th step, but last step got stuck(Run Batch Input Session), when I am running batch input session, system is showing this message "Function Code cannot be selected"
Your help would be highly appreciated.
Regards
Muhammad Yousuf Ali
SAP FI ConsultantHi,
first can you pls check your Hierarchy mode setting in FS00 - before executing Batch input session -
Open FS00 - go to settings - and Do not display navigation tree select radio button and save it
then Now Run fresh LSMW - your issue will resolve
Mahesh -
Getting error while uploading gl master data using LSMW batch input data
Hi Experts,
I am getting error while uploading the GL master data through lsmw using batch input recording.
After completion of all steps at the time of running batch input session error i am getting is "maintain EN language discription"
and Pls tell me is it possible to upload transactional data using lsmw? if yes pls explaing briefly.Hello,
Kindly post in the FI forum to get a better response.
Regarding the issue you might check whether the correct column is being picked up where you have maintained the description.
Kind Regards // Shaubhik -
Dear Experts,
I am uploading the master data of functional location through LSMW .I had completed all the steps except "Run Batch Input Session".
In that step it is showing as functional location already exists, after this error the remaining functional locations are updated in sap or it will stop total transaction by this error???
how can u upload the remaining in to sap by skipping already existed one????
here I am uploading the error screen shot.
Thanks & Regards,
Sunil BoyaHi Jogeswara Rao Kavala,
When I am pressing back or NO option it is showing error like this
What is this OK- Code means?
how can I resume this process, even it was not going to back screen also and only one option is available for exit from this is by going into MENU-SYSTEM-SERVICES-BATCH INPUT-CANCEL.
Sunil Boya -
Upload Vendor master data using LSMW
Hi All,
i am working on LSMW for uploading the Vendor master data (XK01),
when i execute the 13 th step (Create batch input session), i got a message like
"Editing was terminated" .
Could you please tell me why that message is comming.
Regards,
Amjad.hi
good
try with these links
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/smartform%20in%20abap.pdf
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/smartforms/tutorial%20with%20code%20sample%20on%20smart%20forms.pdf
thanks
mrutyun^ -
How to upload tab-control data through LSMW.....
Hi,
I have to upload the data using the LSMW ....in their i have tab-control...how i have to upload the data of tab-control through LSMW....
Reply me early..if u have any idea...
PhaniHi Phani,
LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
check that single charecter field, it that is X that means the header record is processed, and do the items.
and, this is another way, try this out also
YOu can do this in "Define Source Structures" step,
the HEADER is defined first,
then the DETAIL below the HEADER.
add the fields to the structures.
Both should have some common key field
Please take care that the name of the common field is the same.
Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
let me know if any issues.
Thanks
Naveen Khan -
Loading customer master data using lsmw and bdc
Hi all..
Iam a beginner in sap world and my first project is to load the customer master data from mainframes into sap.
Can anyone guide me how to approach to this project and what are the best materials to go through. Also can any one send some sample programs related to these..
It would be a great help of you guys for a beginner like me..
Thanks,
mahiMessage type DEBMAS
Idoc type DEBMAS** where ** is highest number available in your system (check via WE30). e.g. DEBMAS06 -
How to upload sales quotation data through LSMW?
Hello i need to upload the sales quotation data from transaction VA21 for this we are using LSMW direct input method
the program RVINVB10 is used and there are 8 segments as given below was mapped
BVBAKKOM Header records
VBPAKOM Partner records
BVBAPKOM Item records
BVBEPKOM Schedule line data
H_BTEXHKOM Header text record
H_BTEXLKOM Header text line
BTEXHKOM Item text record
BTEXLKOM Item text line
i have tried to upload the data using some test data but unable to upload. can anybody send the sample test data for it which needs to be given in flat file?
when i debugged the program i found some problem with the function module SD_SALES_HEADER_MAINTAIN
please let me know what are the export and import parameters to pass to this function module to work properlyyes
-
How to upload different views of customer master data using LSMW-IDOC
I need to upload customer master data using LSMW Idoc method for my client. Now customer will have different views like main view, Sales data, Company code data, Partner function data etc. And except main data all other data can be multiple for each customer. We are going to upload data from tab delimited .TXT file. Should I propose different LSMW for upload different views for the customer from different .TXT files? or we can upload all the customer related data (like main view data and partner function data )from a single .TXT file. Kindly suggest which one in convenient and how we can prepare the data file in both cases.
convinient is the method that you can handle.
but as the guy who loads the data you have to load the data like they are available, like it is convinient for others to prepare the data.
In general there is no problem to use an IDOC method to load a customer master with multiple comany codes and several sales orgs in one shot.
the data can be in one source file, but need then to be maintained in a certain way
Example1: all data in 1 structure
GD1 - CC1 - SO1
GD1 - CC2 - SO2
GD1 - CC2 - SO3
in this case the GD (general data) is redundand in each line which has different Company code data or different Sales Org data
Example2: all data in 3 sturcures but one file
GD1
.CC1
.CC2
..SO1
..SO2
..SO3
Example3: data delivered in 3 files - you join the files in LSMW, they must have a common identifier like the old customer number in the beginning of each file
FILE General data:
GD1
GD2
GD3
file Compamy code data:
CC1
CC2
CC3
file Sales org data:
SO1
SO2
SO3
LSMW is flexible and can handle each of this scenarios, are you flexible too? -
LSMW Upload vendor master data problem
Hello,
I have to upload vendor master data with LSMW.
I'm using a batch input with the program RFBIKR00.
In the step "Create batch input session", I get the following error:
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VENDOR was opened
FB112 Trans. 1 : No transaction code was transferred
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE /
FB014 ... BLF00-LIFNR DETES998
FB014 ... BLF00-BUKRS /
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK 0001
FB013 ....Editing was terminated
Does anyone know how to solve this error?
Kind regards,
FrankHi ,
first up all u r not mentioning the tcode and other mandatory field values...just in the field mapping and conversion step...
click -->Extras -->Layout and select all fields
and give default values to field TCODE,and other fields also and also check whether mapping conversion with regard to source is correct or not...
If still any doubts i can clarify
Regards,
Sridhar Reddy
Message was edited by: sridhar reddy kondam
Message was edited by: sridhar reddy kondam -
How to upload Purchase Order Data thru LSMW
Hi All,
I need to upload Purchase order data thru LSMW. LSMW Provides standard object method which does not suit for split valuation. But in the client place split valuation is maintained. Is there any other of option of uploading the data.
Regards,
SrivatsanDear Srivatsan
For Upload Purchase order Data through LSMW
Business object BUS2012 - Purchase Order
Basic type PORDCR04
Message type PORDCR
Method CREATEFROMDATA
With regards
B.Ravindranath -
LSMW Upload vendor master data
I am uploading vendor master data via a batch input in LSMW (program RFBIKR00).
I uploaded all the vendors for 1 company code.
When I try to upload the vendors for another company code, in the step Create Batch Input Session I get the error: Trans. 1 XK01 : Acct already exists; general area not being processed, ... Data in table BLFA1 cannot be processed.
When I try to manually create a vendor for another company code via tcode XK01, I have no problems. But when I create an existing vendor manually for another company code I dont have to add the information which is contained in table lfa1.
Therefore I tried to upload the vendor, which has to be created for the company code, with a / in the data for table lfa1. But this doesnt work.
Has somebody a suggestion to solve this problem?
ThanksIn the similar thread you said:
"If the vendor exists in LFA1 but not LFB1, use XK02 with the structures for LFA1. Then use XK01 with the structures for LFB1."
It is not possible to use XK02 in order to create the vendor for another company code if the vendor already exists with a certain company code. You will get the error "Vendor xxx has not been created for company code yyy".
The problem is that LSMW requires a mapping onto structure LFA1, but when the vendor already exists for a certain company code, LSMW returns in the step "Create Batch Input Session" the error: "Trans. 1 XK01 : Acct already exists; general area not being processed, ... Data in table BLFA1 cannot be processed". -
Upload the master data in abap-hr using Lsmw tool
Hi Friends,
Any one Help me How to Upload the Master data in ABAP-HR using LSMW.
In Recording what need to fill.
If any screenshots are availave please provied me.
Thanks and Regards,
Sai.http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Try this ..... -
Upload HR master data Parmanent Address & home address by a BDC Program.
Hi exparts,
I writte a BDC program to upload HR master data for tcode PA30.
But I can upload parmanet address with this program.
I want to upload parmanent address then home address .
Can anybody help , how can I upload Parmanent Address & home address by a single BDC program.
Thanks
Edited by: Abu Rayhan on Jun 2, 2011 1:01 PMreport ZHR_SMP
no standard page heading line-size 255.
Internal Table TYPE Declaration for keeping Legacy Data
TYPES: BEGIN OF TW_MAIN,
PERNR LIKE RP50G-PERNR,
BEGDA LIKE P0006-BEGDA,
ANSSA LIKE P0006-ANSSA,
STRAS LIKE P0006-STRAS,
ORT01 LIKE P0006-ORT01,
STATE LIKE P0006-STATE,
PSTLZ LIKE P0006-PSTLZ,
LAND1 LIKE P0006-LAND1,
END OF TW_MAIN,
TT_MAIN TYPE STANDARD TABLE OF TW_MAIN.
DATA : WA_MAIN TYPE TW_MAIN,
IT_MAIN TYPE TT_MAIN,
WA_ITEM TYPE TW_MAIN,
IT_ITEM TYPE TT_MAIN,
WA_BDCDATA TYPE BDCDATA,
IT_BDCDATA TYPE STANDARD TABLE OF BDCDATA,
WA_BDCMSGCOLL TYPE BDCMSGCOLL,
IT_BDCMSGCOLL TYPE STANDARD TABLE OF BDCMSGCOLL.
Internal table for enable Required options using Call transaction & Session Method.
DATA: it_intern TYPE alsmex_tabline OCCURS 0 WITH HEADER LINE.
DATA ls_ctu_params TYPE ctu_params.
DATA : U_MODE(1),
U_UPDT(1),
FNAM(30),
STR TYPE STRING.
SELECTION-SCREEN BEGIN OF BLOCK bk1 WITH FRAME TITLE text-001.
PARAMETERS p_fname TYPE localfile OBLIGATORY.
PARAMETERS: p_begcol TYPE i DEFAULT 1,
p_begrow TYPE i DEFAULT 2,
p_endcol TYPE i DEFAULT 20,
p_endrow TYPE i DEFAULT 1600.
SELECTION-SCREEN END OF BLOCK bk1.
SELECTION-SCREEN : BEGIN OF BLOCK B4 WITH FRAME TITLE TEXT-004.
SELECTION-SCREEN : BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
PARAMETERS : P_FIRST RADIOBUTTON GROUP RB DEFAULT 'X',
P_SECOND RADIOBUTTON GROUP RB,
P_THIRD RADIOBUTTON GROUP RB.
SELECTION-SCREEN : END OF BLOCK B2.
SELECTION-SCREEN : BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-003.
PARAMETERS : P_SYN RADIOBUTTON GROUP RB1,
P_ASYN RADIOBUTTON GROUP RB1 DEFAULT 'X'.
SELECTION-SCREEN : END OF BLOCK B3.
SELECTION-SCREEN : END OF BLOCK B4.
Initialize the work are and internal table body
INITIALIZATION.
PERFORM INTIALIZE_ITAB.
*Get F4 help based on which file need to selected
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
PERFORM GETFILENAME.
START-OF-SELECTION.
Upload the file from Excel to Internal Table
PERFORM FILE_UPLOAD.
Selection Method for Foreground or background or call transactio or session method.
PERFORM SCREEN_FLAG.
Uploading the data from Legacy Sytem to SAP.
PERFORM BDC_TRANSACTION.
END-OF-SELECTION.
*& Form BDC_TRANSACTION
text
--> p1 text
<-- p2 text
FORM BDC_TRANSACTION.
IT_ITEM = IT_MAIN.
PERFORM CALL_TRANSACTION.
ENDFORM. " BDC_TRANSACTION
*& Form CALL_TRANSACTION
text
--> p1 text
<-- p2 text
FORM CALL_TRANSACTION .
LOOP AT IT_MAIN INTO WA_MAIN.
CLEAR WA_BDCDATA.
REFRESH IT_BDCDATA.
perform bdc_dynpro using 'SAPMP50A' '1300'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'RP50G-PERNR' WA_MAIN-PERNR.
perform bdc_field using 'RP50G-TIMR6' 'X'.
perform bdc_field using 'BDC_CURSOR' 'RP50G-CHOIC'.
perform bdc_field using 'RP50G-CHOIC' '0006'.
perform bdc_dynpro using 'SAPMP50A' '1300'.
perform bdc_field using 'BDC_OKCODE' '=INS'.
perform bdc_field using 'BDC_CURSOR' 'RP50G-PERNR'.
perform bdc_field using 'RP50G-PERNR' WA_MAIN-PERNR.
perform bdc_field using 'RP50G-TIMR6' 'X'.
perform bdc_field using 'RP50G-CHOIC' 'Addresses'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_CURSOR' '04/03'.
perform bdc_field using 'BDC_OKCODE' '=ENTR'.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-PSTLZ'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
perform bdc_dynpro using 'SAPLSBAL_DISPLAY' '0200'.
perform bdc_field using 'BDC_OKCODE' '=&ONT'.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-STATE'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_OKCODE' '/EBCK'.
perform bdc_field using 'BDC_CURSOR' 'P0006-BEGDA'.
perform bdc_dynpro using 'SAPLSPO1' '0200'.
perform bdc_field using 'BDC_OKCODE' '=YES'.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-PSTLZ'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
perform bdc_dynpro using 'SAPLSBAL_DISPLAY' '0200'.
perform bdc_field using 'BDC_OKCODE' '=&ONT'.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-PSTLZ'.
perform bdc_field using 'BDC_OKCODE' '/00'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
perform bdc_dynpro using 'MP000600_CE' '2010'.
perform bdc_field using 'BDC_CURSOR' 'P0006-BEGDA'.
perform bdc_field using 'BDC_OKCODE' '=UPD'.
perform bdc_field using 'P0006-BEGDA' WA_MAIN-BEGDA.
perform bdc_field using 'P0006-ENDDA' '12-31-9999'.
perform bdc_field using 'P0006-ANSSA' WA_MAIN-ANSSA.
perform bdc_field using 'P0006-STRAS' WA_MAIN-STRAS.
perform bdc_field using 'P0006-ORT01' WA_MAIN-ORT01.
perform bdc_field using 'P0006-STATE' WA_MAIN-STATE.
perform bdc_field using 'P0006-PSTLZ' WA_MAIN-PSTLZ.
perform bdc_field using 'P0006-LAND1' WA_MAIN-LAND1.
ls_ctu_params-dismode = U_MODE.
ls_ctu_params-updmode = U_UPDT.
ls_ctu_params-NOBINPT = 'X'.
CALL TRANSACTION 'PA30' USING it_bdcdata
OPTIONS FROM ls_ctu_params MESSAGES INTO IT_BDCMSGCOLL.
PERFORM message.
CLEAR: WA_MAIN, WA_ITEM.
ENDLOOP.
ENDFORM. " CALL_TRANSACTION
*& Form INTIALIZE_ITAB
text
--> p1 text
<-- p2 text
FORM INTIALIZE_ITAB .
CLEAR: WA_MAIN,
WA_ITEM,
WA_BDCDATA,
WA_BDCMSGCOLL,
LS_CTU_PARAMS.
REFRESH: IT_MAIN,
IT_ITEM,
IT_INTERN,
IT_BDCDATA,
IT_BDCMSGCOLL.
ENDFORM. " INTIALIZE_ITAB
*& Form GETFILENAME
text
--> p1 text
<-- p2 text
FORM GETFILENAME .
CALL FUNCTION 'F4_FILENAME'
EXPORTING
PROGRAM_NAME = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ' '
IMPORTING
FILE_NAME = p_fname.
ENDFORM. " GETFILENAME
*& Form FILE_UPLOAD
text
--> p1 text
<-- p2 text
FORM FILE_UPLOAD .
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
filename = p_fname
i_begin_col = p_begcol
i_begin_row = p_begrow
i_end_col = p_endcol
i_end_row = p_endrow
TABLES
intern = it_intern.
Moving the data to internal table.
PERFORM MOVE_DATA.
ENDFORM. " FILE_UPLOAD
*& Form MOVE_DATA
text
--> p1 text
<-- p2 text
FORM MOVE_DATA .
DATA : lv_index TYPE i.
FIELD-SYMBOLS <fs>.
*--- Sorting the internal table
SORT it_intern BY row col.
CLEAR it_intern.
LOOP AT it_intern.
MOVE it_intern-col TO lv_index.
*--- Assigning the each WA_DATA to an internal table row
ASSIGN COMPONENT lv_index OF STRUCTURE wa_main TO <fs>.
*--- Asigning the field value to a field symbol
MOVE it_intern-value TO <fs>.
AT END OF row.
APPEND wa_main to it_main.
CLEAR wa_main.
ENDAT.
ENDLOOP.
ENDFORM. " MOVE_DATA
*& Form SCREEN_FLAG
text
--> p1 text
<-- p2 text
FORM SCREEN_FLAG .
IF P_FIRST = 'X'.
U_MODE = 'A'.
ENDIF.
IF P_SECOND = 'X'.
U_MODE = 'N'.
ENDIF.
IF P_THIRD = 'X'.
U_MODE = 'E'.
ENDIF.
IF P_SYN = 'X'.
U_UPDT = 'S'.
ENDIF.
IF P_ASYN = 'X'.
U_UPDT = 'A'.
ENDIF.
ENDFORM. " SCREEN_FLAG
*& Form BDC_DYNPRO
text
-->P_0161 text
-->P_0162 text
FORM BDC_DYNPRO USING program dynpro.
CLEAR WA_BDCDATA.
wa_bdcdata-program = program.
wa_bdcdata-dynpro = dynpro.
wa_bdcdata-dynbegin = 'X'.
APPEND WA_BDCDATA TO IT_BDCDATA.
ENDFORM. " BDC_DYNPRO
*& Form BDC_FIELD
text
-->P_0211 text
-->P_LW_MAIN_TEXT1 text
FORM BDC_FIELD USING FNAM FVAL.
CLEAR WA_BDCDATA.
WA_BDCDATA-FNAM = FNAM.
WA_BDCDATA-FVAL = FVAL.
APPEND WA_BDCDATA TO IT_BDCDATA.
ENDFORM. " BDC_FIELD
*& Form MESSAGE
text
--> p1 text
<-- p2 text
FORM MESSAGE .
DATA: MSG TYPE STRING.
LOOP AT IT_BDCMSGCOLL INTO WA_BDCMSGCOLL.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = SY-LANGU
IMPORTING
MSG = MSG.
IF WA_BDCMSGCOLL-MSGTYP = 'S'.
WRITE:/ MSG,'For',WA_MAIN-PERNR.
ENDIF.
ENDLOOP.
ENDFORM. " MESSAGE
FILE FORMAT:
PERNR BEGDA ANSSA STRAS ORT01 STATE PSTLZ LAND1
10270 8/2/2011 1(Permanent) SSS ban 01 578987 IN
10270 8/2/2011 3(Home) SSS ban 01 578987 IN
Maybe you are looking for
-
I ran trouble shooting and conflicts. It now keeps wanting me to switch to a different windows OS rather than 7 which is what I am running and how it worked previously. The only thing I have done in the last several days that may have freaked it out
-
Itunes shows less memory than on my Ipod
I just purchased an Ipod picture/video 30gb, I have loaded 3376 songs into Itunes and Ipod so far, no pic's or videos, which comes out to 12.13gb. One day I received a "corrupt file" message in the bottom of my computer related to my Ipod. Itunes and
-
Can I check whole DB for logical and physical consistency?
Assume I get somehow the impression that a part of a DB is somehow corrupted. E.g. due to hard disc sector errors or logical reference errors/changed foreign key values. How can I tell Oracle DB to check itself resp. to verify all the content inside
-
Replication Monitor could not open the Detail Window
The publisher is running SQL Server 2008 R2 on a Server 2008 R2 box. The subscriber is running SQL Server 2012 on a Server 2012 box. I have tried launching the replication monitor from both servers but can't drill down into details on either instance
-
HT204655 Can I create folders and subfolders in the new Photos on my mac?
I've just started using the new Photos app in the latest Yosemite update on my Macbook Pro. Until recently I was using Aperture to sort all my photos into folders and subfolders - I think they were called "events" or "projects" in Aperture. In Apert