Bulk delete of customer details after soft bounce
Another item that has been requested time and time again over the years.
Anyone have a solution of how to delete Leads after a soft bounce, which never came through as a hard bounce. (I won't call them customers as there is no other information on them or purchases - just an email address, so there is no issue)
Nothing is easy in this system! Getting jack of it, and so are clients.
You can pull up the problem soft bounces, and fantastic, you can open in a new tab, instead of the STUPID pop up box.
But that is where the ease stops. I can not view the customer in a "New Tab" and then delete them.
I can only click on the link and view the customer, which means my list of all the soft bounces disapears.
After deletion, I have to go through the whole rigmarole again, of
going to the email campaign
Going to bounces
changing the sort criteria
waiing for the list
viewing the customer
deleting them
and starting again
There are over 200 bounces
Seriously !!
Again I point out this was on the wish list for years!!
A row-by-row delete should function properly but will probably be slow for a couple of reasons. The index maintenance has already been mentioned, but the other reason is context switching - there can be overhead from switching back and forth between SQL and PL/SQL. Bulk SQL as John illustrated should be efficient. Also remember to do as few commits as possible, one if you can.
If you are deleting a significant number of rows in the table you can try dropping non-critical indexes (not used for the delete) and rebuilding them when the delete is done - if other processes don't need to access the data during this time. Indexes used for the delete can be dropped and recreated afterwards.
Another option suggested here on OTN that might help is to copy the rows you want to keep to a new table, recreate any indexes and constraints (this will take a bit of effort), drop the old table and rename the new table to the old name. This might help if you are deleting a lot of rows.
The parallel query option might help if you can parallelize the deletion, or perhaps reading the list of rows to delete. I'm not sure about licensing on this option.
Another option is to consider partitioning - if you have the license. If you can partition by the deletion key removing the rows by dropping the partiton can be very fast.
Similar Messages
-
Zreport for vendor customer details.
Hi ,
I have to create a report tto display a vendor and customer details. on screen i have customer code and vendor code with company code and fiscal year. when i select the cust. code plant and year it will show the doc.no ,post. and doc. date,doc type ,qty and amount as per customer details.
after that as per billing doc. of specific customer ,select excise invoice number and match it with reference number (xblnr) of vendor code. and once it is matched select tht vendor doc.no. post. and doc. date amount and qty and display it in report.so how to right a coding for thesame
let me know as its urgent.
Rgrs
Suchitaplease find below coding for your reference.
*& Report ZFI_VEND_CUST_DETAILS
REPORT ZFI_VEND_CUST_DETAILS
NO STANDARD PAGE HEADING
LINE-COUNT 65
MESSAGE-ID 00.
TABLES: BSID,BSIK.
DATA: IT_BSID LIKE BSID OCCURS 0 WITH HEADER LINE.
DATA: IT_BSIK LIKE BSIK OCCURS 0 WITH HEADER LINE.
DATA: IT_J_1IEXCHDR LIKE J_1IEXCHDR OCCURS 0 WITH HEADER LINE.
DATA: BEGIN OF IT_OUT OCCURS 0,
BELNR LIKE BSID-BELNR, " added On 17.04.2007
BLDAT LIKE BSID-BLDAT,
BUDAT LIKE BSID-BUDAT,
BLART LIKE BSID-BLART,
NAME LIKE KNA1-NAME1, "Name 1
MATNR LIKE VBRP-MATNR, "Material Number
ARKTX LIKE VBRP-ARKTX, "Material description
FKIMG LIKE VBRP-FKIMG, "Quantity mentioned in the excise invoice
VBELN LIKE BSID-VBELN, "Billing Document
BUKRS LIKE BSID-BUKRS,
NAME1 LIKE LFA1-NAME1,
KUNNR LIKE BSID-KUNNR,
WRBTR LIKE BSID-WRBTR,
DMBTR LIKE BSID-DMBTR,
ZUONR LIKE BSID-ZUONR,
XBLNR LIKE BSID-XBLNR,
MENGE LIKE VBRP-MENGE,
LIFNR LIKE BSIK-LIFNR, "VENDOR CODE
EXNUM LIKE J_1IEXCHDR-EXNUM,
BELNR1 LIKE BSIK-BELNR, " added On 17.04.2007
BLDAT1 LIKE BSIK-BLDAT,
BUDAT1 LIKE BSIK-BUDAT,
BLART LIKE BSID-BLART,
NAME LIKE KNA1-NAME1, "Name 1
MATNR LIKE VBRP-MATNR, "Material Number
ARKTX LIKE VBRP-ARKTX, "Material description
FKIMG1 LIKE VBRP-FKIMG, "Quantity mentioned in the excise invoice
VBELN LIKE BSID-VBELN, "Billing Document
BUKRS LIKE BSID-BUKRS,
NAME1 LIKE LFA1-NAME1,
KUNNR LIKE BSID-KUNNR,
WRBTR LIKE BSID-WRBTR,
DMBTR1 LIKE BSIK-DMBTR,
ZUONR LIKE BSID-ZUONR,
XBLNR LIKE BSIK-XBLNR,
MENGE LIKE VBRP-MENGE,
LIFNR LIKE BSIK-LIFNR,
END OF IT_OUT.
*DATA: IT_OUT1 LIKE IT_OUT OCCURS 0 WITH HEADER LINE.
*ALV VARIABLES AND INTERNAL TABLES
TYPE-POOLS: SLIS.
DATA: IS_LAYOUT TYPE SLIS_LAYOUT_ALV,
IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
IT_LISTHEADER TYPE SLIS_T_LISTHEADER,
IT_EVENTS TYPE SLIS_T_EVENT,
IT_PRINT TYPE SLIS_PRINT_ALV OCCURS 1 WITH HEADER LINE.
*SELECTION SCREEN DEFINITIONS
SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : SO_KUNNR FOR BSID-KUNNR,
SO_LIFNR FOR BSIK-LIFNR,
SO_BLART FOR BSID-BLART.
PARAMETER : P_BUKRS LIKE BSID-BUKRS OBLIGATORY,
P_GJAHR LIKE BSID-GJAHR OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B.
*START-OF-SELECTION
START-OF-SELECTION.
PERFORM GET_DATA.
PERFORM DISPLAY_DATA.
*& Form GET_DATA
text
--> p1 text
<-- p2 text
form GET_DATA .
SELECT * FROM BSID
INTO TABLE IT_BSID
WHERE KUNNR IN SO_KUNNR AND
BUKRS = P_BUKRS AND
GJAHR = P_GJAHR.
LOOP AT IT_BSID.
IT_OUT-BELNR = IT_BSID-BELNR.
IT_OUT-BUKRS = IT_BSID-BUKRS.
IT_OUT-KUNNR = IT_BSID-KUNNR.
IT_OUT-ZUONR = IT_BSID-ZUONR.
IT_OUT-DMBTR = IT_BSID-DMBTR.
IT_OUT-VBELN = IT_BSID-VBELN.
IT_OUT-XBLNR = IT_BSID-XBLNR.
IT_OUT-BLART = IT_BSID-BLART.
IT_OUT-BUDAT = IT_BSID-BUDAT.
IT_OUT-BLDAT = IT_BSID-BLDAT.
APPEND IT_OUT.
ENDLOOP.
*SELECT * FROM J_1IEXCHDR
*INTO IT_J_1IEXCHDR
*WHERE RDOC = IT_OUT-VBELN.
*LOOP AT IT_J_1IEXCHDR.
IT_OUT-EXNUM = IT_J_1IEXCHDR-EXNUM.
**ENDLOOP.
*SELECT * FROM BSIK
*INTO TABLE IT_BSIK
*WHERE XBLNR = IT_OUT-EXNUM AND
*LIFNR IN SO_LIFNR AND
*BUKRS = P_BUKRS AND
*GJAHR = P_GJAHR.
*LOOP AT IT_BSIK.
*IT_OUT-BELNR1 = IT_BSIK-BELNR.
**IT_OUT-BUKRS = IT_BSIK-BUKRS.
*IT_OUT-LIFNR = IT_BSIK-LIFNR.
**IT_OUT-ZUONR = IT_BSIK-ZUONR.
*IT_OUT-DMBTR1 = IT_BSIK-DMBTR.
*IT_OUT-XBLNR = IT_BSIK-XBLNR.
**IT_OUT-BLART = IT_BSIK-BLART.
*IT_OUT-BUDAT1 = IT_BSIK-BUDAT.
*IT_OUT-BLDAT1 = IT_BSIK-BLDAT.
*APPEND IT_OUT.
*ENDLOOP.
*ENDLOOP.
*ENDSELECT.
*SORT IT_OUT BY KUNNR.
LOOP AT IT_OUT.
SELECT SINGLE EXNUM FROM J_1IEXCHDR
INTO IT_OUT-EXNUM
WHERE RDOC = IT_OUT-VBELN.
SELECT BELNR LIFNR DMBTR XBLNR BUDAT BLDAT
FROM BSIK INTO (IT_OUT-BELNR1,IT_OUT-LIFNR,IT_OUT-DMBTR1,IT_OUT-XBLNR,IT_OUT-BUDAT1,IT_OUT-BLDAT1)
WHERE XBLNR = IT_OUT-EXNUM.
ENDSELECT.
SELECT SINGLE NAME1 "NAME OF CUSTOMER
FROM KNA1
INTO IT_OUT-NAME
WHERE KUNNR = IT_OUT-KUNNR.
SELECT SINGLE NAME1 "NAME OF VENDOR
FROM LFA1
INTO IT_OUT-NAME1
WHERE LIFNR = IT_OUT-LIFNR.
SELECT MATNR ARKTX FKIMG
FROM VBRP
INTO (IT_OUT-MATNR,IT_OUT-ARKTX,IT_OUT-FKIMG)
WHERE VBELN = IT_OUT-VBELN AND
WERKS = P_BUKRS.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
input = IT_OUT-MATNR
IMPORTING
OUTPUT = IT_OUT-MATNR.
MODIFY IT_OUT.
CLEAR IT_OUT.
ENDSELECT.
ENDLOOP.
endform. " GET_DATA
*& Form DISPLAY_DATA
text
--> p1 text
<-- p2 text
form DISPLAY_DATA .
PERFORM FILL_LAYOUT_STRUCTURE.
PERFORM ALV_HEADER USING IT_LISTHEADER.
PERFORM FILL_FIELDCAT USING :
'BLDAT' 'DOC Date' 10 'IT_OUT' SPACE SPACE,
'BUDAT' 'Post.Date' 10 'IT_OUT' SPACE SPACE,
'KUNNR' 'Customer Code' 10 'IT_OUT' SPACE SPACE,
'NAME' 'Customer Name' 35 'IT_OUT' SPACE SPACE,
'LIFNR' 'VENDOR CODE' 10 'IT_OUT' SPACE SPACE,
'NAME1' 'VENDOR DESC' 35 'IT_OUT' SPACE SPACE,
'BLART' 'Doc. Type' 2 'IT_OUT' SPACE SPACE,
'VBELN' 'BILLING DOC NO.' 10 'IT_OUT' SPACE SPACE,
'BELNR' 'Account Doc. No.' 10 'IT_OUT' SPACE SPACE,
'DMBTR' 'AMOUNT IN LOCAL' 13 'IT_OUT' SPACE SPACE,
'MATNR' 'Material Code' 10 'IT_OUT' SPACE SPACE,
'ARKTX' 'Material DESC' 35 'IT_OUT' SPACE SPACE,
'FKIMG' 'QTY' 12 'IT_OUT' SPACE SPACE,
'ZUONR' 'ASSIGNNMENT' 18 'IT_OUT' SPACE SPACE,
'EXNUM' 'Excise inv no.' 13 'IT_OUT' SPACE SPACE,
'BELNR1' 'Account Doc. No.' 10 'IT_OUT' SPACE SPACE,
'BLDAT1' 'DOC Date' 10 'IT_OUT' SPACE SPACE,
'BUDAT1' 'Post.Date' 10 'IT_OUT' SPACE SPACE,
'DMBTR1' 'AMOUNT IN LOCAL' 13 'IT_OUT' SPACE SPACE,
'XBLNR' 'REFERENCE DOC' 10 'IT_OUT' SPACE SPACE.
PERFORM ALV_EVENTS USING IT_EVENTS.
PERFORM ALV_PRINT.
PERFORM ALV_DISPLAY.
endform. " DISPLAY_DATA
*& Form FILL_LAYOUT_STRUCTURE
text
--> p1 text
<-- p2 text
form FILL_LAYOUT_STRUCTURE .
DATA: WA_EVENT TYPE SLIS_ALV_EVENT,
WA_LISTHEADER TYPE SLIS_T_LISTHEADER.
CLEAR IS_LAYOUT.
IS_LAYOUT-ZEBRA = 'X'.
is_layout-F2CODE = '&ETA'.
is_layout-detail_popup = 'X'.
IS_LAYOUT-INFO_FIELDNAME = 'COL_LINE'.
endform. " FILL_LAYOUT_STRUCTURE
*& Form FILL_FIELDCAT
text
-->P_0606 text
-->P_0607 text
-->P_10 text
-->P_0609 text
-->P_SPACE text
-->P_SPACE text
form FILL_FIELDCAT using F D O T TO P.
DATA WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
STATICS POS LIKE SY-INDEX VALUE 1.
POS = POS + 1.
CLEAR WA_FIELDCAT.
MOVE : 1 TO WA_FIELDCAT-ROW_POS,
POS TO WA_FIELDCAT-COL_POS,
F TO WA_FIELDCAT-FIELDNAME,
D TO WA_FIELDCAT-SELTEXT_L,
O TO WA_FIELDCAT-OUTPUTLEN,
T TO WA_FIELDCAT-TABNAME,
TO TO WA_FIELDCAT-DO_SUM,
P TO WA_FIELDCAT-FIX_COLUMN.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
endform. " FILL_FIELDCAT
FORM ALV_EVENTS USING EVENTS TYPE SLIS_T_EVENT.
DATA : WA_EVENTS TYPE SLIS_ALV_EVENT.
CLEAR WA_EVENTS.
WA_EVENTS-NAME = 'TOP_OF_PAGE'(001).
WA_EVENTS-FORM = 'TOP_OF_PAGE'.
APPEND WA_EVENTS TO IT_EVENTS.
ENDFORM. "alv_events
*& Form ALV_DISPLAY
text
--> p1 text
<-- p2 text
form ALV_DISPLAY .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'CALL_TCODE'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = IS_LAYOUT
IT_FIELDCAT = IT_FIELDCAT
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT = i_sort[]
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = 'A'
IS_VARIANT =
IT_EVENTS = IT_EVENTS
IT_EVENT_EXIT =
IS_PRINT = IT_PRINT
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = IT_OUT
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. " ALV_DISPLAY
*FORM FOR TOP OF PAGE
FORM TOP_OF_PAGE.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
IT_LIST_COMMENTARY = IT_LISTHEADER.
ENDFORM. "top_of_page
*& Form alv_header
FORM alv_header USING P_IT_LISTHEADER.
data : wa_listheader type slis_listheader.
data : v_date1(10).
data : v_date2(10).
data : v_kunnr1 LIKE bsid-kunnr.
data : v_kunnr2 LIKE bsid-kunnr.
data : v_name1 like t001w-name1.
clear wa_listheader.
wa_listheader-typ = 'H'.
move 'DETAILED CUSTOMER VENDOR DETAILS'
to wa_listheader-info.
append wa_listheader to it_listheader.
select single name1
from t001w
into v_name1
where werks = p_bukrs.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Plant'.
move v_name1
to wa_listheader-info.
append wa_listheader to it_listheader.
write so_budat-low to v_date1 dd/mm/yyyy no-gap.
write so_budat-high to v_date2 dd/mm/yyyy no-gap.
if so_budat-low is not initial and so_budat-high is not initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Date '.
concatenate v_date1 ' To ' v_date2 into
wa_listheader-info separated by space.
wa_listheader-info = wa_listheader-info.
append wa_listheader to it_listheader.
elseif so_budat-low is initial and so_budat-high is initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Date '.
wa_listheader-info = '*'.
append wa_listheader to it_listheader.
elseif so_budat-high is initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Date '.
wa_listheader-info = v_date1.
append wa_listheader to it_listheader.
endif.
v_kunnr1 = so_kunnr-low.
v_kunnr2 = so_kunnr-high.
if so_kunnr-low is not initial and so_kunnr-high is not initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Customer '.
concatenate v_kunnr1 ' To ' v_kunnr2 into
wa_listheader-info separated by space.
wa_listheader-info = wa_listheader-info.
append wa_listheader to it_listheader.
elseif so_kunnr-low is initial and so_kunnr-high is initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Customer '.
wa_listheader-info = '*'.
append wa_listheader to it_listheader.
elseif so_kunnr-high is initial.
clear wa_listheader.
wa_listheader-typ = 'S'.
wa_listheader-key = 'Customer '.
wa_listheader-info = v_kunnr1.
append wa_listheader to it_listheader.
endif.
ENDFORM. " alv_header.
waiting for ur reply.
Thanx
Suchita -
Firefox 12.0 keeps deleting my custom toolbars. I create one, it works a few times, but after several starts of Firefox, it just disappears. Then I have to remake it! Damn irritating!
It may not be Firefox that is deleting that toolbar, but your security software may be doing that.
Some security software has virtualization features that can cause problems by protecting and restoring files in the Firefox profile folder.
See also:
*http://kb.mozillazine.org/Corrupt_localstore.rdf -
I need to purchase an app. Can I delete my card details straight after.
I need to purchase an app for my grandson. Can I delete my card details as soon as I have purchased the app.
If I were you, I'd buy an itunes / app store card.
Morrisons, Sainsbury, most electrical stores, WHSmiths etc sell them.
I think you can get them in £5 intervals
Joe -
How to delete custom labels after upgrading to iOS 7.2
When I upgraded my iPhone to iOS 7 , I am not able to edit or delete a custom label anymore? Please can you fix this issue!?
ios 8 *****. i am unable to switch 2G to 3G while it eating my battery. *****
-
Batch deletion of Custom Object data
Hi,
I have a requirement to delete a Custom Object records from CRM OD application. Here for this Custom Object, I have to delete all the reords data at one time run, iam trying to delete the data using "CustomObject3Delete_Input" functionality and for that iam writing the following request code:
<soapenv:Body>
<ns:CustomObject3Delete_Input>
<data:ListOfCustomObject3>
<!--Zero or more repetitions:-->
<data:CustomObject3>
</data:CustomObject3>
</data:ListOfCustomObject3>
</ns:CustomObject3Delete_Input>
</soapenv:Body>
after runnig the above code, i got an response (error) like:
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>No user key can be used for the Integration Component instance 'Custom Object 3'.(SBL-EAI-04397)</faultstring>
<detail>
<siebelf:siebdetail xmlns:siebelf="http://www.siebel.com/ws/fault">
<siebelf:logfilename>OnDemandServicesObjMgr_enu_246474.log</siebelf:logfilename>
<siebelf:errorstack>
<siebelf:error>
<siebelf:errorcode>(SBL-EAI-04397)</siebelf:errorcode>
<siebelf:errorsymbol>IDS_ERR_EAI_SA_NO_USERKEY</siebelf:errorsymbol>
<siebelf:errormsg>No user key can be used for the Integration Component instance 'Custom Object 3'.(SBL-EAI-04397)</siebelf:errormsg>
</siebelf:error>
</siebelf:errorstack>
</siebelf:siebdetail>
</detail>
</SOAP-ENV:Fault>
Any responses or suggestions are highly appreciable. Thanks in advance:).
Regards,
KashyapHere is the query for a single delete
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAPSDK1="urn:crmondemand/ws/ecbs/customobject3/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:SOAPSDK2="urn:/crmondemand/xml/CustomObject3/Data">
<SOAP-ENV:Header>
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>your pod</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">yourpassword</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<SOAPSDK1:CustomObject3Delete_Input>
<SOAPSDK2:ListOfCustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
</SOAPSDK2:ListOfCustomObject3>
</SOAPSDK1:CustomObject3Delete_Input>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
For multiple delete it would look like - up to 20 objects per delete
<SOAP-ENV:Body>
<SOAPSDK1:CustomObject3Delete_Input>
<SOAPSDK2:ListOfCustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
<CustomObject3>
<Id>AAPA-6R09JC</Id>
</CustomObject3>
</SOAPSDK2:ListOfCustomObject3>
</SOAPSDK1:CustomObject3Delete_Input>
</SOAP-ENV:Body> -
Delete the payment details from a BPmaster data when there is still an deal
Hi All ,
what happens when i delete the payment details from a BP master data (counter party role in payment details tab ) when there is still an outstanding deal for this BP?
Will this be reflected in the saved deal, so will the deal go into error after the payment details have been removed?
I test this scenario in my dev system with following steps
1. I create a deal with t code FTR_CREATE
2. Delete all payment details from BP Master (counter party role in payment details tab )
3. i settle deal t code FTR_EDIT
4. I run TBB1 to create a payment request
5. then i run F111 and all required details and also payment request system is create payment without any error
all the able steps i did with out any error ... i think system should through error while running F111 t code because in BP master all data is deleted .
so i want to know whether system will through error mesg when we delete payment details from BP MASTER
regardsHi,
The payment details are only a standing instruction which is captured by various create programs for respective financial transaction. Further, it is derived only once at the time of creation each time.
Deleting payment details will not give you any error message for already created transactions, for new transactions, you may have to put it manually at the time of creation else will throw an error message with TBB1.
Regards
Prasad AV -
To update vendor and customer details in BP transaction
I have created a donor in the BP transaction . i need to update the vendor and customer details for the reated donor.
please can someone suggest some BAPI's or FM's which are available to do the same.Hello Om,
You can get vendor/costumer number and their names in FBL3N when you get bank ledger's line item.
You must use BTE functions.
I don't your techinal skills about SAP but if you don't know ABAP or ABAP dictionary details, you can get help your ABAPer.
I will explain step by step.
First of all, if you don't use BTE before, You must create a product on FIBF.
Call FIBF transaction -> Settings -> Products -> ...of a customer
Create a new line,
Product : ZFI
Text : BTE Products for FI Exit
Product active : tick check fro activation.
Then you must call SE11 for structure RFPOS.
You must use append structure function for this structure and you can define ZFI_RFPOS append structure.
Define 4 fields.
Component : KUNNR - Component type : KUNNR
Component : NAMED - Component type : NAME1
Component : LIFNR - Component type : LINFR
Component : NAMEK - Component type : NAME1
Then save and active your RFPOS structure.
After that, you must do same step for structure RFPOSX.
Then go to SE37 and copy from SAMPLE_INTERFACE_00001650 to ZFI_INTERFACE_00001650 FM.
After copy action, you must uncomment this line on ZFI_INTERFACE_00001650 FM's source code. It's very very important;
E_POSTAB = I_POSTAB.
Then you should add some ABAP code for getting customer & vendor details.
I give you some examples, you can use it. (next message on this thread, please check)
Then save and active FM.
Call FIBF transaction again.
FIBF -> Settings -> Process Modules -> ...of a customer
Define a new line.
Process : 00001650
Function Module : ZFI_INTERFACE_00001650
Product : ZFI
and this customizing.
Then you go to SE38 transaction.
start report RFPOSXEXTEND. After starting, a pop-up appears, you must click YES.
After those operations, you can see customer/vendor code and their names on FBL3N.
I hope it helps to you.
Regards,
Burak. -
Hi,
We are trying to set up bounce management for newsletter campaign management. Hard bounce functionality is working fine and "Do not use" indicator is flagged in the BP records but the soft bounce functionality is not working. For soft bounce like out-of-office notification and mailbox full, we need to send the email again after 7 days. We have done all the settings required as per the document "Prerequisites for bounce managment" in SWETYPV transaction and SO50 transaction. (Please note out-of-office notifications are coming in SAP System and can be seen in trace in transaction SOST).
Secondly, we are not able to use any other Services for hard bounce that are available as standard for ERMS context for bounce context like Forward Email etc.
Thirdly, for hard bounces where delivery errors are not classified as "permanent" e.g. mail sent by receiving server that so and so person has left the company and is no longer available. We tried to set up by setting up a rule that if "Particular words are in the email body" then "Bounce Address Data Update". But this does not work.
Any help will be appreciated and suitably rewarded.
Thanks,
DeepakHi,
Please see the docs referenced in this thread.
R12 Clear Middle Tier Cache
R12 Clear Middle Tier Cache
Thanks,
Hussein -
I had been running a mail server with OS X 10.5 client software. All worked fine. I finally got 10.5 server and have had several problems since installing. I am having lots of mail soft bouncing. I do not know if this is due to the spam filter, AV, or the configuration. I have also had issues with other servers connecting to mine. My Exchange server at work will retry and retry. Finally after about 5 to 10 hours later I get a bunch of email from it. A friend who had trouble sending mail said his server timed out connecting to mine and had an EHLO error. Also, I take it there is no GUI for the spam filter or AV configurations? I have attached the postconf file. Any help would be appreciated.
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
enableserveroptions = yes
html_directory = no
inet_interfaces = all
mail_owner = _postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
messagesizelimit = 10485760
mydestination = $myhostname,localhost.$mydomain,trackonestudios.com
mydomain = trackonestudios.com
mydomain_fallback = localhost
myhostname = mail.trackonestudios.com
mynetworks = 172.16.1.0/24,127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpdenforcetls = no
smtpdpw_server_securityoptions = login
smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
smtpdsasl_authenable = yes
smtpdtls_certfile = /etc/certificates/mail.trackonestudios.com.crt
smtpdtls_keyfile = /etc/certificates/mail.trackonestudios.com.key
smtpdtlsloglevel = 0
smtpduse_pwserver = yes
smtpdusetls = yes
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains =
virtual_transport = virtualThanks for the help. Below is what was returned. Mail has practically stopped. Anything I send from my Exchange server at works is delayed. I can look at the Exchange queue and it just retries. I never had this problem under OS X 10.5 with Mail Serve. BTW, I never got notified that your message was posted.
mailq empty
postconf
command_directory = /usr/sbin
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/libexec/postfix
debugpeerlevel = 2
disablevrfycommand = yes
enableserveroptions = yes
html_directory = no
inet_interfaces = all
localrecipientmaps = proxy:unix:passwd.byname $alias_maps
mail_owner = _postfix
mailboxsizelimit = 0
mailbox_transport = cyrus
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
messagesizelimit = 10485760
mydestination = $myhostname,localhost.$mydomain,trackonestudios.com
mydomain = trackonestudios.com
mydomain_fallback = localhost
myhostname = mail.trackonestudios.com
mynetworks = 172.16.1.0/24,127.0.0.0/8
newaliases_path = /usr/bin/newaliases
queue_directory = /private/var/spool/postfix
readme_directory = /usr/share/doc/postfix
relayhost =
sample_directory = /usr/share/doc/postfix/examples
sendmail_path = /usr/sbin/sendmail
setgid_group = _postdrop
smtpdclientrestrictions = permitsaslauthenticated, permit_mynetworks, rejectrblclient zen.spamhaus.org, permit
smtpddatarestrictions = permit_mynetworks, rejectunauthpipelining, permit
smtpdenforcetls = no
smtpdhelorequired = yes
smtpdhelorestrictions = permitsaslauthenticated, permit_mynetworks, checkheloaccess hash:/etc/postfix/helo_access, rejectnon_fqdnhostname, rejectinvalidhostname, permit
smtpdpw_server_securityoptions = login
smtpdrecipientrestrictions = rejectinvalidhostname, rejectnon_fqdnsender, rejectnon_fqdnrecipient, permitsaslauthenticated, permit_mynetworks, rejectunauthdestination, rejectunlistedrecipient, rejectrblclient zen.spamhaus.org, permit
smtpdsasl_authenable = yes
smtpdsenderrestrictions = permitsaslauthenticated, permit_mynetworks, rejectnon_fqdnsender, permit
smtpdtls_certfile = /etc/certificates/mail.trackonestudios.com.crt
smtpdtls_keyfile = /etc/certificates/mail.trackonestudios.com.key
smtpdtlsloglevel = 0
smtpduse_pwserver = yes
smtpdusetls = yes
unknownlocal_recipient_rejectcode = 550
virtualmailboxdomains =
virtual_transport = virtual
uname
Darwin trackonestudios.com 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb 5 16:13:22 PST 2008; root:xnu-1228.3.13~1/RELEASE_I386 i386 -
Cutom T-Code for seding customer details thru IDoc Debmas
Hi Experts,
I have a requirment where in.. I need to send customer details thru IDoc from a custom screen which has cutomer text box and a submit button. After entering cutomer and clicking on submit debmas06 Idoc has to be triggered.
I am not an ABAP expert... please help me with process on devloping the above reqirment.
This is a critical requirment please help ASAP.
Thanks,
SumaHi,
u have to use standalone program..iam giving one sample code..aong with u have define the RFC (SM59,WE21(Create port),WE20(create partner profile,BD64 distribute model view)...u have to do..
when u press on submit button,,,
*& Report ZZ_Program_To_Create_Idoc
report zz_program_to_create_idoc .
tables: ekko,ekpo.
selection-screen skip 3.
selection-screen begin of block b1 with frame title titl.
selection-screen skip.
select-options s_ebeln for ekko-ebeln.
selection-screen skip.
selection-screen end of block b1.
data: header_segment_name like edidd-segnam value 'Z1EKKO',
item_segment_name like edidd-segnam value 'Z1EKPO',
idoc_name like edidc-idoctp value 'Z19838IDOC1'.
data: header_segment_data like z1ekko,
item_segment_data like z1ekpo.
data: control_record like edidc.
data: messagetyp like edmsg-msgtyp value 'ZZ9838MESG1'.
data: i_communication like edidc occurs 0 with header line,
i_data like edidd occurs 0 with header line.
data: begin of i_ekko occurs 0,
ebeln like ekko-ebeln,
aedat like ekko-aedat,
bukrs like ekko-bukrs,
bsart like ekko-bsart,
lifnr like ekko-lifnr,
end of i_ekko.
data: begin of i_ekpo occurs 0,
ebelp like ekpo-ebelp,
matnr like ekpo-matnr,
menge like ekpo-menge,
meins like ekpo-meins,
netpr like ekpo-netpr,
end of i_ekpo.
start-of-selection.
select ebeln aedat bukrs bsart lifnr from ekko
into table i_ekko where ebeln in s_ebeln.
select ebelp
matnr
menge
meins
netpr
from ekpo
into table i_ekpo
where ebeln in s_ebeln.
control_record-mestyp = messagetyp.
control_record-rcvprt = 'LS'.
control_record-idoctp = idoc_name.
control_record-rcvprn = '0MART800'.
loop at i_ekko.
header_segment_data-ebeln = i_ekko-ebeln.
header_segment_data-aedat = i_ekko-aedat.
header_segment_data-bukrs = i_ekko-bukrs.
header_segment_data-bsart = i_ekko-bsart.
header_segment_data-lifnr = i_ekko-lifnr.
i_data-segnam = header_segment_name.
i_data-sdata = header_segment_data.
append i_data.
select ebelp
matnr
menge
meins
netpr
from ekpo
into table i_ekpo
where ebeln = i_ekko-ebeln.
loop at i_ekpo.
item_segment_data-ebelp = i_ekpo-ebelp.
item_segment_data-matnr = i_ekpo-matnr.
item_segment_data-menge = i_ekpo-menge.
item_segment_data-meins = i_ekpo-meins.
item_segment_data-netpr = i_ekpo-netpr.
i_data-segnam = item_segment_name.
i_data-sdata = item_segment_data.
append i_data.
endloop.
clear i_ekpo.
refresh i_ekpo.
endloop.
call function 'MASTER_IDOC_DISTRIBUTE'
exporting
master_idoc_control = control_record
OBJ_TYPE = ''
CHNUM = ''
tables
communication_idoc_control = i_communication
master_idoc_data = i_data
exceptions
error_in_idoc_control = 1
error_writing_idoc_status = 2
error_in_idoc_data = 3
sending_logical_system_unknown = 4
others = 5
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
loop at i_communication.
write: 'IDOC GENERATED', i_communication-docnum.
endloop.
commit work.
endif.
initialization.
titl = 'ENTER THE PURCHASE ORDER NUMBER'.
Regards,
Nagaraj -
Mass deletion of customer accounts
Hello
Can I completely delete the customer records from the system using some standard tcode or programDear Gaurav,
I have tested on to my test Client.
I created one "new customer" and then run the profram "SAPF047" in SE38.
Then, go to t. code: OBR2
key-in that "newly customer id" and check box: Delete Customer, under tab: Deletion quantity selection.
Under tab: Deletion depth, check box: only general master data, and keyed-in charts of accounts.
Under tab: Program control, selected Customer detail log (no oher option).
But, it was on to my Test-Client and there were no records for customer. I can't suggest from my front, as your's is Production-Client, and there might be open records for your customer.
Best Regards,
Amit -
Is it possible to reterive the deleted Outbound Delivery details
Hi
I would like to know , Is it possible to reterive the deleted Outbound Delivery details like who deleted with date and time.
Can It possible to create Proforma invoice without Post Goods Issue (PGI) of Outbound Delivery.
Can it possible to delete Outbound delivery after creation of its proforma and excise Invoice.Thanks sridhar,
My prob is solved regarding deleted details.
Can we avoid , user can't delete the Outbound Delivery after creation of Proforma Invoice and Excise invoice. because OD is related to PRof and Excise inv.
Actually In case of Sale Order's OD user cant delete OD's. but in case of STO it possible.
Thanks and Regards,
Tapovardhan -
How to delete a customer complete from R/3
Hi
How can i delete a customer from R/3 complete.
VD06 transaction only marks for deletion.
I am able to create sales order after marking
customer for deletion.
I want to remove customer completely from the System
Regards,
Abhimanyu.LHi
You can delete a customer from database only if:
- it runs archiving tools (for customer): here all customer setted to be deleted will be delete from database really;
- it runs report SAPF019 (it's better to set the checkbox "Delete per deletion flag only"), I've never run it.
Max -
How to invoke a Java Custom Code after creating a resource in OIM Console
Greetings.
I want to invoke a custom code after creating the resource "OID User" on the OIM Administration Console. For example invoke a custom code that creates The Form's resource access descriptor (RAD) on the OID.
I have read the Developer's Guide for Oracle Identity Manager book but I don't get how to solve my requirement.
Should I use a "Java Task" on the design Console?
Could Anybody provide me the detailed steps to do that?
Thanks
Ramiro Ortíz.Greetings.
I want to invoke a custom code after creating the resource "OID User" on the OIM Administration Console. For example invoke a custom code that creates The Form's resource access descriptor (RAD) on the OID.
I have read the Developer's Guide for Oracle Identity Manager book but I don't get how to solve my requirement.
Should I use a "Java Task" on the design Console?
Could Anybody provide me the detailed steps to do that?
Thanks
Ramiro Ortíz.
Maybe you are looking for
-
How to configure ASA5512X DMZ with a Public IP address?
Hi; I hav a ASA5512X firewall with 6 interface, interface 0 has been assigned to a WAN connectivity with ADSL, in which my ISP gave me two static IPs (not a block range of IP), my ISP mapped the Mac address of an interface to a ip address, this is wh
-
HP Office jet 6700 Premium e-All-in- one. Not printing from Mac Pro
Moved to the Mac printing forum for better coverage. Bob Headrick, HP Expert I am not an employee of HP, I am a volunteer posting here on my own time. If your problem is solved please click the "Accept as Solution" button ------------V If my answer
-
Confuse horribly....
I have a 30gig IPOd. A few weeks ago my computer crashed... So this past weekend I went and bought a new one... I figured I could just download ITUNES and plug in my IPOD and all my songs would show up on ITUNEs... Unfortunately this didnt happened..
-
Error on maxextents in table...
hi, I created this tablespace: CREATE TABLESPACE TBS DATAFILE 'C:\....\XXX01.dbf' SIZE 500M REUSE DEFAULT STORAGE (INITIAL 10240 NEXT 10240 MINEXTENTS 1 MAXEXTENTS 256 PCTINCREASE 0) ONLINE; When I try to insert a new record in table ST I get this er
-
When I close the Project Explorer an error occurs (see attachment). What does this error means? Attachments: lvlog11-11-08-08-41-14.txt 2 KB