How to upload Vendor/Customer Open items through Items
Hi,
I want to upload the data for vendor open items / customer open items ( F-02 Transaction )through LSMW. There is no Object and methods are present for Batch Input or direct input. Is any BAPI or IDOC is present for this. If available, Please provide it.
Thanks & Regards,
Dhiraj.
Hi Harish ,
can u tell me Y want to Upload data for Open Items ? let us know the requirement.
as per my understanding : Open Items means Item which are ready to receive / send amt to Vendor / Customer.
Regards
Prabhu
Similar Messages
-
How to upload vendor open item data.
How to upload vendor open item data.
HI Bhanu
There are many threads on it.
You can check the below one
http://scn.sap.com/thread/3547986
Regards
Pankaj Pandey -
Few queries about foreign revaluation for vendor/customer open items
I am trying the transaction F.05 for the first time for vendor & customer open items in foreign currency. I have a few queries:-
1. The ouput contains 2 exchange rates. One is picked from the transaction header. My query is from where is the other rate being picked up. In my current system, I could make out that exch rate in transaction header is being picked automatically from table OB08....however I am unable to deduce the source of the 2nd exch rate.
2. What is the significance of "balance sheet preparation valuation". Earlier in test runs, only "new difference" was getting populated. However the user wanted to see "old diff" also. So while doing some trial run in test client, I checked the "bal sheet prep valu" and posted.....after this run, I am getting values in "old diffe" and "new diff" also. And the posted amount is the difference of the two. What is the significance and ideal way?
3. Should the entry be reversed if I am revaluating at year end? Why I am asking is because in some threads I read that revaluation at year is not to be reversed....
Thanks,
SM1. To find out difference latest date(Key Date for OI Overview) will be taken by comparing with document posted dated. Based on that system shows diffrences
2. The items are valued using the exchange rate valid at the key date. The
difference determined in local currency is output and posted. The
valuation can also be done for parallel local currencies and according to
different valuation approaches (HGB, GAAP).
The result of the valuation is required for the creation of the financial
statements. You should therefore carry out the valuation before the
grouping of receivables and payables with program SAPF101. The valuation
difference is then noted in the document. Use the valuation areas to
calculate a different valuation method, or to save the result for further
processing activities.
3. we need to reverse entries . -
Where we can link the vendor & Customer open and cleared iteams.
Dear Experts,
Vendor & Customer open line iteam and clear line iteams tables is BSIK, BSID, BSIAK,BSAD, But where we can link the open iteam and clear iteam, what is the link table of open iteam and cleared iteam. And where we can link the vendor & Customer open and cleared iteams.
For example vendor & Customer linked table is KLPA.
Same above the G/L open line iteam and clear line iteams tables is BSIS, BSAS,where we can link the open iteam and clear iteam, what is the link table of open iteam and cleared iteam.
Thanks in Advance,.
Srinu.M.Sorry to say you but it is mandatory.
Everybody is trying to help others and solve their problem. When you say i am not asking for that and looking for this, it looks a bit arrogant.
Tables are
Customer
BSID (open items) and BSAD (cleared items)
Vendor - similarly
BSAK and BSIK
Totals
BSEG, BKPF
Let us know if you still need any help
Edited by: nkonnipati on Jan 28, 2012 5:51 AM -
Offsetting account in Vendor, Customer and GL line item report
Hi All,
There is one requirement from our client. They want offsetting account in Vendor, Customer and GL line item report.(FBL1n, FBL3n and FBL5n).
As this field is there in selection screen in lay out setting but field coming as blank no off setting account is coming. It was coming in old SAP 4.7 system but same is not coming in ECC6.0.
Kindly let me know if any development is requirement, if yes than which tables we have refer for the same.
Thanks and Regards,
Abhinav SharmaHi Abhinav,
There is a SAP not and you can refer to that - SAP OSS note 112312
T.Code: FIBF
After entering in above T.code
Follow Path
Settings Products of a customer
Product : XXXX
Text : XXXX
Active : Tick it
Click on Back i.e. F3
Follow Path
Settings >P/S Function Modules > of a customer
Event: 00001650
Product: XXXX
Function Module: LINE_ITEMS_GET_GKONT
Now Go to FBL3N display of any account
After opening the account display click on Change Layout i.e. CTRL+ F8
And Select
Offsetting A/C Type & Offsetting A/C no.
Regards,
SAPFICO
Edited by: SAPFICO on Dec 1, 2010 8:26 AM -
How to upload datas in excel sheet through BDC
Hi,
I know how to upload datas in Text format through BDC...Suppose even when datas are in .xls format,I saved that file as Text(tab delimited) format...then file become text format and it can be easily uploaded....
So, I want to know How to upload datas in excel sheet through BDChi,
try this Example, hope useful to u, assign me point.
report ZMSV1_BDC_CALL
no standard page heading line-size 255.
*include bdcrecx1.
*parameters: dataset(132) lower case.
DO NOT CHANGE - the generated data section - DO NOT CHANGE ***
If it is nessesary to change the data section use the rules:
1.) Each definition of a field exists of two lines
2.) The first line shows exactly the comment
'* data element: ' followed with the data element
which describes the field.
If you don't have a data element use the
comment without a data element name
3.) The second line shows the fieldname of the
structure, the fieldname must consist of
a fieldname and optional the character '_' and
three numbers and the field length in brackets
4.) Each field must be type C.
Generated data section with specific formatting - DO NOT CHANGE ***
data: begin of record,
data element: BUKRS
BUKRS_001(004),
data element: KTOKK
KTOKK_002(004),
data element: NAME1_GP
NAME1_003(035),
data element: SORTL
SORTL_004(010),
data element: ORT01_GP
ORT01_005(035),
data element: LAND1_GP
LAND1_006(003),
data element: SPRAS
SPRAS_007(002),
data element: BANKS
BANKS_01_008(003),
data element: BANKK
BANKL_01_009(015),
data element: BANKN
BANKN_01_010(018),
end of record.
End generated data section ***
data: itab like record occurs 0 .
data: it_bdc type bdcdata occurs 0 with header line.
data: it_msg type bdcmsgcoll occurs 0 with header line.
parameter p_file type rlgrap-filename default 'c:\vendor.txt' obligatory
start-of-selection.
perform open_dataset using p_file.
perform open_group.
*perform close_group.
*perform close_dataset using dataset.
*& Form open_dataset
text
-->P_P_FILE text
form open_dataset using p_p_file.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = p_file
FILETYPE = 'DAT'
HEADLEN = ' '
LINE_EXIT = ' '
TRUNCLEN = ' '
USER_FORM = ' '
USER_PROG = ' '
DAT_D_FORMAT = ' '
IMPORTING
FILELENGTH =
TABLES
data_tab = itab
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
NO_AUTHORITY = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " open_dataset
*& Form open_group
text
--> p1 text
<-- p2 text
form open_group .
loop at itab into record.
perform bdc_dynpro using 'SAPMF02K' '0105'.
perform bdc_field using 'BDC_CURSOR'
'RF02K-KTOKK'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RF02K-BUKRS'
record-BUKRS_001.
perform bdc_field using 'RF02K-KTOKK'
record-KTOKK_002.
perform bdc_dynpro using 'SAPMF02K' '0110'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-ORT01'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'LFA1-NAME1'
record-NAME1_003.
perform bdc_field using 'LFA1-SORTL'
record-SORTL_004.
perform bdc_field using 'LFA1-ORT01'
record-ORT01_005.
perform bdc_field using 'LFA1-LAND1'
record-LAND1_006.
perform bdc_field using 'LFA1-SPRAS'
record-SPRAS_007.
perform bdc_dynpro using 'SAPMF02K' '0120'.
perform bdc_field using 'BDC_CURSOR'
'LFA1-KUNNR'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-KOINH(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_field using 'LFBK-BANKS(01)'
record-BANKS_01_008.
perform bdc_field using 'LFBK-BANKL(01)'
record-BANKL_01_009.
perform bdc_field using 'LFBK-BANKN(01)'
record-BANKN_01_010.
perform bdc_dynpro using 'SAPMF02K' '0130'.
perform bdc_field using 'BDC_CURSOR'
'LFBK-BANKS(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ENTR'.
perform bdc_dynpro using 'SAPMF02K' '0210'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-AKONT'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0215'.
perform bdc_field using 'BDC_CURSOR'
'LFB1-ZTERM'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPMF02K' '0220'.
perform bdc_field using 'BDC_CURSOR'
'LFB5-MAHNA'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_dynpro using 'SAPLSPO1' '0300'.
perform bdc_field using 'BDC_OKCODE'
'=YES'.
call transaction 'FK01' using it_bdc mode 'A' update 'S'
messages into it_msg.
write:/ sy-subrc.
perform message_formatwrite.
refresh it_bdc.
clear it_bdc.
endloop.
endform. " open_group
*& Form message_formatwrite
text
--> p1 text
<-- p2 text
form message_formatwrite .
data:l_msg(10).
loop at it_msg.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = sy-langu
NO = SY-MSGNO
V1 = SY-MSGV1
V2 = SY-MSGV2
V3 = SY-MSGV3
V4 = SY-MSGV4
IMPORTING
MSG = l_msg
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endloop.
endform. " message_formatwrite
*& Form bdc_dynpro
text
-->P_0112 text
-->P_0113 text
form bdc_dynpro using value(p_0112)
value(p_0113).
it_bdc-program = p_0112.
it_bdc-dynpro = p_0113.
it_bdc-dynbegin = 'X'.
append it_bdc.
clear it_bdc.
endform. " bdc_dynpro
*& Form bdc_field
text
-->P_0117 text
-->P_0118 text
form bdc_field using value(p_0117)
value(p_0118).
it_bdc-fnam = p_0117.
it_bdc-fval = p_0118.
append it_bdc.
clear it_bdc.
endform. " bdc_field
Regards
fareedas -
How to upload Bulk Customer Data from Excel or Notepad?
Hi
Could any body explain me how can we upload bulk customer master data into SAP system. How the LSMW functionality works for it. what are the prerequisites to upload the data into the system, and Could any body explain me the detailed procedure to upload Customer master data into the system.
As well I request you to know what are the other functionality we use for uploading. What would be the difference between IDOC and BDC functionalities.
your suggestions will be highly appreciated?
Raghu Ramhi raghu,
this is sample code of bdc,
REPORT zbdc_cus_create_ctm NO STANDARD PAGE HEADING MESSAGE-ID zsmep.
*& Request ID: ECCK900136
*& Author : seshu
*& Date : 20/03/2007
*& This report Creates customer Master Details through BDC-Call transaction
*& method and download error files to the presentation server.
DATA: BEGIN OF t_tab OCCURS 0,
kunnr TYPE kun16,
bukrs TYPE bukrs,
vkorg TYPE vkorg,
vtweg TYPE vtweg,
spart TYPE spart,
ktokd TYPE ktokd,
name1 TYPE name1_gp,
sortl TYPE sortl,
ort01 TYPE ort01_gp,
land1 TYPE land1_gp,
spras TYPE spras,
pstlz TYPE pstlz,
civve TYPE civve,
akont TYPE akont,
awahr TYPE awahr,
waers TYPE waers_v02d,
kzazu TYPE kzazu_d,
antlf TYPE string.
DATA: END OF t_tab.
DATA: BEGIN OF t_tab1 OCCURS 0,
kunnr TYPE kun16,
bukrs TYPE bukrs,
vkorg TYPE vkorg,
vtweg TYPE vtweg,
spart TYPE spart,
ktokd TYPE ktokd,
name1 TYPE name1_gp,
sortl TYPE sortl,
ort01 TYPE ort01_gp,
land1 TYPE land1_gp,
spras TYPE spras,
pstlz TYPE pstlz,
civve TYPE civve,
akont TYPE akont,
awahr TYPE awahr,
waers TYPE waers_v02d,
kzazu TYPE kzazu_d,
antlf TYPE string.
DATA: END OF t_tab1.
DATA: BEGIN OF g_tab_create OCCURS 0,
kunnr TYPE kunnr,
messa TYPE string.
DATA: END OF g_tab_create.
DATA: BEGIN OF g_tab_error OCCURS 0,
kunnr TYPE kunnr,
messa TYPE string.
DATA: END OF g_tab_error.
DATA: g_tab TYPE TABLE OF string,
g_wa TYPE string.
*DATA: g_tab TYPE TABLE OF t_tab,
g_wa LIKE LINE OF g_tab.
DATA: g_tab1 TYPE TABLE OF string.
*itab for mapping...
DATA: BEGIN OF tab_map OCCURS 0.
INCLUDE STRUCTURE bdcdata.
DATA: END OF tab_map.
*itab for error messages...
DATA: BEGIN OF tab_error OCCURS 0.
INCLUDE STRUCTURE bdcmsgcoll.
DATA: END OF tab_error.
DATA: BEGIN OF l_tab OCCURS 0,
l_text TYPE string.
DATA: END OF l_tab.
*delcarations for blocked alv...
TYPE-POOLS: slis.
DATA: l_tab_fieldcatlog TYPE slis_t_fieldcat_alv,
l_tab_fieldcatlog1 TYPE slis_t_fieldcat_alv,
l_layout TYPE slis_layout_alv,
l_events TYPE slis_t_event,
l_events1 TYPE slis_t_event,
l_wa_events LIKE LINE OF l_events,
l_pos TYPE i,
report TYPE sy-repid,
path TYPE string,
path1 TYPE string.
End generated data section ***
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: file TYPE ibipparms-path OBLIGATORY.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
PARAMETERS: file1 TYPE ibipparms-path.
SELECTION-SCREEN END OF BLOCK b2.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = file.
MOVE file TO path.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR file1.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = file1.
MOVE file1 TO path1.
AT SELECTION-SCREEN .
IF file EQ file1.
MESSAGE e103(zsmep).
EXIT.
ENDIF.
START-OF-SELECTION.
*call transaction method...
PERFORM call_ctm.
*display the output in blocked alv...
PERFORM disply_block_alv.
*& Form call_ctm
text
FORM call_ctm.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = path
filetype = 'ASC'
HAS_FIELD_SEPARATOR = ' '
HEADER_LENGTH = 0
READ_BY_LINE = 'X'
DAT_MODE = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
CHECK_BOM = ' '
VIRUS_SCAN_PROFILE =
NO_AUTH_CHECK = ' '
IMPORTING
FILELENGTH =
HEADER =
TABLES
data_tab = g_tab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
DATA: text TYPE TABLE OF string.
LOOP AT g_tab INTO g_wa.
SPLIT g_wa AT '|' INTO: t_tab-kunnr
t_tab-bukrs
t_tab-vkorg
t_tab-vtweg
t_tab-spart
t_tab-ktokd
t_tab-name1
t_tab-sortl
t_tab-ort01
t_tab-land1
t_tab-spras
t_tab-pstlz
t_tab-civve
t_tab-akont
t_tab-awahr
t_tab-waers
t_tab-kzazu
t_tab-antlf,
TABLE text.
APPEND t_tab.
CLEAR g_wa.
ENDLOOP.
LOOP AT t_tab.
REFRESH tab_map.
PERFORM sub USING 'SAPMF02D' '0100'.
PERFORM sub1 USING 'BDC_CURSOR'
'RF02D-KTOKD'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub1 USING 'RF02D-KUNNR'
t_tab-kunnr.
PERFORM sub1 USING 'RF02D-BUKRS'
t_tab-bukrs.
PERFORM sub1 USING 'RF02D-VKORG'
t_tab-vkorg.
PERFORM sub1 USING 'RF02D-VTWEG'
t_tab-vtweg.
PERFORM sub1 USING 'RF02D-SPART'
t_tab-spart.
PERFORM sub1 USING 'RF02D-KTOKD'
t_tab-ktokd.
PERFORM sub USING 'SAPMF02D' '0110'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNA1-SPRAS'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub1 USING 'KNA1-NAME1'
t_tab-name1.
PERFORM sub1 USING 'KNA1-SORTL'
t_tab-sortl.
PERFORM sub1 USING 'KNA1-ORT01'
t_tab-ort01.
PERFORM sub1 USING 'KNA1-LAND1'
t_tab-land1.
PERFORM sub1 USING 'KNA1-SPRAS'
t_tab-spras.
PERFORM sub1 USING 'KNA1-PSTLZ'
t_tab-pstlz.
PERFORM sub USING 'SAPMF02D' '0120'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNA1-LIFNR'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub USING 'SAPMF02D' '0125'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNA1-NIELS'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub USING 'SAPMF02D' '0130'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNBK-BANKS(01)'.
PERFORM sub1 USING 'BDC_OKCODE'
'=ENTR'.
PERFORM sub USING 'SAPMF02D' '0340'.
PERFORM sub1 USING 'BDC_CURSOR'
'RF02D-KUNNR'.
PERFORM sub1 USING 'BDC_OKCODE'
'=ENTR'.
PERFORM sub USING 'SAPMF02D' '0370'.
PERFORM sub1 USING 'BDC_CURSOR'
'RF02D-KUNNR'.
PERFORM sub1 USING 'BDC_OKCODE'
'=ENTR'.
PERFORM sub1 USING 'KNA1-CIVVE'
t_tab-civve.
PERFORM sub USING 'SAPMF02D' '0360'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNVK-NAMEV(01)'.
PERFORM sub1 USING 'BDC_OKCODE'
'=ENTR'.
PERFORM sub USING 'SAPMF02D' '0210'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNB1-AKONT'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub1 USING 'KNB1-AKONT'
t_tab-akont.
PERFORM sub USING 'SAPMF02D' '0215'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNB1-GUZTE'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub USING 'SAPMF02D' '0220'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNB5-KNRMA'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub USING 'SAPMF02D' '0230'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNB1-VRSNR'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub USING 'SAPMF02D' '0310'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNVV-BZIRK'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub1 USING 'KNVV-AWAHR'
t_tab-awahr.
PERFORM sub1 USING 'KNVV-WAERS'
t_tab-waers.
PERFORM sub USING 'SAPMF02D' '0315'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNVV-LPRIO'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub1 USING 'KNVV-KZAZU'
t_tab-kzazu.
PERFORM sub1 USING 'KNVV-ANTLF'
t_tab-antlf.
PERFORM sub USING 'SAPMF02D' '0320'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNVV-PERFK'.
PERFORM sub1 USING 'BDC_OKCODE'
'/00'.
PERFORM sub USING 'SAPMF02D' '1350'.
PERFORM sub1 USING 'BDC_CURSOR'
'RF02D-KUNNR'.
PERFORM sub1 USING 'BDC_OKCODE'
'=ENTR'.
PERFORM sub USING 'SAPMF02D' '0324'.
PERFORM sub1 USING 'BDC_CURSOR'
'KNVP-PARVW(01)'.
PERFORM sub1 USING 'BDC_OKCODE'
'=ENTR'.
CALL TRANSACTION 'XD01' USING tab_map
MODE 'N'
UPDATE 'A'
MESSAGES INTO tab_error.
LOOP AT tab_error.
DATA: l_message TYPE string.
IF tab_error-msgtyp = 'I' OR tab_error-msgtyp = 'S'.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = tab_error-msgid
lang = 'EN'
no = tab_error-msgnr
v1 = tab_error-msgv1
v2 = tab_error-msgv2
v3 = tab_error-msgv3
v4 = tab_error-msgv4
IMPORTING
msg = l_message
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MOVE: t_tab-kunnr TO g_tab_create-kunnr,
l_message TO g_tab_create-messa.
APPEND g_tab_create.
ELSEIF
tab_error-msgtyp = 'E'.
MOVE-CORRESPONDING t_tab TO t_tab1.
APPEND t_tab1.
DATA: text1 TYPE string.
CONCATENATE t_tab-kunnr
t_tab-bukrs
t_tab-vkorg
t_tab-vtweg
t_tab-spart
t_tab-ktokd
t_tab-name1
t_tab-sortl
t_tab-ort01
t_tab-land1
t_tab-spras
t_tab-pstlz
t_tab-civve
t_tab-akont
t_tab-awahr
t_tab-waers
t_tab-kzazu
t_tab-antlf
INTO text1 SEPARATED BY '|'.
l_tab-l_text = text1 .
APPEND l_tab.
*error records downlaod to pc...
PERFORM gui_downlaod.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
id = tab_error-msgid
lang = 'EN'
no = tab_error-msgnr
v1 = tab_error-msgv1
v2 = tab_error-msgv2
v3 = tab_error-msgv3
v4 = tab_error-msgv4
IMPORTING
msg = l_message
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
MOVE: t_tab-kunnr TO g_tab_error-kunnr,
l_message TO g_tab_error-messa.
APPEND g_tab_error.
ENDIF.
ENDLOOP.
REFRESH tab_error.
CLEAR l_message.
ENDLOOP.
ENDFORM. "call_ctm
*& Form sub
text
-->A text
-->B text
FORM sub USING a b.
CLEAR tab_map.
tab_map-program = a.
tab_map-dynpro = b.
tab_map-dynbegin = 'X'.
APPEND tab_map.
ENDFORM. "FORM
" sub
*& Form sub1
text
-->P_0579 text
-->P_0580 text
FORM sub1 USING c d.
CLEAR tab_map.
tab_map-fnam = c.
tab_map-fval = d.
APPEND tab_map.
ENDFORM. " sub1
*END-OF-SELECTION.
*& Form disply_block_alv
text
--> p1 text
<-- p2 text
FORM disply_block_alv .
PERFORM fill_fieldcatlog.
PERFORM fill_fieldcatlog1.
PERFORM call_block_alv.
ENDFORM. " disply_block_alv
*& Form fill_fieldcatlog
text
--> p1 text
<-- p2 text
FORM fill_fieldcatlog .
PERFORM build_catlog USING l_pos 'G_TAB_CREATE' 'KUNNR' '16' text-004.
PERFORM build_catlog USING l_pos 'G_TAB_CREATE' 'MESSA' '90' text-005.
ENDFORM. " fill_fieldcatlog
*& Form BUILD_CATLOG
text
-->P_L_POS text
-->P_0844 text
-->P_0845 text
-->P_0846 text
-->P_TEXT_004 text
FORM build_catlog USING u_pos TYPE any
value(u_0844) TYPE any
value(u_0845) TYPE any
value(u_0846) TYPE any
u_text TYPE any.
DATA: l_wa_fieldcatlog TYPE slis_fieldcat_alv.
ADD 1 TO u_pos.
l_wa_fieldcatlog-col_pos = u_pos.
l_wa_fieldcatlog-tabname = u_0844.
l_wa_fieldcatlog-fieldname = u_0845.
l_wa_fieldcatlog-outputlen = u_0846.
l_wa_fieldcatlog-reptext_ddic = u_text.
APPEND l_wa_fieldcatlog TO l_tab_fieldcatlog.
ENDFORM. " BUILD_CATLOG
*& Form fill_fieldcatlog1
text
--> p1 text
<-- p2 text
FORM fill_fieldcatlog1 .
PERFORM build_catlog1 USING l_pos 'G_TAB_ERROR' 'KUNNR' '16' text-004.
PERFORM build_catlog1 USING l_pos 'G_TAB_ERROR' 'MESSA' '90' text-005.
ENDFORM. " fill_fieldcatlog1
*& Form build_catlog1
text
-->P_L_POS text
-->P_0913 text
-->P_0914 text
-->P_0915 text
-->P_TEXT_004 text
FORM build_catlog1 USING u_pos TYPE any
value(u_0913) TYPE any
value(u_0914) TYPE any
value(u_0915) TYPE any
u_text TYPE any.
DATA: l_wa_fieldcatlog1 TYPE slis_fieldcat_alv.
ADD 1 TO u_pos.
l_wa_fieldcatlog1-col_pos = u_pos.
l_wa_fieldcatlog1-tabname = u_0913.
l_wa_fieldcatlog1-fieldname = u_0914.
l_wa_fieldcatlog1-outputlen = u_0915.
l_wa_fieldcatlog1-reptext_ddic = u_text.
APPEND l_wa_fieldcatlog1 TO l_tab_fieldcatlog1.
ENDFORM. " build_catlog1
*& Form CALL_BLOCK_ALV
text
--> p1 text
<-- p2 text
FORM call_block_alv .
report = sy-repid.
CLEAR l_events.
l_wa_events-name = slis_ev_top_of_page.
l_wa_events-form = 'TOP_OF_PAGE'.
APPEND l_wa_events TO l_events.
CLEAR l_wa_events.
l_wa_events-name = slis_ev_top_of_page.
l_wa_events-form = 'ETOP_OF_PAGE'.
APPEND l_wa_events TO l_events1.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = report
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
IT_EXCLUDING =
IF g_tab_create[] IS INITIAL.
MESSAGE s101(zsmep).
EXIT.
ELSE.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = l_layout
it_fieldcat = l_tab_fieldcatlog
i_tabname = 'G_TAB_CREATE'
it_events = l_events
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = g_tab_create
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
IF g_tab_error[] IS INITIAL.
MESSAGE s102(zsmep).
ELSE.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = l_layout
it_fieldcat = l_tab_fieldcatlog1
i_tabname = 'G_TAB_ERROR'
it_events = l_events1
IT_SORT =
I_TEXT = ' '
TABLES
t_outtab = g_tab_error
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
IS_PRINT =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " CALL_BLOCK_ALV
*& Form top_of_page
text
--> p1 text
<-- p2 text
FORM top_of_page .
WRITE: 'Created Records'.
ENDFORM. " top_of_page
*& Form ETOP_OF_PAGE
text
--> p1 text
<-- p2 text
FORM etop_of_page .
WRITE: 'Error Records'.
ENDFORM. " ETOP_OF_PAGE
*& Form gui_downlaod
text
--> p1 text
<-- p2 text
FORM gui_downlaod .
MOVE file1 TO path1.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE =
filename = path1
filetype = 'ASC'
APPEND = ' '
write_field_separator = '|'
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
WRITE_LF_AFTER_LAST_LINE = ABAP_TRUE
IMPORTING
FILELENGTH =
TABLES
data_tab = l_tab
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " gui_downlaod
this is one of the bdc method to upload data from notepad to sap.
regards,
seshu. -
How to upload a custom button on Dreamweaver cs5?
Hello,
I would like to add a custom "View Cart" button onto my website. I went onto a random website where I was able to create a custom image for my view cart button. The button I got was called button.php. I checked the document properties and collected some information on it. The type of file is: Adobe Fireworks PNG File (.png). It is said to open with: Adobe Fireworks CS5. I made a copy of this document and put it in Dreamweaver by opening a blank page and pasting the image in there. I saved the page and published it.
Then, I went onto paypal and put the link to this published page where it was asked for. I received a code that I pasted into dreamweaver in the section I wanted the "View Cart" button to appear. When I save and publish this page, the button never appears. Paypal's name is what appears and when you click on it, it goes to the cart.
So the problem appears to be with how I have uploaded and saved this image/button on Dreamweaver. Can anyone please tell me the proper way to upload it so that it appears on my website?
Thanks in advance.
Regards,
LailaThank you very much for all of your suggestions and help.
I have found myself in another problem. Initially, I inserted the paypal "View Cart" button and code in my header. However, since there is a logo present there, and the code was lengthy, the PayPal button appeared right below my header and right above my navigation menu. I deleted it because of the awkward location it ended up being placed in. However, for some reason, it did not completely go away. If you visit www.Ziyah.com, you can see the "button" (which really did not even appear to begin with) in its place it says "Paypal the safer easier way to pay online!"
I have made several attempts and checked the code so many times. However, I do not see that original code I pasted from PayPal anywhere inside of my Dreamweaver code, so I do not know how to delete that "button" or tag line and get rid of it. I do not know where it is hiding, but it has to be somewhere in my code. I fear having to delete and re-do the navigation menu just to get rid of that.
Is there any way I can get rid of it? Again, here is the Paypal View Cart Code that I originally pasted into Dreamwaver. Please take a look and see if you can see parts of this code somewhere in my page code, because I cannot find it and hence, have no way to get rid of it.
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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 qh40MeATrkM9LOZDBqckYvJzFU4x69IYYHN8ckA==-----END PKCS7-----
">
<input type="image" src="http://www.ziyah.com/shoppingbag.html" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
And the following is my code for the page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>Ziyah.com</title>
<!-- TemplateEndEditable -->
<link href="../twoColLiqLtHdr.css" rel="stylesheet" type="text/css" /><!--[if lte IE 7]>
<style>
.content { margin-right: -1px; } /* this 1px negative margin can be placed on any of the columns in this layout with the same corrective effect. */
ul.nav a { zoom: 1; } /* the zoom property gives IE the hasLayout trigger it needs to correct extra whiltespace between the links */
</style>
<![endif]-->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<style type="text/css">
.ziyahED {
display: block;
width: 150px;
margin-right: auto;
margin-left: auto;
h1 {
font-size: 50%;
h2 {
font-size: 50%;
h3 {
font-size: 50%;
h4 {
font-size: 50%;
h5 {
font-size: 50%;
h6 {
font-size: 50%;
.ed {
display: block;
width: 240px;
margin-right: auto;
margin-left: auto;
</style>
<script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
<link href="../SpryAssets/SpryMenuBarHorizontal_copy.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body,td,th {width: 1200px; /**width in px, % or ems**/
color: #FFC;
margin:0 auto; /**centers on screen**/
.BORDER {
display: block;
width: 1000px;
margin-right: auto;
margin-left: auto;
.footermenu {
text-align: center;
.footermenu {
font-size: 36px;
.footermenu {
font-size: 24px;
.footermenu {
font-size: 18px;
font-weight: 300;
color: #FCF;
word-spacing: 40px;
text-indent: 40;
font-family: "Monotype Corsiva";
.footermenu {
word-spacing: 10px;
font-weight: 400;
color: #FCF;
.container .content .footermenu a {
color: #FCF;
text-align: center;
.footermenu a hover {
color: #FCF;
.footermenu a .footermenu {
.footermenu a .footermenu {
text-align: right;
.footermenu a .footermenu {
text-align: right;
.left {
text-align: left;
.menufontsize {
font-size: 16px;
.fontsizemenu {
font-size: 16px;
</style>
</head>
<body>
<div class="container">
<div class="header">
<a href="../index.html"><img src="../images/A_Ziyah.jpg" alt="Ziyah Logo" width="115" height="115" align="top" /></a>
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a class="MenuBarItemSubmenu" href="../classiccollection.html">Classic Collection</a>
<ul>
<li><a href="../classiccollection.html">Classic Collection 1</a></li>
<li><a href="../classiccollectionpg2.html">Classic Collection 2</a></li>
<li><a href="../classiccollectionpg3.html">Classic Collection 3</a></li>
<li><a href="../classiccollectionpg4.html">Classic Collection 4</a></li>
</ul>
</li>
<li><a href="../peaceblossom.html" class="MenuBarItemSubmenu">Peace Blossom</a>
<ul>
<li><a href="../peaceblossom.html">Peace Blossom 1</a></li>
<li><a href="../peaceblossompg2.html">Peace Blossom 2</a></li>
<li><a href="../peaceblossompg3.html">Peace Blossom 3</a></li>
</ul>
</li>
<li><a href="../colorsoflove.html" class="menufontsize"> <span class="MenuBarItemHover">Colors of Love</span></a></li>
<li><a href="../fruitgarden.html" class="MenuBarItemSubmenu">Fruit Garden </a>
<ul>
<li><a href="../fruitgarden.html">Fruit Garden 1</a></li>
<li><a href="../fruitgardenpg2.html">Fruit Garden 2</a></li>
</ul>
</li>
<li><a href="#" class="MenuBarItemSubmenu MenuBarItemSubmenu">An Elegant Gift</a>
<ul>
<li><a href="../topgifts.html">Top Gifts 1</a></li>
<li><a href="../topgifts2.html">Top Gifts 2</a></li>
<li><a href="../topgifts3.html">Top Gifts 3</a></li>
<li><a href="../giftcard.html">Gift Card</a></li>
</ul>
</li>
</ul>
<img src="../images/BORDER.gif" width="959" height="100" alt="Ziyah" /></div>
<div class="content"><!-- TemplateBeginEditable name="Page Content" -->
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><span class="footermenu"><img src="../images/space_long.gif" width="110" height="19" alt="space" /></span></p>
<p align="center"> </p>
<!-- TemplateEndEditable -->
<p align="right" class="footermenu"><span class="footermenu"><img src="../images/#0.gif" width="20" height="25" /></span><a href="../index.html"><img src="../images/BORDER_bottom.gif" width="946" height="53" alt="Ziyah" /></a><a href="../index.html"><img src="../images/B_menu_1.gif" width="150" height="30" alt="Ziyah.com Home" /></a><a href="../aboutziyah.html"><img src="../images/B_menu_2.gif" alt="About Ziyah" width="140" height="30" /></a><a href="../customerservice.html"><img src="../images/B_menu_3.gif" width="145" height="30" alt="Customer Service" /></a><a href="../privacypolicy.html"><img src="../images/B_menu_4.gif" width="120" height="30" alt="Privacy Policy" /></a>
<p align="right" class="footermenu">
</p>
</div>
<div class="footer"></div>
</div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"../SpryAssets/SpryMenuBarDownHover.gif", imgRight:"../SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>
Thanks in advance.
Regards,
Laila -
B2CBasket- Sales Order How to add Vendor partner and new line item of SO
Hi,
I want to add the following BEFORE the sales order creation process starts:
Add a VENDOR partner
Add a new line item to ORDERADM_I
I suspect in BADI CRM_ISA_BASKET_ITEMS and CRM_ISA_BASKET_HEAD. I have user 'HEAD' to add extension fields but cant figure the creation of NEW partners and NEW line item.
regards,
DaveThank you for feedback Shantoor,
The CRM_ORDER_MAINTAIN need not be called as this FM is called immediately following almost all of the CRM_ISA_* BADI's.
For clarification I just want to expand on the solution..
In all of these BADI's SAP uses the CT_INPUT_FIELDS parameter. This is where you should enter WHICH fields you have made changes to in the exit. CRM_ORDER_MAINTAIN uses the same parameter.
However the challenge is .. WHAT do you enter in the CT_INPUT_FIELDS. This is where you have to follow a strategy. I yused the following:
1. Looked where the structure was used in programs/class to see how SAP used it
2. Set breakpoints at the call of the BADI. Check what CT_INPUT_FIELDS content is (SAP uses same technique)and try and replicate for your new entries.
I hope this helps those that, like me, battled a bit with the use of these BADI's. -
How to cause JComboBox to open to preselected item?
If you initialize a JComboBox to an item (using setSelectedIndex, for instance), the first time that the comboBox is opened, it will open at the top of the list, not at the selected item. For example:
JComboBox jComboBoxHourPicker = new JComboBox();
// Add comboBox items here
jComboBoxHourPicker.setSelectedIndex(22);
The comboBox will correctly show the 23rd item selected. When the user opens the comboBox, however, it will open at the first item, not at the 23rd. If the user closes the comboBox without changing the selection, though, the next time that the comboBox is opened it will have scrolled to the selected item.
The JList class has the ensureIndexIsVisible() method. Does anyone know how to get the same behavior for the JComboBox class?This is a known bug that has been fixed in v1.4. Check out the thread below, by me, for all the details. You're following in my footsteps.
If you need a workaround for 1.3, follow the link into the bug database and there's a pretty decent one there.
http://developer.java.sun.com/developer/bugParade/bugs/4337516.html -
If skydrive support resumable upload or how to upload large files to SkyDrive through application
Hi,
Does SkyDrive support resumable upload. For 33 MB file upload it took almost 5 min to upload . So to minimise time to upload i want to use resumable upload.
Explain how it should be done.
I do not want to use BITS protocol as given in one of forum. I want to upload more than 100 MB files.
Thanks,
AshleshaWrong forum.
Here is the forum for you. -
How to upload document to Solar01 "background" through FM or Class
I tried do some searches through the forum and can't find related post related upload document to Solution manager in background mode.
Found a thread(ABAP function to upload document in SOLAR01) recommend standard class CL_SA_DOC_FACTORY=>UPLOAD_DOC to upload document, however this class can only be executed in foreground mode.
I will copy all the documents into app server and write a abap program to read the app server's file and upload to solar01. Still struggling for the part 2: write abap program.
Appreciate if someone can provide some inputs for this or did something similar before?Hi Ching,
Here are the methods and the FM you need to call in order.
CALL METHOD CL_SA_DOC_FACTORY=>UPLOAD_DOC
EXPORTING
I_DOC_TITLE = 'XXXXXXXXXXXXX'
I_DOC_TECH_NAME = 'XX'
I_DOC_TYPE = 'AD'
* I_DOC_STATUS = 'COPY_EDITING'
I_FOLDER_TECH_NAME = 'ZJON'
I_FOLDER_RESPONSIBLE = SY-UNAME
I_FOLDER_GROUP = 'ZJON'
IP_FILEPATH = l_filetable_s
RECEIVING
E_IOBJECT = lo_new_document
EXCEPTIONS
CANCELLED = 1
FOLDER_ERROR = 2
ERROR = 3
others = 4.
CALL METHOD LO_NEW_DOCUMENT->SAVE
RECEIVING
E_LOIO = lv_loio
EXCEPTIONS
CANCELLED = 1
ERROR = 2
others = 3.
IF SY-SUBRC <> 0.
ENDIF.
once u have the lv_loio
CALL FUNCTION 'INFO_OBJECT_PROPERTIES_GET'
EXPORTING
INFO_OBJECT = lv_loio
* SUPPRESS_AUTHORITY_CHECK = 'X'
* INTERNAL_REPRESENTATION =
* RETURN_STR_DESCR = ' '
* IMPORTING
* ERROR_MSG =
TABLES
REQUESTED_PROPERTIES = r_prop
PROPERTIES = prop
* CONTEXT =
READ TABLE prop INTO ls_property
WITH KEY name = 'IWB_SOLAR_DOCUTYPE'.
IF sy-subrc EQ 0.
lv_note_type = ls_property-value.
ELSE.
lv_note_type = 'AD'.
ENDIF.
CONCATENATE lv_loio-class ' ' lv_loio-objid INTO lv_objectkey SEPARATED BY space.
CONSTANTS sappl_c_tabtype_custdocu type sappl_tabtype_type value 'CUSTDOCU'.
CALL FUNCTION 'NOTE_OBJECT_SAVE'
EXPORTING
* id = 'E100346536B4E0F19AFD000C29BB263E'
id = handle_id
application = 'SO'
filtertree = project_filter
note_id = lv_loio-objid
note_type = lv_note_type
objectkey = lv_objectkey
save_location = ''.
* sequence = '0000000021'.
I hope it helps you
Kind regards
Jon -
hi all,
I am developing a new zreport. In that i want to retrieve customer line items till date. how can i retrieve it.
As rfpdu is not a standard table!!!
Can any one help me out!!Hi Radhika,
Can you please tell how did you get Customer Open Line Items with its value?
I have similar requirements as yours!
Thanks in advance,
Reetesh -
Data Mapping problem with Customer Open Item
Hi,
I am using the the Direct input method in LSMW for Posting the Open Customer documents. Following are the details:
Object : 0100
Method: 0000
Program name: RFBIBL00.
I have a problem, the client wants the VBELN(BSID table) also to be posted.I checked the BSID table and the target Structure BBSEG and found the field VBELN missing from the strcuture. I found the field VBEL2 in the structure. Can anybody suggest any field in BBSEG where I can map the VBELN from table BSID.
Regards,
Prashant.
Edited by: Prashant Kumar Upadhyay on Apr 2, 2009 7:06 AM>
max bianchi wrote:
> Hi
>
> That field should be filled as soon as the bill is posted in FI so trx like VF01, VF02 and VF04.
>
> The RV_ACCOUNTING_DOCUMENT_CREATE is fm creates the FI invoice from billing.
>
> Max
Hi Max,
I have just 1 question, If I upload (or Release) Billing Doc for accounting first and then later on Upload the Customer open itm data in BSID , will the VBELN field get updated in db table. Thanks in advance.
Regards,
Prashant -
Upload vendor master data from legacy system to internal table tcode xk01
through batch input program how to upload vendor master data from legacy system to internal table and then to SAP R/3 database(transaction XK01) by using recording method.
By learning the basics of BDC recording and the use of GUI_UPLOAD
Maybe you are looking for
-
How do I install iCloud on my mac
I have recently installed Snow leopard and Lion and everything is working fine, but I can't access my cloud as an app like I can on my other mac. I can get to the icloud, but I want to use 2 computers to upload files, etc.
-
G700 f4 problem with Excel 2013
I have a g700 laptop and wants to know why F4 & F2 doesn't work as usually with Excel 2013 Is there any possibility to find the same functionnality as I had with Excel 2010 before ? Thanks for your quick answer Regards Alain Moderator Note; subject
-
Premiere Pro 2.0のmpeg2読み込み
Premiere Pro 2.0の体験版を試用しているのですがmpeg2の読み込みが出来ません. AdobeBridgeでは正常に再生できるDVD準拠のmpgファイルです. Bridgeかのドラックアンドドロップでも「ファイル」-「読み込み」からでも「壊れているかサポートしない形式」と言われてしまいます. Adobeのサポートに伺ったところファイル読み込みにはいっさい制限を掛けていないということなのですが私の操作が間違っているのでしょうか? ファイル読み込みダイアログのファイルの種類には MP3
-
Interface tables for HRMS & Payroll
Dear All Can you tell me that are their any interface tables available for HRMS and Payroll data loading like employee, addresses, assignments.. Regards Majid
-
Java projects in Flash Builder
Hi all, I previously used Flex Builder 3 on Vista x64. Inside Flex Builder 3, I had both flex projects and java projects. I needed both because I use BlazeDS and kept the java code in a separate project. I would only like 1 development environmen