Error in BDC program which is creating Work Order IW31

Hi All,
          I am getting an error - 532 - " Specify only one start time/date "   when running bdc program for txn IW31 in back ground. I run the same program in the foreground.. there is no error.. but when I run in background.. I am experiencing the above error.
Thank for Ur time.
Cheers
Senthil

Hi,
Are you facing this issue during Normal order creation with that functional location ?
Please check CC assignment to functional location  and settlement rule applied while saving order.
Thanks
Riyaj

Similar Messages

  • How can I make settlement rule mandatory in create work order (IW31)

    How can I make settlement rule mandatory in create workorder and saving without release.
    I kanow we can make settlement rule mandatory upon Release order but here requirement is
    Create work order (IW21) save without releasing that time settlement rule should default.

    Hi,
    1.If you want the settlement rule default then maintain account assignment data in technical object and when MO is created on that it would be copied into the settlement rule...
    2. If you want to make those fields mandatory .... plz check up field selections in config , if you cannot find those then use SHD0 Transaction variant to make those fields mandatory.
    3. Enter SHD0 , Enter IW31 in transaction and ZIW31 for transaction variant ..click create option and this takes you to IW31 initial screen , here enter required values of technical object etc and press enter and this gives you IW31 Initial scree screen variant , click continue and this takes you to inside screen and here enter required field values and on pressing enter gives you screen variant .. so you need to enter field values and check the flow of screen variants and on getting settlement rule screen variant select required option for the fields you need.
    4. Finally you can save that in package created in SE80 for transporting to other client .., you can activate the variant in SHD0 -->Standard variants -->you can find activate option ..
    regrds
    pushpa

  • Authorization check creating Work Orders (IW31)

    Hello everyone,
    We need to make an authorization check when creating a Work Order in transaction IW31.
    That check is based on the field "Main work center for maintenance tasks"
    No check apart from the plant associated to the work center is done, but the problem is that there exist different Work Centers associated to the same plant, and we need to restrict it.
    Our authorization model considers the Cost Center associated to the Work Center, but the Cost Center is not checked in this IW31 when entering the Work Center.
    We have also tried using the classification system, but despite activating authorization obejct C_KLAH_BKL, is neither checked.
    (It is amazing the difference between the number of objects marked to be checked in SU24 for this IW31 and the objects really checked when looking at authorizations trace)
    We know that Work Center field exit could be used, but we would prefer not to change ABAP code.
    Could you please give us a hint about how we can restrict this field?
    Thank you very much.
    Best regards.
    Jose Sanz.

    Hi Jose,
    You can look at the object C_ARPL_WRK,
    if you work with this , i hope you would be able to find a solution for this situation.
    Thanks,
    Vijay

  • Error while creating Work Order

    Hello Experts,
    I am getting below error while creating work order via add-on named beas but the error seems to coming from SBO.
    Please advise.
    Thanks
    Deepak

    Hi,
    Plz check this thread:
    What does this error mean?

  • Error creating work order for new notification - Related SyncBO not present

    Hi,
    We are working with MAM3.0 standard application.
    We age getting an  error while creating work order for a NEW notification.
    In this scenario both notification and corresponding work order are also not created.
    Here is the error for MAM30001 Sync BO in MEREP_MONI:_
    Reading inbox record (mobile ID=0000001444, seq, no.=29, rcd_cntr=1, data=TOP0001000000
    External format successfully converted to internal format: ldata=TOP0001000000000000000
    Related SyncBO MAM30_010 with Sync key 0000000028 is not present on the device.
    Return code 1 (DOWNLOADER)                                                   
       Here is the error for MAM30010 Sync BO in MEREP_MONI:_
    Return code from RFC BAPI Wrapper call:Order NEW does not exist
    Return code from RFC BAPI Wrapper call:The order/network type  is not defined
    Return code from RFC BAPI Wrapper call:Order NEW does not exist
    Return code 0 (UPDATE MEREP_506-STATUS)                                      
    Can any body please tell me what is the sollutions for this error
    your help in this regard is appreciable.
    Regards,
    Murthy

    Hi Murthy,
    II have no idea what patch level you are on. A while back we had similar issues with some clients. There are several patches around that area available. Perhaps you should have a look into patch 959732.
    Hope that helps.
    Regards,
    Oliver

  • How to create Work Order in CMRO

    Dear All,
    We are new to using Oracle CMRO and because of unavailability of CMRO resources, we are facing quite a few problems while working on CMRO. Can anyone please help me out how can I create Work Order using CMRO.
    If anyone can provide me with Oracle CMRO White Papers, I will be very thankful.
    Regards,
    Zulfiqar Ali Mughal

    Hi,
    There are 3 ways to create work order in oracle cMRO.
    1) Through Maintenance Requirement and associated to visit and push to production.
    2) Non-routine.
    3) Unassociated Task.
    1.     Create Work Order From Maintenance Requirement:- In order create work order first of all we need to define an MR in Engineering > Fleet Maintenance Program > Overview > Create. After creating the MR Header at least one route should be associated (Route can be created from Engineering > Route >Overview > Create and the status should be "complete"). Then MR effectivity (means which item or unit MR is applicable) need to be defined and in turn the interval threshold also need to define. Once the MR is completed from the Planning window associate the MR to a visit and push to Production. In case of Planned MRs run the Build Unit Effectivities and view the due date from the Planning> Unit Maintenance Plan screen and associate to a Visit in Planning and push the visit to production. In case of Unplanned MRs create visit, associate unplanned MR, push to production.Work Orders would have generated and visible in Execution >Production Planning > Work Orders.
    2.     Create Non-Routine:- Non- Routines can be created from Execution and Planning
    a.Create Non-Routine work order from Execution:- Select the Routine work order and select Create Non-Routine work order from the pull down menu, furnish the details like severity, urgency, summary etc. and click on (B) Apply.
    b.Non-Routine from Planning: Create NR from Planning >Unit Maintenance Plan> Non-Routines (B)Create and then associate to a visit and push to production.
    3.     Unassociated Task:-This is for executing the miscellaneous operations to be done as part of already created visit. Navigate the visit task screen in an already created visit (Navigation: Planning > Visit Work Package > Overview > Search the visit > Click on the visit hyperlink> view visit task in side Menu), From the drop down menu select the “ Create Unassociated Task” and click (B) Go. Furnish the details in the Task header and click on (B) Apply and (B) Cancel, you would be navigate back to the “Visit Task” Screen. Select the unassociated task and push to production. Unassociated work orders would have created. You can create Unassociated task any time during the execution, before closing of visit.

  • Error in Work order -IW31

    Hello All,
    We are facing one error while creating work order.
    When we are creating work order from IH01 > Goto> Create order or directly creating from IW31 by putting PM03 in type , priority and equipment details then after release if we press save button then system says that invalid account group.
    What can be reason for same.
    Regards
    Himanshu

    Hi,
    Are you facing this issue during Normal order creation with that functional location ?
    Please check CC assignment to functional location  and settlement rule applied while saving order.
    Thanks
    Riyaj

  • Create work order in 4.6C

    Hi guys,
    Have any of you seen any FMs for creating work orders in 4.6C?
    Thanks
    Mantas

    Hello Mantas,
    could you please check if the following BAPI can help fulfill your requirements.
    BAPI_ALM_ORDER_MAINTAIN
    I think that this what you are looking for.
    Regards,
    Isabelle

  • Create work order on 4.6C FM

    Hey guys,
    Just wondering if any of you have seen a function module for creating work orders in 4.6C?
    Thanks
    Mantas

    Hi,
    Do you mean PM work order?
    In that case BAPI_ALM_ORDER_MAINTAIN
    Regards

  • Create Work Order Using BAPI in LSMW

    Hi All,
    I searched in SCN but i dint get the correct idea to create Work Order USING BAPI,
    Im trying to create Work Order Using BAPI in LSWM
    Can any one Give me Brief Idea to create Work Order(Either Component or Operations) (t code - IW31) using BAPI in LSMW
    Regards
    Smitha

    Hi All,
    I searched in SCN but i dint get the correct idea to create Work Order USING BAPI,
    Im trying to create Work Order Using BAPI in LSWM
    Can any one Give me Brief Idea to create Work Order(Either Component or Operations) (t code - IW31) using BAPI in LSMW
    Regards
    Smitha

  • Error in bdc programing code-pls help

    hi friends,
                I was tring to do a bdc program.But it shows me an error. MY bdc program is jus to upload a 2 fields in vendoe master table.
    That is LIFNR,NAME1 field for the new vendors.
    I worked out an execl sheet for this, and jus copied it to the text file by selecting all and  pasting.
    Even then i get an error code that BDC_open does not exits.
    MY code is this, please help me if iam wrong.
    If anyone can help to make it more understandable,I Kindly  request you to try out this program with the screen shot and mail to this id [email protected] would be very thankful for your timely help.
    report Z_PK_BDC
           no standard page heading line-size 255.
    include bdcrecx1.
    parameters: dataset(132) lower case.
    parameters: p_file like rlgrap-filename default
                    'C:\SAP TESTING\p_file.txt'.
       DO NOT CHANGE - the generated data section - DO NOT CHANGE    ***
      If it is nessesary to change the data section use the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting - DO NOT CHANGE  ***
    data: begin of record OCCURS 0,
    data element: LIF16
            LIFNR_001(016),
    data element: BUKRS
            BUKRS_002(004),
    data element: KTOKK
            KTOKK_003(004),
    data element: ANRED
            ANRED_004(015),
    data element: NAME1_GP
            NAME1_005(035),
    data element: SORTL
            SORTL_006(010),
    data element: NAME2_GP
            NAME2_007(035),
    data element: STRAS_GP
            STRAS_008(035),
    data element: ORT01_GP
            ORT01_009(035),
    data element: ORT02_GP
            ORT02_010(035),
    data element: PFORT_GP
            PFORT_011(035),
    data element: LAND1_GP
            LAND1_012(003),
    data element: SPRAS
            SPRAS_013(002),
          end of record.
    End generated data section ***
    start-of-selection.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME                = P_FILE
                FILETYPE                = 'DAT'
           TABLES
                DATA_TAB                = record
           EXCEPTIONS
                CONVERSION_ERROR        = 1
                FILE_OPEN_ERROR         = 2
                FILE_READ_ERROR         = 3
                INVALID_TYPE            = 4
                NO_BATCH                = 5
                UNKNOWN_ERROR           = 6
                INVALID_TABLE_WIDTH     = 7
                GUI_REFUSE_FILETRANSFER = 8
                CUSTOMER_ERROR          = 9
                OTHERS                  = 10.
      IF SY-SUBRC <> 0.
        WRITE:/ 'SY-SUBRC:', SY-SUBRC.
      ENDIF.
    LOOP AT RECORD.
    *perform open_dataset using dataset.
    *perform open_group.
    *do.
    *read dataset dataset into record.
    *if sy-subrc <> 0. exit. endif.
    perform bdc_dynpro      using 'SAPMF02K' '0105'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RF02K-KTOKK'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RF02K-LIFNR'
                                  record-LIFNR_001.
    perform bdc_field       using 'RF02K-BUKRS'
                                  record-BUKRS_002.
    perform bdc_field       using 'RF02K-KTOKK'
                                  record-KTOKK_003.
    perform bdc_dynpro      using 'SAPMF02K' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-SPRAS'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=UPDA'.
    perform bdc_field       using 'LFA1-ANRED'
                                  record-ANRED_004.
    perform bdc_field       using 'LFA1-NAME1'
                                  record-NAME1_005.
    perform bdc_field       using 'LFA1-SORTL'
                                  record-SORTL_006.
    perform bdc_field       using 'LFA1-NAME2'
                                  record-NAME2_007.
    perform bdc_field       using 'LFA1-STRAS'
                                  record-STRAS_008.
    perform bdc_field       using 'LFA1-ORT01'
                                  record-ORT01_009.
    perform bdc_field       using 'LFA1-ORT02'
                                  record-ORT02_010.
    perform bdc_field       using 'LFA1-PFORT'
                                  record-PFORT_011.
    perform bdc_field       using 'LFA1-LAND1'
                                  record-LAND1_012.
    perform bdc_field       using 'LFA1-SPRAS'
                                  record-SPRAS_013.
    perform bdc_transaction using 'FK01'.
    **enddo.
    **perform close_group.
    endloop.
    **perform close_dataset using dataset.
    Thanks in Advance
    Rinky123

    Hi,
    If you are using GUI_UPLOAD in 4.7 then the file path whatever you are using currently it won't work. Replace the file path like this.
    P_FILE LIKE RLGRAP-FILENAME.
    DATA: V_FILE TYPE STRING.
    V_FILE = P_FILE.
    Now take this v_file for function module.Then only it will open the file otherwise you won't get unable to open file error message.
    I observerd that you are getting so many fields from the file to the internal table.

  • Error while creating work order from purchase order

    Dear All,
    We are having a subcontracting scenario where we are creating a Work order from PO but getting the below error.
    Error - "No master data assigned to partners-locations-product combination."
    Done all the setting mentioned in the below thread but the error still persist.
    Error in Generating Work order from Purchase Order
    Any suggestions on which master data we need to check?
    Thanks,
    mahesh.

    Hi Mahesh
    In the below transaction
    /SCA/MFGCFG - Work Order Configuration
    Can you maintain Master data Assigment properly
    Valid From
    Valid To
    Active---Checked
    Can you please list what you maintained
    Regards
    Vinod

  • Error in BDC program for Block vendor in SAP R/3

    Hello friends,
    I wrote a BDC program to block vendor using FK02.
    When I debug the program in <b>No screen</b> mode
    the program gives a error 'No batch input data for screen SAPMSSY3 0131.
    But the screen name and screen number is not available in the program.
    When I execute without debugging  in No screen mode, the program works correctly.
    When I run in ALL screen mode, the program works correctly and the program does not prompt for SAPMSSY3 0131 screen.
    Is there any solution for this problem.

    check this
    ... MODE mode
    Effect
    The processing mode can take the following values:
    'A' Display screen
    'E' Display only if an error occurs
    'N' Do not display
    <b>'P' Do not display; debugging possible</b>
    If the MODE addition is omitted, then the processing mode is 'A'.
    If a screen is displayed in processing mode 'E' because the system reached the end of the BDC data, the system automatically switches to processing mode 'A'.
    If breakpoints are set in a transaction tcod called using the CALL TRANSACTION tcod USING itab variant, these are not actually reached in 'N' mode. The system tries to insert data in the Debugger screen; the call ends with SY-SUBRC = 1001 and the message "Batch input data is not available for screen SAPMSSY3 0131" (S 00 344).
    Conversely, in 'P' mode, transaction screens are processed in the background (as in 'N' mode) and debugging is possible.
    Regards
    Prabhu

  • BDC program on COGI not working in ECC-need help

    Hi,
    We are doing a SAP upgrade from 4.6c to ECC. One of the custom tcodes which were using BDC programming on COGI is now broken.Since , COGI is now changed in Ecc 6.0 with respect to the output which is now inALV and the earlier Date funtionaliy button is no more there in ECC6.0.
    We are still not to able to find relevant BAPI/function module/alternative for that matter.Rerecording COGI for new environment is not working since it involves alv call functions, which cannot be recorded in BDC.
    Please provide any inputs/valuable suggestions for same.

    Hello AlbertMarsh,
    I've tried, and wasn't able to locate your My Best Buy Member ID with the information you provided to the forums.  I'm going to need you to send me a private message by clicking the blue box at the end of my signature with your My Best Buy member ID. 
    I’m going to add more clarity to enuf's Trade-In post. The 10% bonus is on the total amount prior to the additional 30% promotion. So if you got $10 Trade-In credit and had 30% bonus ($13), you would get $1 additionally from original base value for Gamers Club Unlocked not $1.30.  I hope that makes sense.  
    Blake|Social Media Specialist | Best Buy® Corporate
     Private Message

  • Error in manual batch determination while creating process order

    Hi Expert,
    Manual batch determination is happening for some of material and for some material it is working firne  when creating process order,
    Pleae assist
    Thanks
    Intekhab

    Dear,
    please open this prd order in change mode CO02 then press tab button cost calculation near release button in order header screen now do not save this order go to edit >log> cost calculation
    There it will show the error tht occured during costing
    Please refer this thread,
    Cost error when saving production oredr
    Regards,
    R.Brahmankar

Maybe you are looking for

  • What is the best way to extend time capsule range?

    Hello there: I was wondering what kind of set up do people have in their house to ensure a good coverage all around the house? I've tried several options and none seems to work correctly. I've tried Time capsule + airport base, I've tried two time ca

  • How to use it..not able 2 dwnload nething..not even basic apps

    hii..i purchased ipad2 from US..m using it in india..m not able to download ne app in it..does nebdy tell me wat 2 do so dat i can dwnload various apps(skype, fb)

  • Re-Installation and installation of Oracle 10g

    Hello I am a student currently doing a subject on how to use and develop databases, forms and reports in Oracle. My concern is with regard to the installation of Oracle I had previous partially installed Oracle and while using the Windows function to

  • CDATA issue in RFC XML conversion

    Hi all, I am trying to consume a webservice from ABAP. One of the webservice method responds with a data holding an xml fragment under the tags CDATA, like, <!CDATA[[<?xml version="1.0" encoding=.....]]> But the program throws exception during RFC XM

  • Using Acrobat 8.2.5 on a 64-bit Windows machine

    I own Adobe Acrobat 8.2.5 Standard that I have used on my old computer.  However, it will not load into my new 64-bit computer.  Is there a way to make this work short of purchasing a new program?