Reg logical checks..

Hi,
can any one tel me how to do logical checks in BDC ???? this was an interview question...
Regards,
ABC XYZ

Hi,
You can use IF statement or CASE statement.
Regards,
Ferry Lianto

Similar Messages

  • Reg:Single Check for Multiple Vendors

    Hi Experts,
    I want to Issue a Single check for all vendor open items...
    For this is I created one Group Key and assigned in the vendor master record, but while doing the payment separate check issuing for each vendor,
    any idea

    Hi,
    Can you check the below thread of urs.
    [Reg:Single Check for Multiple Vendors]
    In addition to the above, please make sure that in OBVU, the check box separate payment for each ref is deselected for your questioned comapny code.
    You would have continued your earlier thread instead, rather than a new thread.
    Thanks,
    Srinu

  • Logical Checks

    Is it possible to program/activate logical checks between fields?  i.e., if answer to question 2 is Yes, then question 3 must be completed

    Yes, it's possible.
    First, you can make question 2 a required field and then apply a show/hide region to make question 3 is displayed only when question 2 is Yes.

  • Reg : Logic for Report

    Hi ,
    I would like to know one logic for preparing functional specification for one MM report. This report should fetch all materials that are below safety stock.
    Please help me.

    HI,
    The logic is you take the current unresticted stock of a material from MARD table, field name is LABST.now you check for the safety stock of the particular in MARC table Field name-EISBE.
    Now compare the current stock with the safety stock,generate a report for the materials whose present stock is less than the safety stock.
    for this requirement safety stock should be maintained in the material master,other wise your report will not work.
    Regards,
    velu

  • Reg. Check voucher no & Batch No in Payment print Script

    Hi Experts,
    I created sap script for payment print prog and for that i use standard prog RFFOUS_C. in my sap script check voucher no fied COBL-ZZVOUCHRNO....
    COBL is a structure... so now how can i display this field in sap script.......
    just give me some logic for this
    I find the field voucher no name is BSEG--ZZVOUCHRNO How can i feel the value in payment print prog. cause its blank in which t-code i fill the value for voucher no....... i use tcode F-43, FB03, F-58.
    Thanks
    Jigar

    HI,
    go to tr.code fchn and give that document no  and u can print that check.. detials..
    with best regards,
    satishkumar.m

  • Script Logic - Check Work Status

    Hi,
    I am using the standard process chain "/CPMB/DEFAULT_FORMULAS_LOGIC" to trigger Script logic file.
    I have created some logic to clear and copy data to a targer category. I want to check the workstatus of the target category and if it is locked i want to clear/copy to fail.
    I am not sure how to go about this? I was thinking of adding the following but that is just a guess!
    TASK(/CPMB/CLEAR_SOURCE_CUBE,CHECKLCK,1)
    any advice would be helpful.
    Thanks,

    Hi,
    Ideally did want an option for the user to select option to check whether the copy should happen if the data had been locked. Have done this via the standard COPY package.
    Can this be done with the script logic e.g. using paramters in the package?
    Or if you create a script logic file does it always check the workstatus?
    thanks

  • Reg:Logic required

    Hi ,
    We are working on one development for this we are using exit:MV45AFZZ and written code on it.The logic we have written is when ever the field FPLT:FAKSP is blank at contarct level ,then it should trigger an intimation mail .First time it is triggering mail and even when we go go second and third time and make some change other than field FAKSK again it is triggering mail.How to stop further mails ,it should trigger only when we make change in field FAKSK only .Pls help.
    Regards,
    Sash .
    Use meaningful subject for your future questions
    Edited by: Vijay Babu Dudla on Feb 26, 2009 7:54 AM

    Hi ,
    The requirement is when ever the user removes a billing block at filed FPLT:FAKSP then it should trigger a mail .Logic we have taken is :Pass the VBAK:VBELN to FPLA:VBELN and pick the FPLNR then send it to FPLT and check FAKSP ,if it is space then trigger a mail .Pls suggest exit and required coding.
    Thnaking you in advance.
    With Regards,
    Sash.

  • VAT Reg number check not working for EU

    Dear All,
    Our countru is a member of EU and all the country wise checks for VAT number are activated. However when i try to save a GB vat number in a vendor master which has country code FI, I expect the system to throw an error stating that country of vendor does not match with VAT reg numbver.
    However such a things does not happen and system is saving the GB vat code for FI vendor
    PLease help
    Pooja

    In 4.7, we get message AR191 when we are trying to assign a GB VAT number in LFA1-STCEG for a supplier in country FI.
    This is checked in function EU_TAX_NUMBER_CHECK with code:
    * ------ Länderkennzeichen korrekt ?------------------------------------
          check_number_save = eu_tax_number.
          IF t005-pruin <> space.
            country_code = check_number_save(2).
            IF t005-intca NE 'GR ' AND country_code NE t005-intca  OR
                t005-intca EQ 'GR ' AND country_code NE 'EL'.
              MESSAGE e191 WITH country_code RAISING not_valid.
            ENDIF.
          ENDIF.

  • Reg logic to get sales docu no

    i need logic to get the highest value and corresponding sales order no placed by the customer belonging
    to a credit control area for previous and current fiscal year.

    Hi Orlang,
    You have VBELN (Sales Order No) in MSEG table as KDAUF also. check once
    You can use MBLNR field available in both table to join them
    SELECT c~mblnr c~kdauf c~kdpos
           INTO CORRESPONDING FIELDS OF TABLE itab
           FROM  mseg AS c
             INNER JOIN mkpf AS p ON p~mblnr   = c~mblnr.
    Cheerz
    Ram
    Edited by: Ramchander Krishnamraju on Nov 19, 2009 7:18 AM

  • Reg: availabilty check

    Dear Experts,
    I am having an issue with respect to availability check .
    I am using combined planning strategies 70 and 40 . For component planning i am using 70 and for finished material i am using
    planning strategy-40. For Finished material in-house production time is 1 day. Now when the sales people are creating sales
    order, when they perform the availability check the system is showing available  in the next date for irrespective of quantities.
    Ex: if they create sales order for 1000 numbers also it showing  one day and even for 10,000 also it is showing one day.
    I have done all the necessary cusomization for availabilty check. is there any way of settings like if stock is there the system
    should check only in-house production time and if stock is not there the system should check Replinishment lead time(RLT).
    Please let me on what basis system is showing this available date for sales order.
    Thank u in advance.

    I think your sales order doesn't check ATP at all.  The next day occurs maybe related loading time or picking time maintaining in shipping configuration.
    Please check the following configuration in SD side
    ->  your schedule line category:  config path : Sales & Distn -> Basic Functions -> Availability check -> ATP Logic or against planning -> Define procedure for each schedule line category
    ->  your requirement class:  config path : Sales & Distn -> Basic Functions -> Availability check -> ATP Logic or against planning
    There are a couple more to check.  Please check with your SD team on this.

  • BAdI - HRPAD00INFTYBL - IT business logic checks

    Hello,
    I was wondering if any of you have used BAdI/Enhancement Spot HRPAD00INFTYBL?
    It is used to perform checks on infotype entry made through the HRPA series of infotype logic classes (which are used extensively in ESS as in most newer HR developments).
    I'm using an ECC6 system.
    Does anyone have any advice regarding the use of this BAdI, it looks perfect for my needs, but I'd be very interested in anyone having more information than is provided by the example implementation class.
    Thanks,
    Chris

    Hi Chris,
    I am trying to add a custom validation on the mobile number (IT0105 - 9004 subtype) when entered through "CHANGE OWN DATA" from ESS.
    I have implemented the BADI "HRPAD00INFTYBL"  method ~MODIFY_COMPUTATIONS and activated the implementation.
    but when i enter the values for my mobile number this BADI implementation method is not getting triggered.  The documentation says this is the one Method that i should be using but i couldnt succeed.
    As you have alredy done this, Can you please guide me if I am missing something or do i need to do anything else ( i may be sounding crazy in asking this... but I am new to ESS technical parts) becoz the other classical BADI that i used for same validation using PA30 is working fine...
    Appreciate your valuable inputs and thanks in advance..
    Regards,
    Lakshmi

  • REG : Logic to define the default purchaser in Purchase org

    Hi SRM Gurus,
    Need your help and suggestion in one issue.
    In Standard system default Operational purchaser information responsible for processing shopping cart is not available.
    The requirement is to determine the Default Operational Purchaser, as in standard SRM system Auto PO's will be created using RFC user, which means that, there is no buyers who has the ownership of the POs' and its changes. Hence this scenario is used to assign the ownership of the Auto PO's, since we are not using sourcing cockpit, so all POs' will be Auto PO's.
    We dont have the Sourcing Cockpit scenario, so we thought of two possibilities :
    1. By marking the lead buyer as the head of the organization ( A check box at the basic data tab at user level).
              Or
    2. By maintaining a custom attribute at the buyer user level (Through SM30 view T77OMATTR).
    Now I need suggestion from you all as if we use the first option the workload distribution would be high as each and every PO from a particular Pgrp would land into a buyers inbox and it wont be good as per the business perspective.
    Please suggest me the solution for this issue.
    Thanks,
    Aakash Awasthi.

    Hello,
    Aakash Awasthi wrote:
    Yes I got that, but I wanted to know ,if I would select the default purchaser By marking the lead buyer as the head of the organization ( A check box at the basic data tab at user level).
    Is there any way to retrieve it via code or any BADI... as I will get the default purch grp from the badi BBP_PGRP_FIND... but not the purchaser.
    Create a specific attribute to manage this.
    Then, check user's attributes with user context lo_user_context = /sapsrm/cl_pdo_factory_user=>get_buffered_user_context( )
    Aakash Awasthi wrote:
    Also we want a way to change the default purchaser once we populate it in the custom field...as we have a req that requistioner can change the default purchaser at the item level to reduce the work load.
    This is a CUF, so change its value... Do not understand your problem.
    Regards.
    Laurent.

  • Reg Logical System Name

    Hi,
    We have ECC 6.0 PROD and ECC 6.0 QAS System.
    WE have different logical system names for both the systems
    But when we refreshed the PROD to QAS , we have to run the BDLS transcation to change the logical System name(since we are having different logical System name)
    But BDLs is taking more than 40 hours.
    Please let me know  , whether logical system name can be the same throughtout the landscape or not
    In other words , is there any side effects if i have same  logical system name for QAS and PROD

    I've been researching the same issue.  I found the following
    "Is it necessary to change the logical system names?
    Because of the two reasons mentioned above (long runtime of transaction BDLS and possible inconsistencies), it may be desirable, to avoid the renaming of logical systems during system copy.
    Whether logical systems names need to be changed at all after a system copy depends on the type of the target system: "
    This is from SAP System Landscape Copy for SAP Net Weaver and my SAP Solutions
    Best Practice for Solution Management
    I found it searching for sap bdls alternative
    Hope this helps.  I'm continuing my search.

  • Reg: consistency check in recordset structure validation

    Hi all,
    I am doing FCC to FCC scenario, i am getting this error. Help me out, it is very urgent for me.
    Sender Adapter v2723 for Party '', Service 'bs_text2text':
    Configured at 2007-08-21 08:00:49 UTC
    History:
    - 2007-08-21 09:29:06 UTC: Retry interval started. Length: 2.000 s
    - 2007-08-21 09:29:06 UTC: Error: Conversion of complete file content to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 87: missing structure(s) in last recordset
    - 2007-08-21 09:29:06 UTC: Processing started
    - 2007-08-21 09:29:04 UTC: Error: Conversion of complete file content to XML format failed around position 0: Exception: ERROR consistency check in recordset structure validation (line no. 87: missing structure(s) in last recordset
    - 2007-08-21 09:29:04 UTC: Processing started
    Regards,
    Ajay.

    Hi Ajay,
    Problem with the file content conversion parameters you specified in the sender file adapter. 
    Do let us know your DT structure and FCC parameters specified in adapter.
    Regards,
    Sumit

  • Reg : Logical DB's

    hi,
    Iam using LDB : PSJ
    My question is : How can we restrict the data when we are using LDB's?
      or more clearly
    Can we add any field to the selection screen Of LDB's?I mean can we change the own selection screen of LDB's and add a new filed?
    regards
    vaja

    Hi
    HR Report category is only for HR LDBs PNP PNPCE and not for anyother LDBs as far as I know.
    You can include parameters and select-options in the report and they will appear at the bottom of the standard selection-screen.
    I have not worked on the LDB you mentioned but can tell you how data is fetched/filtered for PNP LDB. It may be helpful.
    For the criteria entered on the selection screen, ldb checks if any of the record satisfy the condition for the PERNR . If yes, irrespective of the date range it selects all the records pertaining to the PERNR into the internal tables for the infotypes declared. You need to use macros to select the required record and if you don't want to process any record, use REJECT.
    Always check if all the selection-screen criteria is being satisfied using IF conditions or CHECK when you are using ldbs.
    Regards
    Navneet

Maybe you are looking for