Checking whether Delivert is created by EDI or manually

Hi ,
I have created a delivery through EDI, I need to check the table where the delivery number and the IDOC number have been stored in the same table.
Please let me know how can I found out that the given delivery has been created by manually or through EDI, since in in the condition Pricing->Output control I need to define a routine and implement the logic like set sy-subrc = 0 if the delivery is created by EDI.
Thanks & Best Regards,
    Mahesh

Hi,
You can directly check in Delivery-Header data-admin data and u can see here created by field.
This field will be there in LIKP-ERDAT.
Normally if user create there will be user name and if EDI create it will be as EDI_BATCH.So what ever the name you provide while running the batch that name will be populated(ex:EDI_BATCH).
You can check and based on this name you can implement the logic.
Reward if helpful
ramesh
Edited by: Rams on Nov 5, 2008 12:21 PM

Similar Messages

  • How to check whether follow on document is created for sc or po,is there any table or fm available?

    How to check whether follow on document is created for sc or po,is there any table or fm available?

    Hello Venu
    Check FM: BBP_PD_SC_GETDETAIL and BBP_PD_PO_GETDETAIL table E_HEADER_REL
    Check this: SRM Shopping cart and PO tables link
    Regards

  • How to Identify an whether an Sales order is created through EDI Idoc

    Hi all,
    By seeing an Sales Order, How to identify whether the sales order is created through EDI Idoc or by other source.
    Thanks in advance
    Regards
    Chakri

    Hello Chakri,
    As far as I know, for EDI orders a separate order type is created. So, they use to that create the order with an Idoc.
    But, remember you can use other order types as well.
    Thanks,
    Babu Kilari

  • How to check whether an invoice has been paid or not?

    Hi,
        In FI, how should I check whether an invoice is paid fully and also whether it has any residual item?
    And how should I pay an invoice with some residue? Which transaction I should use and what are the steps to do that?
    Since I'm new to FI, any guidance will help me a lot...
    Thanks,
    Priya.

    Hi Priya,
    you create a posting with residual items as follows:
    <b>Incoming payment</b>
    1. Start transaction F-28
    2. Enter all required information and click on <i>Process open items</i>
    3. On the next screen click on the tab <i>Res. items</i>
    4. Make sure that only the items that you want to pay are highlighted ((Net amount appears in blue)
    5. For each line item enter the residual amount that is still to be paid (Example: you have one invoice over 100 USD and 80 USD are paid, you enter 20 USD, since this is your residual that still needs to be paid)
    6. Save
    <b>Outgoing payment</b>
    1. Start transaction F-53
    2-6. is identical to incoming payment
    Regards,
    Claus

  • How to check whether a file is present in the UNIX directory of app. server

    Hi,
            I am creating files in the UNIX directory in the application server using :
                       CONCATENATE '/sapmnt/RD1/interfaces/client670/'
                       p_fname '.CSV' INTO w_filename.
               OPEN DATASET w_filename FOR OUTPUT IN TEXT MODE.
              LOOP AT t_output1.
                      TRANSFER t_output1 TO w_filename.
              ENDLOOP.
             CLOSE DATASET w_filename.
    I am unable to check whether a file with the same name exists or not. How to check the duplicate state of the file.

    You can use the following fm
    RZL_READ_FILE
    or
    use OPEN DATASET FOR INPUT.

  • Is there any tool to check whether the proper data is inserting or not?

    Hi,
    We have different products A,B and C.
    whenever user crates an account under these products some X,Y,Z table gets updated.
    If user1 creates an account under A then X, Y, Z tables update with some data along with some ID
    If user2 creates an account under A then X, Y, Z tables update with SAME DATA along with some other ID
    Is there any tool to check whether the proper data is inserting (same data is inserting every time) or not?
    p.s : if this thread is not related to this forum .. where can I post?
    Thanks,
    Praveen

    Is there any tool to check whether the proper data is inserting (same data is inserting every time) or not?You need to check the code to see that. Is the update or insert on the table has from different places? In that case it would be better to have them moved to a centralized place may be a package.
    If you want to restrict the columns to specific values then you can use constraints.

  • FM or table to check whether a transaction is locked or not

    Hi all.
        I  need to create change a return order (VA02 Transaction ) & then need to create a delivery (VL01N Transaction) for this
       return order no. My issue is before creating delivery (VL01n) I need to check whether return order (VA02) is lockked or not in report program. Is there any FM or table for this.  Thanks in advance.
    Kind Regards,
    sami

    Hi,
    check the below function module to check the return order is locked or not..
          CALL FUNCTION 'ENQUEUE_EVVBAKE'
            EXPORTING
              mode_vbak      = 'E'
              mandt          = sy-mandt
              vbeln          = w_lvbeln  "pass return order
              x_vbeln        = ' '
              _scope         = '2'
              _wait          = ' '
              _collect       = ' '
            EXCEPTIONS
              foreign_lock   = 1
              system_failure = 2
              OTHERS         = 3.
          IF sy-subrc NE 0.
    " Sales Order is locked
          ENDIF.
    Prabhudas

  • How to check whether a user session is null or not

    Hi
    I am using Jdeveloper 11.1.2.2
    I have a use case of running some Junit test case, this is the problem I have :
    There are some Junit tests which are written for some VO's. While testing insert and update operation in Junit there is two mandatory columns Created by and Updated by to be entered for committing into the database.
    These values are taken from the UserName of the current UserSession .
    So for getting the these values for each user I thought of displaying a JPanel before the test is run, where the user enters the Username and password which is validated and the user is verified.
    First, I need to check whether there is a session present or not. For checking this, I wrote a createUserSession() and did like this inside it :
    if(fixture.getApplicationModule().getSession().getUserData().isEmpty())If so to show the Jpanel and get the user details and verify the user.
    But while running the test itself I found that the session is already present, now I just have to input the values based on who is the user.
    But Junit doesn't run the tests in the order in which the test are written. So I have to call this in all the test cases.
    The Question is :
    How can I check whether the session is already present or not, so that I don't have to ask the user every time while every test is running to enter the Username and Password ?
    Thanks,
    Nigel.
    Edited by: Nigel Thomas on Jul 30, 2012 10:26 AM

    Hi,
    wondering why don't you create test users and then automatically log them in as Jan Vervecken did on the threads I pointed you to. This way your test cases run without user interaction. To test if a session exists for a user, I would put a custom property into user data. If this property exists, the user session is an existing one. However, make sure the information you save into the user data survives passivation as otherwise the information you get out of this is not accurate. See: http://tompeez.wordpress.com/2011/07/08/jdev-always-test-your-app-with-applicationmodule-pooling-turned-off/
    Frank

  • How to check whether a batch input session is completed in ABAP program

    I have created a ABAP program to create a batch input session (reference to RSBDCSUB). After the creation of the batch input session, I kick it to start and read the execution log. However, sometimes I cannot read anything from the execution log as the execution of the batch input is a synchronized process to the execution of my program, i.e. at the time being that I try to read the log of a particular transaction, that transaction is being processing / haven't start processing.
    How can I check whether a batch input session is completed in the program?
    The code that corresponding to the triggering of batch input session:
    SUBMIT (SUBREPORT)
       USER MTAB-USERID
       VIA JOB MTAB-GROUPID
       NUMBER JNUMB
       WITH QUEUE_ID  EQ MTAB-QID
       WITH MAPPE     EQ MTAB-GROUPID
       WITH MODUS     EQ 'N'
       WITH LOGALL    EQ LMODUS
    Or is there any method to wait here until the process is completed before further processing?

    Hi gundam,
    1. Or is there any method to wait here until the process is completed before further processing?
    There is no such direct method to wait.
    2. Immediately after submitting in background,
       we cannot wait
      neither can we LOOP and go on detecting
      whether the b/g process has completed or not !
    3. To over come such problems,
      we have to use another technique.
    4. we have to submit another
       job which will get triggered
       on event SAP_END_OF_JOB
       ie. when the original job will finish,
      our new job will AUTOMATICALLY get triggered,
    5. This new job / program
       will do the FURTHER actions !
    regards,
    amit m.

  • Error "Internal error occurred checking the external " while creating a job

    Hi All,
            I am getting an error while trying to schedule a job, Im not very shure abt what the job does, the user tried it and she got an error and asked me to do it.
            A similer kind of job has been created in an other system and it works fine there. This job should run monthly and belowis the job step
            The job runs on an external command and following are the paramerters
             Name           SAA_TP_CHECK                                          
             Parameters     /usr/sap/transTCluster/bin/TP_DOMAIN_TD1.PFL          
             Operating sys. UNIX                                                  
             Target server  saptp1
            This gives an error "Internal error occurred checking the external "
    A similer kind of job that runs in a different system has the parameters as follows
            Name           SAA_TP_CHECK
            Parameters     /usr/sap/trans/bin/TP_DOMAIN_YD4.PFL
            Operating sys. UNIX
            Target server  sapyp4
    What might be causing the error, and how can this be solved. Please help!!!!

    Hi,
    I think the issue is with the server .
    Please check whether the Server name you are giving has the all the RFC connections.
    I mean Remote Connection with the Server is establised or not.
    Regards
    Arbind

  • Find status of a sales order created using EDI IDOC

    Hello everyone,
       I have IDOC created for incoming sales order using FM 'IDOC_INPUT_ORDERS'.
    When a sales order is created manually iva VA01, it prevents the order from being saved when a specific error is hit unless user resolved it first.   However, when the order is created via EDI IDOC, the error is hit and it cannot be created.  In the sapmv45a program, i will to say that if it is an EDI IDoc transacion for the order, let it bypass the error and create the order.  
         Can anyone pls tell me how to check the status of a sales order being created using EDI IDOC ?
    Sy-batch does not work.
    Thank you in advance.
    Joyce

    Joyce,
    If you pay attention the code in FM it is exporting value of da_edi_sign to memory id "SD_EDI_ACTIVE" stored in constant "da_memory_id". ('CONSTANTS: da_memory_id(13) VALUE 'SD_EDI_ACTIVE'.)
    In your program you have two you have two options.
    1. Declare a constant as in the FM and use that as mentioned below:  
    CONSTANTS: da_memory_id(13) VALUE 'SD_EDI_ACTIVE'.
    IMPORT v_memid FROM MEMORY ID da_memory_id.
    2. Hardcode memory id as below:
    IMPORT v_memid FROM MEMORY ID 'SD_EDI_ACTIVE'.
    Hope this resolves your problem.
    Gajendra

  • BP - default and check classification data at CREATE/SAVE using BDT + BADI

    Hi,
    I do have several requirements around Business Partners and BDT.
    1. When a BP is created, I want to default certain fields depending on what BP role is maintained, specifically I am looking at fields on the classification tab (BDT application CRMD).
    --> I do not want to use transaction variants.
    --> I want to use the BDT or implement a BADI (which I don’t think does exist)
    2. When a BP is saved, I want to check whether certain fields have certain values – depending on the BP role.
    --> Field selection is not sufficient.
    --> I tried using the BDT calling own function modules at different events – without success. When I call function module CRM_BUPA_FRG0040_GET_DETAIL to get current classification data at DCHCK, structure ls_frg0040 is not updated yet.
    At a later event I can not stop the save.
    Is there a way to force an update of memory, so that function module CRM_BUPA_FRG0040_GET_DETAIL returns current values.
    --> I also tried BADI BUPA_FURTHER_CHECKS, but it is not called at all.
    Any help is highly appreciated.
    Can anyone send me the BDT cookbook at [email protected]?
    Thanks in advance,
    Juergen

    Hi Juergen,
    From the BADI stand-point (and assuming dialog usage).
    1/ You have:
    BUPA_INITIAL_SCREEN  "Initial Screen for BP creation"
    You should even be able to set a particular tab to which you want to navigate and then fill in the relevant fields, prior to having the screen completely painted.
    2/ You have badi's"
    A - PARTNER_UPDATE "Business Partner"
    and
    B - BUPA_GENERAL_UPDATE  "Business Partner General Data"
    when performing updates to the partner.
    Looking at the call stack (reading bottom-up) these BADIs are called a the points shown, both with the change-before-update method:
    --> B
    10 GENERAL_BADI_CALL
    9 BUP_BUPA_EVENT_DSAVE
    8 EVENT_DSAVE
    7 BDT_DATA_SAVE
    6 SAVE_GLOBAL_MEMORY
    5 SAVE_GLOBAL_MEMORY
    --> A
    4 COMMIT_MAINTENANCES
    3 TAKE_OVER_AND_SAVE
    2 TAKE_OVER_AND_SAVE_AND_RELOAD
    1 ON_SAVE
    Brad

  • How to check whether transport path exist between two systems in sld??

    Hi,
         I have two systems namely 'A' and 'B' and created business systems for both of them.Then i created transport path between the two systems.How i check whether what i have done is right in SLD.

    <b>WRT to CMS</b>
    am not sure with this but u can try:
    1. Start CMS: http://<host>:<J2EE Engine http port>/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms.
    2. Goto lansdscape configurator and check there
    Message was edited by:
            Prabhu  S

  • Warning: Check whether a duplicate payment medium

    Dear All
    Does anyone come across the following error/warning when running F110 for the payment method of bank transfer e.g. "T"?
    When I run F110, the part until to the generation of payment document is fine. But after the printout run, and when I tried to display my "own spool request". The first line always display a error describing about a warning :"Check whether a duplicate payment medium has been created"
    When I go back to F110 to read the log about the "payment run" and "print job", I can see there 1 DME file being generated for payment and 1DME file for the print job. Why? Any hints whether the things go wrong?
    Best Regards
                   João Fernandes

    Long text of the message has enough information I think.
    Comparing below fields , you have duplicate record in table REGUH REGUT.
    Paying company code
    Bank country
    Payment run (date and ID)
    Data medium format
    Total amount and currency
    Edited by: Pawan Kesari on Feb 16, 2010 6:53 PM

  • Check whether the checkbox in a form is checked or not using javascript

    when we click a check box (TBD) it should set the value of a field to a default value '1234'. If we uncheck the checkbox, it should set the field as Null.
    I have defined the checkbox as STATIC2:;1234 in form.
    I used the onClick event on the checkbox and called a function to update the column.
    Inside the function i am checking whether the check box is checked using
    if (document.getElementById('P4_TBD').checked=true)
    document.getElementById('P4_COL1).value='1234';
    else
    document.getElementById('P4_COL1).value=''; /* or $s("P4_COL1", "");
    it works only when check box is checked. If check box is unchecked it is not setting the field as Null.
    I checked document.getElementById('P4_TBD').checked=false instead of else clause. it is not working.
    Please help me on this issue.
    Thanks,
    Ravi

    When you are using checkboxes or option button, the ID for your button is using an index. If you create a group of 3 checkboxes with the ID = "MY_CHECKBOXES", APEX will create the following IDs for each of your options : MY_CHECKBOXES_0, MY_CHECKBOXES_1 and MY_CHECKBOXES_2. If you want to test if the first checkboxe is checked, you'll use document.getElementById('MY_CHECKBOXES_0').checked.
    I didn't test for a lone checkbox, but I expect your checkbox to be "TDB_0" not "TDB" who is the frame around your checkbox group.

Maybe you are looking for

  • SAP PI 7.3 - initial setup Configuration wizard

    Hi Experts, While running the initial setup Configuration wizard.,facing the following issue. Thanks in advance Exception Class: com.sap.tc.lm.ctc.metamodel.exception.ActionExecuteException Exception Message: Not able to load Function PRGN_J2EE_CREAT

  • Adobe Air fails to Launch

    After downloading the latest version of adobe air, none of my programs that run on it will launch. The download seemed to happen without a hitch, the program states that the install was successful. When I try to open any air program it takes me direc

  • Re: Cancel Skype Number subscription (or at least ...

    I have the same problem and as a busy doctor in a developing country with slow internet this experience has wasted so much valuable time I could have used productively. I will move to Viber if this is not resoved quickly. dickybeach

  • Problem with Camera Raw update in Elements 11

    I need to update the raw plug-in in elements 11, but when I go to the update section, I just keep getting an error message (which says server busy or might be prevented by firewall).  I suspect that my firewall is stopping the updates, but I don't kn

  • UI Loader question

    I have a main.swf which I'm trying to load  separate swfs in certain frames of the main timeline there are only two, lets call them 2.swf and 3.swf I have 2 buttons on main stage button 1 has a gotoAndStop (25) button 2 has  gotoAndStop (26) on frame