F110 -Selected Vendor got an error
Hi Guru's,
I'm running the transaction code F110, as a result, some vendors are successfully run, however, some also got an error " No valid Payment Method Found with error number 006.
My parameters are:
Company Code
Payment Method
Next/P/Date
Vendor example range from 100000 to 199999
Hope you can share an answer to this.
Thanks,
Mila
Hi Mila,
Once again mentioning all the check points here:-
1. Check vendor Master, whether Payment method is maintained or not.. If not enter payment method in the Vendor Master FK03.
2. In FBZP Configuration of Payment Methods in Country, check whether Vendor address and bank Details are marked as mandatory, if yes, check whether it is maintained in Vendor master. " The section is "Required Master Record Specification"
3. Check parameters in F110, whether the Payment method that you are mentioning is the same as maintained in Vendor Master/Line item of the Document.
4. The Variant that you are maintaining in F110, should also have the same Payment method.
5. If still you have error, go to additional log and tick Payment method Selection if not successful, and execute payment run, then go to the proposal log and find out the exact reason from the log.
Hope this helps..
Regards,
SAPFICO
Similar Messages
-
I need help to run this package and i got some error
create or replace
PACKAGE BODY SUBS_INS_API_sun
AS
PROCEDURE SUBSCRIBER_INS_sun
(SOURCE_SYS_ID IN VARCHAR2,
TRACKING_ID IN VARCHAR2,
ACCOUNT_NO IN VARCHAR2,
prepaidActDevDetails_tab IN prepaidactdvcdetailsobj_sun,
ERROR_CODE OUT VARCHAR2)
IS
Input_Parameter_Is_Null EXCEPTION;
pragma exception_init(Input_Parameter_Is_Null,-2000);
prepaidAccountDetails prepaidActDevDetails_tab:= prepaidActDevDetails_tab(NULL,NULL,NULL,NULL,NULL);
STATUS VARCHAR2(1):='1';
cust_no VARCHAR(10);
m_mac_id VARCHAR2(20);
subscriber_master_Rec subscriber_master%ROWTYPE :=NULL;
flg NUMBER(1);
BEGIN
IF(Source_Sys_Id IS NULL OR Tracking_Id IS NULL OR ACCOUNT_NO IS NULL OR prepaidAccountDetails.LAST=0) THEN
RAISE Input_Parameter_Is_Null;
END IF;
BEGIN
select cm_cust_no into cust_no from customer_master where cm_cust_id=ACCOUNT_NO and cm_status in('A','P','0');
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
STATUS:='0';
END;
BEGIN
FOR i IN prepaidAccountDetails.FIRST .. (prepaidAccountDetails.LAST) LOOP
prepaidAccountDetails1:=prepaidActDevDetails_tab(i);
prepaidAccountDetails1.Status_of_device:='1';
IF (prepaidAccountDetails.Account_id is NULL OR prepaidAccountDetails.Mac_Id is NULL or prepaidAccountDetails.LOB_value is NULL) THEN
RAISE Input_Parameter_Is_Null;
END IF;
IF(prepaidAccountDetails.LOB_value = 'VDO') THEN
IF(prepaidAccountDetails.Channel_Line_Up is NULL) THEN
Error_code :='SI002';
DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
STATUS:=0;
prepaidAccountDetails.Status_of_device:='0';
END IF;
END IF;
begin
select 1 into flg from subscriber_master where pm_phone_no=prepaidAccountDetails.Mac_Id and pm_status in('P','0','A','B');
EXCEPTION
WHEN NO_DATA_FOUND THEN
flg:=0;
END;
if(flg=1) then
DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
STATUS:=0;
prepaidAccountDetails.Status_of_device:='0';
END IF;
begin
select md_mac_id into m_mac_id from mac_details where md_mac_id=prepaidAccountDetails.Mac_Id and md_start_date<=sysdate
and md_status='A';
EXCEPTION when OTHERS then
Error_code :='SI004';
DBMS_OUTPUT.PUT_LINE('NO DATA FOUND');
STATUS:=0;
prepaidAccountDetails.Status_of_device:='0';
end;
if(STATUS= 1 and prepaidAccountDetails.Status_of_device='1') then
SELECT PM_SUBS_ACT_NO_SEQ.nextval
INTO subscriber_master_rec.PM_SUBS_ACT_NO
FROM dual;
subscriber_master_Rec.pm_phone_no :=prepaidAccountDetails.Mac_Id;
subscriber_master_Rec.pm_open_date :=sysdate;
subscriber_master_rec.pm_status :='P';
subscriber_master_rec.PM_CUST_LVL_YN:='S';
subscriber_master_rec.PM_EQUP_CODE:=prepaidAccountDetails.LOB_value;
subscriber_master_rec.PM_HOME_AREA:='HOM';
subscriber_master_rec.PM_USG_CODE:='USG';
subscriber_master_rec.PM_NO_TYPE:='S';
subscriber_master_rec.PM_TCG_CODE:='DEF';
subscriber_master_rec.PM_APLN_DATE:=sysdate;
subscriber_master_rec.PM_USER2:=prepaidAccountDetails.LOB_value;
subscriber_master_rec.PM_USER3:=prepaidAccountDetails.Channel_Line_Up;
subscriber_master_rec.pm_cust_no:=cust_no;
INSERT INTO subscriber_master VALUES subscriber_master_rec;
END IF;
END LOOP;
END;
END SUBSCRIBER_INS_sun;
END SUBS_INS_API_sun;
and
i got this error
Package Body PREPAID_TESTNEW.SUBS_INS_API@PREPAID_TESTNEW
Error(73,4): PL/SQL: Statement ignored
Error(73,99): PLS-00302: component 'LAST' must be declared
Error(87,6): PL/SQL: Statement ignored
Error(87,37): PLS-00302: component 'FIRST' must be declared
please help to run this package if anyone knowsnow i corrected my package. It working fine. But, how to run this package via procedure. my procedure check below. I give all the details about my package check below.
---pkg specification
create or replace
PACKAGE SUBS_INS_API_SS
IS
PROCEDURE SUBSCRIBER_INS_SS
(SOURCE_SYS_ID IN VARCHAR2,
TRACKING_ID IN VARCHAR2,
ACCOUNT_NO IN VARCHAR2,
prepaidActDevDetails_tab IN prepaidActDeviceDetails_tabobj,
ERROR_CODE OUT VARCHAR2);
END SUBS_INS_API_SS;
-----pkg body
create or replace
PACKAGE BODY SUBS_INS_API_SS
AS
PROCEDURE log_error (ip_code IN VARCHAR2,
ip_message IN VARCHAR2,
ip_description IN VARCHAR2)
IS
BEGIN
INSERT INTO ERR_LOG (IEL_REF_ID,
IEL_DATE,
IEL_CODE,
IEL_MSG,
IEL_DESC)
VALUES (IVRS_ERR_LOG_SEQ.NEXTVAL,
SYSDATE,
ip_code,
ip_message,
ip_description);
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
END log_error;
PROCEDURE INSERT_WS_LOG (SOURCE_SYS_ID IN VARCHAR2,
STATUS IN VARCHAR2,
TRACKING_ID IN VARCHAR2,
ACCOUNT_ID IN VARCHAR2,
MAC_ID IN VARCHAR2)
IS
ws_log_rec WS_LOG%ROWTYPE := NULL;
BEGIN
SELECT WS_LOG#REC#ID.NEXTVAL INTO ws_log_rec.rec#id FROM DUAL;
ws_log_rec.VER#ID := 1;
ws_log_rec.CRE#TS := SYSDATE;
ws_log_rec.wl_source := SOURCE_SYS_ID;
ws_log_rec.wl_status := Status;
ws_log_rec.wl_tracking_id := tracking_id;
ws_log_rec.wl_account_id := account_id;
ws_log_rec.wl_mac_id := mac_id;
INSERT INTO ws_log
VALUES ws_log_rec;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
END INSERT_WS_LOG;
PROCEDURE REPLICO_DEV_INFO( Acc_id IN VARCHAR2, Mc_Id IN VARCHAR2,channel IN VARCHAR2,
LOB_VAL IN VARCHAR2, outlet1 IN VARCHAR2, kit_cod IN VARCHAR2,
serial_No IN VARCHAR2, shipperr IN VARCHAR2, estm_recived_date IN date)
IS
Replico_device_info_det_Rec Replico_device_info_det%ROWTYPE := NULL;
REC_ID NUMBER;
BEGIN
SELECT REPLICO_DEVICE_INFO_DET#RECID.nextval INTO REC_ID FROM dual;
Replico_device_info_det_Rec.REC#ID := REC_ID;
Replico_device_info_det_Rec.ACCOUNT_ID := Acc_id;
Replico_device_info_det_Rec.MAC_ID := Mc_Id;
Replico_device_info_det_Rec.CHANNEL_LINE_UP := channel;
Replico_device_info_det_Rec.LOB_VALUE := LOB_VAL;
Replico_device_info_det_Rec.OUTLET := outlet1;
Replico_device_info_det_Rec.KIT_CODE := kit_cod;
Replico_device_info_det_Rec.SERIAL_NUMBER := serial_No;
Replico_device_info_det_Rec.SHIPPER := shipperr;
Replico_device_info_det_Rec.ESTIMATED_RECIVED_DATE := estm_recived_date;
INSERT INTO replico_device_info_det
VALUES Replico_device_info_det_Rec;
EXCEPTION
WHEN OTHERS
THEN
ROLLBACK;
END REPLICO_DEV_INFO;
PROCEDURE SUBSCRIBER_INS_SS (
SOURCE_SYS_ID IN VARCHAR2,
TRACKING_ID IN VARCHAR2,
ACCOUNT_NO IN VARCHAR2,
prepaidActDevDetails_tab IN prepaidActDeviceDetails_tabobj,
ERROR_CODE OUT VARCHAR2)
IS
Input_Parameter_Is_Null EXCEPTION;
PRAGMA EXCEPTION_INIT (Input_Parameter_Is_Null, -2000);
prepaidAccountDetails prepaid_act_dvc_details_obj
:= prepaid_act_dvc_details_obj (NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL);
STATUS VARCHAR2 (1) := '1';
cust_no VARCHAR (10);
m_mac_id VARCHAR2 (20);
channel_lineup VARCHAR2 (25);
LOB_VALUE VARCHAR2 (25);
subscriber_master_Rec subscriber_master%ROWTYPE := NULL;
Replico_device_info_det_Rec Replico_device_info_det%ROWTYPE := NULL;
flg NUMBER (1);
plan_code VARCHAR2(10);
subs_aact_no NUMBER(20);
m_plan_code1 payment_transaction_history.TH_PLAN_CODE%type;
m_payment_mode1 payment_transaction_history.TH_PAYMENT_MODE%type;
pm_phone_no_cur subscriber_master.pm_phone_no%type;
pm_status_cur subscriber_master.pm_status%type;
pm_user2_cur subscriber_master.pm_user2%type;
pm_user9_cur subscriber_master.pm_user9%type;
pm_cust_no_cur subscriber_master.pm_cust_no%type;
pm_cust_1 subscriber_master.pm_cust_no%type;
cm_i customer_master.cm_status%type;
CURSOR subs_rec is select pm_cust_no, pm_phone_no, pm_status, pm_user2, pm_user9 from subscriber_master
where pm_cust_no = cust_no and pm_status= 'S';
BEGIN
IF ( Source_Sys_Id IS NULL
OR Tracking_Id IS NULL
OR ACCOUNT_NO IS NULL
OR prepaidActDevDetails_tab.LAST = 0)
THEN
RAISE Input_Parameter_Is_Null;
END IF;
BEGIN
SELECT cm_cust_no
INTO cust_no
FROM customer_master
WHERE cm_cust_id = ACCOUNT_NO AND cm_status IN ('A', 'P', '0');
EXCEPTION
WHEN NO_DATA_FOUND
THEN
ERROR_CODE := 'SI001';
log_error ('SI001',
SQLERRM,
'No Customer exist with Active or Pre Actiavted');
INSERT_WS_LOG (Source_Sys_Id,
'F',
Tracking_Id,
Account_No,
prepaidAccountDetails.Mac_Id);
STATUS := '0';
END;
BEGIN
FOR i IN prepaidActDevDetails_tab.FIRST ..
(prepaidActDevDetails_tab.LAST)
LOOP
prepaidAccountDetails := prepaidActDevDetails_tab (i);
prepaidAccountDetails.Status_of_device := '1';
IF ( prepaidAccountDetails.Account_id IS NULL
OR prepaidAccountDetails.Mac_Id IS NULL
OR prepaidAccountDetails.LOB_value IS NULL)
THEN
RAISE Input_Parameter_Is_Null;
END IF;
IF (prepaidAccountDetails.LOB_value = 'VIDEO')
THEN
/* Commented as channel lineup is not coming from the input request */
/*IF(prepaidAccountDetails.Channel_Line_Up is NULL) THEN
Error_code :='SI002';
log_error ('SI002', SQLERRM, 'Channel line up is mandatory for Video');
INSERT_WS_LOG(Source_Sys_Id,'F',Tracking_Id,Account_No,prepaidAccountDetails.Mac_Id);
STATUS:=0;
prepaidAccountDetails.Status_of_device:='0';
END IF;*/
SELECT EC_CHANNEL_LINEUP
INTO channel_lineup
FROM ELIGIBLE_CUSTOMER
WHERE EC_CUSTOMER_NO = cust_no;
END IF;
BEGIN
SELECT 1
INTO flg
FROM subscriber_master
WHERE pm_phone_no = prepaidAccountDetails.Mac_Id
AND pm_status IN ('P', '0', 'A', 'B');
EXCEPTION
WHEN NO_DATA_FOUND
THEN
flg := 0;
END;
IF (flg = 1)
THEN
ERROR_CODE := 'SI003';
log_error ('SI003',
SQLERRM,
'Customer Already Exist with given Mac Id');
INSERT_WS_LOG (Source_Sys_Id,
'F',
Tracking_Id,
Account_No,
prepaidAccountDetails.Mac_Id);
STATUS := 0;
prepaidAccountDetails.Status_of_device := '0';
END IF;
BEGIN
SELECT md_mac_id
INTO m_mac_id
FROM mac_details
WHERE md_mac_id = prepaidAccountDetails.Mac_Id
AND md_start_date <= SYSDATE
AND md_status = 'A';
EXCEPTION
WHEN OTHERS
THEN
ERROR_CODE := 'SI004';
log_error ('SI004', SQLERRM, 'Invalid Mac Id');
INSERT_WS_LOG (Source_Sys_Id,
'F',
Tracking_Id,
Account_No,
prepaidAccountDetails.Mac_Id);
STATUS := 0;
prepaidAccountDetails.Status_of_device := '0';
END;
select pm_cust_no into pm_cust_1 from subscriber_master where pm_cust_no = cust_no;
IF (STATUS = 1 AND prepaidAccountDetails.Status_of_device = '1')
THEN
SELECT DECODE (prepaidAccountDetails.LOB_value,
'HSD', 'HSD',
'VIDEO', 'VDO')
INTO LOB_VALUE
FROM DUAL;
OPEN subs_rec;
LOOP
FETCH subs_rec into pm_cust_no_cur, pm_phone_no_cur, pm_status_cur, pm_user2_cur, pm_user9_cur;
IF subs_rec%FOUND THEN
IF
( pm_cust_1 = pm_cust_no_cur and pm_user2_cur= LOB_VALUE and pm_user9_cur = prepaidAccountDetails.outlet and pm_status_cur = 'S')
THEN
update subscriber_master set pm_phone_no = prepaidAccountDetails.Mac_Id, pm_status = 'P', pm_name = prepaidAccountDetails.Mac_Id
where pm_cust_no = pm_cust_no_cur and pm_user9 = prepaidAccountDetails.outlet;
select cm_status into cm_i from customer_master where cm_cust_no = pm_cust_no_cur;
IF( cm_i = '0')
THEN
update customer_master set cm_status = 'P' where cm_cust_no = pm_cust_no_cur;
END IF;
REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
ELSIF
( pm_cust_1 = pm_cust_no_cur and pm_user2_cur= LOB_VALUE and pm_user9_cur = null and pm_status_cur = 'S')
THEN
update subscriber_master set pm_phone_no = prepaidAccountDetails.Mac_Id, pm_status = 'P', pm_name = prepaidAccountDetails.Mac_Id, pm_user9 = prepaidAccountDetails.outlet
where pm_cust_no = pm_cust_no_cur and pm_user9 = NULL;
update customer_master set cm_status = 'P' where cm_cust_no = pm_cust_no_cur;
REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
END IF;
ELSIF subs_rec%NOTFOUND THEN
SELECT PM_SUBS_ACT_NO_SEQ.NEXTVAL
INTO subs_aact_no
FROM DUAL;
subscriber_master_rec.PM_SUBS_ACT_NO := subs_aact_no;
subscriber_master_Rec.pm_phone_no :=
prepaidAccountDetails.Mac_Id;
subscriber_master_Rec.pm_open_date := SYSDATE;
subscriber_master_rec.pm_status := 'P';
subscriber_master_rec.PM_CUST_LVL_YN := 'S';
subscriber_master_rec.PM_EQUP_CODE := LOB_VALUE;
subscriber_master_rec.PM_HOME_AREA := 'HOM';
subscriber_master_rec.PM_USG_CODE := 'USG';
subscriber_master_rec.PM_NO_TYPE := 'S';
subscriber_master_rec.PM_TCG_CODE := 'DEF';
subscriber_master_rec.PM_APLN_DATE := SYSDATE;
subscriber_master_Rec.PM_NAME := prepaidAccountDetails.Mac_Id;
subscriber_master_Rec.PM_STAFF_id := '16';
subscriber_master_rec.PM_USER2 := LOB_VALUE;
subscriber_master_rec.PM_USER3 := channel_lineup;
subscriber_master_rec.pm_cust_no := cust_no;
subscriber_master_rec.PM_USER8 := 'Y';
INSERT INTO subscriber_master
VALUES subscriber_master_rec;
REPLICO_DEV_INFO( prepaidAccountDetails.Account_id, prepaidAccountDetails.Mac_Id,channel_lineup,
prepaidAccountDetails.LOB_value, prepaidAccountDetails.outlet, prepaidAccountDetails.kit_code,
prepaidAccountDetails.serial_Number, prepaidAccountDetails.shipper,prepaidAccountDetails.estimated_recived_date);
END IF;
END LOOP;
CLOSE subs_rec;
SELECT TH_PLAN_CODE,TH_PAYMENT_MODE
INTO m_plan_code1,m_payment_mode1
FROM PAYMENT_TRANSACTION_HISTORY
WHERE TH_CUSTOMER_NO = cust_no
AND TH_LOB = LOB_VALUE
AND TH_SUBSCRIBER_NO IS NULL;
IF(LOB_VALUE = 'HSD') THEN
IF(m_plan_code1 = 'SIKI') THEN
plan_code := 'SIKI';
ELSE
plan_code := 'KIT';
END IF;
ELSE
IF(m_plan_code1 = 'SIKT') THEN
plan_code := 'SIKT';
ELSE
plan_code := 'TV';
END IF;
END IF;
UPDATE PAYMENT_TRANSACTION_HISTORY SET TH_SUBSCRIBER_NO = subs_aact_no, th_writeback_status = 'Y' WHERE TH_CUSTOMER_NO = cust_no AND TH_PLAN_CODE = plan_code;
COMMIT;
END IF;
END LOOP;
END;
END SUBSCRIBER_INS_SS;
END SUBS_INS_API_SS;
--- type object
create or replace
TYPE prepaid_act_dvc_details_obj--prepaidAccountDeviceDetailsObj
AS OBJECT ( Account_id VARCHAR2 ( 25 )
, Mac_Id VARCHAR2 ( 25 )
, Channel_Line_Up VARCHAR2 ( 25 )
, LOB_value VARCHAR2 ( 25 )
, Status_of_device VARCHAR2 ( 25 )
, outlet VARCHAR2(25)
, kit_code VARCHAR2(25)
, serial_Number VARCHAR2(25)
, shipper VARCHAR2(25)
, estimated_recived_date date )
type---
create or replace
TYPE prepaidActDeviceDetails_tabobj as table of prepaid_act_dvc_details_obj
---- i need to run this package via separate procedure. but i don't know how to pass the variable. because the passing argument contain object tab variable. please help me.. give me suggestion or procedure to run this pkg. -
"iCal got an error: Can't Make id of event of calendar 4 into type referen
Hello everyone. i am completely new to MAC's and very new to scripting. Thanks in advance for any help.
I am tying to run an Apple Script that is called Scheduled Delivery.
I'm running 10.4.10 and have the most recent version of the script.
Basically what happens is I type up and email, add in the email address and save it to my drafts folder. The Scheduled Deliver script, when run, finds all the emails in my drafts folder and uses iCal to schedule a time to mail them (which is a specific time I enter)
Here is my process I go through-
I run the apple script by double clicking on the Scheduled deliver Icon, which was in my appications/MailScript folder. It brings up a new window with all my saved drafts. I select the draft I want to schedule a specific time to deliver. This is great.
When I click on the lower right button "Update Schedule" I get an error message...
"iCal got an error: Can't Make id of event of calendar 4 into type reference. (-1700)"
I cannot figure this out. I've tried testing it anyway. I can close the Scheduled Deliver window but the "Done" button is always grey out. It seems to place an event in iCal but no message ever gets sent.
Any help is greatly appreciated.
ThanksAnyone? Any help is greatly appreciated.
-
HELP! Was working perfectly now it is giving me this error and doesn't seem to be going past the printing option. Code is below.
main.scpt
set posixIdPath to "/Applications/Adobe InDesign CC/Adobe InDesign CC.app"
do shell script "/Users/cdapice/Desktop/cryptoquip/getquip.sh"
delay 8
tell application posixIdPath
activate
end tell
delay 8
set scripttoRun to ":Users:cdapice:Desktop:cryptoquip:Script.jsx" as alias
tell application "Adobe InDesign CC"
do script scripttoRun language javascript
end tell
delay 5
Adobe InDesign CC got an error: The property is not applicable in the current state." number 30615
Script.jsx
var myDocument = app.open(File("/Users/cdapice/Desktop/cryptoquip/NewCryptoquip.indt"), true);
//var myDocument = app.activeDocument;
var myPage = myDocument.pages.item(0);
var myTextFrame = myPage.textFrames.add();
//Place a text file in the text frame.
//Parameters for TextFrame.place():
//File as File object,
//[ShowingOptions as Boolean = False]
//You'll have to fill in your own file path.
myTextFrame.place(File("/Users/cdapice/Desktop/cryptoquip/quips.txt"));
//var myTextFrame = app.selection[0];
myTextFrame.parentStory.pointSize = 10;
var brkStory = myTextFrame.parentStory.contents;
var myPIs = myDocument.pageItems;
var destTextFrame = myPIs[6];
destTextFrame.parentStory.contents = brkStory;
firstChange();
myTextFrame.remove();
app.select(destTextFrame);
splitStory();
for (i = 0; i < myPIs.length; i++) {
if (myPIs[i].appliedObjectStyle.name == "puzzleBox") {
var newBoxStyle = myPIs[i].appliedObjectStyle;
secondChange(myPIs[i]);
myPIs[i].applyObjectStyle(newBoxStyle,true);
if(myPIs[i].appliedObjectStyle.name == "otherBox"){
var newBoxStyle = myPIs[i].appliedObjectStyle;
myPIs[i].applyObjectStyle(newBoxStyle,true);
Date.prototype.getMonthFormatted = function() {
var month = this.getMonth() + 1;
var formMonth = month < 10 ? '0' + month : month; // ('' + month) for string result
return formMonth.toString();
Date.prototype.getDayFormatted = function() {
var day = this.getDate();
var formDay = day < 10 ? '0' + day : day; // ('' + day) for string result
return formDay.toString();
var newdate = new Date();
var laterdate = new Date();
var dayofweek = newdate.getDay();
var offsetdays = 0;
switch(dayofweek) {
case 2:
offsetdays = 6;
break;
case 3:
offsetdays = 5;
break;
case 4:
offsetdays = 4;
break;
case 5:
offsetdays = 3;
break;
app.epsExportPreferences.appliedFlattenerPreset.convertAllStrokesToOutlines = true;
app.epsExportPreferences.appliedFlattenerPreset.convertAllTextToOutlines = true;
app.epsExportPreferences.appliedFlattenerPreset.rasterVectorBalance = 100;
//app.activeDocument.exportFile(ExportFormat.epsType, newFile, false);
for (i = 1; i < 7; i++) {
var curPage = i + "";
var x = i + (offsetdays - 1);
laterdate.setMonth(newdate.getMonth());
laterdate.setDate(newdate.getDate());
//alert(newdate);
//alert(x);
//alert(laterdate);
laterdate.setDate(newdate.getDate() + x);
//alert(laterdate);
var nameDate = laterdate.getMonthFormatted() + laterdate.getDayFormatted() + ".eps"
//alert(nameDate);
app.epsExportPreferences.pageRange = curPage;
var curFile = new File("/Users/cdapice/Desktop/cryptoquip/" + nameDate);
app.activeDocument.exportFile(ExportFormat.epsType, curFile, false);
var endDate = laterdate.getMonthFormatted() + laterdate.getDayFormatted();
var firstDate = new Date();
firstDate.setDate(newdate.getDate() + offsetdays);
var startDate = firstDate.getMonthFormatted() + firstDate.getDayFormatted();
var idFile = "cryptoquip_" + startDate + "_" + endDate + ".indd";
app.activeDocument.save(new File("/Users/cdapice/Desktop/cryptoquip/" + idFile));
with (app.activeDocument.printPreferences){
printer = "Advertising - Creative - Color Xerox";
copies = 1;
pageRange = "1-6";
paperSize = "US Letter";
paperHeight = "11 in";
paperWidth = "8.5 in";
printPageOrientation = PrintPageOrientation.landscape;
pagePosition = PagePositions.centered;
scaleHeight = 100;
scaleWidth = 100;
scaleMode = ScaleModes.scaleWidthHeight;
scaleProportional = true;
pageInformationMarks = true;
colorOutput = ColorOutputModes.COMPOSITE_CMYK;
app.activeDocument.print(false);
for(myCounter = app.documents.length; myCounter > 0; myCounter--){
app.documents.item(myCounter-1).close(SaveOptions.no);
function firstChange() {
app.findTextPreferences = NothingEnum.NOTHING;
app.changeTextPreferences = NothingEnum.NOTHING;
app.findChangeTextOptions.caseSensitive = false;
app.findTextPreferences.findWhat = "^t";
app.changeTextPreferences.changeTo = "";
myDocument.changeText();
app.findTextPreferences = NothingEnum.NOTHING;
app.changeTextPreferences = NothingEnum.NOTHING;
app.findTextPreferences.findWhat = "^p^p";
app.changeTextPreferences.changeTo = "^p";
myDocument.changeText();
app.findTextPreferences = NothingEnum.NOTHING;
app.changeTextPreferences = NothingEnum.NOTHING;
app.findTextPreferences.findWhat = "^p";
app.changeTextPreferences.changeTo = "^R";
myDocument.changeText();
app.findTextPreferences = NothingEnum.NOTHING;
app.changeTextPreferences = NothingEnum.NOTHING;
function secondChange(curFrame) {
app.findTextPreferences = NothingEnum.NOTHING;
app.changeTextPreferences = NothingEnum.NOTHING;
app.findChangeTextOptions.caseSensitive = false;
app.findTextPreferences.findWhat = " ";
app.changeTextPreferences.changeTo = "|";
curFrame.changeText();
app.findTextPreferences = NothingEnum.NOTHING;
app.changeTextPreferences = NothingEnum.NOTHING;
app.findTextPreferences.findWhat = " ";
app.changeTextPreferences.changeTo = "";
curFrame.changeText();
app.findTextPreferences = NothingEnum.NOTHING;
app.changeTextPreferences = NothingEnum.NOTHING;
app.findTextPreferences.findWhat = "|";
app.changeTextPreferences.changeTo = " ";
curFrame.changeText();
app.findTextPreferences = NothingEnum.NOTHING;
app.changeTextPreferences = NothingEnum.NOTHING;
function splitStory(){
//Make certain that user interaction (display of dialogs, etc.) is turned on.
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
if(app.documents.length != 0){
if(app.selection.length != 0){
//Get the first item in the selection.
var mySelection = app.selection[0];
//Process the selection. If text or a text frame is
//selected, do something; otherwise, do nothing.
switch(mySelection.constructor.name){
case "Text":
case "InsertionPoint":
case "Character":
case "Word":
case "Line":
case "TextStyleRange":
case "Paragraph":
case "TextColumn":
case "TextFrame":
//If the text frame is the only text frame in the story, do nothing.
if(mySelection.parentStory.textContainers.length > 1){
//Splitting the story is a two-step process: first, duplicate
//the text frames, second, delete the original text frames.
mySplitStory(mySelection.parentStory);
myRemoveFrames(mySelection.parentStory);
else{
alert("Please select a story containing more than one text frame and try again.");
break;
default:
alert("Please select some text or a text frame and try again.");
else{
alert("Please select some text or a text frame and try again.");
else{
alert("Please open a document and try again.");
function mySplitStory(myStory){
var myTextFrame;
//Duplicate each text frame in the story.
for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
myTextFrame = myStory.textContainers[myCounter];
myTextFrame.duplicate();
function myRemoveFrames(myStory){
//Remove each text frame in the story. Iterate backwards to avoid invalid references.
for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
myStory.textContainers[myCounter].remove();Hotfixes are special, out-of-band patches created to fix specific problems, so they are never published to Windows Update. Often the hotfix gets incorporated into a released patch that is published on Windows Update. If this hotfix was incorporated
into a released patch, and you applied that patch to your system, the hotfix would see that its files are older than the latest files on the system and would give you this message. Because the hotfix is not for general distribution, there is rarely documentation
saying that it has been superceded.
Generally there is a file list with a hotfix/patch that gives you the version number of the affected files. You can go through those files to see that you have the latest files. The problem is finding the actual patch that updated those files.
Without going through lots of patches, it is hard to find which patch made the hotfix obsolete.
.:|:.:|:. tim -
While Refresh the report in webi i got database error.
Hi All,
I try to refresh the report in CMC i got database error . Can any one please help me how to resolve this.
Regards,
ArjunHi Mallikarujun,
Try selecting the values using show values for particular column in Universe.
If that is fine and you are using SQL Server then the query is returning more that 2147483647 which is the limit for the return count by SQL Server (4 Bytes).
There may be issue in join condition, if not try applying filter in query -
Got one error while activating data in dso
Hi,
I am loading some data to SAP given dso 0figl_o02. while doing so i got one error with following description
Error short text : "Value "CONVERSION REVERSAL " from characteristic 0DOC_HD_TXT contains an error at position 20"
Long text : "Characters that have a hexadecimal format between HEX00 and HEX1F are not permitted in characteristic values. The 20th character is one of these characters. The value is therefore not permitted.
I dont know how to find out exactly which record has this wrong data. I checket in PSA for this record with error its not showing any of such records.
Please suggest some soluion
ThanxHi Sudeep,
First you need to get the values from characteristic 0DOC_HD_TXT that contains an error.
Therefore, go to the ODS/DSO contents tab through RSA1(manage) and select the first option LOGS and then you will be able to select log for Activation and then execute it.
You will no get several requests, select your relevant request which will be in red and then select Application Log at the botton of the screen, then you will be displayed with another screen there you check the date of activation is correct or not becoz by default today's date will be there.
Then you will get the log for it --> double click on the problem class which is in red for it and you will get the value for the 0DOC_HD_TXT where it has special char.
Then go to PSA select all data packets and number of records (give full number of the records transfered) and then enter. It might take sometime if you have huge data. Once you get the records then filter on the 0DOC_HD_TXT column and then give the value you copied from the log.
Then you can edit the special char (remove) or if you want that to be displayed then paste the same spl. char in RSKC and execute.
Activate it again.
Hope it helps...
Best Regards,
MK -
I got An Error While Executing the Program below
code
import java.sql.*;
import javax.sql.*;
class JdbcJsp5
public static void main(String args[])throws Exception
Connection con=null;
PreparedStatement pstselect=null;
ResultSet rs=null;
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
con=DriverManager.getConnection("jdbc:odbc:crypt","scott","tiger");
String selectQuery="select message from inbox where userid=?";
pstselect=con.prepareStatement(selectQuery,ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
//Run time Error here
catch(Exception e)
System.out.println("The Error while Connecting.."+e);
e.printStackTrace();
try
pstselect.setString(1,"krishnarao");
rs=pstselect.executeQuery();
while(rs.next())
Blob binobj=rs.getBlob(1);
catch(Exception e)
System.out.println("Error while Retriving \t"+e+"\n"+e);
e.printStackTrace();
finally
System.out.println("\nIN FINALLY BLOCK CLOSING.........\n");
con.close();
pstselect.close();
i got an error like datasorce not found at prepared Statement.
Edited by: Chintu on Feb 1, 2010 1:29 PM
This is the stack trace
The Error while Connecting..java.sql.SQLException: General error
java.sql.SQLException: General error
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLPrepare(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcConnection.prepareStatement(Unknown Source)
at JdbcJsp5.main(Jdbcjsp5.java:17)
Error while Retriving java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
at JdbcJsp5.main(Jdbcjsp5.java:27)
IN FINALLY BLOCK CLOSING.........Hi,
It seems that the line raising the exception is:
pstselect=con.prepareStatement(selectQuery,ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
I don't know the odbc bridge so I'm just guessing, but you cant try with:
pstselect=con.prepareStatement(selectQuery);
and see what happens.
I recommend you to use the thin driver, with a single jar you can connect to Oracle without having to configure anything on your machine, just supply a database url, a username and a password.
ciao,
Giovanni
P.S. the code you posted is prone to NullPointerException, if you got an exception you catch it in the the first cathc block, bat after printing the stack trace you are going on even if the variables are null. -
After getting the dreaded gray/blue screen, I tried to run disk repair on the internal disk. I got an error message saying "Disk Utility can't repair this disk and restore your backed-up files. The volume Macintosh HD could not be verified completely." What do I do now? This is an iMac and I'm running 10.6.8.
Clean Install of Snow Leopard
Be sure to make a backup first because the following procedure will erase
the drive and everything on it. See below for how to clone a drive.
1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
with your computer. Insert the disc into the optical drive and restart the computer.
After the chime press and hold down the "C" key. Release the key when you see
a small spinning gear appear below the dark gray Apple logo.
2. After the installer loads select your language and click on the Continue
button. When the menu bar appears select Disk Utility from the Utilities menu.
After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
size.) Click on the Partition tab in the DU main window. Set the number of
partitions to one (1) from the Partitions drop down menu, click on Options button
and select GUID, click on OK, then set the format type to MacOS Extended
(Journaled, if supported), then click on the Apply button.
3. When the formatting has completed quit DU and return to the installer. Proceed
with the OS X installation and follow the directions included with the installer.
4. When the installation has completed your computer will Restart into the Setup
Assistant. Be sure you configure your initial admin account with the exact same
username and password that you used on your old drive. After you finish Setup
Assistant will complete the installation after which you will be running a fresh
install of OS X. You can now begin the update process by opening Software
Update and installing all recommended updates to bring your installation current.
Download and install Mac OS X 10.6.8 Update Combo v1.1.
You may be able to backup your data if you have an erased external drive you can use. Before you do the above but after you have opened Disk Utility you can try to clone your drive:
Clone using Restore Option of Disk Utility
1. Open Disk Utility.
2. Select the destination volume from the left side list.
3. Click on the Restore tab in the DU main window.
4. Select the destination volume from the left side list and drag
it to the Destination entry field.
5. Select the source volume from the left side list and drag it to
the Source entry field.
6. Double-check you got it right, then click on the Restore button.
Destination means the external backup drive. Source means the internal startup drive.
Now this will only work if the drive is accessible and can be cloned by Disk Utility. Otherwise, you would need to access your drive from another Mac that you can connect via Firewire - Target Disk Mode. -
I am using Acrobat XI Pro and tried to install the current update. I got this error message: "Error 1328.Error applying patch to file C:\Config.Msi\pT64b3.tmp It has probably been updated by other means1 and can no longer be modified by this patch. For more information contact your patch vendor." tried uninstalling and reinstalling and still get the error. Searched for C:\Config.Msi\pT64b3.tmp and cannot find the path or the file
For AA XI, you only need the 11.0.09 patch. Download from http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows (Use "MAC" if a MAC is used).
-
By the today e-received updates for Adobe Photoshop Elemenst 12.1 and Adobe Premiere Elements 12.1 I got this error messages: Failure code = U44M1P2003. What to do? System = Window7 64bit.
Sometimes the Adobe servers used for the updates can get busy and it’s necessary to try a couple of times. Also make sure you don’t have a firewall which may be blocking the connection. It sometimes helps to temporarily disable internet security/anti-virus software. Because the Organizer is shared by both programs it often helps to do the PSE update first, followed by the PRE update in that order.
Select the 12.1 update for PSE from the updater dialog and ensure everything else is unchecked. Quit PSE and PRE if you have it running and then start the update.
If PSE updates properly to 12.1 repeat the process for PRE. -
I tried to update my IPhone 4 last night thru ITunes and got and error when almose done 9006. It says in the nes that you have to do it thru wifi but do not have wifi and so I synced it with my computer and said I have the new update down now and selected yes and it startedto do it then stopped 3 times with error 9006? Do I have to restore the phone to do this new up date? Here is the link I saw on yahoo. Upgrade to IOS 7.1
http://news.yahoo.com/ios-7-1-upgrade-iphone-210049155.htmlConfigure your security software
Check your security software and settings, which can block ports and prevent connection to Apple servers during update and restore.
Common errors: 2, 4, 6, 9, 1000, 1611, 9006, 9807, 9844. Sometimes as a result of this issue, a device might stop responding during the restore process.
Resolve specific iTunes update and restore errors - Support - Apple -
I installed Oracle Gateway for MSSQL version 11.2.0.3.0 to a separate Oracle Home (platform is IBM AIX 6.1 64-bit). After setting up listener, init.ora file etc., I created database link and tried few queries (database version 11.2.0.2.0 with patches 12827726, 12827731 applied). All queries result in error message:
SQL> select count(*) from s4user@imosprodnew;
select count(*) from s4user@imosprodnew
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Legacy Driver]20450 {20450}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed language setting to us_english.
{01000,NativeErr = 5703}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed database context to 'imosprod'. {01000,NativeErr = 5701}
[Oracle][ODBC SQL Server Legacy Driver][SQL Server]The number '042100421004210042110421104211042190421904219' is out of the range for numeric
representation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Incorrect syntax near
'042100421004210042110421104211042190421904219'. {10103,NativeErr = 102}
ORA-02063: preceding 3 lines from IMOSPRODNEW
Trace file shows:
Heterogeneous Agent Release
11.2.0.3.0
ODBCINST set to "/app/oragw/product/11.2.0.3/dg4msql/driver/dg4msql.loc"
RC=-1 from HOSGIP for "LIBPATH"
LIBPATH from environment is "/app/oragw/product/11.2.0.3/dg4msql/driver/lib:/app/oragw/product/11.2.0.3/lib"
Setting LIBPATH to "/app/oragw/product/11.2.0.3/dg4msql/driver/lib:/app/oragw/product/11.2.0.3/dg4msql/driver/lib:/app/oragw/product/11.2.0.3/lib"
HOSGIP for "HS_FDS_SHAREABLE_NAME" returned "/app/oragw/product/11.2.0.3/dg4msql/driver/lib/odbc.so"
treat_SQLLEN_as_compiled = 1
uencoding=UTF8
##>Connect Parameters (len=226)<##
## DRIVER=Oracle 11g dg4msql;
## Address=10.1.0.20\IMOS;
## Database=imosprod;
#! UID=IMOS;
#! PWD=*
## AnsiNPW=Yes;
## EnableQuotedIdentifiers=1;
## IANAAppCodePage=2252;
## OctetSizeCalculation=1;
## PadVarbinary=0;
## SupportNumericPrecisionGreaterThan38=1;
Exiting hgogenconstr, rc=0 at 2013/06/06-14:54:21
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 0 and sqlstate 20450; message follows...
[Oracle][ODBC SQL Server Legacy Driver]20450 {20450}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed language setting to us_english. {01000
,NativeErr = 5703}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Changed database context to 'imosprod'. {01000,NativeErr = 5701}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgocont, line 2688: calling SqlDriverConnect got sqlstate 20450
DriverName:HGmsss23.so, DriverVer:06.11.0052 (b0047, U0046)
DBMS Name:Microsoft SQL Server, DBMS Version:10.00.4000
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 1007 and sqlstate 22003; message follows...
[Oracle][ODBC SQL Server Legacy Driver][SQL Server]The number '042100421004210042110421104211042190421904219' is out of the range for numeric represe
ntation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC SQL Server Legacy Driver][SQL Server]Incorrect syntax near '0421004210042100421
10421104211042190421904219'. {10103,NativeErr = 102}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgoulcp, line 1932: calling SQLGetTypeInfo got sqlstate 22003
Exiting hgoulcp, rc=28500 at 2013/06/06-14:54:21 with error ptr FILE:hgoulcp.c LINE:1932 ID:SQLGetTypeInfo: LONGVARCHAR
hostmstr: 349326: RPC After Upload Caps
hostmstr: 349326: RPC Before Exit Agent
hostmstr: 349326: HOA Before hoalgof
Entered hgolgof at 2013/06/06-14:54:21
tflag:0
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 0 and sqlstate 20131; message follows...
[Oracle][ODBC SQL Server Legacy Driver]20131 {20131}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgolgof, line 180: calling SQLDisconnect got sqlstate 20131
Exiting hgolgof, rc=28500 at 2013/06/06-14:54:21 with error ptr FILE:hgolgof.c LINE:180 ID:Disconnect
hostmstr: 349326: HOA After hoalgof
hostmstr: 349326: HOA Before hoaexit
Entered hgoexit at 2013/06/06-14:54:21
Entered hgopoer at 2013/06/06-14:54:21
hgopoer, line 231: got native error 0 and sqlstate HY010; message follows...
[DataDirect][ODBC lib] Function sequence error {HY010}
Exiting hgopoer, rc=0 at 2013/06/06-14:54:21
hgoexit, line 126: calling SQLFreeHandle got sqlstate HY010
Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:126 ID:Free ENV handle
hostmstr: 349326: HOA After hoaexit
hostmstr: 349326: RPC After Exit Agent
Could this be some sort of incompatibility between DG4MSQL version 11.2.0.3.0 and RDBMS version 11.2.0.2.0?
I did not find anything relevant by searching, really (apart from one thread suggesting that this could be caused by misconfigured Linux OS, but my platform is AIX)I created test table and inserted data (using FreeTDS tsql tool):
locale is "en_US.UTF-8"
locale charset is "UTF-8"
1> use imosprod
2> go
1> create table TEST_MSSQL (PKEY integer, DATA varchar(20))
2> go
1> insert into TEST_MSSQL values (1000,'Data for key 1000')
2> go
1> insert into TEST_MSSQL values (2000,'Data for key 2000')
2> go
1> select * from TEST_MSSQL
2> go
PKEY DATA
1000 Data for key 1000
2000 Data for key 2000
(2 rows affected)
Then, I queried test table with:
1) DG4ODBC 11.2.0.2 + IBM-branded DataDirect ODBC driver,
2) DG4MSQL 11.2.0.2 and
3) DG4MSQL 11.2.0.3
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Partitioning and Automatic Storage Management options
SQL> select * from test_mssql@imos;
PKEY DATA
========== ====================
1000 Data for key 1000
2000 Data for key 2000
SQL> select * from test_mssql@imosprod;
PKEY DATA
========== ====================
1000 Data for key 1000
2000 Data for key 2000
SQL> select * from test_mssql@imosprodnew;
select * from test_mssql@imosprodnew
ERROR at line 1:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Oracle][ODBC SQL Server Legacy Driver]20450 {20450}[Oracle][ODBC SQL Server
Legacy Driver][SQL Server]Changed language setting to us_english.
{01000,NativeErr = 5703}[Oracle][ODBC SQL Server Legacy Driver][SQL
Server]Changed database context to 'imosprod'. {01000,NativeErr = 5701}
[Oracle][ODBC SQL Server Legacy Driver][SQL Server]The number
'042100421004210042110421104211042190421904219' is out of the range for numeric
representation (maximum precision 38). {22003,NativeErr = 1007}[Oracle][ODBC
SQL Server Legacy Driver][SQL Server]Incorrect syntax near
'042100421004210042110421104211042190421904219'. {10103,NativeErr = 102}
ORA-02063: preceding 3 lines from IMOSPRODNEW
Seems to be a change in internal logic of DG4MSQL in version 11.2.0.3 to me. -
Installed the new version itunes 10.3 and I got an error at the opening !
I just installed the new 10.3 something of itunes and I got the error message "The iTunes Library.itl file is locked. It's located on a locked HD or you don't have sufficient priviledge to write for that file".
I then click on the OK button. Now Itunes asks me to select a library or create a new one !? I try select my library located on Network HD (as always since years now) and I got the same error message again.
Would it be possible ITunes locked my library because I canceled a sync right in the middle of it ? Is there anyway to unlock that thing ? Without losing any songs or apps ?
Many thanks !
NicolasYou should update to the latest Firefox 3.6.x version:
*http://www.mozilla.com/firefox/all.html
*http://www.mozilla.com/firefox/all-older.html
See:
*http://kb.mozillazine.org/Unable_to_install_themes_or_extensions_-_Firefox -
Select Vendor Email Address when creating PO
Hi Guys;
When I create PO for send by email, the system get Email Address from Vendor. But some vendors got two or more email address. For example;
001 [email protected] Standard
002 [email protected]
003 [email protected]
In the PO Header data I select email address 002, and SAVE PO. The system send PO to the email address 001, but the PO Header got email address 002.
How I send the PO with the email address selected?
Regards,
HectorBoss
The smart form program will call the concern function ..First check the code in the smartform
*Select Email-id from ADR6 table
Select single smtp_addr from ADR6 into lv_smtp_addr where
ADDRNUMBER = lv_adrnr.
As Per SAP OSS Notes ---
When using external mail, the following basic settings are required:191470
1. You must maintain an e-mail address in the address in the vendor master.
2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on).
You can only make a permanent change using the vendor master transactions XK02 or MK02.
You can use a temporary email address in Transaction ME21N.
Address the table in the smartform where you get the temporary email address in Transaction ME21N .
Hope it will help you and solve your problem
Thanks
Jeevan -
GR to be done against only Inbound delivery for selected vendors
GR to be done against only Inbound delivery for selected vendors. If the user putsthe combination " Goods Receipt+ Purchase Order+ Purchase Order Number " in MIGO , the error should be displayed as "Create MIGO with Ref to ASN"
At the time of MIGO, when user put the combination of Goods Receipt+ Purchase Order and purchase order number, BADI will activate.
BADI will search the vendor code from the entered purchase order in the Z table in which user maintain the vendor codes.
If BADI finds the vendor code in the Z table then, will give error as u201CPlease create inbound delivery firstu201D.
If BADI does not find the vendor code in Z table then it will inactive.
In short we are restricting the selected vendor for MIGO with reference to PO.Hi,
If u had used confirmation control key (0001) - In Item details of PO, as per standard SAP u cannot proceed for GR without inbound delivery. Otherwise use MB_MIGO_BADI. Thanking you
Maybe you are looking for
-
I have an Ipad 2 and have about 20 apps that will not update, How can I delete these?
I have some apps that will not update on my IPad 2. They say they are installing, but Installing is grey..not black, and they have been like this for several weeks. I cannot find out how to finish the updates or delete them. Can someone suggest a
-
iTunes will not start on my PC. I get a runtime error from the Visual C++ runtime library when iTunesHelper.exe is started. The message states the application attempted to load the library incorrectly. How is the problem to be resolved?
-
Image colors get massacred by iWeb when I publish the site
Hi! Perhaps someone can help? I build my pages from within iWeb and the images look fine. Then I publish my site in a local folder and look at it using Safari. The images in Safari are clearly much darker than in iWeb using the same machine with the
-
HT3702 i want to pay for the order MHKBWK07Y7
i want to pay for the order MHKBWK07Y7 with a new prepay card
-
My apps won't load after updating to iOS4.3.2. What to do?
My apps won't load after updating to iOS4.3.2. What to do?