Validation of SC/PO
Hi all,
I am doing FI validation in SRM 4.0.Actually i am getting error based on the GL account and company code at line item which are based on the costcenter or internal order or WBS using...for this i am using FM BAPI_ACC_GL_POSTING_CHECK(RFC enabled) from R3 to SRM.the error message i am getting i was populating while creating SC/PO in the DOC_CHECK_BADI ..One strange thing is for testing i have commented the code in DOC_CHECK_BADI still i am getting the error based on GL account and company code ..firstly i thought i might be some other error but this is the same error i am getting from the BAPI_ACC_GL_POSTING_CHECK..
I want to know is there any standard functionality that the error is coming from the backend or it is the code that i have written
Thank you
<b>BADI CODE IN DOC_CHECK_BADI FOR POS</b>
For direct PO's, R/3 validation. Get PO details
Data: WA_HEADER TYPE BBP_PDS_PO_HEADER_D,
LT_ITEMDATA TYPE TABLE OF BBP_PDS_PO_ITEM_D,
WA_ITEMDATA LIKE LINE OF LT_ITEMDATA,
LT_ACC TYPE TABLE OF BBP_PDS_ACC,
WA_ACC LIKE LINE OF LT_ACC,
lt_bapiache08 type zbapiache08,
lt_bapiacgl08 type table of ZBAPIACGL08,
wa_bapiacgl08 type ZBAPIACGL08,
lt_bapiaccr08 type table of ZBAPIACCR08,
wa_bapiaccr08 type ZBAPIACCR08,
lt_return type table of BAPIRET2,
wa_return type BAPIRET2,
wa_messages type BBP_SMESSAGES_BADI,
lv_docdate(8),
lv_pstngdate(8),
lv_counter type i,
lv_value(15),
lv_amount(16),
lv_len type i,
LV_SYSID(9).
UPDK900880
DATA : LV_PROFIT_CTR(4).
UPDK900880
get purchase order details
IF SY-UCOMM = 'SAVE' AND SY-TCODE = 'BBP_POC'.
*IF SY-UCOMM = 'CHEC' AND SY-TCODE = 'BBP_POC'.
CALL FUNCTION 'BBP_PD_PO_GETDETAIL'
EXPORTING
I_GUID = IV_DOC_GUID
I_OBJECT_ID =
I_WITH_ITEMDATA = 'X'
IMPORTING
E_HEADER = WA_HEADER
TABLES
E_ITEM = LT_ITEMDATA
E_ACCOUNT = LT_ACC
UPDK900880
LOOP AT LT_ACC INTO WA_ACC.
MOVE WA_ACC-PROFIT_CTR+0(4) TO LV_PROFIT_CTR.
ENDLOOP.
UPDK900880
Concatenate document date and posting date, default system date
concatenate sy-datum0(4) sy-datum4(2) sy-datum+6(2) into lv_docdate.
concatenate sy-datum0(4) sy-datum4(2) sy-datum+6(2) into lv_pstngdate.
build structure bapiache08 of RFC BAPI_ACC_GL_POSTING_CHECK
UPDK900880
move: LV_PROFIT_CTR TO lt_bapiache08-comp_code,
wa_header-co_code to lt_bapiache08-comp_code,
UPDK900880
'BTUSER' to lt_bapiache08-username,
sy-datum+0(4) to lt_bapiache08-fisc_year,
lv_docdate to lt_bapiache08-doc_date,
lv_pstngdate to lt_bapiache08-pstng_date,
'SA' to lt_bapiache08-doc_type.
build structure bapiacgl08 of RFC BAPI_ACC_GL_POSTING_CHECK
loop at lt_acc into wa_acc.
lv_counter = lv_counter + 1.
move: lv_counter to wa_bapiacgl08-itemno_acc,
wa_acc-g_l_acct to wa_bapiacgl08-gl_account,
UPDK900880
wa_header-co_code to wa_bapiacgl08-comp_code,
LV_PROFIT_CTR TO wa_bapiacgl08-comp_code,
UPDK900880
lv_pstngdate to wa_bapiacgl08-pstng_date,
'SA' to wa_bapiacgl08-doc_type,
sy-datum+0(4) to wa_bapiacgl08-fisc_year.
if wa_acc-cost_ctr is not initial.
move wa_acc-cost_ctr to wa_bapiacgl08-costcenter.
elseif wa_acc-wbs_elem_e is not initial.
move wa_acc-wbs_elem_e to wa_bapiacgl08-wbs_element.
elseif wa_acc-order_no is not initial.
move wa_acc-order_no to wa_bapiacgl08-orderid.
endif.
append wa_bapiacgl08 to lt_bapiacgl08.
clear wa_bapiacgl08.
lv_counter = lv_counter + 1.
move: lv_counter to wa_bapiacgl08-itemno_acc,
UPDK900880
wa_header-co_code to wa_bapiacgl08-comp_code,
LV_PROFIT_CTR TO wa_bapiacgl08-comp_code,
UPDK900880
'0014109889' to wa_bapiacgl08-gl_account,
lv_pstngdate to wa_bapiacgl08-pstng_date,
'SA' to wa_bapiacgl08-doc_type,
sy-datum+0(4) to wa_bapiacgl08-fisc_year.
append wa_bapiacgl08 to lt_bapiacgl08.
clear wa_bapiacgl08.
endloop.
clear lv_counter.
build structure bapiaccr08 of RFC BAPI_ACC_GL_POSTING_CHECK
loop at lt_itemdata into wa_itemdata.
lv_counter = lv_counter + 1.
move: lv_counter to wa_bapiaccr08-itemno_acc,
wa_itemdata-value to wa_bapiaccr08-amt_doccur,
'USD' to wa_bapiaccr08-currency.
append wa_bapiaccr08 to lt_bapiaccr08.
clear wa_bapiaccr08.
lv_counter = lv_counter + 1.
move wa_itemdata-value to lv_value.
concatenate lv_value '-' into lv_amount.
move: lv_counter to wa_bapiaccr08-itemno_acc,
lv_amount to wa_bapiaccr08-amt_doccur,
'USD' to wa_bapiaccr08-currency.
append wa_bapiaccr08 to lt_bapiaccr08.
clear wa_bapiaccr08.
endloop.
clear lv_counter.
Check the SRM system
IF SY-SYSID = 'UPD'. "3
LV_SYSID = 'UHD_111'.
CONDENSE LV_SYSID NO-GAPS.
ELSEIF SY-SYSID = 'UPX'. "3
LV_SYSID = 'SAPUHD111'.
CONDENSE LV_SYSID NO-GAPS.
ELSEIF SY-SYSID = 'UPQ'. "3
LV_SYSID = 'SAPUHQ100'.
CONDENSE LV_SYSID NO-GAPS.
ELSEIF SY-SYSID = 'UPP'. "3
LV_SYSID = 'SAPUHP100'.
CONDENSE LV_SYSID NO-GAPS.
ENDIF.
RFC call
Call Function 'BAPI_ACC_GL_POSTING_CHECK' destination LV_SYSID
Exporting
DOCUMENTHEADER = lt_bapiache08
Tables
ACCOUNTGL = lt_bapiacgl08
CURRENCYAMOUNT = lt_bapiaccr08
RETURN = lt_return.
Loop at lt_return into wa_return.
lv_len = strlen( wa_return-message ).
if lv_len le 49.
move: wa_return to wa_messages-msgty,
'BBP_PD' to wa_messages-msgid,
'047' to wa_messages-msgno,
wa_return-message to wa_messages-msgv1.
append wa_messages to et_messages.
elseif lv_len gt 50 and lv_len le 99.
move: wa_return to wa_messages-msgty,
'BBP_PD' to wa_messages-msgid,
'047' to wa_messages-msgno,
wa_return-message+0(49) to wa_messages-msgv1,
wa_return-message+50(49) to wa_messages-msgv2.
append wa_messages to et_messages.
elseif lv_len ge 100 and lv_len le 149.
move: wa_return to wa_messages-msgty,
'BBP_PD' to wa_messages-msgid,
'047' to wa_messages-msgno,
wa_return-message+0(49) to wa_messages-msgv1,
wa_return-message+50(49) to wa_messages-msgv2,
wa_return-message+100(49) to wa_messages-msgv3.
append wa_messages to et_messages.
elseif lv_len ge 150 and lv_len le 199.
move: wa_return to wa_messages-msgty,
'BBP_PD' to wa_messages-msgid,
'047' to wa_messages-msgno,
wa_return-message+0(49) to wa_messages-msgv1,
wa_return-message+50(49) to wa_messages-msgv2,
wa_return-message+100(49) to wa_messages-msgv3,
wa_return-message+150(49) to wa_messages-msgv4.
append wa_messages to et_messages.
endif.
clear: wa_messages, wa_return.
endloop.
endif.
<b>BADI CODE FOR DOC_CHECK_BADI FOR SCs</b>
*---Declaration
Data: WA_HEADER TYPE BBP_PDS_SC_HEADER_D,
LT_ITEMDATA TYPE TABLE OF BBP_PDS_SC_ITEM_D,
WA_ITEMDATA LIKE LINE OF LT_ITEMDATA,
LT_ACC TYPE TABLE OF BBP_PDS_ACC,
WA_ACC LIKE LINE OF LT_ACC,
lt_bapiache08 type zbapiache08,
lt_bapiacgl08 type table of ZBAPIACGL08,
wa_bapiacgl08 type ZBAPIACGL08,
lt_bapiaccr08 type table of ZBAPIACCR08,
wa_bapiaccr08 type ZBAPIACCR08,
lt_return type table of BAPIRET2,
wa_return type BAPIRET2,
wa_messages type BBP_SMESSAGES_BADI,
lv_docdate(8),
lv_pstngdate(8),
lv_counter type i,
lv_value(15),
lv_amount(16),
lv_len type i,
LV_SYSID(9).
*------Changes for Line item company code
DATA : LV_PROFIT_CTR(4).
Get SC Details
IF ( SY-UCOMM = 'SC_CHECK' AND SY-TCODE = 'BBPSC03' ) OR ( SY-UCOMM = 'SC_ORDER' AND SY-TCODE = 'BBPSC03' ).
CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
EXPORTING
I_GUID = IV_DOC_GUID
I_OBJECT_ID =
I_WITH_ITEMDATA = 'X'
IMPORTING
E_HEADER = WA_HEADER
TABLES
E_ITEM = LT_ITEMDATA
E_ACCOUNT = LT_ACC
Concatenate document date and posting date, default system date
concatenate sy-datum6(2) sy-datum0(4) sy-datum+4(2) into lv_docdate.
concatenate sy-datum6(2) sy-datum0(4) sy-datum+4(2) into lv_pstngdate.
concatenate sy-datum0(4) sy-datum4(2) sy-datum+6(2) into lv_docdate.
concatenate sy-datum0(4) sy-datum4(2) sy-datum+6(2) into lv_pstngdate.
build structure bapiache08 of RFC BAPI_ACC_GL_POSTING_CHECK
*loop at LT_ITEMDATA into wa_ITEMDATA.
move wa_itemdata-BE_CO_CODE to lt_bapiache08-comp_code.
*endloop.
LOOP AT LT_ACC INTO WA_ACC.
MOVE WA_ACC-PROFIT_CTR+0(4) TO LV_PROFIT_CTR.
ENDLOOP.
Chnages for Line item company code
move: LV_PROFIT_CTR TO lt_bapiache08-comp_code,
wa_header-co_code to lt_bapiache08-comp_code,
End of Chnages for Line item company code
'BTUSER' to lt_bapiache08-username,
sy-datum+0(4) to lt_bapiache08-fisc_year,
lv_docdate to lt_bapiache08-doc_date,
lv_pstngdate to lt_bapiache08-pstng_date,
'SA' to lt_bapiache08-doc_type.
build structure bapiacgl08 of RFC BAPI_ACC_GL_POSTING_CHECK
loop at lt_acc into wa_acc.
lv_counter = lv_counter + 1.
move: lv_counter to wa_bapiacgl08-itemno_acc,
wa_acc-g_l_acct to wa_bapiacgl08-gl_account,
Chnages for Line item company code
wa_header-co_code to wa_bapiacgl08-comp_code,
LV_PROFIT_CTR TO wa_bapiacgl08-comp_code,
End of Chnages for Line item company code
lv_pstngdate to wa_bapiacgl08-pstng_date,
'SA' to wa_bapiacgl08-doc_type,
sy-datum+0(4) to wa_bapiacgl08-fisc_year.
if wa_acc-cost_ctr is not initial.
move wa_acc-cost_ctr to wa_bapiacgl08-costcenter.
elseif wa_acc-wbs_elem_e is not initial.
move wa_acc-wbs_elem_e to wa_bapiacgl08-wbs_element.
elseif wa_acc-order_no is not initial.
move wa_acc-order_no to wa_bapiacgl08-orderid.
endif.
append wa_bapiacgl08 to lt_bapiacgl08.
clear wa_bapiacgl08.
lv_counter = lv_counter + 1.
move: lv_counter to wa_bapiacgl08-itemno_acc,
Chnages for Line item company code
wa_header-co_code to wa_bapiacgl08-comp_code,
LV_PROFIT_CTR TO wa_bapiacgl08-comp_code,
End of Chnages for Line item company code
'0014109889' to wa_bapiacgl08-gl_account,
lv_pstngdate to wa_bapiacgl08-pstng_date,
'SA' to wa_bapiacgl08-doc_type,
sy-datum+0(4) to wa_bapiacgl08-fisc_year.
append wa_bapiacgl08 to lt_bapiacgl08.
clear wa_bapiacgl08.
endloop.
clear lv_counter.
build structure bapiaccr08 of RFC BAPI_ACC_GL_POSTING_CHECK
loop at lt_itemdata into wa_itemdata.
lv_counter = lv_counter + 1.
move: lv_counter to wa_bapiaccr08-itemno_acc,
wa_itemdata-value to wa_bapiaccr08-amt_doccur,
'USD' to wa_bapiaccr08-currency.
append wa_bapiaccr08 to lt_bapiaccr08.
clear wa_bapiaccr08.
lv_counter = lv_counter + 1.
move wa_itemdata-value to lv_value.
concatenate lv_value '-' into lv_amount.
move: lv_counter to wa_bapiaccr08-itemno_acc,
lv_amount to wa_bapiaccr08-amt_doccur,
'USD' to wa_bapiaccr08-currency.
append wa_bapiaccr08 to lt_bapiaccr08.
clear wa_bapiaccr08.
endloop.
clear lv_counter.
Check the SRM system
IF SY-SYSID = 'UPD'. "3
LV_SYSID = 'UHD_111'.
CONDENSE LV_SYSID NO-GAPS.
ELSEIF SY-SYSID = 'UPX'. "3
LV_SYSID = 'SAPUHD111'.
CONDENSE LV_SYSID NO-GAPS.
ELSEIF SY-SYSID = 'UPQ'. "3
LV_SYSID = 'SAPUHQ100'.
CONDENSE LV_SYSID NO-GAPS.
ELSEIF SY-SYSID = 'UPP'. "3
LV_SYSID = 'SAPUHP100'.
CONDENSE LV_SYSID NO-GAPS.
ENDIF.
RFC call
Call Function 'BAPI_ACC_GL_POSTING_CHECK' destination LV_SYSID
Exporting
DOCUMENTHEADER = lt_bapiache08
Tables
ACCOUNTGL = lt_bapiacgl08
CURRENCYAMOUNT = lt_bapiaccr08
RETURN = lt_return.
break-point.
Loop at lt_return into wa_return.
lv_len = strlen( wa_return-message ).
if lv_len le 49.
move: wa_return to wa_messages-msgty,
'BBP_PD' to wa_messages-msgid,
'047' to wa_messages-msgno,
wa_return-message to wa_messages-msgv1.
append wa_messages to et_messages.
elseif lv_len gt 50 and lv_len le 99.
move: wa_return to wa_messages-msgty,
'BBP_PD' to wa_messages-msgid,
'047' to wa_messages-msgno,
wa_return-message+0(49) to wa_messages-msgv1,
wa_return-message+50(49) to wa_messages-msgv2.
append wa_messages to et_messages.
elseif lv_len ge 100 and lv_len le 149.
move: wa_return to wa_messages-msgty,
'BBP_PD' to wa_messages-msgid,
'047' to wa_messages-msgno,
wa_return-message+0(49) to wa_messages-msgv1,
wa_return-message+50(49) to wa_messages-msgv2,
wa_return-message+100(49) to wa_messages-msgv3.
append wa_messages to et_messages.
elseif lv_len ge 150 and lv_len le 199.
move: wa_return to wa_messages-msgty,
'BBP_PD' to wa_messages-msgid,
'047' to wa_messages-msgno,
wa_return-message+0(49) to wa_messages-msgv1,
wa_return-message+50(49) to wa_messages-msgv2,
wa_return-message+100(49) to wa_messages-msgv3,
wa_return-message+150(49) to wa_messages-msgv4.
append wa_messages to et_messages.
endif.
clear: wa_messages, wa_return.
endloop.
endif.
This is what i wrote in BADI except this i wrote nothing ...and no where
Similar Messages
-
View data in client B from client A in the same SID without a valid logon?
Hi Folks
We are planning on upgrading our 4.6C system to ERP 6.0, and are initialy considering having two clients in the same sandbox SID. One would be for the developers to perform code remediation checks (client A), and one would contain a copy of production data for performing testing of functionality over live data (client B).
Would it be possible to view data in client B from client A in the same system without a valid logon to client B or RFC connection to client B from client A? For example via the use on an ABAP program to SQL the database?
I know one can use transactions like SM30/SM31 to view, compare, and adjust data between clients, but this requires an RFC connection and valid logon to the target client.
Regards
Kevin.Hi Kevin.
>
Kevin McLatchie wrote:
> Would it be possible to view data in client B from client A in the same system without a valid logon to client B or RFC connection to client B from client A? For example via the use on an ABAP program to
Short answer: yes.
If someone has the right to write and execute ABAP reports on the system he is able to access the data of all clients. So I don't think that this setup is advisable. Don't mix development and production data in one system.
Best regards,
Jan -
DEVOLUÇÃO DE EXPORTAÇÃO - CFOP 3201 - GRC VALIDA DADOS DI.
Boa tarde a todos!
Estamos em um projeto de NFE XML 2.00 e nos deparamos com o seguinte erro:
Ao emitirmos um NF-e de devolução da mercadoria que se encontrava no Porto (devolução de exportação - CFOP 3201), a validação do monitor GRC informa que é necessário constar os dados de importação, apesar deste processo não se tratar de importação. Os seguintes logs de validação são gerados:
Erro de validação: campo Código do fabricante estrangeiro no sistema. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-CFABRICANTE, ID campo I028)
Erro de validação: campo Nº da adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NADICAO, ID campo I026)
Erro de validação: campo Nº sequencial do artigo na adição. Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_ADI-NSEQADIC, ID campo I027)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-CEXPORTADOR, ID campo I024)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDESEMB, ID campo I023)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-DDI, ID campo I020)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-NDI, ID campo I019)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-UFDESEMB, ID campo I022)
Erro de validação: campo . Campo é obrigatório e não pode ficar em branco. (campo IT_NFE_IMP-XLOCDESEMB, ID campo I021)
Estamos no SAPK-10015INSLLNFE e as seguintes notas relacionadas a validação estão aplicadas:
1493980 Validation for field xJust in cancel and skipping messages
1499921 Problem with validation after implementing SP15
1500046 Upgrade validation rule for field ID for version 2.00
1500742 Adjust validation for field NADICAO and NSEQADIC layout 2.00
1502217 Extend validation rules for , layout 2
1504379 Adjust validation for field X_CLISTSERV
1511291 Update allowed values for field E1_CPAIS for validation
1511577 Update validation rules for field VUNCOM_V20
1520861 Update validation rules for OIL_CPRODANP and OIL_UFCONS
Não encontrei nenhuma nota SAP recente para o componente SLL-NFE que seja relacionada a este problema.
Desde já agradeço pela ajuda.
Sds / Renato Penido.Boa tarde, Fernando,
Obrigado pela pronta resposta.
Debugamos a BADI e descobrimos que os dados de importação estão sendo gravado "em branco", gerando o erro de validação no GRC, tal qual dito por você.
Aprimoramos a lógica da BADI para que a tag de importação não seja preenchida indevidamente para as notas de devolução do porto e as notas foram aprovadas.
Muito obrigado,
Renato Penido. -
how do i open a web page with VeriSign Class 3 Extended Validation SSL SGC SS CA ?
Hi
I am not suprised no one answered your questions, there are simply to many of them. Can I suggest you read the faq on 'how to get help quickly at - http://forums.adobe.com/thread/470404.
Especially the section Don't which says -
DON'T
Don't post a series of questions in a single post. Splitting them into separate threads increases your chances of a quick answer.
PZ
www.pziecina.com -
When i login it says my apple id is valid but its not an icloud id
when I try to login i get a message telling me my apple id is valid but its not an icloud id .I dont have any apple mobile priducts so i have no idea what to do.Any advice would be greatly appreciated.
You are getting this message because you are trying to create an iCloud account on a PC by signing with your Apple ID. You can only sign into an existing account on a PC. You first have to create iCloud account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.5) or higher. After creating your account on one of these devices you will then be able to sign into the account using this ID on your PC.
-
Dear Support Team,
Every time i tried to logon Icloud its gives me wrong user name or password and at the end it show me error " This Apple ID is valid but is not an ICloud Account" then how can i use one account for same Apple ID and ICloud?
ThanksIt is not possible to create a new iCloud account using a Windows machine. You must create the account using a Mac (10.7.5 or more) or an IOS device (iPhone etc). Once that is done you can sign into and use the account on your Windows machine.
-
When I try to make a purchase at the App Store or iBook store or at iTunes an error message tells me my account is not valid for the UK store. I've no idea how I got connected there and I'd like help getting back to Canada where I live. Any suggestions?
Change App Store
1. Tap "Settings"
2. Tap "iTunes & App Stores"
3.Tap "View Apple ID"
4. Enter your user name and password.
5. Tap "Country/Region."
6. Tap "Change Country/Region"
7. Select the region where you are located.
8. Tap "Done". -
Creating Master to show only rows for which valid entries exist in Detai
I have created a Master-Detail Form in my Apex application based off of views to tables in a private remote Database.
In the Master-Detail Creation Wizard, at the "Link Master and Detail" page, I specified that the defined Primary Key in the Master Column should be equal to the corresponding Foreign Key in the Detail Column.
My goal is to have my Master Form only display rows for which a valid corresponding entry exists in the Detail Form. Yet, the above setup returns all of the rows from the Master Table, even where the corresponding Detail entry is blank.
Can you provide some light on what I'm doing wrong, and how I can accomplish what I want to do?
Thank you!I have created a Master-Detail Form in my Apex application based off of views to tables in a private remote Database.
In the Master-Detail Creation Wizard, at the "Link Master and Detail" page, I specified that the defined Primary Key in the Master Column should be equal to the corresponding Foreign Key in the Detail Column.
My goal is to have my Master Form only display rows for which a valid corresponding entry exists in the Detail Form. Yet, the above setup returns all of the rows from the Master Table, even where the corresponding Detail entry is blank.
Can you provide some light on what I'm doing wrong, and how I can accomplish what I want to do?
Thank you! -
Validating records into a maintenance view
Hi folks!
I have a simple Z table (say ZTABLE) and a Z view based on it with some related description (say ZVIEW). The ZTABLE has a DEC field (called COEF) with 2 decimals and it should have only numbers between 0 and 1.
I set the valid interval from 0 to 1 but, as help says, it's only checked for CHAR, NUMC, DEC, INT1, INT2 and INT4 data types. Not for DEC.
Then I use an event on ZVIEW. On SE11 I went to "Table maintenance generator" - Environment - Modification - Events. So there I put the 05 event (Creating a new entry) and I programed the check. It works fine for new entries, but if you have a record on table and you want to change the COEF field you can put there any number, even outside the 0-1 range.
I tried with the 01 event (Before saving the data in the database) but it seams to be called only for last record.
Could anybody tell me what can I do?
Thanks!Hi,
Since it is a Z TABLE..
You can directly modify the flow logic in SE51.
Go to SE51
Give the program name - SAPL + Function group name
Screen number
Press change..
In the flow logic..
Add a module after the FIELD ztable-number, in the PAI event..
Ex..
FIELD ZTABLE-NUMBER MODULE NUMBER_CHECK.
And in the module validate the number..
MODULE NUMBER_CHECK INPUT.
IF ZTABLE-NUMBER <> '0' OR
ZTABLE-NUMBER <> '1'.
MESSAGE E208(00) WITH 'Not a valid number'.
ENDIF.
ENDMODULE.
Thanks,
Naren -
Mandatory item validation at a page level?
Hi,
We have a page where the list of mandatory items changes according to how some 'key' items are set by the user e.g. if they select option 1 on item 1 we need a different set of mandatory fields than if they set option 2 - setting option 1 in item 4, may imply that some further items are mandatory, In addition, some items become mandatory due to circumstances known only on the database. We have in excess of 40 items on this page. Once all mandatory items are complete, the status of the page is saved as 'complete' - the user can always save the page as 'incomplete'.
We already have a database package that can check a table row to see if it is 'complete', it knows all the circumstances for when an items becomes mandatory and can produce a list of fields and the reasons why they have failed validation.
Is it possible to call this db package during page validation and use it to perform 'item' validations i.e. identify the invalid items and place the appropriate message inline with them?Hi,
You can create a pl/sql page validation where you call you procedure.
begin
package_k.proc_p(item1,item2,...,itemN);
end;
You should define the type of the validation, but it is very straight forward,
Regards,
Max. -
Error message 'not a valid PDF document'
Hi folks,
my Z10 has trouble opening some PDF documents sent as email attachment. When I try to open them the error message appears:
Important message
The document cannot be opened because it is not a valid PDF document
There is no BES10 Service involved in my environment. Mails are synced with with active sync.
OS Version: 10.2.0.429
Any suggestion appreciated.
Best regards,
RAUMPATROUILLEStuffit is the only app I know of which can decompress its own format. Your Windows clients must use the free Expander to open them. Otherwise, use OS X's built in zip compression and they'll be able to open the files without the need of third party software. Right click on any item, or group of items and choose, "Compress xxx Items" (how it will read if more than one item is chosen).
-
I am facing error while running Quickpay in Fusion payroll that "The input value Periodicity is missing for element type KGOC_Unpaid_Absence_Amount. Enter a valid input value". Any idea?
This is most probably because the Periodicity input value has been configured as "Required" and no value has been input for it.
Please enter a value and try to re-run Quick Pay. -
Hi ,
While creating a GR w.r.t. Purchase Order (MB01) getting a following msg:
"ENTER A VALID TRADING PARTNER "
In Vendor Master : Partner function has the vendor details
OA Ordering Address
VN Vendor
PI Invoice presented by
Any thread would be helpful .
regards,
chaitHi ,
THere is no entry in field :Trading partner LFA1 -
VBUND
ALso the vendor has acccount group : RMIT : Remit to Address
PArtner functions are maintained in vendor master viz. OA ,VN , PI .
regards,
chait -
Not valid month Error Ora 01843
hi
This is an error while running a report 6i. in Oracle 8i Environment.
"Not valid month Error Ora 01843"
This report is working fine in Production. But it is not working in Development Database.
Development database is the image of Production system.
Any reason for this Error?Dear Naseer C ,
We got similar experiences for several time.
We quried like that.
Selet moth from table;
08-AUG-1988
08-08-1988
08-08-88
We changed several time until diappear the message.
Hopefully, it will help you.
Best regards,
S!G -
Error/Warning while validating a mapping
I'm using OWB version 9.2 and database 9i.
I have few major problems in OWB. We have stage and star schemas on the same database instance. The source system is on a different database instance. There are database links created between target instance to source.
I have about 20 mappings; all validated, deployed and executed successfully about 2 weeks back.
Beginning of this week I logged on to OWB and tried to make some changes to one of the mappings. Before I made changes I tried to validate the mapping and I got following warnings:
"VLD-1008: Referenced mapping column <COLUMN_NAME> does not exist"
"VLD-1003: Reference <COLUMN_NAME> between mapping object and repository object does not exist".
When I click on "View Details" it says I need to reconcile outbound of the staging table.
When I have not made any changes to the mapping why do I need to do this? I want to know under what circumstances do we get this message?
Another weird thing is I validated the mapping, after 15 minutes I tried to deploy this and still got the above warnings, although I had reconciled outbound and successfully validated the mapping. Am I missing something here?
Another problem is I have a mapping which loads a dimension from staging table. Very simple basic mapping all it does is dumps from staging table to dimension and key is generated by sequence generator. Both stage and star schemas are on the same database instance. When I try to validate this mapping it gives me error:
"VLD-2769: Database link is not allowed for data target <DIMENSION_NAME>" and when I click view details it shows following:
"Loading of data across database link is not supported. Deploy this mapping within the same database instance as the actual target and remove the database link access specification from the physical configuration of this data target operator."
I have not specified any database link or schema name in the mapping configuration; both stage and star schemas are on same instance. Although there are two instances that it works fine. First if I provide the schema name in the mapping configuration it gives me warning but deploys and executes fine. Secondly if I go to deployment manager, select the mapping and click deploy it validates successfully. Why do I get this error when I validate in the mapping editor?
I never had these problems before; all the mappings were validated, deployed and executed successfully.
I would like to know where/what could have gone wrong? Could any of you point me in the right direction? Any help would be greatly appreciated.
Thankshi.
ok look i also had this errors:
"VLD-1008: Referenced mapping column <COLUMN_NAME> does not exist"
"VLD-1003: Reference <COLUMN_NAME> between mapping object and repository object does not exist".
this errors could be due to that something has change in the source database, in this case could be that somebody change the name column since the last time you did the load.
A possible solution is that you open the mapping (edit) and reconcile the tables both the table "from"(where the table came) and the table "to"(the table destination).
ooh and check the source system for any table that has changed, if it changed, so you have to load again the table.
bye -
Error message when trying to install iTunes on my Pc:
Using Windows 7, had to replace hard drive. HELP!!
This installation package could not be
opened. Verify that the package exists
and that you can access it, or contact
the application vendor to verify that
this is a valid Windows installer packageHello JAH1961,
I recommend following the steps in the article below when getting an error message trying to install iTunes:
Trouble installing iTunes or QuickTime for Windows
http://support.apple.com/kb/HT1926
Thank you for using Apple Support Communities.
Best,
Sheila M.
Maybe you are looking for
-
MacBook Pro with Retina display not transferring new songs.
I have the 15" MacBook Pro with Retina display. When I plug my iPod classic (4th gen) into my MacBook, my iTunes does not display that it has been connected as it does with my iPhone. However, screen on my iPod shows that it is connected. Also, my ne
-
List of exchange users with mailbox size per database.
Hello Friends, Need small help i need to take out the list of users start with Alphabet A, B , C till Z per database along with their mailbox size limit so is there any simple way to get the list. Thanks Amit
-
Hi, Can we use DVT for user interface customization for anonymous user,i need to use the DVT with out user login.Please let me know if there is any way of doing it Regards, Prabu
-
What is the difference between an Intel Xeon (e.g. 2.8GHz 533MHz FSB 1MB cache) and Intel P4 Hyperthread (e.g. 2.8GHz 800MHz FSB)? (apart from the FSB, size of cache) Also, which one is faster and why?
-
Because of the calibration problem I can't delete because here's how it is tap delete it takes a long time then I cannot press OK so are there any application's for deleting if so reply Post relates to: Zire