Fill WERK and LGORT depending on BSART with BAdI ME_PROCESS_PO_CUST
Dear,I have the following requirement:If the Purchasing document type (BSART) in ME21N is 'NB', the Plant (WERKS) and Storage location (LGORT) should always be set to '8999' and '8999'...
View ArticleRe: conditional deletion in Internal Table
Hi Sebastian, You can use this:- LOOP AT it_tab INTO wa_tab. IF <condition > = fullfilled. DELETE it_tab INDEX sy-tabix.ENDIF. ENDLOOP.
View ArticleRe: How to convert a standard bapi "BAPI_USER_GET_DETAIL" to json
Hi, This wiki can be a part of your answer : http://wiki.sdn.sap.com/wiki/display/Snippets/JSON+and+ABAP But you will face of a performances issue if to process large data because there is double...
View ArticleDuplicate Scrollbars Alv Grid OO
Hi all, I have a problem with dynamic ALV Grid OO. I used this code: CREATE OBJECT go_alv EXPORTING i_parent = cl_gui_custom_container=>screen0 EXCEPTIONS...
View ArticleBadi for FB60 for validating Vendor
Hi Experts,I got a requirement to implement a BADI for FB60 for validating whether the Vendor is foreigner or not.The logic is as follows.By using the Vendor Number provided on the FB60, I need to get...
View ArticleRe: selective deletion in an Internal Table
Hi Sebastian, What do you mean by APD? Is it different from ABAP programming?
View ArticleRe: SXPG_COMMAND_EXECUTE limitation of 255 characters
Hi Ray, Glad to hear I could somehow help you! Wish you luck with your requirement. Regards,Edgar
View ArticleChange the records with abap in internal table
Hi experts, In an internal table, i have some data. I want to modify all the records contained in the fieldC to a fixed value 'XXXX'I tought about this treatment: LOOP AT itab INTO str. str2t2 =...
View ArticleRe: Fill WERK and LGORT depending on BSART with BAdI ME_PROCESS_PO_CUST
Hi Bart, You can probably check by putting a breakpoint in function modules MEPOBADI_PROCESS_HEADER and MEPOBADI_PROCESS_ITEM. These function modules call the BAdI methods you mentioned. Hopefully,...
View ArticleGenerating Urging Reminder notices(Medruck form) as external email
Hello: I know there is a lot of information out there and on this site in reference to generating an output as an email and I have read most if not all of the information. I am having an issue trying...
View ArticleRuntime Error :ITAB_DUPLICATE_KEY Select on BSIS and BSAS Table
Hi Experts,We get a frequent dump on the below select in Production system for dupliacte key select data from bsis into itab where bukrs on selection screen...
View ArticleGenerating Urging Reminder notices(Medruck form) as external email
Hello: I know there is a lot of information out there and on this site in reference to generating an output as an email and I have read most if not all of the information. I am having an issue trying...
View ArticleRe: function name different comparing to function module name
Hi Sreehari, Do check on thing, whether you are transporting the FMs & Function Groups properly. Just confirm while transporting you are not collecting the FMs & FG separately.Because if you...
View ArticleRe: function name different comparing to function module name
Hi Sreehari, Do check on thing, whether you are transporting the FMs & Function Groups properly. Just confirm while transporting you are not collecting the FMs & FG separately.Because if you...
View ArticleEnhance Agent Inbox with Search Criteria "Subject"
Hello everyone! In the Agent Inbox I can search for emails, depending on different criteria like for example description. My task is to find emails depending from the subject text.I have already...
View ArticleRe: Runtime Error :ITAB_DUPLICATE_KEY Select on BSIS and BSAS Table
Theorically, yes, if a document item get cleared during the extraction, escpecially if you select many records and don't bypass buffers. But very rare... Regards,Raymond
View ArticleRe: BAPI_BUPA_ADDRESS_CHANGE replication issue - ISU
I've opened a message with SAP regarding BAPI_BUPA_ADDRESS_CHANGE removing the SD customer name (both the name on the SD address record in ADRC and table KNA1) when replicating these changes from CRM...
View ArticleRe: Runtime Error :ITAB_DUPLICATE_KEY Select on BSIS and BSAS Table
Dear Bhanu, The concept is you cannot append the internal table which is declared as sorted you should always Insert the internal tableSo when you write select with appending it gives dump.A table...
View ArticleRe: Replace button F8 on report mode
Just use your own pf-status with RS_SET_SELSCREEN_STATUS in INITIALIZATION or SELECTION-SCREEN OUTPUT. Replace the ONLI function code with SJOB. Or use good old trick likeAT SELECTION-SCREEN. CASE...
View Article