Doing Inventory load by LSMW, when recording with T.Code MB1C, in 2nd screen getting a "coding Block". How to go around it it.
Coding Block in LSMW recording via MB1C
IDoc MATMAS05 does not update MARA-AENAM
Dear colleagues,
I am using IDoc for maintenance of material master records. It's basic type is standard MATMAS05. When I trigger IDoc that needs to change material master record, this material master record is updated correctly, except AENAM field (Name of accounting clark who changed record). In my IDoc structure I have field which defines AENAM. This field is filled with proper information, but after IDoc running ERP MARA-AENAM is filled with logon user defined in RFC Destination settings and not with value from IDoc's AENAM.
Could you help me to solve this issue and have proper data in MARA-AENAM (from IDoc AENAM field)?
Regards,
Harry
GB Payroll Sending RTI Information to HMRC
We are trying to implement RTI (Sending EAS, FPS, EPS etc... to HMRC) for UK Payroll. SAP has provided solution using XI/PI. Can we send the same information using Web Services alone?
SAP Connect Rules
Dear experts.
i am trying to create some rules regarding the outgoing message.
For instance: if the subject of the email contains the word "prevent" to do not send the email.
Tipical rules just like the outlook.
Is that possible with the SAP connect? Many thanks in advance.
Change Idoc record type version in Port setting from Release 3.0/3.1 to Release 4.1
Hello Friends,
I have to change the Idoc record type version in Port setting from Release 3.0/3.1 to Release 4.1.
Could you let me know what all changes need to be taken care during this process?
What would be the Impact on Inbound and outbound process?
Field names of internal table
Hello,
I am trying to retrieve the field names of internal table itab using FM 'GET_COMPONENT_LIST'
Executing the function module in se37 for my program and itab, I get the fieldnames in COMPONENTS table.
But when using it in report ztestv, COMPONENTS is empty.
I tried to search the forum and carried out the steps as mentioned, but didn't find any solution.
Following is my code:
-------------------------------------------------------------------------------------------------------------------------------------------------
REPORT ZTESTV .
data: begin of itab occurs 0,
NAME1 type string,
age type i,
amt type i,
end of itab.
DATA : work_area LIKE LINE OF itab.
data: wa_csv_out type table of string.
itab-name1 = 'AAAA'.
itab-age = 20.
itab-amt = 120.
append itab.
itab-name1 = 'BBBB'.
itab-age = 40.
itab-amt = 150.
append itab.
itab-name1 = 'CCCC'.
itab-age = 25.
itab-amt = 400.
append itab.
DATA: lt_comp TYPE table of RSTRUCINFO,
ls_comp TYPE RSTRUCINFO.
CALL FUNCTION 'GET_COMPONENT_LIST'
EXPORTING
PROGRAM = sy-repid
FIELDNAME = itab
TABLES
COMPONENTS = lt_comp.
LOOP AT lt_comp into ls_comp.
append ls_comp-compname to wa_csv_out.
ENDLOOP.
-------------------------------------------------------------------------------------------------------------------------------------------------
Please help.
BDC for ALV grid
hi all,
after a long search in the forums im posting this,
i have a Z tcode for which im creating a BDC (in a FM). this tcode when i execute manually i will get a ALV grid output with a check box(only 1 record).
i have to select this check box and press a push button which will further proceed.
now when i process the tcode manually this check box is identified and a method in PAI is ldentifying the changed data before and after selecting the check box and further process is done.
Now after searching i came to know that this BDC cannot capture the checkbox value.
now my concern is how do i capture the value in checkbox and pass to the background program separately into the PAI module, or can i add a perform stmt to capture the value in BDC. or any IMPORT or EXPORT stmt will work.
any help in this regard will be gratefull.
regards,
"view could not be changed to :&vexcel
Hi Experts ,
When i try to download to an excel i am gettin a message saying "view could not be changed to :&vexcel
Anybody faced this before?
Is this something related to different OS platforms?
Regards,
Kenzene
Beginner in SAP with .net RFC connectors
Hi,
I am beginner in working with SAP. I want to know the basis of SAP & how to use this with .net RFC connectors. How to prevent the basic issues in SAP while connect with .net.
My requirement is RFC .net connetor has to intract with SAP.
Please share your suggestion on this. if possbile please share if you have sample code in C# to connect SAP functions(ABAP) using .net connectors.
Thanks in Advance
F.M RRW3_GET_QUERY_VIEW_DATA PROBLEM WITH OUTPUT
Hi experts,
am using the subject mentioned functional module. problem here is am not able to read the output properly.
but the whole data is available in t_axis_info t_cell_data T_AXIS_DATA. whole data is available in t_axis_data and quan and currency fields
are available in t_cell_data. i want to know on what basis we need to club the data of both tables. i verified many posts but not understand.
please provide sample program to read the final values.Thanks in advance
Need BAPI or FM for easy cost planning
Hi All,
I need a help in executing easy cost planning through BAPI or FM as when I have done the recording of CJ20n when I goto screen of cost planning and enter material number ,plant quantity,resource the fields are not recorded.
So please tell me how to do it
thanks
bobby
SAP to .net master data transfer(using RFC & C#)
Hi,
SAP has to send the Master data to our DB(Oracle vai RFC .net connector). Which is the best way to receive and validate the SAP data.
For Location Master SAP send the fileds LocationID, LocationName,Area,Status,Date.
Which is best way to validate the this Data, can hard code this Location Master Fileds inside our application / or can define this fields inside the DB to validate the Field Length, Data Type,etc..
Please suggest on this and share the sample validation logic if you have.
Sathish S
Inbound IDOC not getting generated
Dear Experts,
I am MM-functional consultant, while suporting one process I came across one issue in which an Outbound IDOC is created via PO output and this in return creates SO.
I understand that there is one outbound IDOC and it created another Inbound IDOC corresponding to earlier IDOC. Both IDOC can be seen as related IDOC's in BD87 if we check the Outbound IDOC.
In my case Outbound IDOC is procesed and is green but the corresponding Inbound IDOC is not generated. I can manually trigger the Inbound IDOC using T-Code WE19 and the SO is generated. But with this process I cannot see both IDOC as related one's in BD87 while checking the Outbound IDOC.
This process is working well in other environments/system.
Plese advise where should I look for cause.
Thanks
Manish.
Email Sending Functionality for Different Business Process in Sap
Email Sending Functionality for Different Business Process in Sap
Nov, 2013
Introduction
Every Business Process in SAP Follow different communication types to communicate with its Business partners like Print and send via post, Fax, and Email (Internet).Several E-mail communications need to be sent to Vendors & Customers who are the business partners for the organization which contains several Business Processes like Payment Advice, Dunning forms and PO’s etc., with PDF and Excel as attachment, which is a very eco-friendly way. Presently many are using the process of taking a print out and sending it through the post. This Process has lot of paper wastage. So instead of this we can send a mail which saves lot of paper wastage .This process enables the Go green Initiative and reduces lot of manual effort. With the recent releases in SAP all the Business process are enhanced with Email sending functionality.
Introduction to Email Processes
Every Standard FI process like Dunning and Payment and collection advice has a default way of sending there notices to the customer or vendor by post. Sending a mail is not a standard SAP functionality; in order to achieve this nonstandard Functionality we have BTE. This is an enhancement technique (Open FI) that was developed for Financial Accounting component. This functionality is primarily used in FI in the areas of dunning, Payment advice Customer and Vendor Statement etc. Each of them has their own Function modules which will not interfere with each other.
Each of these has a BTE’s enabled to fill the FINNA-NACHA structure to determine whether the output should be sent as fax, print via post or email, i.e., if FINAA-NACHA = 1 - print via post and FINAA-NACHA = ‘I’ its email and if its ‘2’ FAX.
This Document contains how this mail functionality can be achieved by using the BTE’s for Different applications in FI.
1. Application Area: FI - Accounts payable and Accounts receivable – Dunning
Application of the process BTE event '00001040' -
· This process BTE is useful during a dunning run when a dunning notice needs to be sent to the customer by the medium of an electronic form (EMAIL).
As a default property, the dunning notice gets printed and is sent to the customer either by scanning the copy or via 'POST'.
· This same dunning notice could be a very beneficial if it is sent by means of electronic form directly after the dunning has been carried out.
· So, to achieve this non-standard functionality we need to enhance the standard process.
Transaction - FIBF -> Environment -> Info systems (Processes)
· Click on execute,
· Select the BTE 00001040 as it deals with the Output device/medium
· Change the Already Present function module to Z function Module.
Now, technically the BTE is ready to work as we have registered the BTE.
As a functional aspect, the following things are needed to be taken care of.
· Standard communication option - to 'EMAIL' in the 'General' Tab in customer master 'XD02/01'.
· After configuring these basic steps, the BTE is complete to trigger for dunning run for this particular customer.
Dunning Run
· SAPF150D2-This Program can be used to execute the Dunning form by giving the Run date and identification and the logic in the FM's can be checked by placing the debugger.
· Best way is to check in the debugger,
Ø FINAA-NACHA - For Communication Medium (I- Internet, 1-Print Out, 2-Fax)
Ø FINAA_INTAD – Email Address to send the PDF
Ø Process the next step by confirming the 'Send to mail' dialog,
Ø If 'C_FINAA-INTAD' is left blank the system will pick from the customer master 'Clerks internet', else it will take from the value 'C_FINAA-INTAD'. This enables the PDF sending functionality which enables is standard process and the logic to send excel can be written in the above FM only. Also if you need to fill the Subject of Email use itcpo-tdtitle structure which of 50 characters. If we need to send the Body also Maintain the standard text as mentioned in the below screen shot.
NOTE: If we need to send many attachments other than PDF we have to write the code in the above FM call the common mail sending functionality. In this case first a mail will be sent with Excel or some other as attachment then the standard PDF functionality is called.
This is a very eco-friendly means of informing the customers for their over-due items.
2. Application Area: FI – Payment Advice and Collection Advice:
Application of the process BTE event '00002040' –
This BTE is called in the standard include RFFORI06 as shown below.
· In the transaction FIBF Select the BTE 00002040 as it deals with the Output device/medium sample_process_00002040 will be assigned.
· Since this is not a standard functionality we need to enhance the FM so copy the
sample_process_00002040 into Zsample_process_00002040.
Logic in the FM
Check if customer or Vendor has Email Maintained in the Master Data. If it’s maintained then
· The structure c_finna included the internet address.
We set the transmission medium to ‘I’ as below.
c_finaa-nacha = 'I'.
c_finaa-intad = l_smtp_addr(130). [The email Obtained from the master data]
· Later the mail sending functionality can be called after the close_form as shown in the below screen shot or By OTF data and excel can be created using the tab_regup structure in the form avis_schreiben.
3. Application Area: FI – Customer/Vendor Balance Confirmation:
Application of the process BTE event '00002410' –
· This process BTE is useful during a Customer/Vendor Balance Confirmation form which needs to be sent to the Customer/Vendor by an electronic form (EMAIL). By default, the form is sent to the Customer/Vendor either by Fax or via 'POST'.
· But as an environmental aspect to avoid wastage of paper, the same Statement could be sent by means of electronic form directly after the Customer/Vendor Statement run has been carried out.
· So, to achieve this functionality we need to enhance the standard process.
Transaction - FIBF -> Environment -> Info Systems (Processes)
· Click on Execute.
· Select BTE 00002410 as it deals with Determining the Output Device
· Click on Sample Function Module. The FM 'SAMPLE_PROCESS_00002410' is assigned. In order to include the mail sending functionality, Copy the Function Module into a Z Function Module and make the required changes to enable the mail sending functionality.
Logic in the FM:
Check if the Customer or Vendor has Email Maintained in the Master Data. If it is maintained then
· The structure c_finna includes the internet address.
We set the transmission medium to ‘I’ as below.
C_finaa-nacha = 'I'.
C_finaa-intad = l_smtp_addr(130). [Email Obtained from the master data]
· Later the mail sending functionality can be called after the Close_form as shown in the below screen shot or By OTF data, and excel can be created using the Structure HBSIDH for Customer and HBSIKH for Vendor.
4. How to achieve Mail Functionality Technically:
Create a Common Functionality for sending mail using classes
i) For sending the subject greater than 255 characters
· At present using the FM SO_DOCUMENT_SEND_API1 has the capability of sending only 50 characters but using the below method of the class the subject more than 255 characters.
· So cl_bcs class is used for the below purpose.
· There is also any option of changing the sender ID in case the requirement is not to use the
· SAP master User ID using the cl_bcs class.
· Create the below object of type cl_bcs and call the method set_message_subject
w_send_request TYPE REF TO cl_bcs VALUE IS INITIAL,
CALL METHOD w_send_request->set_message_subject
EXPORTING
ip_subject = subject.
ii) For Sending Multiple Attachments like PDF and Excel
· In case multiple attachments the below method add_attachment attachment can be used by looping on the attachments obtained to this function module.
f_ATTACHMENTS TYPE RMPS_T_POST_CONTENT
w_document TYPE REF TO cl_document_bcs VALUE IS INITIAL,
LOOP AT attachments INTO f_attachment.
w_attachment_subject = f_attachment-subject.
w_filesize = f_attachment-docsize.
· This Method will have the option to take input as method subject, filesize and
w_document->add_attachment(
EXPORTING
i_attachment_type = f_attachment-doc_type
i_attachment_subject = w_attachment_subject
i_attachment_size = w_filesize
i_att_content_text = f_attachment-cont_text[] ).
ENDLOOP.
iii) For Sending Email to multiple recipients like To, BCC and CC,
· The below Logic can applied to provide cc bcc and to as like multiple receivers. The method
add_recipient has the option to give blind_copy, Copy and recipient.
w_recipient TYPE REF TO if_recipient_bcs VALUE IS INITIAL,
· Loop at the multiple receivers
LOOP AT receivers INTO f_receivers.
w_recipient_mail = f_receivers-receiver .
· The below method sets them mail ID of the Receiver.
w_recipient = cl_cam_address_bcs=>create_internet_address(
w_recipient_mail).
w_send_request->add_recipient(
EXPORTING
i_recipient = w_recipient
i_express = 'X'
i_copy = f_receivers-copy
i_blind_copy = f_receivers-blind_copy).
ENDLOOP.
Afaria in Sap
Hi friends,
I am facing a Problem with Afaria In sap.
I want to know what is AFARIA and where we have to use & activate in SAP.
I am not able to find the documents regarding this,can anyone help me.
thanks in advance.
regards,
kk
Error using BAPI_INSPOPER_RECORDRESULTS
Hello All,
I am usgin BAPI BAPI_INSPOPER_RECORDRESULTS to record the results.
Here is the sample code.
REFRESH gt_single_result.
CLEAR wa_single_result.
wa_single_result-insplot = ' 030000000500'.
wa_single_result-inspoper = '0010'.
wa_single_result-inspchar = '10'.
APPEND wa_single_result TO gt_single_result.
REFRESH gt_char_result.
CLEAR wa_char.
wa_char-insplot = ' 030000000500'.
wa_char-inspoper = '0010'.
wa_char-inspchar = '10'.
wa_char-evaluation = 'A'.
wa_char-evaluated = 'X'.
wa_char-remark = 'test'.
wa_char-closed = 'X'.
wa_char-original_input = zbird-zw1dpln.
wa_char-mean_value = zbird-zw1dpln.
APPEND wa_char TO gt_char_result.
CALL FUNCTION 'BAPI_INSPOPER_RECORDRESULTS'
EXPORTING
insplot = '030000000500 '
inspoper = '0010'
INSPPOINTDATA =
HANDHELD_APPLICATION = ' '
IMPORTING
return = g_return
TABLES
char_results = gt_char_result
SAMPLE_RESULTS =
single_results = gt_single_result
RETURNTABLE =
.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
RETURN =
I am getting error 'E Q5 026 Defects occured during confirmation'
Has anyone faced a similar problem?
Regards,
Anup
problem with RSDRI_INFOPROV_READ, E_T_DATA IS NOT POPULATED,SY-SUBRC = 11
Hi experts,
am using f.m RSDRI_INFOPROV_READ to fetch the data, but it is giving sy-subrc = 11, as i read many posts in SCN,but still not corrected the issue.please advise what mistake am doing.
TYPES : BEGIN OF TY_INFO,
YMATDE TYPE /BIC/OIYMATDE,
YPLANTD TYPE /BIC/OIYPLANTD,
ZFISCWEK TYPE /BIC/OIZFISCWEK,
0FISCPER TYPE /BI0/OIFISCPER,
0INFOPROV TYPE RSINFOPROV,
0CURRENCY TYPE /BI0/OICURRENCY,
0UNIT TYPE /BI0/OIUNIT,
ZASLSBU TYPE /BIC/OIZASLSBU,
ZRKPRCCS TYPE /BIC/OIZRKPRCCS,
END OF TY_INFO.
DATA : L_T_DATA TYPE TABLE OF TY_INFO ,
g_s_sfc TYPE rsdri_s_sfc,
g_th_sfc TYPE rsdri_th_sfc,
g_s_sfk TYPE rsdri_s_sfk,
g_th_sfk TYPE rsdri_th_sfk,
gv_flg_firstcall TYPE rs_bool value 'X'.
DATA : E_END_OF_DATA TYPE RS_BOOL VALUE 'X'.
DATA : RS_C_TRUE type RS_BOOL VALUE 'X'.
CLEAR g_th_sfc.
CLEAR g_s_sfc.
g_s_sfc-chanm = 'YMATDE'.
g_s_sfc-chaalias = '/BIC/OIYMATDE'.
g_s_sfc-orderby = 0.
INSERT g_s_sfc INTO TABLE g_th_sfc.
CLEAR g_s_sfc.
g_s_sfc-chanm = 'YPLANTD'.
g_s_sfc-chaalias = '/BIC/OIYPLANTD'.
g_s_sfc-orderby = 0.
INSERT g_s_sfc INTO TABLE g_th_sfc.
*CLEAR g_s_sfc.
*g_s_sfc-chanm = '0CALMONTH'.
*g_s_sfc-chaalias = 'Calendar year'.
*g_s_sfc-orderby = 0.
*INSERT g_s_sfc INTO TABLE g_th_sfc.
CLEAR g_s_sfc.
g_s_sfc-chanm = 'ZFISCWEK'.
g_s_sfc-chaalias = '/BIC/OIZFISCWEK'.
g_s_sfc-orderby = 0.
INSERT g_s_sfc INTO TABLE g_th_sfc.
CLEAR g_s_sfc.
g_s_sfc-chanm = '0FISCPER'.
g_s_sfc-chaalias = '/BI0/OIFISCPER'.
g_s_sfc-orderby = 0.
INSERT g_s_sfc INTO TABLE g_th_sfc.
CLEAR g_s_sfc.
g_s_sfc-chanm = '0INFOPROV'.
g_s_sfc-chaalias = 'RSINFOPROV'.
g_s_sfc-orderby = 0.
INSERT g_s_sfc INTO TABLE g_th_sfc.
CLEAR g_s_sfc.
g_s_sfc-chanm = '0CURRENCY'.
g_s_sfc-chaalias = '/BI0/OICURRENCY'.
g_s_sfc-orderby = 0.
INSERT g_s_sfc INTO TABLE g_th_sfc.
CLEAR g_s_sfc.
g_s_sfc-chanm = '0UNIT'.
g_s_sfc-chaalias = '/BI0/OIUNIT'.
g_s_sfc-orderby = 0.
INSERT g_s_sfc INTO TABLE g_th_sfc.
*CLEAR g_s_sfc.
*g_s_sfc-chanm = '0FISCVARNT'.
*g_s_sfc-chaalias = 'Fiscal year variant'.
*g_s_sfc-orderby = 0.
*INSERT g_s_sfc INTO TABLE g_th_sfc.
*****KEY FIGURES
CLEAR g_th_sfk.
CLEAR g_s_sfk.
*g_s_sfk-kyfnm = 'YQTYDE'. "'/BIC/DPFVOL'.
*g_s_sfk-kyfalias = 'QUANTITYD'.
*g_s_sfk-aggr = 'SUM'.
*INSERT g_s_sfk INTO TABLE g_th_sfk.
*
*CLEAR g_s_sfk.
*g_s_sfk-kyfnm = 'YPLAN_QTY'. "'/BIC/DPFVOL'.
*g_s_sfk-kyfalias = 'PLANN QTY'.
*g_s_sfk-aggr = 'SUM'.
*INSERT g_s_sfk INTO TABLE g_th_sfk.
g_s_sfk-kyfnm = 'ZASLSBU'. "'/BIC/DPFVOL'.
g_s_sfk-kyfalias = '/BIC/OIZASLSBU'.
g_s_sfk-aggr = 'SUM'.
INSERT g_s_sfk INTO TABLE g_th_sfk.
CLEAR g_s_sfk.
g_s_sfk-kyfnm = 'ZRKPRCCS'. "'/BIC/DPFVOL'.
g_s_sfk-kyfalias = '/BIC/OIZRKPRCCS'.
g_s_sfk-aggr = 'SUM'.
INSERT g_s_sfk INTO TABLE g_th_sfk.
CALL FUNCTION 'RSDRI_INFOPROV_READ'
EXPORTING
I_INFOPROV = 'YCUR_TST'
I_TH_SFC = g_th_sfc
I_TH_SFK = g_th_sfk
I_USE_DB_AGGREGATION = RS_C_TRUE
I_ROLLUP_ONLY = RS_C_TRUE
IMPORTING
E_T_DATA = L_T_DATA
E_END_OF_DATA = E_END_OF_DATA
* E_AGGREGATE =
* E_SPLIT_OCCURRED =
* E_T_MSG =
** E_STEPUID =
CHANGING
C_FIRST_CALL = gv_flg_firstcall
EXCEPTIONS
ILLEGAL_INPUT = 1
ILLEGAL_INPUT_SFC = 2
ILLEGAL_INPUT_SFK = 3
ILLEGAL_INPUT_RANGE = 4
ILLEGAL_INPUT_TABLESEL = 5
NO_AUTHORIZATION = 6
ILLEGAL_DOWNLOAD = 7
ILLEGAL_TABLENAME = 8
TRANS_NO_WRITE_MODE = 9
INHERITED_ERROR = 10
X_MESSAGE = 11
OTHERS = 12
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Change Pointers in R/3
Introduction:
This document explains how to track the Material Master Data changes using change pointers in SAP R/3 environment.
Let us understand by taking following example -
The requirement is to track the Material Master changes in SAP R/3 environment and to send the information to some Legacy system (in form of AL11 Text file), if following fields changes –
- If any new Material is created.
- If Material is assigned with Dangerous indicator profile
- UN Number
- Dangerous Good Class
- Dangerous Good Packing Group
Master data changes can be distributed with the SMD (Shared Master Data) tool. Changes to the Master Data are written in change documents interface, which in turn logs entries into change pointers.
The following step shows the change pointers settings and how to track the change logs for modified data.
Step 1 – Create Message Type (WE81)
Step 2: Assign Table Fields to Message type (BD52)
Assign table fields to message type which needs to be considered for Change pointers generation.
Step 3: Activate Change Pointers generally (BD61)
Step 4: Activate change pointers corresponding to fields in message type(BD50)
Also check if the data elements of all the required fields has ‘change Document’ field checked (Below screen shot for Material Number)
Step 5: Create a new Part Number and change following fields to test the generation of change logs in table CDHDR, CDPOS, BDCP and BDCPS.
- Dangerous indicator profile (Transaction MM02)
- UN Number (Transaction DGP3)
- Dangerous Good Class (Transaction DGP3)
- Dangerous Good Packing Group (Transaction DGP3)
Transaction - MM02 | Transaction - DGP3 |
![]() |
![]() |
Step 6: Create a report which will perform following functions -
- Read non processed change logs using Function Module CHANGE_POINTERS_READ by passing the Message type name
- Create a text file with all the required material information
- Transfer that file on the application server (AL11)
And from application server the file is transferred to legacy system using some UNIX Script (this is out of scope of this BOK)
In addition to above FM (change_pointers_Read) you can also see the logs in following Table –
- CDHDR (Change Document Header Table)
- CDPOS (Change Document Items)
- BDCP (Change Pointer table
- BDCPS (Change Pointer Status table)
IDOC Generation to send modified records –
In addition to above report you can also create a Function module and create an IDOC’s to send the modified data to legacy system-
Step1 – Create a Function module (e.g. ZTESTFM)
In this you can populate the IDOC segments and use the FM - MASTER IDOC_DISTRIBUTE to create and IDOC
Step2 – Assign Function module to Message Type (Transaction BD60)
Step 7: For the master data that are processed set the change pointer status to ‘Processed’ by setting its value to 'X' by calling function module CHANGE_POINTER_STATUS_WRITE.
Delete change pointers
Transaction is BD22 or the standard program RBDCPCLR deletes the obsolete/processed change pointers.
Need to alter the tdline for E1EDKT2
Hello Team,
I have a requirement such as this.
I need to loop the internal table idoc_data , search for segment E1EDKT2, and alter the tdline for the segment, is there an efficient way of doing this?
LOOP at IDOC_DATA
assigning <FS_IDOC_DATA> where SEGNAM = ‘E1EDKT2’
if sy-tabix = 1,
concatenate ‘XXXXXX:’ E1EDKT2-TDLINE into E1EDKT2-TDLINE.
endif.
endloop.
Is there an efficient way that i can access the segment of the row in idoc_data and alter the tdline?
would greatly appreciate any help on this.
· if sy-tabix = 1, concatenate ‘PAYMENT TERMS:’ (Get this value from BRF+) <FS_IDOC_DATA>-TDLINE into <FS_IDOC_DATA>-TDLINE
How to find out the idoc type required for our requirement
Hi,
How to find out the list of available idoc type in SAP. It will be good if i get to know the table name where all the idoc type definitions are gets stored.
Say i have some requirement and for that requirement how i can find the proper idoc type to be used. (assume functional consultant is not providing that information)
Points will be given for the useful answers
Thanks,
Prasanna