Filed to identify the batch characterstics in MBGMCR02 (idoc seg.)?

Hi All....
As i am passinng some data to idoc segment MBGMCR02.
Along with this i have to also pass the Batch chacterstics with respect to the BATCH in order to satisfy the requirment. But the field through we can pass this batch charcterstics i am not able to find it out..
Please help to me solve this secnerio?

Hi,
Check this sample process
To get custom fields on IDOC you need to add custom segment on IDOC and for that you have to create a extension IDOC with reference to Basic IDOC.
You can do that as explain below.
Here for example you have basic idoc ORDERS05 and you want to add additional segments at header level - ZE1EDK01 and line item level ZE1EDP01
1. TCode - WE31 : Create custom segments ZE1EDK01 and ZE1EDP01 with the fields you want and release these segments.
2. TCode - WE30 : Create extension IDOC
In WE20 enter extension IDOC name - ZORDERS05, select "Extension" option and hit "create" button. When it gives pop-up, select "create new" and enterd linked basis type as "ORDERS05". Enter proper description and save.
3. On the next screen of WE30, select the segment under which you want to add your additional segment. Save everything.
4. TCode - WE82. Here you link extension idoc to basic idoc and message type.
Go into change mode. Hit "New entries button" Enter Message type = "ORDERS", basic type = "ORDERS05" and extension type = "ZORDERS05".
Regards,
Satish

Similar Messages

  • How to identify the batch job

    Hi guys,
    we have a batch job for
    1. creating invoice
    2. and printing invoices.
    How do i identify the background job being used for the above two.
    REgards,
    Anand

    How do i identify the background job being used for the above two.
    1. creating invoice
    In t.code VF02/VF03, go to the header level. Here you can see the created by field. This carries background billing job user name (for example SDBATCH).
    2. and printing invoices.
    In VF02/VF03, go to menu Goto->header->outupt. Highlight the output and click on the further data button. Here you can see created by at the botton(for example batch billing). By this way, you can identify, these are created by background  jobs.
    Regards,

  • Error While Changing the Batch Characterstics

    Hi Guys,
    We are getting error while Passing Material,Plan and Batch(Concatenated Value) to BAPI_OBJCL_CHANGE in the LV_OBJECT(BAPI1003_KEY-OBJECT) field we are getting the following error "Object LV_OBJECT Value does not exist" in the Return Table of the Bapi. Do we need to do any configurations for this?
    Thanks
    Nav

    Issue Got Resolved.
    Thanks,
    Nav

  • Batch characterstics at confirmation level

    Hi,
    I need the batch characterstics should display at  the  time of confirmation.Because my client want to enter the  charactestics value obtained at the last confirmation of operation so based on that i enter the confirmation.
    It is possible to display the batch charaterstics at the time of confirmation or not if yes how  can do this.Please reply me.....

    Dear Vijay,
    ur closing all the threads without allocating points
    can u reply on this ??
    Regards
    kumar

  • Updation to Batch characterstics and modification to table

    Hi All,
    I have implemented one implementation to the BADI MB_DOCUMENT_BADI.
    I have writen my all code in method MB_DOCUMENT_BEFORE_UPDATE.I am trying to update the batch characterstics using CALL FUNCTION vb_change_batch in update task and trying to modify the data with out commit work.
    Can anybody who worked on BADI, confirm my doubts.
    as in  the documentation to the BADI its mention that we can not use commit work in method MB_DOCUMENT_BEFORE_UPDATE.
    Please clarify my doubts.
    Regards,
    Sandeep.

    Thanks Sailatha,
    Will it not cause any inconsistency between MM and ML as its mentioned in the documention to BADI is that  u can not use 'COMMIT WORK' over there.
    if I use ths function vb_change_batch in update task will it update the characterstics to the AUSP table with out using 'COMMIT WORK' statement.
    can I use the deque function to customize table in order to update the table.
    Regards,
    Sandeep.

  • Data load of Batch Characterstics values

    Hi,
    We are using batch management. For initial stock we have data map for batch creation. We need to enter the characterstics values for all these batches.
    We can enter the batch characterstics values using MSC2N. However, I am not sure if that is the correct way of doing it.
    If I use CL20N, then we can not enter the characterstics values at batch level.
    Am I correct in my understabding of using MSC2N or it has to be something else?
    Thank you for all your help.
    Thanks,
    -Shekhar

    I usually use LSMW for batch classifiction load.
    Here I use IDOC import method with message type CLFMAS.

  • How to identify mandatory fields while using an idoc

    Hi
    I am new to Idocs. I want to find out the mandatory fields in the segments that are used in an Idoc.
    Please help.
    Regards,
    Lohitha

    Hi Lohitha,
    I dont think there is a straight forward/documented way of knowing a mandatory field within a segment, however you can use WE30 or WE60 to identify the mandatory segments in an IDOC.
    I guess you will have to use common knowledge of the requirement to know/identify a field that might be mandatory. For Ex: when you are creating an ITEM on a SO, Material  is mandatory etc
    Regards,
    Chen

  • How to find the outbound program for standard IDoc

    Hi Folks,
    Can anyone tell me how to find the outbound program/tcode for a standard IDoc? For e.g. IDoc - MATMAS05 can be generated & distributed using tcode BD10. Similarly how do I find the outbound program/tcode for any standard IDoc? Is there any procedure to find the same.
    I have tried to search based on the package name, but unfortunately I didn't find the information for IDoc: COND_A04.
    Thanks in advance.
    Somu

    You can do following steps if the idoc is generated based on change pointer concept (for masters)
    - Identify the message type associated with idoc type (table EDIMSG).
    - Function module for generating the IDOC will be available in table TBDME (pass message type as input).
    Refer to the standard Outbound IDOC generation program RBDMIDOC for more details.
    If the idoc is generated based on the process code concept (transaction data), get the process code information from table TMSG1 (pass message type as input), get the function module associated process code from table TEDE1 (pass process code as input).
    Regards, Vinod
    P.S: There is no standard way to find out the associated program / Tcode for generating idoc. The above process will be helpful to find out the underlying function modules to generate the idoc.  For generating idocs based on change pointers the generic program RBDMIDOC can be used.
    Edited by: Vinod Kumar on Jul 13, 2011 2:15 PM

  • Which table will get updated for batch characterstics for the MIGO trans?

    Hi all,
    As i am trying to post a goods receipt for 101/102 movement type in MIGO transaction.
    But it is giving error as 'Batch characterstics values are not classified'.
    If i give Batch Type- as  PRODUCTION(P)  in batch classification.
    It will get posted.
    Can any one help me out in which table this field will get updated.
    Thanks...

    HI ,
                 Try table MSEG.
    Regards,
    Mohan

  • How to identify the Open Schedule Lines.

    Hi All,
    I am writing an ABAP report which requires to identify the OPEN SALES ORDER SCHEDULE LINES.
    The requirement is to identify the Open Sales Order Schedule Lines for a particular month (user Processing month in the selection screen).  Here the Schedules line item could have been delivered already.  If it is not Billed then it is OPEN schedule line.
    Can anyone help me to understand the logic which I need to apply to identify only the Open sales order scshedule lines.
    I am using the following tables:
    VBAK,VBAP,VBUK,VBUP,VBEP.  Is there any other table which I need to use?  I am trying to avoid using table VBFA due to performance issues.
    Thanks in Advance
    Regards
    Gopalakrishnan S

    Hi Gopal,
    If you want to find status of any sales order line item then you can find from following method from VBUP table.
    In VBUP table there is a field FKSTK.By this filed status we can find billing status of particular sale order and this field has four possible values and these are
    <i><b>field value  field value meaning</b></i>                             
    if this value is space then order is not Not Relevant for billing             
    if this value is  'A'  then order is    Not yet processed
    if this value is   'B' then order is Partially processed
      if this value is  'C' then order   Completely processed
    If you want to find status for the header then go to VBUK table and process is same as above.
    In these table we can find all types of status.
    Message was edited by:
            shyla kumar
    Message was edited by:
            shyla kumar
    Message was edited by:
            shyla kumar

  • To identify the user running the job at runtime

    Hi All,
    My requirement is to develop a program which need to send mail only if a particular user runs the job.
    I need to read the user who runs the job at runtime, i tried with SY-UNAME but it holds the user name of the person who created the job at runtime.
    Please suggest me the possible ways of identifying the user running the job at runtime.
    Thanks in advance!!!
    Regards,
    Dinesh.

    "I need to read the user who runs the job at runtime, i tried with SY-UNAME but it holds the user name of the person who created the job at runtime."
    This is not true if your program/form/method is called inside the ABAP report which is executing in the batch job step. There, the active SY-UNAME is the user entered in SM36 as the job step user. It is not the user who planned/scheduled the job.
    It is unclear from your description where your program is actually running. Is it another (ABAP) step belonging to the same job or is it actually some routine called within the same job step that you are checking or is it a program totally unrelated to the batch job in question (in that case, check out the other answers about TBTCO/TBTCP)
    - Alex

  • Is it possible to identify the user?

    Hi,
    I know that I can check identity.name to see who the user is. But it seems that this property is only available during console, batch, menu and app initialization events.
    I have a date that is supposed to auto fill if it is blank. I want it to work on every machine except one, and I want the form to identify the user and if that user is a specific user, the date doesn't auto populate.
    If the identity object won't work, can anyone think of another way?
    Thanks.

    As documented in Adobe's Acrobat JavaScripting Manual, there are security restrictions with respect to the "identity" object. Those restrictions prevent one from directly accessing the "identity" object from a form field. You can access the properties from a folder level JavaScript. The following script when placed in Acrobat's application JavaScript folder will create and initialize application level variables that be accessed by any PDF opened by Acrobat:
    // Folder level script to create an application level variables for the "identity" objects properties
    var Identity = new Array();
    Identity.Corporation = identity.corporation;
    Identity.Email = identity.email;
    Identity.LoginName = identity.loginName;
    Identity.LoginName = identity.loginName;
    Identity.Name = identity.name;
    One can then add the following document level or field level javaScript to initialize fields within the PDF to the value of the application level variables:
    this.getField("loginName").value = Identity.LoginName;
    this.getField("name").value = Identity.Name;
    this.getField("by").value = "By: ";
    this.getField("by").value += Identity.Name;
    With version 7.0 or above, you can use a trusted function located as a document level script to retrieve the information:
    trustedIdentity = app.trustedFunction( function (sProperty) {
    var iProperty = "";
    app.beginPriv(); // explicitly raise privilege
    iProperty = identity[sProperty];
    app.endPriv();
    return iProperty;
    One can then add the following document level or field level javaScript to initialize fields within the PDF to the value of the application level variables:
    this.getField("loginName").value = trustedIdentity("loginName");
    this.getField("name").value = trustedIdentity("name");
    this.getField("by").value = "By: ";
    this.getField("by").value += trustedIdentity("name");

  • Processing the batches of data in parallel

    Hi friends,
    Can any one suggest me how to process the bathces of data in parallel.
    Please see the requirement below.
    •     A new version of ZREDISND1_OLD named ZREDISND1_EINVOICE with the possibility of processing the blocked invoices with parallel processing capability. The program will process the blocked invoices and will have the same results / outcome as the old program ZREDISND1_OLD had.
    •     A new version of Z_RECTHI01_60 named ZRECTHI01_EINVOICE with the possibility of charging the amounts with parallel processing capability. The program will have the same results / outcome as the old program Z_RECTHI01_60 had.
    •     An umbrella-program ZREDISND1_UMBRELLA will have de same capability as ZREDISND1_EINVOICE but will split the data automatically into batches, initial by supplier and additional by Business Partner followed by Contract Account. It will therefore act as an umbrella program for ZREDISND1_EINVOICE.
    •     An umbrella-program ZRECTHI01_UMBRELLA will have the same capability as ZRECTHI01_EINVOICE but will split the data automatically into batches by suppliers. It will therefore act as an umbrella program for ZRECTHI01_EINVOICE.
    •     For the realisation of the umbrella-programs a new table must be created. The table must contain all the service providers which are charged by E-Facturering. Also the indication if the blocked invoices belong to the service provider are processed indirect (the old method) or directly (the new method) must be stored. The table name will be ZEINVOICE.
    I have to develop the umbrella programs.
    Please suggest to me how implement this. Its an Urgent
    Thanks in advance.
    Vijay

    We have 8 "short-fat" tables to hold the source data uploaded from the source file via SQL*Loader (the SQL*Loader step is fast). The data consists simply of strings of characters, which we treat simply as VARCHAR2 for the most part.
    These tables consist essentially of a case key (composite key initially) plus up to 250 data columns. 8*250 = 2000, so we can handle up to 2000 of these variable values. The source data may have 100 any number of variable values in each record, but each record in a given file has the same structure. Each file-load event may have a different set of variables in different locations, so we have to map the short-fat columns COL001 etc to the corresponding variable definition (for validation etc) at runtime.
    CASE_ID VARCHAR2(13)
    COL001 VARCHAR2(10)
    COL250     VARCHAR2(10)
    We do a bit of initial validation in the short-fat tables, setting a surrogate key for each case etc (this is fast), then we pivot+validate this short-fat data column-by-column into a "long-thin" intermediate table, as this is the target format and we need to store the validation results anyway.
    The intermediate table looks similar to this:
    CASE_NUM_ID NUMBER(10) -- surrogate key to identify the parent case more easily
    VARIABLE_ID NUMBER(10) -- PK of variable definition used for validation and in target table
    VARIABLE_VALUE VARCHAR2(10) -- from COL001 etc
    STATUS VARCHAR2(10) -- set during the pivot+validate process above
    The target table looks very similar, but holds cumulative data for many weeks etc:
    CASE_NUM_ID NUMBER(10) -- surrogate key to identify the parent case more easily
    VARIABLE_ID NUMBER(10) -- PK of variable definition used for validation and in target table
    VARIABLE_VALUE VARCHAR2(10)
    We only ever load valid data into the target table.
    Chris

  • Result recording resukts are not reflecting in the batch

    Hi,
    I have one query which i am unable to get thrgh
    I have recorded the characterstics results in the results recording ,The recorded results need to reflect into the batch(MSC3N)
    What is the procedure to follow
    Please help me out
    Regards,
    Sravanthi

    Hi
    Steps Followed,
    u2022 Creation of class Characteristic (CT04)
    u2022 Creation of Batch Class (CL01)
    u2022 Assignment of above created classed characteristic to the Batch Class at the time of class creation. (CL01)
    u2022 Assignment of batch class to material master in classification view. (MM01)
    u2022 Creation of MIC with reference to above created Class characteristic (QS21)
    u2022 Creation of inspection plan with above MIC (QP01)
    u2022 Creation of new batch (external numbering) for the material (MSC1N)
    u2022 Creation of manual lot for 89 lot origin (QA01)
    u2022 Result recording and usage decision (QA32)
    please refer
    Re: QM_Class Characteristic
    Regards
    Sujit

  • Running the Batch Processor from a Java application (on schedule)

    Hello,
    I would like to run the Batch Processor (on schedule) from a Java application -- not from the Command Prompt.
    To achieve that, I suppose I would need to call a certain function contained in engine/determinations-batch.jar, using perhaps the path to the config xml as an argument.
    The trouble is that the OPA developer's guide doesn't mention it (or at least I didn't find it).
    Could you help me out?
    Thanks in advance.
    Razvan

    RazvanSaftescu wrote:
    Thanks Frank, but is there a way to identify this method and its syntax? I didn't find anything so far on the internet or on the dev's guide.
    This is the Java main method for the determination-batch.jar file - so the main method has the syntax:
    public static void main(String[] args)
    args is an array of strings matching the command line arguments described in the OPA Developer's Guide topic "Configure the Batch Processor".
    Regards,
    Brad

Maybe you are looking for

  • Miro message

    Hello Experts, while doing miro for a particular vendor for whom down payment was done - the advance warning message does not appear. This only happens in a few cases. Cananybody please help me out in solving this issue. Thanks in advance Edited by:

  • V570 - Has too many partitions - Can I nuke one? I need a separate Data Partition!

    Hi, I convinced a Buddy to buy a V570 two days ago. (I've used a Lenovo Laptop for work for a year, and it's been rock solid.) The box was delivered to his house a few hours ago. He lit it up and put his name on it, and then brought it to me, as I he

  • Dynamic Case Expression

    select  count(*)   from  vwsr_all_merged_data s where  sr_tio_priority in ('Level 0','CEO','TER','Priority Assistance','Enquiry')    and  sr_status = 'Open'    and  SR_BUS_UNIT IN ('Business Support and Improvement','Finance and Administration','Cust

  • AddToCreationQueue Error

    Hey guys,   I this is a strange error.  Everything seemed to have been work and now out of no where I get the following error. addToCreationQueue called but method does not exist within application I can figure out why this is the case. in my main.mx

  • Additional ram = more wired memory?

    Quick question. I have upgraded to 4gb of ram today, and noticed that my wired memory has jumped from 140mb or so, to 422mb now... Is this normal? I add up some of the processes, and it doesn't add up to 422mb.... Does my wired memory allocation incr