Characteristics in Batch (CHARG)

Hi, i need a bapi to create characteristics to an already created CHARG by the BAPI_BATCH_CREATE
Regards
ttorres

The Object Key is a string of 27 characters.  It is the combination of first the material number and then the batch number with the difference between the 27 character length being added as spaces between the two values.
I'm not a SAP programmer, really, but having to integrate with SAP had me encountering this same error on BAPI_OBJCL_GETDETAIL.  The documentation on these BAPI parameters is limited and I had to step through the German to figure this out - here is what getting the Object Key looks like in C#: 
string OBJECT_ID = MAT_NUM + Strings.Space(27 - (MAT_NUM.Length + BATCH_NUM.Length)) + BATCH_NUM;
sprechen sie deutsch?

Similar Messages

  • URGENT: FM to update subcontract  PO item component's field batch 'CHARG'

    Hi, Experts,
    Is there a FM to update subcontract PO item component's field batch 'CHARG' ?
    Thanks

    Hi,
    I want to change filed <b>]BATCH</b> in subcontracting PO item using FM 'BAPI_PO_CHANGE' , but the parameter TABLES 'POCOMPONENTS' doesn't contain filed 'BATCH', is there another FM to substitute this one ?
    Thanks,
    Sun Jimin

  • Characteristics for Batch

    Hello All,
    My requirement is to create all the vendors in vendor master table as batch characteristics and assign it to material through class. while doing GR, vendor's name should be selected as batch characteristic through f4 help.
    how to achieve this.? for this how to create the characteristics ??
    Regards,
    Vamshi

    problem sovled..

  • Traceability with batch class characteristics in batch where used list.

    Hi,
    I have a process order which issues 5 pallets or material and produces 5 pallets of another material. Each pallet is a seperate batch in my scenario.
    All materials are assigned to a batch class and i will be using a class characteristic to enter the issued pallet number (includes material number and batch number)  to the produced pallet batch. This way i want to create a traceability system.
    the problem is i need a way to create a hierarchical view or integrate this scenario to batch where used list.
    there is a badi for where used list to read external data. but i guess that is for something called "external batches"
    can you please guide me for the best practice of doing this?
    Thanks,
    Alper,

    Hi!,
    I think you have to use the mix of two functionalities:
    1. Original batch function
    2. Batch derivation
    This way you can pull the characteristics of the source material batch in to raw material as well as finish material batches.
    In this you have to create a nonvaluated material which is used as original batch mateial. You have to assign this material in material master of the RM and FG alongwith other required entries.  Also you have to use batch derivation function to pull the charactristics of this original material batch in to the RM and FG.
    Please go through the SAP help regarding Original batch and Batch derivation function to have more clarity.
    Please revert back in case of any further issue.
    Regards,
    Uday

  • Transfer of Material Class characteristics into Batch

    Hello,
    Is there a way to transfer the material specific class characteristics ( maintained in material class 001) into Batch, while creating a new batch?
    For e.g. for Material A, i have Material Class Characteristic = COLOR, with a value RED.
    So if i create a new Batch for Material A, the COLOR characteristic in Batch should get defaulted to RED, instead of manually entering.
    Pl let us know, if this is possible.
    Regards,
    Mangesh
    P.S: I know there is Default check at the characteristic value level, but that doesn't help, as each material will have different value.

    Dear,
    You can use function module exit EXIT_SAPLV01Z_014  SAP enhancement SAPLV1ZN when assigning characteristic values to batches with EXTENDED_CLASSIFYING parameter. You use this to classify user-defined characteristics in the background when creating a new batch using the central function module VB_CREATE_BATCH during activated batch classification.
    Refer IMG>Batch Mngmt>Characteristics Value Assignment>...using function module
    Please try and come back.
    Regards,
    R.brahmankar
    Edited by: R Brahmankar on Oct 11, 2010 4:39 PM

  • Required characteristics of batch

    Dear All,
    i have a by-product material in bom. and batch management is active on that by-product. now i have maintained two batch characteristics for this material. Now when i am going to confirm the order of that parent material and save system save it but i want that system should restrict me to enter batch characteristic value of that by-product batch.
    i have made thses characteristics as required but tell me where is something missing.

    Dear,
    Check whether you have activated "branching to classification" option in t code OMCV for movement type 531 (by- product reciept).
    Please update.
    Regards,
    Pavan

  • How to who changed which characteristics of a charg

    Hello,
    i need to list who changed what on a charg of a matnr.
    I tried to use CDHDR and CDPOS, however, they only hold the key values for chargs.
    But i need for example who changed the supplier of the charg?
    Any way?
    Thanks.

    Hi
    What are you meaning by CHARG of a material????
    You can see all the changes in CDPOS and CDHDR but if can't see anything there means that the values are not flagged for changes.
    Regards
    Vijay V

  • How to change the characteristics of a Batch

    Dear All,
    We have maintained a batch sort sequence based on Batch Manufacturing date.
    But now customer wants the batch to be sorted out based on Batch Number.
    How to change the Characteristics from Batch Manufacturing date and Batch Number?
    Please do suggest.
    For example, we have two characteristics assigned to the Class One is Manufacturing date and another is Batch Number.
    How system will sort out a batch based on these two logic.
    Kindly explain.
    Regards,
    Mullairaja

    Hi Mullai,
    I hope you know what do you mean by "Dependencies" in variant configuration. These are created for automatic update of characteristic values.  If you want to delete the characteristic from the class, please do teh following.
    1. Find out that there are any dependencies assigned to this characteristic. If so remove the assignment
    2. Then you have to check if this characteristic is used in any dependency in the code. If so, find the implications of the same.
    In case, you dont know what is dependency, may be they are not used in your project. In this case, you can just remove the characteristic from the class.
    It has got one effect.
    At present, a configured batch will have this characteristic. If you go to the batch master in change mode, then the old classification will be replaced by the new classification. So the deleted characteristics will not be available to you anymore. I hope that is fine with you. If this is fine, then you dont need to worry about removing the characteristic from the class.

  • Copy of Batch characteristics value from material master to Batch

    Hi Gurus,
    I have maintained some values in the characteristics under batch classification in material master and want to copy the values in batch characteristics during batch creation at process order release.
    Can any one help me to achieve this in standard way?
    Thanks
    Sandip

    Hi,
    Try to understand the batch classification functionality...In batch classification characteristic values changes from batch to batch...Values should not be maintained in the material master...it does not have any meaning...in the material master we need to assign only the batch class with class type 023 in classification view ...no need to assign the values there....Batch classification means characteristics values differs from batch to batch...
    Thanks
    Kumar 

  • Copying Batch Characteristics

    Hi gurus.
    I have created 023 Class for BAtch classification.
    I'm ussing that in Goods Receipt.My requeriment is to copy data automatically from header data to characteristics in batch classification, i.e. Mkpf-frbnr to one of my batch characteristics.
    Is that possible?, please advice.
    BR
    Juan.

    Juan Bañuelos wrote:
    > Hi gurus.
    > I have created 023 Class for BAtch classification.
    > I'm ussing that in Goods Receipt.My requeriment is to copy data automatically from header data to characteristics in batch classification, i.e. Mkpf-frbnr to one of my batch characteristics.
    >
    > Is that possible?, please advice.
    >
    > BR
    > Juan.
    I dont think its possible, you need to copy line by line and paste them in batch classification. You can create LSMW, if there are lots of characteristics to be copied.

  • Link between storage location and batch number to retrive the salk3 field

    HI,
    In my report i need to give the output as follows
    For each lgort with related batch number we need to get the salk3.So i need to get a link between lgort , batch number to retrive the salk3.can any one give the tables from which i can get the link and retrive the data.
    note: My report output should look like the fields lgort batch  and unrestriced value of stock in tcode mb52.
    subhashini.
    Edited by: subhashinikb on Apr 1, 2011 9:38 PM

    Hi,
    In 2 steps, u can get the unrestricted stock value.
    step1: Get material no (MATNR), plant (WERKS), batch (CHARG) and unrestricted stock (CLABS) from table MCHB by sending Storage location and batch number.
    Step2: Get standard price STPRS from table MBEW based on condition where MATNR = MCHB-MATNR, BWKEY = MCHB-WERKS and BWTAR = MCHB-CHARG.
             unrestricted value in MB52 will be (MCHB-STPRS) * (MCHB-CLABS).

  • Automatic Batch determination while creating outbound delivery

    Hi,
    I have already performed following steps, but still i am facing problem for Automatic Batch determination while creating outbound delivery :
    1.CT01- Creation of Characteristics. ( Define Selection Class )
    2.CL01- change. ( Define Selection Class )
    Add Characteristics in u2018CHARu2019 tab And save .
    3.CU70 u2013 create u2018Sorting Sequenceu2019 and assign characteristics
    4.Batch Search Procedure & Strategy type
    V/C3 u2013 Batch Search Procedure and assign the strategy types
    a.To create condition type T. code V/C1
    b.To create access sequance T. code V/C2
    5.V/C5 - Allocate SD Search Procedure/Activate Check u2013 assign sales organization , order type into Batch search procedure.
    6.V/CL - Activate Automatic Batch Determination in SD - Activate automatic batch det. for delivery item categories u2013 select item category and activate auto batch determination
    7. VCH1 u2013 Create batch search strategy against strategy type as per the access sequence needed.
    Please let me know is there any other step, apart from it.
    Tx
    Uts

    Dear saravanan,
    Re :Check from ur material master view ' Sales: General/Plant Data' that availability check should be 02 and batch management should get activated .
    Done!
    Re: check CT01 - addnl data table name and field name maintained ( which field to be taken for batch determination )
    Done!
    Re:check CL01 - char - is maintained with CT01 char
    Done!
    Re: check from v/c1 'Sort sequence' and Qty proposal 1 are maintained correctly.
    Done!
    Still i am not able to get batch automatically...
    Is there any LIFO or FIFO settings i have to maintain in Material master.
    Pl guide.
    Tx
    Uts

  • Automatic batch creation at VL01N

    Hi,
    At the time of creating Outbound delivery in Tcode VL01N for particular material  I want the batch field to take the batch number automatically.
    Setting : Material ( Batch option is already checked in material master).
    Is it possible.
    Pl explain.
    Thx
    Uts

    Hi
    Utsa Agar
    Pl follow the following sterps
    1.CT01- Creation of Characteristics. ( Define Selection Class )
    2.CL01- change. ( Define Selection Class )   
         Add Characteristics in u2018CHARu2019 tab   And save .
    3.CU70 u2013 create u2018Sorting Sequenceu2019 and assign characteristics
    4.Batch Search Procedure & Strategy type
    V/C3 u2013 Batch  Search Procedure and assign the strategy types
    a.To create condition type T. code  V/C1
    b.To create access sequance T. code  V/C2
    5.V/C5 - Allocate SD Search Procedure/Activate Check u2013 assign sales organization , order type into Batch search procedure.
    6.V/CL - Activate Automatic Batch Determination in SD - Activate automatic batch det. for delivery item categories u2013 select item category and activate auto batch determination
    7.     VCH1 u2013 Create batch search strategy against strategy type as per the access sequence needed.
    Hope this will help you.
    Thx

  • Notification or Alert when selecting Item with charge on Sales Order???

    Hello,
    Is it possible to make an notification / alert on a salesorder when entering a item with batch/charge???
    Now everytime the customer must enter CTRL-TAB on amount field to select a batch but don't get a reminder for the batch.
    They don't want to select the batch/charge on Delivery.
    THX
    Mark

    Below is code that will prevent deletion of a line from Sales Order.
    DECLARE @NoOfRows int
    DECLARE @MaxLineNum int
    DECLARE @UserId int
    IF (@transaction_type = 'A' or @transaction_type = 'U') AND @object_type = '17'
    BEGIN
    select @NoOfRows = COUNT(*) from RDR1 where DocEntry = @list_of_cols_val_tab_del
    select @MaxLineNum = MAX(LineNum) from RDR1 where DocEntry = @list_of_cols_val_tab_del
    select @UserId = UserSign2 from ORDR where DocEntry = @list_of_cols_val_tab_del
    IF(@NoOfRows <> (@MaxLineNum + 1) AND @UserId IN (10,11))
    BEGIN
    select @error = 1234
    select @error_message = 'One or more lines have been deleted from the Sales Order'
    END
    END
    You can say which users cannot modify Sales Orders like by modifying the @UserId IN (10,11) below. You need to get the User ID from the OUSR table.
    IF(@NoOfRows <> (@MaxLineNum + 1) AND @UserId IN (10,11))
    Hope this helps
    Krishnan

  • LSMW for routing with standard batch input

    Hello All,
    I am trying to prepare one LSMW for routing upload for PP module. Routing data contains header data, operation data and master inspection characteristics data.
    I have created three source structures viz. material- task list header, task header data, operation and inspection.
    Header has been assigned to target structure BIMPL- Batch Input Structure for Allocation of Mat. to Task Lists,
    Task header data source structure has been assigned to BIPKO- Batch Input Structure for Task List Header,
    Operation source structure has been assigned to target structure BIPPO- Batch input structure for task list operation,
    and inspection source structure has been assigned to BIPMK- Inspection characteristics for batch input of task lists.
    Every source structure has been identified with an identifier value of which have been set as H, I,J,K for all source structures resp.
    The excel file has been prepared as follows,
    H     MATNR     WERKS     PLNNR     PLNAL               
    H     100045     1000     50000043     1               
    H     100045     1000     50000043     2               
    I     MATNR     WERKS     PLNNR     PLNAL     VALID_FROM     USAGE     STATUS
    I     100045     1000     50000043     1     01012000     1                1
    I     100045    1000     50000043     2     01012000     1                 1
    I have mentioned here the combination of first two structures only. But it contains data of other two source structures as well (for identifier J & K).
    The data from the excel is copied to the flat file and same is specified in LSMW in the step 'Specify file'.
    In 'Assign file' step the flat file is assigned to all the four source structure.
    Now at the time of reading data system is throwing me an error as 'Ensure field sequence is correct for data for mutiple source structures' Message no. /SAPDMC/LSMW_OBJ_060026
    How to overcome this?
    <removed by moderator> answers will be greatly appreciated........
    Mimiri
    Edited by: Thomas Zloch on Jul 11, 2011 10:16 AM

    Hello ,
    have you maintained this check box for the key fields"
    LSMW>Maintain Source fields>double click on fieds : MATNR WERKS PLNNR PLNAL
    Selection Parameter for "Import/Convert Data"-->Tick this check box
    regards

Maybe you are looking for