Blank value in field VBAK-XBLNR after using bapi_customerreturn_create.

Hi All,
I am using BAPI bapi_customerreturn_create for return order creation. I am passing the required details where header includes the invoice number as reference doc ( REF_DOC) which gets updated in table VBAK field XBLNR.
But after execution of BAPI , For few return orders I do not see the XBLNR value updated in VBAK where as the invoice is maintained against all the deliveries for these orders.
Can any one tell me if there is any logic or condition which do not allow XBLNR update? Please help me if anybody has come across the issue.
Thanks,
Rupali

Hi Rupali,
RETURN_HEADER_IN-REF_DOC_L is the correct field to update VBAK-XBLNR. Use this field and VBAK-XBLNR will update always.
I verified that it is mapped to VBAK-XBLNR in the BAPI before answering you. RETURN_HEADER_IN-REF_DOC doesn't go to XBLRN that is for sure.
The return orders where it is filling the XBLNR field in your production system are possibly pulling it from the parent Sales order or Billing document against which they were created. Some of those documents may be having it while others may be missing it, which explains why it is filled in some cases while others it is not.
Best regards,
Vishnu

Similar Messages

  • SHCess field not appearing after using utilization tab in excise invoice

    Dear All,
    SHCess field not appearing after using utilization tab in excise invoice.The other fields and values releated to SHCess are appearing.
    Please give the inputs.
    Regards,
    deepti

    issue resolved

  • Get value from fields for list items using CSOM SP 2013 and C#

    Hi.
    I added a few columns (e.c. Column1, Column2 and ...) for the List in SP 2013. In the List there are a few records. How to get data entry and display them in a table. For example:
    ClientContext ctx = new ClientContext(ServerUrl);
    List lists = ctx.Web.Lists.GetByTitle(List_name);
    ListItemCollection items = lists.GetItems(CamlQuery.CreateAllItemsQuery());
    ctx.Load(lists);
    ctx.Load(items);
    ctx.ExecuteQuery();
    DataTable table = new DataTable();
    table.Columns.Add("ID");
    table.Columns.Add("FieldValue1");
    table.Columns.Add("FieldValue2");
    foreach (ListItem item in items)
    table.Rows.Add(item.ID, item["Column1"], item["Column2"]);
    Thanks!

    Hi,
    Thanks for your sharing. It will help others who stuck with the similiar issue.
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to insert a blank value in not nul column using transform activity

    can anyone help me on how to insert blank values in a not null column using transform activity or however possible..This is a requirement in my project ..

    vidya
    In DB adapter or-mappings.xml , did you made any changes. If not the open that file in any notepad editor and change the following
    <attribute-mapping xsi:type="direct-mapping">
    <attribute-name>director</attribute-name>
    <field table="MYTABLE" name="MAKE_IT_BLANK_NOT_NULL" xsi:type="column"/>
    <attribute-classification>java.lang.String</attribute-classification>
    </attribute-mapping>You can try to add this:
    <attribute-mapping xsi:type="direct-mapping">
    <attribute-name>director</attribute-name>
    <field table="MYTABLE" name="MAKE_IT_BLANK_NOT_NULL" xsi:type="column"/>
    <null-value></null-value>
    <attribute-classification>java.lang.String</attribute-classification>
    </attribute-mapping>Refer below link for details
    Re: Insertion of Blank value to a Not Null varchar column in SQL server table
    Thanks
    AJ

  • Restrict Blank value in a custom table field.

    Hi All,
    I have a custom table with some fields with check table search help. One of the field I want to make it value required field. For example Field u2018Cu2019 should have value (no blanks or Spaces). Field u2018Cu2019 has a check table search help and master data table does not have any blank value. Field u2018Cu2019 is not a key field. Suggestions in this is highly appreciated.
    Ram.

    Hi Ram,
    You can create a Table Maintenance Generator for you custom table and you can use to TMG events to put a check the the field 'C' should not be initial.
    Refer to the link for TMG events
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=93454609
    Regards,
    GP

  • Reference Invoice number (VBAK-XBLNR) incorrect

    Dear Gurus,
    I have the following problem.
    While creating a multiple correctional Sales Order (which means it is referring to a correctional invoice), the field VBAK-XBLNR in the Correction SO's Header is populated with the first invoice number of the document flow, instead of the last actual invoice number that I just referred to.
    I checked the relevant copy control (Billing Doc to Sales Doc) in IMG, and the copying requirements for VBAK data transfer (eg. field V_TVCPAFK-GRUAK) has the value '052 - Billing Doc. Header', which seems correct to me.
    Is this SAP standard, so when there is a multiple correction process (eg. correction of a correction), the VBAK-XBLNR remains always the first invoice number of the flow? I needed to see VBAK-VGBEL value there...
    Thanks a lot,
    Marton

    Hi Swapnil,
    the correction of a correction (so the whole flow) is working just fine, so there is no problem with that.
    The only problem is, that this reference number VBAK-XBLNR in the Correction SO Header remains always the first invoice number, no matter how many corrections are done. In my opinion the number should be always the last referred invoice's number...

  • Source for VBAK-XBLNR

    Members,
    From where does the system extracting the value to populate field VBAK-XBLNR?
    This field is in sales order, header, Tab Accounting, field Reference.
    And where is the setting for this?
    Thanks!
    TW
    Similar threads:
    sale order type H (returns)
    Create Return Order via Fucntional module Mano Ranjan

    Dear TW
    It comes from the copy control from Billing document to sales order in routine 052
    I guess is necessary to copy routine 052 to other routine and exclude VBRK-XBLNR in the new routine.
    Regards
    Antonio Martinez

  • VBAK-XBLNR - Update of 6-digit for 9-digit

    Hi Gurus,
    Because of the new format of the eletronic nota fiscal, the field VBAK-XBLNR will need update of 6-digit for 9-digit. Is possible? How I do it?.
    With best regards,
    Wilson

    Hi Wilson
    It is possible to update the field VBAK-XBLNR , from 6-digit to  9-digit .  But you need to take the help of the ABAP'er to increase  from 6-digit to  9-digit.
    Regards
    Srinath

  • Problems by holding the typed Values in Fields by using "LEAVE TO SCREEN"

    Hello Experts,
    I have created a Dynpro  with many field.
    Some Fields are Fields without searchhelps and a part of this Fields have searchhelps.
    One of this Field has a special function.
    It is a Field where you can choose a key value ( an ID number) about the searchhelp.
    After choosing I get the other values for this ID-Number in the returnparameter of the Searchhelp function
    ( values like name, surname ....)
    I set this return values  to the Fieldvariables in the PBO.
    For jumping to PBO I use "Leave to Screen" to the same screen.
    But the Problem is I can not hold the values wich I have typed before  in the Dynpro Fields (Field without serachhelps).
    After using the Field with the Searchhelp (for ID)  the Fields with typed Value go away.
    Please Hel me . Thanx in Advance
    Cetin

    Hi,
    In SE80 double click on your Screen Number and go to the Attributes Tab and Select Hold Data Check box,
    The Help Obtained from F1 Help is as follows, Kindly note this is Copied from F1 Help provided by Standard SAP,
    You too can Check it out
    "SAP Says --->
    If you activate this option, the following functions are supported for
    the screen at runtime:
    System -> User profile -> Hold data
                            -> Set data
                            -> Delete data
    The Hold data function allows you to hold onto any entries you have made
    on the screen. When the screen is next processed (even in a different
    mode), the system then automatically redisplays the data in the input
    fields.
    If the option is not activated, these functions are ineffective at
    screen runtime.
    The "Hold Data" option is not supported for include screens
    (subscreens). The automatic insertion of held data is exclusively
    controlled by the main screen.
    Cheerz
    Ram

  • Displaying blank value for the Rounding Value field in MM03 transaction

    Hello All,
    We are using BDC to create a material master record.Some users are not loading the rouding value in the MRP1 screen. The rounding value is stored in the MARC table which has the data type as QUAN. Thus when there is no value being passed it implicitly converts the blank value to 0.00. The users do not want the rounding value to be displayed as 0 when they view the material record using mm03. Kindly let me know if there is any way to display the rounding value as blank if no value is present.
    Thanks in Advance.
    Regards,
    Avinash Sai N S

    Hai siddharth,
    I have enabled the BADi HRPBSIN_ADDITIONAL_CHECKS to do validations for loans. Can u pls explain is there any FM or wat can be used to set default value for the field in portal.
    Pls give some suggestions,
    thnaks,
    Nalla B.

  • ODS Key Fields allows blank values in Transformation

    Dear Experts,
    I have two layers:
    1. Datawarehouse layer (purpose is to represent exactly data at the backend)
    2. Consolidation Layer
    Scenario 1:
    In Datawarehouse layer, the fiscal variant is a key field in ODS and I have two other key fields i.e. combine to form a composite key.
    When I load the data from PSA to this ODS, I have a record which contains blank value for the fiscal variant. It successfully loads into the Datawarehouse ODS.
    Sceanrio 2:
    In the consolidation layer, i have 4 key fields out of which fiscal variant is one of them. Now when I load the data from the datawarehouse ods to consolidated ods, it throws an error saying:
    Diagnosis
         An exception fiscvarnt_missing was raised while executin
         module RST_TOBJ_TO_DERIVED_TOBJ .
    System Response
         Processing the corresponding record has been terminated.
    The transformation mapping for the fiscal varaint in both sceanarios is 1:1 mapping with the rule type 'Time Characteristic'.
    My questions is:
    1. Why different behaviour during scenario 1 and sceanario 2
    2. Solution to the above issue
    Thanks
    Jain

    Thanks J.S.
    Yes the format selected in the field for the datasource is 'Internal'.
    When loading the data from R3>PSA>ODSX(Datawarehouse Layer), I have no problems even when the field is blank.
    When loading from ODSX-->ODSY(Consolidated Layer) the empty (blank) field for that records throws error.
    Any ideas?
    Jain

  • How to change field VBAK-CMNUP using VA02

    Hi EXPERTS,
    How to change field VBAK-CMNUP (Date of next credit check of document) using VA02?
    Seems it is hard to find it on the screen of VA02.
    Thanks in advance.

    Hi,
    Check these notes:
    Note 635727 - VBAK is filled with date only if block is set
    Note 588649 - Next date (CMNGV) - meaning and function
    Regards,
    Eduardo
    PD: I forgot the Note 588649 - Next date (CMNGV) - meaning and function.
    Edited by: Eduardo Hinojosa on Jun 11, 2009 11:39 AM

  • Blank value in "Assignment" field in FBL3N transaction output

    Hi experts,
    When i exeucted FBL3N transaction, the assigment field gets displayed as blank in the output screen. 
    I have given input for GL Account, Company code and Posting date in FBL3N transaction input screen and executed. Iin the output, the "Assignment" field (field ZUONR) gets displayed with empty value.
    recently the system is upgraded from 4.6C to ECC 6.0.  When we checked in our 4.6C system, this FBL3N transaction displays value for Assignment field. But when we checked in ECC 6.0, this "Assignment" field gets displayed with blank value.
    Could anyone suggest the reason why the Assigment gets displayed with blank value..
    Is any OSS note to implemented for solving this issue?. If so, pls share the Note details..
    regards,
    Shanthi

    Hi,
    Yes, there is a SAP note. Check SAP note # 322910.
    You should have posted it in FI forums.
    Hope this helps.

  • Hello Experts! I am trying to match up artwork that I created for my playlists in my iTunes library which looks fine in my iTunes but then only some of my artwork shows on my iPad after using iTunes Match, I either have blank artwork or the original.

    Hello Experts! I am trying to match up artwork that I created for my playlists in my iTunes library which looks totally fine in my iTunes library but then only only some of my artwork shows on my iPad after using iTunes Match, I either have blank artwork or the original artwork. Any ideas how I can make sure it’s all my artwork? Thank you if you do!

    I have the same problem too and tried alot of things like time zone , restarting or changing DNS of wifi connection to 8.8.8.8 still nothing happens .. !!
    iPhone 5s, iOS 8.3

  • How to replace blank values in DATE field with 00000000

    Hi
    I have a DSO with Date field in which there are blank values. I want to replace the blank values in the DSO for date field with 00000000. Because of this blank values in the DSO the report is giving an ORA error.
    How do we replace the blank values in the DSO for historical data and also the new loads?
    Please advise.
    Thank you.
    Regards,
    Pavan.

    Hi Suman,
    I'm trying to run a query built on a DSO. The DSO has a field 'Start Date'. This Start Date InfoObject has a reference Char as 0DATE.
    This Start Field has blank values due to which I'm getting the ORA-01722 error. I came across many threads with same topic of discussion. As mentioned in one of the Threads I have written a program to update 'Start Date' with 00000000. The code wriiten is "UPDATE /BIC/AZ_MONINV00 SET /BIC/ZSTR_DTE = '00000000' where /BIC/ZSTR_DTE = ' '.
    Now when I see the data in the active data table of DSO the blank value is replaced with '00000000'.
    But If I right click on the DSO click on display data the 'Start Date' field is blank. And now the Query also gets executed without any error. But in the output of the query the 'Start Date' Field has "#" values.
    Can anyone suggest on how to remove these "#" values in the report?

Maybe you are looking for

  • Idoc 2 file - file content conversion in receiver

    Hi, My scenario is idoc to file. if i want to use file content conversion at receiver side, so i need to create record set according to sender side data type or receiver data type? plz give some inputs reg. this. Thanks

  • Buying a new macbook/leopard..

    i was wondering with all the things i've read about problems with leopard should i buy a tiger based macbook and wait to install leopard or buy a new macbook that comes with leopard pre-installed?? thanks for info

  • Changing colors in webdynpro page header using themes

    hi all,          I have created  a webdynpro page. how to change the color webdynpro page header using themes. where to make changes in the themes. Regards, Shanthakumar

  • ADF : Merging View Objects in JDeveloper

    There is a view object called ProjectVO, under this view object I have ProjectApplicationVO(Hierarchy In Data Controls). So using PPR Ican get project Applications related to each project. But there is a another viewObject ApplicationVO which has App

  • Printing with IOS 8

    Hi, I had the same problems with my Iphone and my HP Officejet Pro 8500 A Plus, but thanks to the solution of Shlomil it works again, thanks! I also have a HP Laserjet 5, is there also a solution that I can use this in a Windows 7 or 8.1 network. It